summaryrefslogtreecommitdiffstats
path: root/bootloader
AgeCommit message (Collapse)AuthorFilesLines
2013-11-05Introduce HiFi E.T. MA8/MA8C ports.Andrew Ryabinin1-1/+1
HiFi E.T. MA8 is almost the same as MA9 except another DAC(pcm1792 in ma8, df1704 in ma9). MA8 has ILI9342 lcd, MA8C has ILI9342C lcd. Change-Id: If2ac04f5a3382590b2a392c46286559f54b2ed6a
2013-11-05Introduce HiFi E.T. MA9C port.Andrew Ryabinin1-1/+2
The only difference between this target and HiFi E.T. MA9 is display driver (ILI9342 in MA9 and ILI9342c in MA9C) Change-Id: Icc3d2490f850902a653175360f12283f3708bbb7
2013-10-21imx233/bootloader: fix comment about disk initAmaury Pouly1-2/+2
Change-Id: I44a676237564490771a1ed2c81e9434fc6c6f74d
2013-10-21imx233: fix bootloaderAmaury Pouly1-2/+1
The bootloader must call disk_init_subsystem() because it is multithread (because of USB), otherwise strange things might happen. Calling disk_init() is unnecessary since it is call when mounting partitions. Change-Id: If7aff3dea0b96144e2a9b0f6179a9a0a632b93ed
2013-09-26imx233/bl: usb mode has priority over holdAmaury Pouly1-17/+18
Change-Id: I0d124eaed0ebf1ca18c022684a96dfbf7d740c7e
2013-09-26imx233/bootloader: fix redAmaury Pouly1-0/+5
Change-Id: I209cdee6007d3b3c039f6b0b63a30fabc8aefb41
2013-09-26imx233/bootloader: power off on holdAmaury Pouly1-0/+12
Change-Id: I3081ca6e47bed5a69e6163cb539d0a8516b689d2
2013-09-25imx233: always boost in bootloaderAmaury Pouly1-0/+5
Many imx233 targets boot in a very low performance mode, typically cpu and dram at 24MHz. This results in very slow boots and very unstable USB bootloader mode. Since cpu frequency scaling is disabled in bootloader in rockbox, always make the frequency scaling code available and boost at boot time. Change-Id: Ie96623c00f7c4cd9a377b84dcb14b772558cfa4d
2013-09-25imx233: shorten bootloader messages when screen is smallAmaury Pouly1-7/+10
Change-Id: I403a76277e756cf06b4dca4906940d5fbf32d763
2013-09-05fix copyrightAmaury Pouly1-1/+1
Change-Id: Ie0dea643afa93d9a919e4f2406de65aed174c0a6
2013-06-27sansa connect bootloader: fix redMarcin Bukat1-0/+1
Change-Id: Ide8784e33e1671bf915b5375fb5cd8dae4e09ae6
2013-06-27Move load_firmware() to separate fileMarcin Bukat20-470/+124
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>
2013-06-18imx233: fix bootloader for stmp3600 and stmp3700Amaury Pouly1-1/+3
Change-Id: Icfdf4c0a35813576c9d2a60558b4c00599f091fc
2013-06-16imx233: rewrite power using new registersAmaury Pouly1-1/+1
Change-Id: Ifbee91161220419f4d1750672b5c4ae3537cefca
2013-05-06Introduce HiFi E.T MA9 port.Andrew Ryabinin1-1/+1
Change-Id: I79aadc958fd5222f26f91ed127f8c6fb2c465dc2
2013-04-30Fix red.Andrew Ryabinin1-1/+1
Change-Id: I64cf91a2ddc4fbf89d83bb5a401e9e4021f8c160
2013-04-30rk27xx: initialize i2c driver in bootloader.Andrew Ryabinin1-0/+2
Change-Id: I0b343425d0cfef4d4609cabca79c1f31d8327d3b Reviewed-on: http://gerrit.rockbox.org/459 Reviewed-by: Andrew Ryabinin <ryabinin.a.a@gmail.com>
2012-11-24Another optimization for the OF in the mi4 format.Szymon Dziok1-34/+10
What it does: - removes unnecessary file operations for the OF (one lseek() and one read() per one key), - simplifies the code and reduces the code size. Speedup is not noticeable but theoretically some is. Change-Id: I43a6dd21d3af48ea8d3b27d676c84b2084c0b88c Reviewed-on: http://gerrit.rockbox.org/287 Tested-by: Szymon Dziok <b0hoon@o2.pl> Reviewed-by: Thomas Martitz <kugel@rockbox.org> Reviewed-by: Szymon Dziok <b0hoon@o2.pl>
2012-08-30imx233: display battery voltage in bootloader (along with percent)Amaury Pouly1-1/+1
Change-Id: I7b14496ba891a9ff2f6373571a11835d37abee4e
2012-07-10rk27xx: support entering rkusb mode on rk2706AMarcin Bukat1-9/+36
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
2012-06-23pp bootloader: speed up loading of the OF in the mi4 formatSzymon Dziok1-20/+13
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>
2012-05-20Make Meizu M3 compile againBertrik Sikken1-6/+12
Change-Id: I44436068cf6f2c3942fb63f988bf627eaa9abb97
2012-05-19imx233: move the freescale partition handling to its own fileAmaury Pouly1-6/+13
The freescale firmware partitions has a lots of quirks that need to be dealt with, so do it the proper way. Change-Id: I8a5bd3fb462a4df143bc6c931057f3ffedd4b3d3
2012-05-07remove debug-target.hRafaël Carré1-1/+0
2012-04-30rk27xx: Print rockbox version in bootloader.bootloader_hifimanhm801_v1bootloader_hifimanhm60x_v1Andrew Ryabinin1-0/+2
Change-Id: I7f19f45e85aa09b0b19573053f7f27794196e6fb
2012-04-27rk27xx: Add failsafe mode to the bootloaderMarcin Bukat1-2/+80
Change-Id: Iba8fdc50b3c71831a6f55d15779fee8d1f12cb4f
2012-04-04Refactor and unify objcopy calls in the build system. Also now properly ↵Thomas Martitz1-1/+1
handles DEBUG builds on hosted targets to keep debug symbols if necessary. Change-Id: I884031b79c6d49479e4d95752f35ced68872dd5d
2012-03-26Fix bootloaders.Thomas Martitz1-9/+4
Change-Id: I7e1666d604c554509375a4ae858ff3cd7be96b3a
2012-03-19center logo horizontaly in bootloader version of show_logo()Marcin Bukat1-2/+3
Change-Id: I537466825de7f3bc8d55d9519cd27f562fbb344f
2012-03-15imx233: enable charging in bootloader USB mode by including powermgmtAmaury Pouly1-0/+13
Change-Id: I8b91b3ab60cb9ffaa127333e9bcef8c33be742fa
2012-03-04rename rkw.h header fileMarcin Bukat1-1/+1
Change-Id: I2cb6ea7da9c20ed0ef87f4b8ea90d2e4a4a3bca2
2012-03-04rk27xx: Implement dualboot capable bootloaderMarcin Bukat1-163/+89
Change-Id: I399e10635f611bdf6f7c1bd5843fa132dc88bfb4
2012-02-28imx233: print power up source in the bootloaderAmaury Pouly1-0/+2
Change-Id: I9ff4738b7efdb25ab57b0061f60c7fde58b9a0b5
2012-02-22unwarminder: fix bootloader buildsMarcin Bukat1-4/+10
Change-Id: I045a4c9639ff17c96b514996574d41f586b5bd7c
2012-01-03Rework powermgmt to enable code re-use on appliation and sims.Thomas Martitz5-5/+5
* 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
2012-01-03The connect is not a PP and doesn't have ATA storageRafaël Carré1-1/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31531 a1c6a512-1295-4272-9138-f99709370657
2012-01-01Gigabeat S: Revert removal of usb_plugged in r31489Michael Sevakis1-2/+2
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
2011-12-31usb-target.h: removeRafaël Carré3-3/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31498 a1c6a512-1295-4272-9138-f99709370657
2011-12-31usb_plugged() is PP onlyRafaël Carré2-4/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31489 a1c6a512-1295-4272-9138-f99709370657
2011-12-26imx233: print rockbox version in bootloaderbootloader_fuzeplus_v1Amaury Pouly1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31446 a1c6a512-1295-4272-9138-f99709370657
2011-12-17Swap red and yellow for green on r31339's cranky builds.Michael Sevakis1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31340 a1c6a512-1295-4272-9138-f99709370657
2011-12-17Commit to certain names for cache coherency APIs and discard the aliases.Michael Sevakis2-3/+3
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
2011-12-14Fix the real issue with AMS bootloader USB mode. A call to usb_enable was ↵Michael Sevakis1-2/+0
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
2011-12-14Sansa AMS: fix usb in bootloaderRafaël Carré1-0/+2
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
2011-11-16Sandisk Sansa Connect port (FS #12363)Tomasz Moń2-0/+138
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
2011-11-13Add the ability to create a prefilled struct bitmap along with generated images.Thomas Martitz1-2/+2
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
2011-11-11Fix file descriptor leakThomas Jarosch1-1/+15
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
2011-11-03Added HiFiMAN HM-801 target. FS#12355. This also renames tda1543.{ch} used ↵Andrew Ryabinin1-1/+1
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
2011-10-17Add HiFiMAN HM-60x target(s). FS#12319 by Andrew Ryabinin with some (small) ↵Marcin Bukat1-1/+1
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
2011-09-23imx233/fuze+: rework crt0 and linker script to be able to load at any ↵Amaury Pouly1-3/+3
address and self-copy at the right one git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30587 a1c6a512-1295-4272-9138-f99709370657