Daniel Stenberg
2acc0ac542
Updated our source code header to explicitly mention that we are GPL v2 or
...
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 18:10:04 +00:00
Mark Arigo
22e7bf32b8
My Devcon 2008 contribution: port for Philips GoGear HDD1630 (PP5022-based). Current status is that the bootloader works to load Rockbox, but dual boot does not work: it freezes after decrypting the OF. When Rockbox boots, it freezes somewhere between showing the logo and the main menu. And there's no driver for the touchpad. So lots of work left.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17809 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 18:40:25 +00:00
Mark Arigo
badb6dae62
Add mi4 key for the Philips GoGear HDD1630 (PP5022-based)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17660 a1c6a512-1295-4272-9138-f99709370657
2008-05-30 04:14:23 +00:00
Mark Arigo
b4275d4941
Philips GoGear SA9200 port. Working bootloader and normal builds, including sound. No touchpad now, buttons limited to using vol+/vol-/power for up/down/select. Rockbox USB is enabled since the OF is MTP only...read the warnings on the PortalPlayerUsb wiki page.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17591 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 03:55:17 +00:00
Barry Wardell
63f4f68a74
Don't need this any more since it's the default now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17457 a1c6a512-1295-4272-9138-f99709370657
2008-05-11 15:30:15 +00:00
Barry Wardell
940091ae38
FS#7977: Bootloader logo for PP-based targets (H10, Sansa, M-Robe 100).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17374 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 12:05:00 +00:00
Daniel Stenberg
7387a0470e
sync with key list with mi4code and add the single mi4 key it had but this
...
still didn't
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17077 a1c6a512-1295-4272-9138-f99709370657
2008-04-11 21:11:55 +00:00
Mark Arigo
f46a7533a4
mi4 key for the Philips GoGear SA9200 (PP5024). Let the fun begin...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17069 a1c6a512-1295-4272-9138-f99709370657
2008-04-11 03:57:16 +00:00
Dave Chapman
f0cde2dff9
Don't make the Sansa bootloaders verbose when USB is connected
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16836 a1c6a512-1295-4272-9138-f99709370657
2008-03-27 00:31:51 +00:00
Robert Kukla
6ef63a5373
m:robe 100: use power button for dual-booting the OF (short press to boot rockbox, long press for OF)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16522 a1c6a512-1295-4272-9138-f99709370657
2008-03-05 00:17:21 +00:00
Björn Stenberg
2f7cffa204
Major USB fixes by Frank Gevaerts. Still disabled in builds, #define USE_ROCKBOX_USB to test.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16279 a1c6a512-1295-4272-9138-f99709370657
2008-02-11 14:26:25 +00:00
Mark Arigo
e66ddd754f
Initial commit for the Olympus m:robe 100 port (PP5020). The LCD driver works. The ADC driver was copied from the H10 port (they can probably be combined later), but the battery readings aren't right and it shuts down. The touch pad buttons do not work. Install the bootloader and rockbox the H10 way. Still lots of work to do.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16030 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 07:24:43 +00:00
Björn Stenberg
7af22e1a86
Red fix: USB power check implemented in driver instead
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15761 a1c6a512-1295-4272-9138-f99709370657
2007-11-22 22:17:45 +00:00
Jonathan Gordon
fc8e09d79d
shutdown if hold is on in the non-ipod-pp target bootloaders.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15679 a1c6a512-1295-4272-9138-f99709370657
2007-11-19 02:07:40 +00:00
Jens Arnold
ef12b3b5c6
Hardware controlled backlight brightness for iPod Video and Nano, retaining the software PWM fade in/ fade out. * Backlight handling cleanup, getting rid of one layer of 'lowlevelness'. * Use atomic GPIO bit manipulation for PP502x backlight handling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15599 a1c6a512-1295-4272-9138-f99709370657
2007-11-12 18:49:53 +00:00
Barry Wardell
8b6bf8f734
Fix warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15226 a1c6a512-1295-4272-9138-f99709370657
2007-10-20 18:30:41 +00:00
Barry Wardell
d46cf97024
Support database rebuild disabling when USB is connected for all e200 OF versions. Some people may have to update the OF (to any version they want) using sansapatcher before it will work. This just ensures that the NVPARAMS are in a good state and we can be sure where to look for the rebuild flag.The c200 OF doesn't reboot before rebuilding the database, so our trick won't ever work there.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15225 a1c6a512-1295-4272-9138-f99709370657
2007-10-20 17:08:41 +00:00
Barry Wardell
003fc494c2
Make the firmware partition dump code compile again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15223 a1c6a512-1295-4272-9138-f99709370657
2007-10-20 15:41:44 +00:00
Jonathan Gordon
eee3745d70
Add 3 more OF datbase refresh locations for the e200 bootloader (FS#7990)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15219 a1c6a512-1295-4272-9138-f99709370657
2007-10-20 10:01:05 +00:00
Barry Wardell
f1fead0c9b
Turn on the backlight in the e200 booloader. This is necessary for when we replace the sansa bootloader altogether.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15109 a1c6a512-1295-4272-9138-f99709370657
2007-10-14 18:20:23 +00:00
Daniel Stenberg
98a39fb057
key added used for C200 A1.00.03
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14742 a1c6a512-1295-4272-9138-f99709370657
2007-09-18 13:58:12 +00:00
Mark Arigo
dbc6b4e39a
Sansa c200 port. Rockbox works with sound. Several features are disabled including some lcd options, FM radio, recording, and all plugins. Loading the OF from the Rockbox bootloader does not work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14625 a1c6a512-1295-4272-9138-f99709370657
2007-09-06 03:28:58 +00:00
Jonathan Gordon
95101c19f2
dont bother waiting for a usb connection if we arnt getting usb power (speeds up the e200 bootloader by about 1.25s)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14601 a1c6a512-1295-4272-9138-f99709370657
2007-09-04 08:14:47 +00:00
Dave Chapman
1672350378
FS #7691 - improved USB detection on PP devices. This patch modifies the target-tree function usb_detect() on all targets from bool to int, returning USB_INSERTED or USB_EXTRACTED instead of true or false. This was done to enable the PP usb_detect() to check for USB_POWER (either a connection to a USB wall charger, or the user holding "charge mode" button) and return that as a third value.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14600 a1c6a512-1295-4272-9138-f99709370657
2007-09-04 08:03:07 +00:00
Daniel Stenberg
9b3be37f84
fix warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14598 a1c6a512-1295-4272-9138-f99709370657
2007-09-03 21:26:39 +00:00
Daniel Stenberg
8701494630
added two keys, and made NUM_KEYS work without needing a fixed number
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14597 a1c6a512-1295-4272-9138-f99709370657
2007-09-03 21:23:57 +00:00
Michael Sevakis
1167e3c72f
Accept FS#7134 - Sansa: external sd card support by Antonius Hellmann with some tweaks. All testers have given the green light. (Now for the RED ?? ;).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13741 a1c6a512-1295-4272-9138-f99709370657
2007-06-30 02:08:27 +00:00
Barry Wardell
54c73a24b6
Bring back rolo for mi4-based targets (H10 and Sansa).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13550 a1c6a512-1295-4272-9138-f99709370657
2007-06-04 13:48:21 +00:00
Jonathan Gordon
1062a17992
Add the database rebuild byte for the PP5022AF-05.51-S301-00.12-S301.00.12A-D OF version.
...
Dont output the sector count so often when doing the partition dump.
CAUTION: don't upgrade to this bootloader as the buttons still are not working in the bootloader (USB will be the only access to the OF if you do)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13438 a1c6a512-1295-4272-9138-f99709370657
2007-05-20 03:08:00 +00:00
Jonathan Gordon
875c725e1c
add some code to dump the sansa hidden partition (commented out), usefull for when we need to figure out which byte to modify so the OF doesnt rebuild its DB after usb
...
CAUTION: Current svn bootloader cannot read buttons, so don't upgrade
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13402 a1c6a512-1295-4272-9138-f99709370657
2007-05-17 11:35:57 +00:00
Jonathan Gordon
ceb1e7a2fe
minor code cleanup and policing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12889 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 12:55:51 +00:00
Jonathan Gordon
a76947f2a2
Enable usb detection in the sansa bootloader (loads OF if detected)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12888 a1c6a512-1295-4272-9138-f99709370657
2007-03-22 12:45:19 +00:00
Barry Wardell
7e03b0a2e0
Fix build errors.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12867 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 22:56:51 +00:00
Barry Wardell
7cd559dde0
Oops, the mi4 magic was being looked for in the wrong place when decrypting. Also decrease verbosity of PP bootloader a bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12865 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 22:18:35 +00:00
Barry Wardell
9a9aebb99e
We should check the CRC32 whether it is encrypted or not.
...
Do the encryption in-place so that it is faster.
Add comment explaining why we need our own CRC32 implemenatation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12864 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 22:02:26 +00:00
Barry Wardell
3de41f5250
Add support for encrypted mi4 bootloaders.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12863 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 20:45:25 +00:00
Barry Wardell
bada0b7190
Hopefully fix CRC32 errors when loading the Sansa OF from the firmware partition.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12852 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 12:35:45 +00:00
Barry Wardell
0c1a304620
PP bootloader:
...
1) Proper error handling when we can't find the firmware.
2) Show verbose debug messages when any button is pressed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12847 a1c6a512-1295-4272-9138-f99709370657
2007-03-20 10:36:26 +00:00
Barry Wardell
ca8f7bf352
The model and type strings are only 4 characters long. Also remove the 20 at the start of the version string - it should never have been there.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12839 a1c6a512-1295-4272-9138-f99709370657
2007-03-19 11:20:22 +00:00
Barry Wardell
e293bbb451
If loading rockbox.mi4 fails, then drop back to trying rockbox.h10/rockbox.e200 instead. This will allow the new bootloader to be used with older rockbox builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12824 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 19:07:20 +00:00
Barry Wardell
b8a5adfcdb
Partition type 0x84 is "OS/2 hidden C: drive"
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12805 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 14:41:55 +00:00
Barry Wardell
a91a35be74
The hidden partition stuff is only used Sansa.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12803 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 14:36:14 +00:00
Barry Wardell
14ed3ca8d8
In preparation for use with sansapatcher, change portalplayer bootloaders to read firmwares in mi4 format.
...
When loading the OF:
1) first try to load from a hidden disk partition
2) try loading /System/OF.mi4
3) finally fall back to loading /System/OF.bin which is what the old bootloader used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12802 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 14:28:00 +00:00
Barry Wardell
a42070df85
Make it possible to boot the OF and show verbose messages at the same time in the PP bootloaders.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12791 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 22:32:58 +00:00
Barry Wardell
2370998a87
Disable bootloader messages in the H10 and Sansa bootloaders unless the PLAY (on H10) or RIGHT (on Sansa) button is being held. Messages are still displayed if an error occurs. This has already been implemented for iPod bootloaders, but still needs implementing for the other bootloaders.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12742 a1c6a512-1295-4272-9138-f99709370657
2007-03-12 22:12:20 +00:00
Barry Wardell
7908740b94
Oops. sleep() doesn't work on PortalPlayer builds. Use udelay() instead.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12138 a1c6a512-1295-4272-9138-f99709370657
2007-01-28 20:40:58 +00:00
Barry Wardell
84b509dc43
FS#6554. Move bootloader code into a common file. Only PortalPlayer devices (iPods, H10, Sansa) are affected for the moment. Someone with access to (and no fear of bricking) an X5, H100, H300 and Gigabeat should try to adapt those bootloaders to also use the code in common.c. The (non-working) patch in the tracker would be a good place to start with this.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12136 a1c6a512-1295-4272-9138-f99709370657
2007-01-28 18:42:11 +00:00
Barry Wardell
e9327a947f
Fix build warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12043 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 12:35:22 +00:00
Barry Wardell
f4709d0c7c
Make the build system create a sysfont.h which includes font information for the system font. Available #defines are: SYSFONT_NAME, SYSFONT_FACENAME, SYSFONT_WIDTH, SYSFONT_HEIGHT, SYSFONT_SIZE, SYSFONT_ASCENT, SYSFONT_DESCENT, SYSFONT_FIRST_CHAR, SYSFONT_LAST_CHAR, SYSFONT_DEFAULT_CHAR, SYSFONT_PROPORTIONAL, SYSFONT_COPYRIGHT, SYSFONT_BITS_SIZE.
...
Also fix a small bug in the iPod bootloader printf() code and use printf() for PortalPlayer bootloaders too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12041 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 12:20:38 +00:00
Barry Wardell
2f16d4f1b3
Add working dual-boot bootloaders for H10 and Sansa, which allow booting the OF and Rockbox. Rolo also works.
...
Changes made:
Combine bootloader/h10.c and bootloader/e200.c into a common bootloader file (bootloader/main-pp.c) to be used by all mi4 based PortalPlayer targets. The file bootloader/main-pp.c is based off the old bootloader/h10.c with some minor changes to allow it to work on the Sansa too. This effectively adds a Sansa bootloader.
Define MODEL_NAME string in config-*.h for use in bootloader.
Split crt0-pp.S into separate files for bootloader and normal builds. Bootloader code is now in crt0-pp-bl.S while normal build code stays in crt0-pp.S.
Improvements to crt0-pp.S and crt0-pp-bl.S (mostly to make it more multiprocessor safe):
* Leave space in bootloader at 0xe0-0xeb since scramble writes over there when it creates the mi4 file (don't leave space for iPods since it's not needed and all code in crt0-pp-bl.S needs to fit before the boot_table at 0x100).
* Remove unused DEBUG and STUB code from crt0-pp.S.
* Make CPU wait for COP to be sleeping when we put the COP to sleep.
* Invalidate COP cache when COP wakes
* Flush CPU cache before waking COP
* Make sure only the CPU clears the BSS (not the COP)
* Make sure only the CPU sets up its own stack (not the COP)
Rolo works on H10, so enable it.
Make Sansa e200 use rockbox.e200 rather than PP5022.mi4 for 'Normal' builds. This makes updating rockbox simpler as we don't need to go through the firmware update procedure, but rather just put a new rockbox.e200 on the device. rockbox.e200 uses a simple 'add' checksum.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11815 a1c6a512-1295-4272-9138-f99709370657
2006-12-19 11:33:53 +00:00