Advertisement
Guest User

Rockbox SD BOOT

a guest
Mar 29th, 2020
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. koniu multi boot works like this(FW = the /.rockbox firmware ):
  2. [Bootloader] looks for FW to load (it starts at the highest drive index)
  3. In the root of each drive /rockbox_main.<playername> can specify a directory to look for the FW
  4. if it finds a .rockbox directory [based on the data in the redirect file] then it generates a crc
  5. and fills in a special data struct with teh crc and what volume the FW was found on
  6. [end of boot loader] FW was loaded to memory and booted either the FW on internal or the sd card
  7.  
  8. [FIRMWARE] -> we have a valid redirect file and fimware
  9. FW does its init -- Looks for the special memory left by bootloader
  10. FW Checks to see if the CRC it generates matches the CRC generated by the bootloader
  11. CRC OK - FW makes note of where it is running from and sets path accordingly directs writes/reads there
  12. CRC BAD - As far as FW is concerned it resides on the internal memory directs writes/reads there
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement