summaryrefslogtreecommitdiff
path: root/rbutil/mkamsboot (follow)
Commit message (Collapse)AuthorAge
* Don't add LIBSOURCES to SOURCES.Dominik Riebeling2016-12-16
| | | | | | | | | | | Split source files for library and stand-alone binary and use library as dependency when building the stand-alone binary. This avoids dependencies getting added multiple times. Remove outdated RBARCH handling, we always create fat binaries on OS X these days. Change-Id: Ia15a731296edcbe90869a1bf66dda2c3d6c7e317
* Reverting 4327cbc9b8886eMihail Zenkov2016-05-04
| | | | | | I do testing incorrectly: fix don't work as expected. Change-Id: Ie32672ec213861c02295ae0a14e22b9ca9035585
* C2X0v2: use GPIO to check button state in dualbootMihail Zenkov2016-05-03
| | | | | | | C240v2 freeze on booting OF if SD card inserted. Use GPIO instead DBOP should help. Change-Id: Idec0028040f91c6d2c7c04327ca0e1af204f58eb
* mkamsboot: add support for clip zip original firmware 01.01.21 (tested by me)Bertrik Sikken2013-07-12
| | | | Change-Id: Ief8a8e6dfe87a17285dd5259fd3c4cebfc962643
* Add support for clip+ firmware 1.02.18 to mkamsboot (tested by me)Bertrik Sikken2012-08-08
| | | | Change-Id: Ic7d1860c59291e6e5c55b3f91d86de447e53cf66
* Fix a typo and remove line splicing.Dominik Riebeling2012-04-28
| | | | Change-Id: Ifce9224e352b2a3efef92aff4bbdde9fc8714587
* mkamsboot: add support for clip zip original firmware 01.01.20 (tested by me)Bertrik Sikken2012-04-08
| | | | Change-Id: I1d071539d496c63f47d305375e244f9fbe107ced
* mkamsboot: fix some Clipv2 that we used to brickRafaël Carré2012-01-31
| | | | | | | | | | | | | On those models the software bootloader is entered through the SWI vector, not through the reset vector like we thought. Use put_uint32le() instead of memcpy Use mov pc, #0x200 instead of b 0x200, so we can use the same instruction for both vectors. Tested on Clipv2 and Clip Zip Change-Id: I99dc24167dde5558d34fe9795c65b44ff91aa665
* Clipv2: fix button reading on some modelsRafaël Carré2012-01-30
| | | | | | | | We neet to setup the XPD to work as GPIO storage unaffected Tested on working-already Clipv2 and on a 'brickable' clipv2 Change-Id: Idcbdfb6bd50d51b7f6f7e00b21df24fac9b3a6d8
* mkamsboot: ignore built files / foldersRafaël Carré2012-01-24
|
* mkamsboot: update READMERafaël Carré2011-12-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31380 a1c6a512-1295-4272-9138-f99709370657
* mkamsboot: don't boot OF when USB is pluggedRafaël Carré2011-12-20
| | | | | | USB now works on all models git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31379 a1c6a512-1295-4272-9138-f99709370657
* libtools.make: add rule to build a DLL.Dominik Riebeling2011-12-16
| | | | | | | | | This only works for Windows, so you need to use it on Windows or set CROSS accordingly. Update mkamsboot to make mkamsboot.dll build and link against ucl.dll. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31333 a1c6a512-1295-4272-9138-f99709370657
* mkamsboot: convert to use libtools.make.Dominik Riebeling2011-12-15
| | | | | | | As a result building mkamsboot for Rockbox Utility will now respect BUILD_DIR, which should eliminate all possibly remaining issues with dualboot.o. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31283 a1c6a512-1295-4272-9138-f99709370657
* mkamsboot: add support for sansa clip zip firmware version v1.01.18Bertrik Sikken2011-12-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31195 a1c6a512-1295-4272-9138-f99709370657
* mkamsboot: make clip zip boot OF when pressing left buttonRafaël Carré2011-12-02
| | | | | | pressing vol- to boot OF is still possible git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31112 a1c6a512-1295-4272-9138-f99709370657
* mkamsboot/dualboot: use arm-elf-eabi cross compiler by defaultRafaël Carré2011-12-02
| | | | | | also allows user to change it with CROSS_COMPILE=xxx git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31111 a1c6a512-1295-4272-9138-f99709370657
* Sansa clip zip: allow original firmware versions 1.1.12, 1.1.15 and 1.1.17 ↵Bertrik Sikken2011-10-30
| | | | | | to be patched git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30860 a1c6a512-1295-4272-9138-f99709370657
* Sansa clip zip: update mkamsboot and fix various drivers to make it boot to ↵Bertrik Sikken2011-10-29
| | | | | | the main firmware git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30853 a1c6a512-1295-4272-9138-f99709370657
* Sansa clipzip: miscellaneous updatesBertrik Sikken2011-10-23
| | | | | | | | * add support for OF version 01.01.17 in mkamsboot * introduce and implement oled_brightness function * configure voltage CVDD2 to 2.8V (like the OF does) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30831 a1c6a512-1295-4272-9138-f99709370657
* sansa clipplus: add version 01.02.16 to mkamsboot as a firmware that can be ↵Bertrik Sikken2011-10-07
| | | | | | patched git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30726 a1c6a512-1295-4272-9138-f99709370657
* Prevent unnecessary rebuilding of libs.Dominik Riebeling2011-09-26
| | | | | | | | | | | | - When building for Rockbox Utility the called Makefiles would rebuild the libs every time. Change dependencies a bit to allow make to properly detect if the lib is already up to date. - Remove dependency on output folder in some cases to avoid unnecessary rebuilds. - Add standard Rockbox header to files lacking it. - Make make calls from qmake silent. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30608 a1c6a512-1295-4272-9138-f99709370657
* sansa clipzip: implement default dualboot code (boots to OF unconditionally ↵Bertrik Sikken2011-09-05
| | | | | | for now) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30435 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
* mkamsboot: remove useless castsRafaël Carré2011-07-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30115 a1c6a512-1295-4272-9138-f99709370657
* mkamsboot: correct old commentsRafaël Carré2011-07-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30114 a1c6a512-1295-4272-9138-f99709370657
* mkamsboot: restructure model / firmware file information.Dominik Riebeling2011-01-31
| | | | | | | | Merge the various arrays holding model specific information into a structure and give it a distinct name. Avoids problems when linking with Rockbox Utility. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29177 a1c6a512-1295-4272-9138-f99709370657
* Tweak Makefiles a bit to allow cross compiling Rockbox Utility.Dominik Riebeling2010-12-23
| | | | | | | | - pass AR to the lib Makefiles to make sure the correct one gets used. - create an archive index for archives. - simplify ucl Makefile a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28883 a1c6a512-1295-4272-9138-f99709370657
* mkamsboot: don't boot OF if USB is plugged (AMSv1 only)Rafaël Carré2010-07-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27618 a1c6a512-1295-4272-9138-f99709370657
* mkamsboot: take in account the additional 0x200 block when calculating sizeRafaël Carré2010-07-18
| | | | | | Align sizes of different blocks on mkamsboot output git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27482 a1c6a512-1295-4272-9138-f99709370657
* mkamsboot: update outdated commentRafaël Carré2010-07-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27442 a1c6a512-1295-4272-9138-f99709370657
* mkamsboot: fix for newer fuzev2Rafaël Carré2010-07-16
| | | | | | | | | | | | | These models are restricted to OF >= v02.3.31, probably because of a hardware change The OF checks a version string located between 0x0 and 0x200 in the firmware block, so let's keep this part unmodified We put our dualboot code at 0x200, and insert a branch + vectors at 0x0 That way our patched file will present the OF version to the fuzev2 OF patching it, and we only waste 512 bytes on other models git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27441 a1c6a512-1295-4272-9138-f99709370657
* Remove the unused ENRD0_USB_STATUS define, I'll leave the other button ↵Tobias Diedrich2010-06-23
| | | | | | defines in, maybe someone wants his bootloader to use one of those instead ;) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27081 a1c6a512-1295-4272-9138-f99709370657
* Use DBOP to check for left button on C200v2 like we are supposed to instead ↵Tobias Diedrich2010-06-23
| | | | | | of right button git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27080 a1c6a512-1295-4272-9138-f99709370657
* Use DBOP to check for left button on C200v2 like we are supposed to instead ↵Tobias Diedrich2010-06-23
| | | | | | of right button git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27079 a1c6a512-1295-4272-9138-f99709370657
* mkamsboot / nrv2e_d8.S thubm decompressor : comment the use of mov pc, lrRafaël Carré2010-06-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26449 a1c6a512-1295-4272-9138-f99709370657
* Use build dir and respect TARGET_DIR when building mkamsboot.Dominik Riebeling2010-05-27
| | | | | | | | libmkamsboot still did put files into its source folder when building for Rockbox Utility out-of-tree. As with the other libraries use the specified build folder. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26335 a1c6a512-1295-4272-9138-f99709370657
* mkamsboot/rbutil/amsinfo : do not try to detect the model of a given Sansa ↵Rafaël Carré2010-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | AMS OF The field we thought was representative of the model is not, it has changed in the past for fuzev1 and fuzev2. For example the value 0x23 is found in 2 old fuzev1 OF versions, and in the c200v2 OF The only reliable way to detect the model of a given OF is by using the built-in list of md5sums. Modify mkamsboot and rbutilqt to load the rockbox bootloader first, and then check if the model in the bootloader corresponds to the model of the known md5sum of the given OF. That way we can continue to present the user with a list of known OF versions in case the OF is unknown to mkamsboot Also explicit the dependency of main.c on mkamsboot.h in case the prototypes change Correct the header's description not updated in r21648 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26248 a1c6a512-1295-4272-9138-f99709370657
* mkamsboot: support Fuzev2 OF 2.03.33Rafaël Carré2010-05-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26230 a1c6a512-1295-4272-9138-f99709370657
* mkamsboot: support Clip+ OF v01.02.15Rafaël Carré2010-05-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26207 a1c6a512-1295-4272-9138-f99709370657
* Fuzev2: use enrd0 for USB detection, GPIO didn't work on some modelsRafaël Carré2010-05-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26125 a1c6a512-1295-4272-9138-f99709370657
* Clip+: boot to OF if USB is connectedRafaël Carré2010-05-17
| | | | | | | To be sure that there is no mistake in this code, it is run *after* the known to work HOME & LEFT buttons checks, unlike other Sansas git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26122 a1c6a512-1295-4272-9138-f99709370657
* fix mkamsboot compilation on systems where 'make' is not 'GNU make' (FreeBSD ↵Marcoen Hirschberg2010-05-05
| | | | | | for example) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25825 a1c6a512-1295-4272-9138-f99709370657
* mkamsboot: accept Clip+ OF v01.02.13Rafaël Carré2010-04-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25662 a1c6a512-1295-4272-9138-f99709370657
* Fix Fuzev2 OF versionRafaël Carré2010-03-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25366 a1c6a512-1295-4272-9138-f99709370657
* mkamsboot: add fuzev2 OF 2.02.31Rafaël Carré2010-03-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25365 a1c6a512-1295-4272-9138-f99709370657
* mkamsboot: add Clipv2 OF v2.01.35Rafaël Carré2010-03-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25287 a1c6a512-1295-4272-9138-f99709370657
* mkamsboot: update README for Clip+/Fuzev2Rafaël Carré2010-03-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25218 a1c6a512-1295-4272-9138-f99709370657
* mkamsboot: update for Clipv1 OF v01.01.35 (tested)Rafaël Carré2010-03-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25213 a1c6a512-1295-4272-9138-f99709370657
* mkamsboot: Use audio master irq_enrd0 usb_status bit instead of gpio on C200V2Rafaël Carré2010-03-09
| | | | | | | FlySpray: FS#11085 Author: Tobias Diedrich git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25088 a1c6a512-1295-4272-9138-f99709370657