Rockbox Development > Starting Development and Compiling
Sansa E200V2 Bootloader is broken in master
bahus:
I applied some trimming and enabled multiboot/boot redirect:
https://github.com/bahusoid/rockbox/tree/e200V2Boot
And I still need 6 kilobytes:
Packed data (126895 bytes) doesn't fit in the firmware (120860 bytes)
Here is size comparison with bootloader from 2011.11.08_6223ad26:
https://gist.github.com/bahusoid/d627e4d19e3d99906ba20a7cdfc9872b
What else can be trimmed?
With HAVE_USBSTACK and HAVE_BOOTLOADER_USB_MODE disabled it fits. But is it really safe?
saratoga:
USB in the bootloader is helpful if you don't have a .rockbox binary or otherwise cannot boot, so disabling it isn't a good idea.
bahus:
Ok I've been able to make a build that fits (only --thumb build). Can someone please review my changes to make sure they are safe (at least in theory):
https://github.com/bahusoid/rockbox/tree/e200V2Boot
Max allowed size: 120860
Thumb build: 120256 (fits!)
No thumb: 121842
Disabled:
Logo;
alpha blending capabilities for bitmaps;
Non default locales (only utf-8 and latin left);
Arm stack unwinder (needed for backtrace);
Enabled:
Boot redirect (to allow loading from SD card)
bahus:
Flashed it and rockbox doesn't boot (black screen with no indications). Luckily dual boot still works.. Will investigate if it's me or some changes in master...
bahus:
--- Quote from: bahus on February 19, 2024, 01:34:01 PM ---Flashed it and rockbox doesn't boot (black screen with no indications).
--- End quote ---
It's not me. The same changes applied to 4 years old commit work! Sd card boot also works!
https://github.com/bahusoid/rockbox/tree/e200V2_24.10.2020
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version