I got a beaglebone black which comes with u-boot linux preinstalled on the emmc. For the sake of learning I want to put u-boot on the flash myself and build linux from scratch. I have compiled u-boot, booted the board via UART and loaded u-boot via xmodem. As a result I can enter u-boot commands.
From my understanding I need to store the MLO and u-boot.bin files on the emmc.
I have loaded the files into RAM using xmodem but I am a little bit confused how/where to write them. I also don't see any existing MLO /u-boot files on the board which raises the question how the stock linux boots in the first place. Any hints?
=> mmcinfo Device: OMAP SD/MMC Manufacturer ID: 70 OEM: 100 Name: M6270 Tran Speed: 52000000 Rd Block Len: 512 MMC version 5.1 High Capacity: Yes Capacity: 3.6 GiB Bus Width: 4-bit Erase Group Size: 512 KiB HC WP Group Size: 4 MiB User Capacity: 3.6 GiB Boot Capacity: 2 MiB ENH RPMB Capacity: 512 KiB ENH => mmc part Partition Map for MMC device 1 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 7469056 00000000-01 83 Boot