rockbox/firmware/drivers
Torne Wuff 99cd7f8c19 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
2010-04-14 14:40:03 +00:00
..
audio Minor binsize savings. 2010-04-11 12:33:02 +00:00
rtc Clip+: show the same real time in OF and rockbox 2010-02-22 10:25:02 +00:00
tuner si4700 tuner: put the tuner to sleep at init 2010-03-05 01:43:52 +00:00
ata.c Make builds with MAX_PHYS_SECTOR_SIZE defined (ipod video) work with larger sizes if the drive is sane. 2010-04-14 14:40:03 +00:00
ata_flash.c Commit FS#9545, storage cleanup and multi-driver support 2009-07-17 22:28:49 +00:00
ata_mmc.c Simplify some expressions using the ? operator 2010-01-01 22:47:25 +00:00
button.c FS#10711 by Martin Ritter fixes handling of the 'First Keypress Enables Backlight Only' setting in simulators 2009-12-04 22:43:33 +00:00
dac.c
dac.h Final removal of tabs in firmware path 2010-01-03 11:31:14 +00:00
eeprom_24cxx.c
fat.c Add IO priority handling. Currently all IO has equal priority, except the dircache scanning thread which is lower. This fixes the slow boot problem for me, with the added benefit that actual audio playback also starts faster. 2010-04-03 22:02:09 +00:00
fmradio.c
generic_i2c.c Fix delays in generic i2c driver, reduce delays in ams sansa fmradio i2c driver (tested on m200v4, clip, e200v2, fuze). 2009-06-20 21:45:04 +00:00
i2c.c Add missing mutex_init to i2c driver 2009-07-10 17:46:35 +00:00
isp1362.c
isp1583.c FS#10226 - isp1583.c code cosmetics 2009-10-01 05:40:20 +00:00
lcd-1bit-vert.c Comment out lcd_drawline() DEBUGF messages which show in various simulators 2010-02-20 06:42:45 +00:00
lcd-2bit-horz.c Comment out lcd_drawline() DEBUGF messages which show in various simulators 2010-02-20 06:42:45 +00:00
lcd-2bit-vert.c Comment out lcd_drawline() DEBUGF messages which show in various simulators 2010-02-20 06:42:45 +00:00
lcd-2bit-vi.c Comment out lcd_drawline() DEBUGF messages which show in various simulators 2010-02-20 06:42:45 +00:00
lcd-16bit-vert.c Comment out lcd_drawline() DEBUGF messages which show in various simulators 2010-02-20 06:42:45 +00:00
lcd-16bit.c Comment out lcd_drawline() DEBUGF messages which show in various simulators 2010-02-20 06:42:45 +00:00
lcd-bitmap-common.c * surround member only used by charcells with #ifdef HAVE_LCD_CHARCELLS in struct scrollinfo in scroll_engine.h. 2010-02-16 11:59:37 +00:00
lcd-charcell.c Fix Red 2009-11-07 18:55:50 +00:00
lcd-charset-player.c Final removal of tabs in firmware path 2010-01-03 11:31:14 +00:00
lcd-remote-1bit-v.c
lcd-remote-2bit-vi.c
led.c
m5636.c
m66591.c M66591 Driver: Correct some comments. 2010-03-17 01:43:15 +00:00
mas.c
nand_id.c
pcf50605.c
pcf50606.c D2: Reduce binsize a bit by using arrays for the PMU initialisation. 2009-10-11 21:12:06 +00:00
pcf50635.c D2: Reduce binsize a bit by using arrays for the PMU initialisation. 2009-10-11 21:12:06 +00:00
qt1106.c
ramdisk.c Commit FS#9545, storage cleanup and multi-driver support 2009-07-17 22:28:49 +00:00
sd.c Fix warnings on logf build 2009-12-25 18:27:26 +00:00
serial.c Simplify some boolean expressions that compare directly against 'true' 2010-01-02 16:03:30 +00:00
sw_i2c.c
synaptics-mep.c Packard Bell Vibe 500: touchpad code rework. Improve touch sensivity a bit by setting the MEP parameters in the power_init() function. Implement new function in synaptics-mep driver (touchpad_set_parameter) necessary for it. Move the button lights code to the target backlight file. 2010-02-06 19:15:43 +00:00
touchscreen.c Remove svn:executable from firmware 2009-10-31 02:26:40 +00:00
tsc200x.c Touchscreen support for newer Cowon D2+ hardware revisions (using TSC200x touchscreen controller). 2009-10-15 20:13:29 +00:00
tsc2100.c M:Robe 500: Fix FIQ's and make the audio DMA a FIQ, simplify the ADC code and make it more reliable. Fix ADC problems on initial boot. 2009-12-12 18:36:52 +00:00