This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Booting Beaglebone Black emmc -> mmc -> usb

Hello,

i would like to boot the Beaglebone Black in the following order:

EMMC -> SD Card -> USB0

On the SD Card the prebuild binaries from the TI SDK 2.00.00 are installed.

So, if the flash is empty, it boots from SD Card as expected.

Then i partitioned the EMMC and copied the boot and root file system. I removed the SD Card and reboot the BBB. It boots as expected but does not find the Root filesystem. To solve this issue i try to modify entries in the u-boot shell but could not save the environment.

u-boot > saveenv

Card did not respond to volage select!

* Bad device mmc 0 *

How can i save the setting to the emmc.

Then i prepared an USB Stick like my SD Card and tried to boot from that Stick, no SD Card inserted, no valid EMMC filesystem.

The documentation said it should boot, at least detect the boot partition , but the console output is the endless CCCCCCC, which indicates that the COU does not found anything valid to boot.

Can you help me with some clarifications ?

Best regards

Erich

  • Hi Erich,

    AM335X cannot boot from USB stick. See section 26.1.8.6.1 from the AM335X TRM Rev. M for details. Only USB client mode is supported. I will ask the software team to comment on your other questions.
  • Hi Erich,

    Try adding the environment settings directly in am335x_evm.h:
    #define CONFIG_EXTRA_ENV_SETTINGS \
    DEFAULT_LINUX_BOOT_ENV \
    DEFAULT_MMC_TI_ARGS \
    "boot_fdt=try\0" \
    "bootpart=0:2\0" \
    "bootdir=/boot\0" \
    "bootfile=zImage\0" \
    "fdtfile=undefined\0" \
    .............................................

    Another thing you can try is define CONFIG_ENV_IS_IN_MMC (or CONFIG_EMMC_BOOT).

    Best Regards,
    Yordan