starfive: visionfive2: add mmc0 and nvme boot targets
PATCH 1/1 starfive: visionfive2: add mmc0 and nvme boot targets
boot from SDIO3.0 (mmc sdcard) first if it is plugged. If mmc is not plugged try to boot from emmc if it is plugged. If emmc is not plugged then try to boot from nvme.
--- include/configs/starfive-visionfive2.h | 2 ++ 1 file changed, 2 insertions(+)
include/configs/starfive-visionfive2.h +2 -0
@@ -19,6 +19,8 @@#define BOOT_TARGET_DEVICES (func) \ func(MMC, mmc, 1) \ + func(MMC, mmc, 0) \ + func(NVME, nvme, 0) \ func(DHCP, dhcp, na)#include <config_distro_bootcmd.h>
Signature · 1 line
2.42.0
Quoted 8 lines · Milan P. Stanić
boot from SDIO3.0 (mmc sdcard) first if it is plugged. If mmc is not plugged try to boot from emmc if it is plugged. If emmc is not plugged then try to boot from nvme.
Signed-off-by Milan P. Stanić <[email protected]>--- include/configs/starfive-visionfive2.h | 2 ++ 1 file changed, 2 insertions(+)
Hi Leo,
Quoted 6 lines · Leo Liang
Quoted 4 lines · Milan P. Stanić
boot from SDIO3.0 (mmc sdcard) first if it is plugged. If mmc is not plugged try to boot from emmc if it is plugged. If emmc is not plugged then try to boot from nvme.
Quoted 6 lines
Quoted 4 lines
Signed-off-by Milan P. Stanić <[email protected]>--- include/configs/starfive-visionfive2.h | 2 ++ 1 file changed, 2 insertions(+)Reviewed-by Leo Yu-Chi Liang <[email protected]>
How about converting to standard boot and then this will be automatic?
Regards,
Simon
Quoted 9 lines · Simon Glass
Hi Leo,
Quoted 6 lines · Leo Liang
Quoted 4 lines · Milan P. Stanić
boot from SDIO3.0 (mmc sdcard) first if it is plugged. If mmc is not plugged try to boot from emmc if it is plugged. If emmc is not plugged then try to boot from nvme.
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Signed-off-by Milan P. Stanić <[email protected]>--- include/configs/starfive-visionfive2.h | 2 ++ 1 file changed, 2 insertions(+)Reviewed-by Leo Yu-Chi Liang <[email protected]>How about converting to standard boot and then this will be automatic?
Hi Simon,
Do you mean that we should implement this feature in a more general manner, instead of implementing this in only on vf2 board ?
Best regards,
Leo
Quoted 3 lines
Regards,
Simon