summaryrefslogtreecommitdiff
path: root/bootloader (follow)
Commit message (Collapse)AuthorAge
* imx233: display battery voltage in bootloader (along with percent)Amaury Pouly2012-08-30
| | | | Change-Id: I7b14496ba891a9ff2f6373571a11835d37abee4e
* rk27xx: support entering rkusb mode on rk2706AMarcin Bukat2012-07-10
| | | | | | | | | We know about two different bootroms. First can be found in rk2706A, the second in rk2706B and rk2705. This two versions are very similar but memory addresses are different. It seems it is possible to distinguish bootrom version by reading SCU_ID register. Change-Id: I01681b5e3a82930ae74a5cce6ab0244d7cd333d2
* pp bootloader: speed up loading of the OF in the mi4 formatSzymon Dziok2012-06-23
| | | | | | | | | | | | | | This change replaces an odd way to increment tea key in a function responsible for finding the proper key (it doesn't have to be done in a for loop, it's just adding a 32bit number to a 128bit number). It reduces the time needed to find the key practically to zero and it gives in the best case 2 seconds of overall speedup in loading the OF. Change-Id: I0632526c3dfeb4d0603e77239f298a89076b630b Reviewed-on: http://gerrit.rockbox.org/230 Tested-by: Szymon Dziok <b0hoon@o2.pl> Reviewed-by: Thomas Martitz <kugel@rockbox.org> Reviewed-by: Szymon Dziok <b0hoon@o2.pl>
* Make Meizu M3 compile againBertrik Sikken2012-05-20
| | | | Change-Id: I44436068cf6f2c3942fb63f988bf627eaa9abb97
* imx233: move the freescale partition handling to its own fileAmaury Pouly2012-05-19
| | | | | | | The freescale firmware partitions has a lots of quirks that need to be dealt with, so do it the proper way. Change-Id: I8a5bd3fb462a4df143bc6c931057f3ffedd4b3d3
* remove debug-target.hRafaël Carré2012-05-07
|
* rk27xx: Print rockbox version in bootloader.Andrew Ryabinin2012-04-30
| | | | Change-Id: I7f19f45e85aa09b0b19573053f7f27794196e6fb
* rk27xx: Add failsafe mode to the bootloaderMarcin Bukat2012-04-27
| | | | Change-Id: Iba8fdc50b3c71831a6f55d15779fee8d1f12cb4f
* 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