1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware
Frank Gevaerts 646edc594f Fix bpb_is_sane() cluster size calculation for non-512 byte sectors.
bpb_is_sane() used to effectively multiplying the sector size (relative
to 512 bytes) twice, which meant that filesystems with e.g. 2K sectors and
32 sectors per cluster were rejected because while this adds up to 64K
clusters (i.e. the upper limit), the calculation wrongly came to 256K.

This bug tends to affect 5.5G ipods when formatted using dosfstools.

Change-Id: Ia3f1e1303b2af953f497ccdbf23cd49c3d72e46a
2014-01-04 21:28:26 +01:00
..
asm Revert "SH gcc 4.6.3 with link-time optimization, for Archos targets" 2012-10-24 14:05:39 +02:00
common Introduce volume_{present,removable} and fix invalid calls in apps/ 2013-11-20 21:34:04 +01:00
decompressor
drivers Fix bpb_is_sane() cluster size calculation for non-512 byte sectors. 2014-01-04 21:28:26 +01:00
export creativezenv: change target_id & MODEL_NUMBER. 2014-01-02 13:35:05 +01:00
include buflib: Add buflib_context_relocate(). 2013-12-22 23:11:32 +01:00
libc
target zenxfi2: remove unused function 2013-12-24 12:39:58 +01:00
test Make fat test tool build again, and make its sector size configurable. 2014-01-03 23:57:32 +01:00
usbstack playback,talk: Share audiobuffer via core_alloc_maximum(). 2013-12-23 12:17:38 +01:00
arabjoin.c
arabjoin.h
ata_idle_notify.c
backlight-sw-fading.c
backlight.c
bidi.c
buflib.c buflib: Add buflib_context_relocate(). 2013-12-22 23:11:32 +01:00
COPYING
core_alloc.c buflib: Change buflib_available() and add buflib_allocatable(). 2013-07-07 10:46:07 +02:00
debug.c
eeprom_settings.c
enc_base.c
events.c
firmware.make
font.c
font_cache.c
general.c
hangul.c
ifp_usb_serial.c
kernel.c kernel: Allow queue_wait_w_tmo() to be called with TIMEOUT_BLOCK. 2012-09-28 19:40:17 +02:00
load_code.c
logf.c Fix logdisk 2013-08-16 21:59:16 +02:00
lru.c
panic.c
pcm.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
pcm_mixer.c Enable setting of global output samplerate on certain targets. 2013-07-06 04:22:04 +02:00
pcm_sampr.c
pcm_sw_volume.c Provide high resolution volume and prescaler to hosted targets. 2013-04-27 06:59:27 +02:00
powermgmt.c Add set_sleeptimer_duration function in minutes 2012-10-06 11:59:13 +02:00
profile.c
README
rolo.c Fix reds. Also apply the new scrolling to lcd charcell (this even uncovered an 2013-12-15 00:38:48 +01:00
rom.lds
screendump.c screendump.c: use HOME_DIR instead of the hard-coded "" (root) 2013-09-27 09:21:05 +02:00
scroll_engine.c scroll_engine: Major rework to support pixel-based scrolling and scroll callbacks. 2013-12-14 23:11:31 +01:00
sdmmc.c
sound.c Add DAC's oversampling filter roll-off selection to sound settings. 2013-05-24 11:18:16 +04:00
SOURCES Introduce IHIFI760/960 targets. 2013-12-16 00:45:18 +04:00
storage.c Cleanup MV/MD macros a little. 2013-08-17 12:18:22 -04:00
system.c
thread.c
timer.c
tuner.c
usb.c USB: Detect charging-only mode upon cable insert, not host detect. 2013-05-22 02:28:31 -04:00

See docs/README