Commit graph

68 commits

Author SHA1 Message Date
Michael Sevakis
0afad89f53 SA9200 boot: Add OF.ebn to the list of OF filenames to check.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29014 a1c6a512-1295-4272-9138-f99709370657
2011-01-09 19:31:41 +00:00
Rafaël Carré
1ec821244a Sansa AMS bootloader: enter USB mode only when needed
- If an error happens when reading partitions / rockbox.sansa
- If the select button was pressed

add an argument to error() to not power off, when we're going to enter
USB mode to try to fix the problem, but display the error message anyway
for debugging purpose

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27075 a1c6a512-1295-4272-9138-f99709370657
2010-06-23 05:08:36 +00:00
Rafaël Carré
5d236b2bfd Generate C file / header for svn version string
It's now easier to force rebuild of files depending on the svn revision

version.c/version.h are generated once with new tools/genversion.sh
Changes in the VCS are still not auto detected, so you'll have to remove
builddir/version.* if you want to change the string in your binaries

APPSVERSION is now called RBVERSION and is defined in the generated
header instead of being defined by the Makefiles
appsversion is now called rbversion (the plugin api number didn't change
since old modules are still binary compatible)

Change some bootloaders to use knwon-at-buildtime RBVERSION instead of
"%s" + rbversion

You'll need to run make clean to regenerate dependencies after the
removal of apps/version.h

To build binaries with a different version string, hand-edit
tools/version.sh or tools/genversion.sh (which calls the former)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26320 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 09:41:46 +00:00
Frank Gevaerts
2dbafc1086 Fix some forgotten storage_(read|write)_sectors() calls
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25461 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 22:18:16 +00:00
Szymon Dziok
492fafe879 Packard Bell Vibe 500: remove the old bootloader code (actually a lack of code) and make the main-pp.c acting like a true bootloader for the DAP. It's the first step to integrate the DAP with the RBUtil.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25311 a1c6a512-1295-4272-9138-f99709370657
2010-03-23 21:28:25 +00:00
Mark Arigo
6908cc5235 Merry Christmas Gogear HDD6330 owners! This is the start of the HDD6330 port. At the moment, it's essentially a copy of the HDD1630 port with a minimal LCD driver. The touchpad doesn't work as expected, but you can still kind of navigate and listen to music/radio.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24112 a1c6a512-1295-4272-9138-f99709370657
2009-12-25 04:05:01 +00:00
Thomas Martitz
e2ccabf89d Samsung YH925: Reset the LCD orientation to what the OF expects before branching to it in dualbooting
Author: Mark Arigo

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22659 a1c6a512-1295-4272-9138-f99709370657
2009-09-08 13:57:13 +00:00
Robert Keevil
eea149bd13 FS#10436 - add the Sansa View to the build system. The bootloader builds but doesn't do anything useful yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21848 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 21:09:39 +00:00
Mark Arigo
758bb3bc62 3 new ports: Samsung YH-820, YH-920, and YH-925. Mostly functional. Audio working on 820 & 925 (untested on the 920). No battery readings. No recording. No plugins. Keymap needs work.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21083 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 21:10:45 +00:00
Nils Wallménius
6ce98bda11 FS#10018 general pp bootloader: start the OF if loading rockbox fails. Resolves a bug where the c200 bootloader would loop flashing the logo if loading rockbox failed and drop support for loading old .e200 and .h10 rockbox main binaries for the e200 resp h10, affects e200, c200, h10 (both kinds) and mrobe 100.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20342 a1c6a512-1295-4272-9138-f99709370657
2009-03-17 20:05:03 +00:00
Frank Gevaerts
cf2632229b fix the obligatory yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20107 a1c6a512-1295-4272-9138-f99709370657
2009-02-25 22:59:23 +00:00
Mark Arigo
3482a55b83 Dual boot for the Philips HDD1630.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19741 a1c6a512-1295-4272-9138-f99709370657
2009-01-10 03:21:07 +00:00
Michael Sevakis
bc963c34ae Hopefully mop-up remaining red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19317 a1c6a512-1295-4272-9138-f99709370657
2008-12-03 21:15:44 +00:00
Björn Stenberg
b69be10d98 Use BOOTDIR and BOOTFILE defines instead of hardcoded path and file. FS#9559
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19190 a1c6a512-1295-4272-9138-f99709370657
2008-11-23 22:07:48 +00:00
Frank Gevaerts
86f0c75cde fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18976 a1c6a512-1295-4272-9138-f99709370657
2008-11-02 01:31:52 +00:00
Frank Gevaerts
2f8a0081c6 Apply FS#9500. This adds a storage_*() abstraction to replace ata_*(). To do that, it also introduces sd_*, nand_*, and mmc_*.
This should be a good first step to allow multi-driver targets, like the Elio (ATA/SD), or the D2 (NAND/SD).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18960 a1c6a512-1295-4272-9138-f99709370657
2008-11-01 16:14:28 +00:00
Frank Gevaerts
19d1cacb1a cleanup storage defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18950 a1c6a512-1295-4272-9138-f99709370657
2008-10-31 21:25:04 +00:00
Barry Wardell
1ac260c0e6 Fix H10 bootloader locking up if the scroll pad was touched. May also fix any other lock ups from trying to read from the adc in the bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18208 a1c6a512-1295-4272-9138-f99709370657
2008-08-07 11:23:40 +00:00
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