HummingBoard RZ G2LC doesn't boot from eMMC

Hi,
I’m not able to enable the boot partition when I am in the u-boot, according to
https://solidrun.atlassian.net/wiki/spaces/developer/pages/476741633/HummingBoard+RZ+family+Boot+options#Flashing-bootloaders-and-rootfs-from-Linux

mmc bootbus set single_backward x1 x8 /dev/mmcblk0

mmc bootpart enable 1 0 /dev/mmcblk0

mmc bootbus and mmc bootpart don’t exist in the u-boot.

Any help?

So when I’ve flashed the bootloaders into eMMC like this:

*dd if=bl2_bp-rzg2lc-hummingboard.bin of=/dev/mmcblk0boot0 bs=512 seek=1

  • dd if=fip-rzg2lc-hummingboard.bin of=/dev/mmcblk0boot0 bs=512 seek=256

and I’ve flashed the bootfs and rootfs into eMMC like this:

  • dd if=core-image-weston-rzg2lc-hummingboard-20241118083711.rootfs.wic of=/dev/mmcblk0 bs=4M

I reboot, and the board doesn’t start booting from eMMC, because i am not able to enable the boot partirtion.

Any help? please :slight_smile:

Finally I’ve booted from eMMC.
The problem was that the eMMC boot partition was disabled. I’ve written this sentences in linux:

  • mmc bootbus set single_backward x1 x8 /dev/mmcblk0
  • mmc bootpart enable 1 0 /dev/mmcblk0
    and now it’s working
1 Like

Another option for easily flashing the bootloader to eMMC is to use our newly released cip41 branch that has a python script for flashing to eMMC and configuring the eMMC to boot from the proper partition. GitHub - SolidRun/build_rzg2lc at cip41