Ping...
On Wed, May 11, 2011 at 8:51 PM, Hamo hamo.by@gmail.com wrote:
Dear lists, I have got the idea on how to deal with xcompile script for ARM. Now, let's move on to CBFS. It is one of the most difficult part since CBFS is almost hard-coded to X86 architecture. On ARM, we need CBFS like this:
/---------------\ <-- Start of ROM | /-----------\ | | | Reset | | <- 0x0 | |-----------| | | |IVs | | | |-----------| | | |Boot | | | |Block | | | -----------/ | | | | /-----------\ | --| | | Header| | | | |-----------| | | | | Name | | | | |-----------| | |-- Component | |Data | | | | |.. | | | | -----------/ | --| | | | ... | | /-----------\ | --| | | Header| | | | |-----------| | | | | Name | | | | |-----------| | |-- Component | |Data | | | | |.. | | | | -----------/ | --| ---------------/
Where should we put the CBFS master header and the pointer to it? I have no idea of how to implement it and not break it on X86 architecture. Any comment or suggestion is very welcome.