Hi, all,
I have got two different ways to set NAND user boot loader descriptor
format, one is:
*Offset *
*32-Bits *
*Description *
0
0xA1ACEDxx
Magic number
4
Entry Point Address of UBL
Entry point address for the user boot-loader (absolute address)
8
Number of pages in UBL
Number of pages (size of user boot-loader in number of pages)
12
Starting Block # of UBL
Block number where user boot-loader is present
16
Starting Page # of UBL
Page number where user boot-loader is present
20
Load Address
Application load address, usually 0x20
the other way is :
NAND UBL Header
0x00 0xA1ACEDXX A valid magic number of the nand boot mode
0x04 UBL entry point 32-bit absolute entry-point address for UBL
address
0x08 numpages the number of pages the UBL occupies
0x0c startBlock the starting block in NAND where the UBL
can be found
0x10 startPage the starting page within the starting
block where the UBL can be found
could anyone tell me the right way to set the Descriptor of the NAND UBL
thank you.
and when I make the UBL in linux command line, I found that there is a
string "The entry point of the binary is 0x2398" outputed, so what is it
means? please help me~~
if I use the UBL header "static Uint32
ublheader[6]={0xA1ACED00,0x00002398,0x0000001c,0x00000001,0x00000001,0x00000020};",is
it right?
Thank you~~
Best Regards,
shaofeng,zhang
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source