Hi,
I am trying to configure the beagle bone black and uboot in a way that I can boot from several media.
The idea is to run from eMMC in general but boot from USB for updating with a new image.
I have to ideas:
a) configure uboot to boot from USB
or
b) install grub after uboot.
In both cases I would start the update process from the running linux and reboot. During reboot, the USB storage is already plugged in and should be booted.
in case a) one could move a uEnv.txt file in /boot on the eMMC that boots from USB instead of the eMMC storage.
In this case I fail telling uboot to launch the linux on the USB stick. I once succeeded from the uboot console but in the uEnv.txt I fail. Is it even possible in /boot/uEnv.txt or do I have to modify uboot elsewhere?
In case b) one could simply tell grub to reboot to menu entry number 2 instead of 1.
Sadly, I fail installing grub after uboot (although I know that openSUSE for the beagle bone black uses grub). I can create a grub.cfg and build a grub image but do not understand how to tell uboot to load grub next. How can I do this?
Thanks for any hint where to go on / how to start / what to read.
best regards