четвер, 18 серпня 2016 р. 01:49:56 UTC+3 користувач john3909 написав:
>
> I recommend you ask your question on Texas Instruments E2E website
>
> e2e.ti.com
>
> I’m not sure anyone here would have this level of detailed knowledge. 
>
> Regards,
> John
>
>
Thank you for the recommendation. I did so, and got the answers.
For those who might be interested, the short answer is the rom code does 
need CH, put at the one of sectors - #0, #256, #512 or #768. CH is about 
288 bytes in size (there is a very good project at github 
<https://github.com/mvduin/bbb-asm-demo>, clearly illustarting this and 
more), so it fits into an MBR's BootCode block, but this will not help you 
with putting your image right after it into remaining bytes of the 
BootCode, because the rom code expects the image to be placed sector 
aligned, thus - *at the beginning of the next sector*.
So if you cannot place it there, because there is some other thing already 
occupying it, as the GPT header in my case, and you still want to use the 
raw mode of booting, your only choice is to skip 256 sectors and lay your 
bundle - TOC, CHSETTINGS at the beginning of Lba #256 and GP+your image at 
Lba #257. Rom code checks all 4 locations, so finding the CH at Lba #256 it 
will load it. Hopefully.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/4bbe0885-d868-4628-a0f3-7f0dcf266f3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to