summaryrefslogtreecommitdiff
path: root/bootloader (follow)
Commit message (Collapse)AuthorAge
* Refactor and unify objcopy calls in the build system. Also now properly ↵Thomas Martitz2012-04-04
| | | | | | handles DEBUG builds on hosted targets to keep debug symbols if necessary. Change-Id: I884031b79c6d49479e4d95752f35ced68872dd5d
* Fix bootloaders.Thomas Martitz2012-03-26
| | | | Change-Id: I7e1666d604c554509375a4ae858ff3cd7be96b3a
* center logo horizontaly in bootloader version of show_logo()Marcin Bukat2012-03-19
| | | | Change-Id: I537466825de7f3bc8d55d9519cd27f562fbb344f
* imx233: enable charging in bootloader USB mode by including powermgmtAmaury Pouly2012-03-15
| | | | Change-Id: I8b91b3ab60cb9ffaa127333e9bcef8c33be742fa
* rename rkw.h header fileMarcin Bukat2012-03-04
| | | | Change-Id: I2cb6ea7da9c20ed0ef87f4b8ea90d2e4a4a3bca2
* rk27xx: Implement dualboot capable bootloaderMarcin Bukat2012-03-04
| | | | Change-Id: I399e10635f611bdf6f7c1bd5843fa132dc88bfb4
* imx233: print power up source in the bootloaderAmaury Pouly2012-02-28
| | | | Change-Id: I9ff4738b7efdb25ab57b0061f60c7fde58b9a0b5
* unwarminder: fix bootloader buildsMarcin Bukat2012-02-22
| | | | Change-Id: I045a4c9639ff17c96b514996574d41f586b5bd7c
* Rework powermgmt to enable code re-use on appliation and sims.Thomas Martitz2012-01-03
| | | | | | | | | | | | | | | | | | | | | * Introduce CONFIG_BATTERY_MEASURE define, to allow targets (application) to break powermgmt.c's assumption about the ability to read battery voltage. There's now additionally percentage (android) and remaining time measure (maemo). No measure at all also works (sdl app). If voltage can't be measured, then battery_level() is king and it'll be used for power_history and runtime estimation. * Implement target's API in the simulator, i.e. _battery_voltage(), so it doesn't need to implement it's own powermgmt.c and other stubs. Now the sim behaves much more like a native target, although it still changes the simulated battery voltage quickly, * Other changes include include renaming battery_adc_voltage() to _battery_voltage(), for consistency with the new target functions and making some of the apps code aware that voltage and runtime estimation is not always available. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31548 a1c6a512-1295-4272-9138-f99709370657
* The connect is not a PP and doesn't have ATA storageRafaël Carré2012-01-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31531 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat S: Revert removal of usb_plugged in r31489Michael Sevakis2012-01-01
| | | | | | | | | | Synchronous cable read is still required because the timing of the receipt of the cable event cannot be known for sure-- basically it introduced a thread race between main and pmic. If a keypress is desired instead to enter BL USB mode a la AS3525, then it's possible to remove that. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31510 a1c6a512-1295-4272-9138-f99709370657
* usb-target.h: removeRafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31498 a1c6a512-1295-4272-9138-f99709370657
* usb_plugged() is PP onlyRafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31489 a1c6a512-1295-4272-9138-f99709370657
* imx233: print rockbox version in bootloaderAmaury Pouly2011-12-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31446 a1c6a512-1295-4272-9138-f99709370657
* Swap red and yellow for green on r31339's cranky builds.Michael Sevakis2011-12-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31340 a1c6a512-1295-4272-9138-f99709370657
* Commit to certain names for cache coherency APIs and discard the aliases.Michael Sevakis2011-12-17
| | | | | | | Wouldn't surprise me a bit to get some non-green. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31339 a1c6a512-1295-4272-9138-f99709370657
* Fix the real issue with AMS bootloader USB mode. A call to usb_enable was ↵Michael Sevakis2011-12-14
| | | | | | missing in usb.c when using the USB stack and USB_DETECT_BY_CORE was not enabled. Try to do it in a clean-ish way. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31245 a1c6a512-1295-4272-9138-f99709370657
* Sansa AMS: fix usb in bootloaderRafaël Carré2011-12-14
| | | | | | | | No need to define HAVE_BOOTLOADER_USB_MODE That define might need some cleaning up Fix FS#12384 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31241 a1c6a512-1295-4272-9138-f99709370657
* Sandisk Sansa Connect port (FS #12363)Tomasz Moń2011-11-16
| | | | | | | | Included are drivers for buttons, backlight, lcd, audio and storage. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31000 a1c6a512-1295-4272-9138-f99709370657
* Add the ability to create a prefilled struct bitmap along with generated images.Thomas Martitz2011-11-13
| | | | | | | | This allows to directly draw generated and builtin images using lcd_bmp(bm_xxx); Also fixes builtin list icons on non-mono targets, as they didn't have the format field set. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30971 a1c6a512-1295-4272-9138-f99709370657
* Fix file descriptor leakThomas Jarosch2011-11-11
| | | | | | Probably not much of an error since it's in the bootloader :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30965 a1c6a512-1295-4272-9138-f99709370657
* Added HiFiMAN HM-801 target. FS#12355. This also renames tda1543.{ch} used ↵Andrew Ryabinin2011-11-03
| | | | | | by HM-60x to dummy_codec.{ch} as it works for PCM1704 used by HM-801. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30891 a1c6a512-1295-4272-9138-f99709370657
* Add HiFiMAN HM-60x target(s). FS#12319 by Andrew Ryabinin with some (small) ↵Marcin Bukat2011-10-17
| | | | | | modification by me. This also splits rk27xx lcd driver into lcdif-rk27xx and lcd controller specific part. Some modifications to the pcm driver have been made to allow using codecs in slave mode (as TDA1543 used in hifiman is slave only i2s codec). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30765 a1c6a512-1295-4272-9138-f99709370657
* imx233/fuze+: rework crt0 and linker script to be able to load at any ↵Amaury Pouly2011-09-23
| | | | | | address and self-copy at the right one git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30587 a1c6a512-1295-4272-9138-f99709370657
* imx233/fuze+: rework linker script to load the bootloader at ram start + 1Mb ↵Amaury Pouly2011-09-13
| | | | | | to leave a load for the firmware git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30521 a1c6a512-1295-4272-9138-f99709370657
* Remove return value from show_logo() in bootloader/Bertrik Sikken2011-09-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30485 a1c6a512-1295-4272-9138-f99709370657
* imx233/fuze+: fix apps linker script, add comment in bootloaderAmaury Pouly2011-09-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30436 a1c6a512-1295-4272-9138-f99709370657
* imx233/fuze+: don't reboot after usb more, enter usb more after storage ↵Amaury Pouly2011-09-05
| | | | | | init, remove useless printf git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30434 a1c6a512-1295-4272-9138-f99709370657
* imx233:fuze+: major memory and usb reworkAmaury Pouly2011-09-05
| | | | | | | | | | | - now identity map dram uncached and have a cached and buffered virtual alias - rework dma to handle virtual to physical pointers conversion - fix lcd frame pointer - implement usb detection properly - implement bootloader usb properly - allow the bootloader to disable MMC windowing (useful for recovery) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30432 a1c6a512-1295-4272-9138-f99709370657
* Rework c200wipe to use proper partitioning and formatting code, which makes ↵Frank Gevaerts2011-09-02
| | | | | | | | | the code size-independent. Also support the e200 with this code. Apparently it's also possible to get the e200 in a state where .fmt files don't help. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30413 a1c6a512-1295-4272-9138-f99709370657
* Initial framework for the Sandisk Sansa Clip ZipBertrik Sikken2011-08-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30365 a1c6a512-1295-4272-9138-f99709370657
* imx233/fuze+: add SD detection supportAmaury Pouly2011-07-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30196 a1c6a512-1295-4272-9138-f99709370657
* imx233/fuze+: make SOURCES more correct, implement i2c for fmradioAmaury Pouly2011-07-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30135 a1c6a512-1295-4272-9138-f99709370657
* sansa AMS bootloader: make strings staticRafaël Carré2011-07-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30118 a1c6a512-1295-4272-9138-f99709370657
* 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
* imx233/fuze+: make config.h more correct, remove logo from bootloader, ↵Amaury Pouly2011-07-02
| | | | | | update linker file and crt0 to produce a single blob into dram git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30111 a1c6a512-1295-4272-9138-f99709370657
* imx233/fuze+: ssp, dma, mmc now work properly, partially implement cpu ↵Amaury Pouly2011-06-30
| | | | | | frequency changing, implement panic waiting git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30104 a1c6a512-1295-4272-9138-f99709370657
* Optional dual-boot support in iAudio X5 and M5 bootloader, based on FS#5289.Jens Arnold2011-06-19
| | | | | | | | | | | | | | | | | | In order to enable it, #define HAVE_DUALBOOT when building the bootloader. Do not use the automatically created x5_fw.bin or m5_fw.bin, but use mkboot to create a new firmware file from an OF x5_fw.bin resp. m5_fw.bin and bootloader.bin. The dual-boot bootloader boots the OF when pressing Play (main or remote) for more than 3 seconds. Hold it a bit longer because the OF also checks buttons. Short press boots rockbox. As a bonus, the Play button read (for hold check) is done a bit earlier for single-boot mode as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30018 a1c6a512-1295-4272-9138-f99709370657
* fuze+: add more clocking code, add dma code, add ssp code, add stub usb ↵Amaury Pouly2011-06-17
| | | | | | code, update storage to SD + MMC, beginning of the driver git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30010 a1c6a512-1295-4272-9138-f99709370657
* Move dbg_hw_info() into target tree. FS#11735 by meMarcin Bukat2011-06-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29964 a1c6a512-1295-4272-9138-f99709370657
* Rockchip rk27xx port initial commit. This is still work in progress.Marcin Bukat2011-05-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29935 a1c6a512-1295-4272-9138-f99709370657
* fuze+: implement Synaptics RMI driver on top of i2c, add touchpad debug ↵Amaury Pouly2011-05-11
| | | | | | | | screen, bootloader enters debug screen by default Since the bootloader currently always fails at storage point (unimplemented), always enter touchpad debug screen and power off which pressing power button. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29859 a1c6a512-1295-4272-9138-f99709370657
* Sansa Fuze+: initial commit (bootloader only, LCD basically working)Amaury Pouly2011-05-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29808 a1c6a512-1295-4272-9138-f99709370657
* M:Robe 500 bootloader: change the order of the backlight/lcd setup.Karl Kurbjun2011-02-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29237 a1c6a512-1295-4272-9138-f99709370657
* i.MX31: Now that it matters because there's a debug screeen that allows ↵Michael Sevakis2011-01-23
| | | | | | changing things while running, some DVFS/DPTC stuff has to be done more carefully. Trim out some stuff and group functions better as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29122 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
* Fix typo on macro made during previous PPBL commits.Michael Sevakis2011-01-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29061 a1c6a512-1295-4272-9138-f99709370657
* Display messages only when entering USB mode in Portal Player bootloader to ↵Michael Sevakis2011-01-16
| | | | | | keep timed-out charger-only connects going into verbose mode. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29060 a1c6a512-1295-4272-9138-f99709370657
* Fix r29054 red...yeah?Michael Sevakis2011-01-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29055 a1c6a512-1295-4272-9138-f99709370657