summaryrefslogtreecommitdiff
path: root/bootloader/main-pp.c (follow)
Commit message (Collapse)AuthorAge
* Sansa AMS bootloader: enter USB mode only when neededRafaël Carré2010-06-23
| | | | | | | | | | | - 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
* Generate C file / header for svn version stringRafaël Carré2010-05-27
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix some forgotten storage_(read|write)_sectors() callsFrank Gevaerts2010-04-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25461 a1c6a512-1295-4272-9138-f99709370657
* Packard Bell Vibe 500: remove the old bootloader code (actually a lack of ↵Szymon Dziok2010-03-23
| | | | | | 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
* Merry Christmas Gogear HDD6330 owners! This is the start of the HDD6330 ↵Mark Arigo2009-12-25
| | | | | | 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
* Samsung YH925: Reset the LCD orientation to what the OF expects before ↵Thomas Martitz2009-09-08
| | | | | | | | branching to it in dualbooting Author: Mark Arigo git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22659 a1c6a512-1295-4272-9138-f99709370657
* FS#10436 - add the Sansa View to the build system. The bootloader builds ↵Robert Keevil2009-07-13
| | | | | | but doesn't do anything useful yet. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21848 a1c6a512-1295-4272-9138-f99709370657
* 3 new ports: Samsung YH-820, YH-920, and YH-925. Mostly functional. Audio ↵Mark Arigo2009-05-25
| | | | | | 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
* FS#10018 general pp bootloader: start the OF if loading rockbox fails. ↵Nils Wallménius2009-03-17
| | | | | | 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
* fix the obligatory yellowFrank Gevaerts2009-02-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20107 a1c6a512-1295-4272-9138-f99709370657
* Dual boot for the Philips HDD1630.Mark Arigo2009-01-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19741 a1c6a512-1295-4272-9138-f99709370657
* Hopefully mop-up remaining red.Michael Sevakis2008-12-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19317 a1c6a512-1295-4272-9138-f99709370657
* Use BOOTDIR and BOOTFILE defines instead of hardcoded path and file. FS#9559Björn Stenberg2008-11-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19190 a1c6a512-1295-4272-9138-f99709370657
* fix redFrank Gevaerts2008-11-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18976 a1c6a512-1295-4272-9138-f99709370657
* Apply FS#9500. This adds a storage_*() abstraction to replace ata_*(). To do ↵Frank Gevaerts2008-11-01
| | | | | | | | | 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
* cleanup storage definesFrank Gevaerts2008-10-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18950 a1c6a512-1295-4272-9138-f99709370657
* Fix H10 bootloader locking up if the scroll pad was touched. May also fix ↵Barry Wardell2008-08-07
| | | | | | 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
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | 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
* My Devcon 2008 contribution: port for Philips GoGear HDD1630 (PP5022-based). ↵Mark Arigo2008-06-27
| | | | | | 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
* Add mi4 key for the Philips GoGear HDD1630 (PP5022-based)Mark Arigo2008-05-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17660 a1c6a512-1295-4272-9138-f99709370657
* Philips GoGear SA9200 port. Working bootloader and normal builds, including ↵Mark Arigo2008-05-21
| | | | | | 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
* Don't need this any more since it's the default now.Barry Wardell2008-05-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17457 a1c6a512-1295-4272-9138-f99709370657
* FS#7977: Bootloader logo for PP-based targets (H10, Sansa, M-Robe 100).Barry Wardell2008-05-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17374 a1c6a512-1295-4272-9138-f99709370657
* sync with key list with mi4code and add the single mi4 key it had but thisDaniel Stenberg2008-04-11
| | | | | | | still didn't git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17077 a1c6a512-1295-4272-9138-f99709370657
* mi4 key for the Philips GoGear SA9200 (PP5024). Let the fun begin...Mark Arigo2008-04-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17069 a1c6a512-1295-4272-9138-f99709370657
* Don't make the Sansa bootloaders verbose when USB is connectedDave Chapman2008-03-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16836 a1c6a512-1295-4272-9138-f99709370657
* m:robe 100: use power button for dual-booting the OF (short press to boot ↵Robert Kukla2008-03-05
| | | | | | rockbox, long press for OF) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16522 a1c6a512-1295-4272-9138-f99709370657
* Major USB fixes by Frank Gevaerts. Still disabled in builds, #define ↵Björn Stenberg2008-02-11
| | | | | | USE_ROCKBOX_USB to test. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16279 a1c6a512-1295-4272-9138-f99709370657
* Initial commit for the Olympus m:robe 100 port (PP5020). The LCD driver ↵Mark Arigo2008-01-09
| | | | | | 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
* Red fix: USB power check implemented in driver insteadBjörn Stenberg2007-11-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15761 a1c6a512-1295-4272-9138-f99709370657
* shutdown if hold is on in the non-ipod-pp target bootloaders.Jonathan Gordon2007-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15679 a1c6a512-1295-4272-9138-f99709370657
* Hardware controlled backlight brightness for iPod Video and Nano, retaining ↵Jens Arnold2007-11-12
| | | | | | 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
* Fix warningBarry Wardell2007-10-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15226 a1c6a512-1295-4272-9138-f99709370657
* Support database rebuild disabling when USB is connected for all e200 OF ↵Barry Wardell2007-10-20
| | | | | | 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
* Make the firmware partition dump code compile again.Barry Wardell2007-10-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15223 a1c6a512-1295-4272-9138-f99709370657
* Add 3 more OF datbase refresh locations for the e200 bootloader (FS#7990)Jonathan Gordon2007-10-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15219 a1c6a512-1295-4272-9138-f99709370657
* Turn on the backlight in the e200 booloader. This is necessary for when we ↵Barry Wardell2007-10-14
| | | | | | replace the sansa bootloader altogether. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15109 a1c6a512-1295-4272-9138-f99709370657
* key added used for C200 A1.00.03Daniel Stenberg2007-09-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14742 a1c6a512-1295-4272-9138-f99709370657
* Sansa c200 port. Rockbox works with sound. Several features are disabled ↵Mark Arigo2007-09-06
| | | | | | 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
* dont bother waiting for a usb connection if we arnt getting usb power ↵Jonathan Gordon2007-09-04
| | | | | | (speeds up the e200 bootloader by about 1.25s) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14601 a1c6a512-1295-4272-9138-f99709370657
* FS #7691 - improved USB detection on PP devices. This patch modifies the ↵Dave Chapman2007-09-04
| | | | | | 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
* fix warningDaniel Stenberg2007-09-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14598 a1c6a512-1295-4272-9138-f99709370657
* added two keys, and made NUM_KEYS work without needing a fixed numberDaniel Stenberg2007-09-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14597 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#7134 - Sansa: external sd card support by Antonius Hellmann with ↵Michael Sevakis2007-06-30
| | | | | | 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
* Bring back rolo for mi4-based targets (H10 and Sansa).Barry Wardell2007-06-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13550 a1c6a512-1295-4272-9138-f99709370657
* Add the database rebuild byte for the ↵Jonathan Gordon2007-05-20
| | | | | | | | | | 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
* add some code to dump the sansa hidden partition (commented out), usefull ↵Jonathan Gordon2007-05-17
| | | | | | | | | 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
* minor code cleanup and policingJonathan Gordon2007-03-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12889 a1c6a512-1295-4272-9138-f99709370657
* Enable usb detection in the sansa bootloader (loads OF if detected)Jonathan Gordon2007-03-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12888 a1c6a512-1295-4272-9138-f99709370657
* Fix build errors.Barry Wardell2007-03-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12867 a1c6a512-1295-4272-9138-f99709370657