summaryrefslogtreecommitdiff
path: root/bootloader/common.c (follow)
Commit message (Collapse)AuthorAge
* bootloader/common: disable unused broken codeCástor Muñoz2016-05-25
| | | | | | | Disable (probably old) broken code, this fixes bootloader builds when ROCKBOX_HAS_LOGF is used. Change-Id: Id0ed2c3368855e2d2d2dbfb18149b9ed81c10b95
* Move load_firmware() to separate fileMarcin Bukat2013-06-27
| | | | | | | | The idea is to share loading code between bootloaders and rolo(). Change-Id: I1656ed91946d7a05cb7c9fa7a16793c3c862a5cd Reviewed-on: http://gerrit.rockbox.org/190 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
* bootloaders: cleanupRafaël Carré2011-07-02
| | | | | | | | - make printf buffer static and local to printf() - use '\0' instead of 0 for setting char - remove unused dummy functions git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30117 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat S: Renovate bootloader a bit to show splash, implement verbose, ↵Michael Sevakis2011-01-21
| | | | | | shutdown on low battery, handle hold-switch-on and wait only so long for USB if a USB charger is inserted at boot instead of being connected to a host. 'Bootloader USB mode' display is just part of normal printf stream now. Move interrupt stacks into .bss area so they aren't loaded (for firmware too). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29099 a1c6a512-1295-4272-9138-f99709370657
* Try to get some control over #ifdef hell in usb.c by refactoring and inline ↵Michael Sevakis2011-01-18
| | | | | | function use. SYS_USB_DISCONNECTED_ACK hasn't been doing anything useful for the USB thread; remove it. USB thread simply ignores that value. Observe only valid usb_state transitions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29084 a1c6a512-1295-4272-9138-f99709370657
* Rockbox as an application: Commit current Android port progress.Thomas Martitz2010-08-02
| | | | | | | | | | | | | | | | General state is: Rockbox is usable (plays music, saves configuration, touchscreen works too). Problems: - Playing music in the background (i.e. when switching to another app) doesn't work reliably, but I'm working on that now. - no cabbiev2 (only some preliminary files for it), no other default theme. - screen flickers sometimes if the updates are too frequent - no multi screen apk/package - strange behavior when a phone call comes in The java files (and the eclipse project) resides in android/, which is also supposed to be the build folder. I've put a small README in there for instructions. There are some steps needed after the make part, which are described there, and which eclipse mostly handles. But there ought to be some script/makefile rules which do that instead in the future. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27668 a1c6a512-1295-4272-9138-f99709370657
* 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
* as3525v2: silence bootloaderRafaël Carré2010-03-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25369 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
* Clip+ : make the bootloader not verbose by defaultRafaël Carré2010-03-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25201 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
* Make Samsung YH* bootloaders non-verbose (i.e. show the bootlogo) ↵Thomas Martitz2009-09-20
| | | | | | (backported from the ams/pp bootloader branch) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22747 a1c6a512-1295-4272-9138-f99709370657
* fix redNils Wallménius2009-08-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22432 a1c6a512-1295-4272-9138-f99709370657
* Onda VX747: add dual-boot capability + make it possible to permanently ↵Maurus Cuelenaere2009-07-17
| | | | | | 'stick' Rockbox to your DAP git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21919 a1c6a512-1295-4272-9138-f99709370657
* Onda VX747: clean up bootloader a bit and make sure storage doesn't get ↵Maurus Cuelenaere2009-07-01
| | | | | | init'd twice git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21593 a1c6a512-1295-4272-9138-f99709370657
* M:Robe 500: Remove some dead test code in bootloader, reorganize the ↵Karl Kurbjun2009-04-10
| | | | | | bootloader link script, and remove an unnecessary lcd disable/enable in initialization. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20674 a1c6a512-1295-4272-9138-f99709370657
* Small fix for touchscreen-capable DAP's in display_logf()Maurus Cuelenaere2009-02-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20114 a1c6a512-1295-4272-9138-f99709370657
* Don't display logo in Onda VX747 bootloader (which also fixes bootloader builds)Maurus Cuelenaere2009-02-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20026 a1c6a512-1295-4272-9138-f99709370657
* Add optional logf display helper function for bootloadersMaurus Cuelenaere2009-02-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19938 a1c6a512-1295-4272-9138-f99709370657
* Silence the m:robe 100 and HDD1630 bootloadersMark Arigo2009-02-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19908 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
* Show the Rockbox logo in the Telechips bootloader.Rob Purchase2008-11-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19129 a1c6a512-1295-4272-9138-f99709370657
* the delay in the as3525 bootloader was driving me mad so remove it and get ↵Jonathan Gordon2008-11-11
| | | | | | the bootloader closer to where a "finished" one should be (only show info if sometrhing needs to be shown, which is always for now.) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19085 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
* 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
* Sansa C200 bootloader works fine, no need to be verbose anymoreBjörn Stenberg2007-09-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14775 a1c6a512-1295-4272-9138-f99709370657
* 1st/2nd gen bootloader: * Don't be verbose by default anymore. * Don't ↵Jens Arnold2007-09-12
| | | | | | enable the backlight, as it looks bad in a bright environment due to backlight inversion, and it needs a lot of power. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14678 a1c6a512-1295-4272-9138-f99709370657
* G1/G2 bootloader working (always in verbose mode for now). Corrected fatal ↵Jens Arnold2007-07-27
| | | | | | error help text for G1..G3. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14020 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#6929 - Gigabeat bootloader improvements by Barry Wardell and ↵Karl Kurbjun2007-04-21
| | | | | | myself. This build fixes the problems seen with the latest builds on the Gigabeat X. Added View IO Ports under the Debug menu for the Gigabeat. Make sure you grab the latest bootloader from the Wiki as the old bootloader will not work properly with new builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13225 a1c6a512-1295-4272-9138-f99709370657
* In preparation for use with sansapatcher, change portalplayer bootloaders to ↵Barry Wardell2007-03-16
| | | | | | | | | | | | 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
* Disable bootloader messages in the H10 and Sansa bootloaders unless the PLAY ↵Barry Wardell2007-03-12
| | | | | | (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
* Disable bootloader messages in the ipod bootloader unless the RIGHT button ↵Dave Chapman2007-03-05
| | | | | | is being held. Messages are still displayed if an error occurs. This needs implementing for the other bootloaders. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12631 a1c6a512-1295-4272-9138-f99709370657
* FS#6554 - Move bootloader code into a common fileLinus Nielsen Feltzing2007-02-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12453 a1c6a512-1295-4272-9138-f99709370657
* FS#6554. Move bootloader code into a common file. Only PortalPlayer devices ↵Barry Wardell2007-01-28
(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