
On 2023-11-11 01:13, Shantur Rathore wrote:
RockPro64 has a 16MB onboard SPI chip and current u-boot takes around 2MB, we can enable more features. Updating config to enable SPI commands and full BootSTD support.
configs/rockpro64-rk3399_defconfig | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/configs/rockpro64-rk3399_defconfig b/configs/rockpro64-rk3399_defconfig index 4cd6b76665..cad0b8a5d7 100644 --- a/configs/rockpro64-rk3399_defconfig +++ b/configs/rockpro64-rk3399_defconfig @@ -46,10 +46,12 @@ CONFIG_CMD_BOOTZ=y CONFIG_CMD_GPT=y CONFIG_CMD_MMC=y CONFIG_CMD_PCI=y +CONFIG_CMD_SPI=y
The CMD_SPI is not used to interact with the SPI flash.
CMD_SF is already enabled and you can use "sf probe" and any other sf related action to interact with the SPI flash on this board.
CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set CONFIG_CMD_TIME=y CONFIG_CMD_BOOTSTAGE=y +CONFIG_BOOTSTD_FULL=y
What is the reasoning behind enabling full bootstd commands? Especially why just this board need it enabled by default.
Standard boot is already fully functional, it just does not have full features commands enabled by default.
Regards, Jonas
CONFIG_SPL_OF_CONTROL=y CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents" CONFIG_ENV_IS_IN_SPI_FLASH=y