Hi,
I am working on beagle bone black, i want to boot my board by using single stage boot loader instead of two stages of boot loader i.e MLO, u-boot.img, How can i design that single stage boot loader which can load the kernel
Thanks
Venkatesh
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.
Hi,
I am working on beagle bone black, i want to boot my board by using single stage boot loader instead of two stages of boot loader i.e MLO, u-boot.img, How can i design that single stage boot loader which can load the kernel
Thanks
Venkatesh
Hello Venkatesh,
Please, also refer to <u-boot-version>/board/ti/am335x/README file and try these steps:
Falcon Mode: FAT SD cards
=========================
In this case the additional file is written to the filesystem. In this
example we assume that the uImage and device tree to be used are already on
the FAT filesystem (only the uImage MUST be for this to function
afterwards) along with a Falcon Mode aware MLO and the FAT partition has
already been created and marked bootable:
U-Boot # mmc rescan
# Load kernel and device tree into memory, perform export
U-Boot # load mmc 1:1 ${loadaddr} uImage
U-Boot # run findfdt
U-Boot # load mmc 1:1 ${fdtaddr} ${fdtfile}
U-Boot # run mmcargs
U-Boot # spl export fdt ${loadaddr} - ${fdtaddr}
This will print a number of lines and then end with something like:
Using Device Tree in place at 80f80000, end 80f85928
Using Device Tree in place at 80f80000, end 80f88928
So then you:
U-Boot # fatwrite mmc 1:1 0x80f80000 args 8928
Best regards,
Kemal