summaryrefslogtreecommitdiff
path: root/manual/platform/vibe500.tex
diff options
context:
space:
mode:
authorTorne Wuff <torne@wolfpuppy.org.uk>2010-04-14 14:40:03 +0000
committerTorne Wuff <torne@wolfpuppy.org.uk>2010-04-14 14:40:03 +0000
commit99cd7f8c194a965cd5f2031e151b898ed190b636 (patch)
treedc2fa17d820ce4fee1413ef16edffe301c586697 /manual/platform/vibe500.tex
parent4157a31924be37b440c92df8a141ada7e7bfb704 (diff)
downloadrockbox-99cd7f8c194a965cd5f2031e151b898ed190b636.tar.gz
rockbox-99cd7f8c194a965cd5f2031e151b898ed190b636.zip
Make builds with MAX_PHYS_SECTOR_SIZE defined (ipod video) work with larger sizes if the drive is sane.
The ipod video build has a MAX_PHYS_SECTOR_SIZE of 1024. This meant it would refuse to boot on drives with sectors larger than 1024 bytes, even if those drives don't actually require the workaround originally intended for the 80GB 5.5G's drive. ata_init() will now, if the drive claims to have >512 byte sectors, try and read sector 1 to determine if the drive is capable of emulating 512-byte sector accesses. If this succeeds, we assume the drive is better at it than us (this is very likely to be true) and set phys_sector_mult to 1, disabling the workaround and ensuring the drive will work regardless of sector size. Making use of this change requires that you build and install an updated bootloader as well as the main build; a new iPod bootloader will be released soon, so if you can't do this yourself, be patient. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25646 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual/platform/vibe500.tex')
0 files changed, 0 insertions, 0 deletions