Tool/software:
Hello TI
Yocto Linux SDK 9.0
On our custome board, we try to boot the board from internal emmc.
Based on below guide, we already flushed u-boot, kernel, rootfs to the internal emmc.
dev.ti.com/.../dev-flash-linux-emmc.html
To make it boots from internal emmc, we changed u-boot in the hard-code below:
diff --git a/board/ti/am62x/am62x.env b/board/ti/am62x/am62x.env
index 7b5d506686f..61d511f5aa9 100644
--- a/board/ti/am62x/am62x.env
+++ b/board/ti/am62x/am62x.env
@@ -24,8 +24,8 @@ args_all=setenv optargs ${optargs} earlycon=ns16550a,mmio32,0x02800000
run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}
boot=mmc
-mmcdev=1
-bootpart=1:2
+mmcdev=0
+bootpart=0
bootdir=/boot
rd_spec=-
If we do a hard-reset (power on the board by turn on power supply), it could boot the board properly untill kernel prompt is shown.
This hard-reset or power on, it always works fine.
However, if we reboot by issuing #reboot at kernel shell prompt, the system is not able to boot and it shows "01000000011a0000616d36327800000000000000475020200100010001000100CCCCC" on the console.
Any thing we miss configure? Please guide.
Below is log:
Additional info,
on our custom board, we have a botton to switch between emmc and sd card boot.
The Botton is pressed, it boots from SD Card.