hi TIer
where can I get the am335x silicon's RBL source code?I need the source code to understand the ROM Boot process.
many thanks in advance!
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 TIer
where can I get the am335x silicon's RBL source code?I need the source code to understand the ROM Boot process.
many thanks in advance!
Hi,
Boot ROM source code is not available.
hi Biser
is there any documents about the ROM Boot other than the chapter26 in the TRM.
is it possible to get the source code from memory address 0x20000h when I connect the silicon with the emulator.
No, there is no other documentation. Source code or parts of it are not publicly available.
hi biser
Is there any information about the nand-flash boot.When storing the MLO in the nand-flash, how the SPL knows the address where the MLO is stored?
hi biser
the bootloader folder in AM335X_startware_02_00_01_01 contain the spl and u-boot? if it does, is it possible to use the starterware bootloader to generate the image flasher?
Starterware is a completely different software suite. It's an OS-less environment. It has it's own bootloader, which has nothing in common with the Linux MLO and u-boot.
hi biser
I am intending to generate the image-flasher by the starterware.Via the uart(xmodem-mode), the arm puts the Bootloader into the sdram,and then the Bootloader is written into the nandflash via the gpmc.The same as the APP.
I think it will works well(I will test it).But there is a problem:where the Bootloader should be in the nand-layout,so that the RBL can find the Bootloader.on the first block like the MLO?
Does RBL find the Bootloader of starterware the same as the SPL(MLO)?
And then because the NAND is non-XIP memory,the Bootloader and the APP need the header?
thanks in advance
ROM code has no way of knowing what the bootloader is. It just loads it. The bootloader should have a header, for the application I don't know - depends on what the bootloader does and expects.
hi biser
is there a tools that can modify the RBL in the AM335x ROM?Someone tells me TI provide the tools that can modify the RBL.
hi biser
there is a new question confused me:when I put SPL in the NAND,wrapped the GP-Header.The MLO search the first 4 blocks in the NAND Layout.
how the MLO knows the data in the block is the SPL?Is there any flags in the non-XIP SPL image?
MLO and SPL are just two names for the same thing - first-stage bootloader. This is the first external code that's moved by ROM code into internal RAM and executed from there. There are no flags. The ROM code expects that the first-stage bootloader is at one of these locations.
sorry biser
It is my clerical error,the MLO and SPL are the same thing.
I want to know how the ROM code search for the SPL.
for example when the NAND-boot mode,SPL is placed in the one of the first 4 blocks.How the ROM confirm the data in which block is the SPL data?
If the first 4 bytes in the block are neither 0x00000000 nor 0xFFFFFFFF then ROM code proceeds to load the SPL.