Hi, currently writing "bare-metal" code for the beaglebone black and I am looking for an efficient way to load my code. Right now, I am pressing enter before the uboot autostart kicks in and then copy/paste commands to download my binary image from tftp and execute it. I would like to have this done automatically, but it seems impossible to change the "bootcmd" in uboot. Changing uenv.txt requires me to boot into linux, but copying my kernel as a raw image on the eMMC will damage the ext2 partition so I cannot boot into linux.
I would like to build uboot and hardcode my own bootcmd in it. But then how do I install that uboot on the BBB's eMMC? Everywhere I look, they are talking about a eMMC flasher that contains a full linux installation in it. I would just like to have 1 partition with my MLO and uboot.img on it. Is this possible? Or is there any easier way achieve my end goal?