Uboot binary location in Beaglebone Black Rev.C

Hi,

I have Beaglebone Black, Rev. C, with 4GB on board eMMC. I have downloaded the " AM3358 Debian 10.3 2020-04-06 4GB SD IoT" image from the beaglebone firmware webpage. After flashing the image to SD card, I have noticed that there is no boot partition. There is only a ext4 fs for the partition. And the boot folder in this partition itself, has files such as initrd, uEnv.txt, dtbs, kernel etc.

Is it possible to access the uboot binary? And by default, uEnv from the /boot folder is used by the uboot. Is it possible to change the location of uEnv.txt? For example, how do I configure the uboot, to look for uEnv.txt from /home/debian folder. And the same thing for kernel and dtbs. Can kernel and dtbs be placed in different location other than “/boot”?

Thanks in advance for your help and support.

Cheers,
Sai Kiran.

MLO/u-boot.img have been dd’ed to the MBR…

u-boot is pre-compiled to look for /boot/uEnv.txt by default, this the most feature rich location… it does support an older /uEnv.txt location for way old images…

Regards,

So, to make uboot look for uEnv.txt in another location, I need to recompile the uboot ? Could you let me know how exactly can one change this location?

Go wild: Files · v2022.04-bbb.io-am335x-am57xx · BeagleBoard.org / u-boot · GitLab

/boot/uEnv.txt checking loop: include/configs/ti_armv7_common.h · v2022.04-bbb.io-am335x-am57xx · BeagleBoard.org / u-boot · GitLab

Regards,

Thanks. Is it not possible to configure this path in menuconfig, instead of changing the source code?

It’s hard-coded in current implemented form…