I have the board running am335x-ubuntu-18.04.6-console-armhf-2022-07-12-4gb.img.xz image and board is booting fine.
In the current running image the uboot does not allow to stop the autoboot and enter into uboot console. I assume that CONFIG_BOOTDELAY is set as 0 by default.
So i build a uboot source obtained from git.beagleboard.org with CONFIG_BOOTDELAY set as 2. The build generated following files.
u-boot, u-boot.bin, u-boot.img, MLO.
How can i update the build u-boot image on eMMC. The aim is to stop the uboot autoboot and enter into uboot console.
On the am335x family, same way as microSD, same offset’s if you used dd, same fat format if you used file’s…
Regards,
Hi @amit22 i just dd them here:
if [ -b /dev/mmcblk0 ] ; then
echo "dd if=${wdir}/MLO of=/dev/mmcblk0 count=2 seek=1 bs=128k"
dd if=${wdir}/MLO of=/dev/mmcblk0 count=2 seek=1 bs=128k
echo "dd if=${wdir}/u-boot-dtb.img of=/dev/mmcblk0 count=4 seek=1 bs=384k"
dd if=${wdir}/u-boot-dtb.img of=/dev/mmcblk0 count=4 seek=1 bs=384k
fi
if [ -b /dev/mmcblk1 ] ; then
echo "dd if=${wdir}/MLO of=/dev/mmcblk1 count=2 seek=1 bs=128k"
dd if=${wdir}/MLO of=/dev/mmcblk1 count=2 seek=1 bs=128k
echo "dd if=${wdir}/u-boot-dtb.img of=/dev/mmcblk1 count=4 seek=1 bs=384k"
dd if=${wdir}/u-boot-dtb.img of=/dev/mmcblk1 count=4 seek=1 bs=384k
fi
Regards,