Dominik Riebeling
2417023652
Make mkamsboot Makefile operate silent per default.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22629 a1c6a512-1295-4272-9138-f99709370657
2009-09-05 08:54:52 +00:00
Dominik Wenger
4d86861ce5
rbutil: modify buildsystem so you can build outside of the rbutilqt directoy. (similar to the normal buildsystem). Attention: Spaces in the path will cause errors.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22624 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 21:31:17 +00:00
Dominik Riebeling
4dd44bffb0
Explicitly set CC to prevent make trying to use cc instead. Fixes build issues on w32.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22623 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 19:54:18 +00:00
Dominik Riebeling
ac77c08f11
Make mkamsboot Makefile more silent.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22320 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 14:26:08 +00:00
Dominik Wenger
cb55d5c65f
rbutil: move extern "C" declaration into mkamsboot.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22319 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 14:09:05 +00:00
Dominik Wenger
f4e2d83f04
mkamsboot: move intermediate files into a build directory and allow building of a universal lib (for macs)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22318 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 13:54:13 +00:00
Dominik Wenger
a66dfa4ab7
rbutil: add ams sansa targets. (FS#10185)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22317 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 13:04:21 +00:00
Rafaël Carré
b5f9f6152b
mkamsboot: remove runtime copyright notice
...
add a cast to remove a warning in printf()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21925 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 17:51:01 +00:00
Thomas Martitz
ff2f839c39
Change to versioning for mkamsboot to <rXXXXX>-<DATE> for svn builds. A fixed number like 1.1 can (and should) be used for releases.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21652 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 10:35:47 +00:00
Rafaël Carré
ef7ad19d37
mkamsboot: change version string to 1.1, move devices list in the header
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21650 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 08:25:44 +00:00
Thomas Martitz
f9eeab2b6c
Slightly rewrite some parts of mkamsboot for better output and some sanity in the early array declarations. No functional change.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21648 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 02:30:33 +00:00
Rafaël Carré
8bb5e430e5
mkamsboot: refuse to patch an untested OF, and provide a list of tested OF versions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21189 a1c6a512-1295-4272-9138-f99709370657
2009-06-04 16:31:11 +00:00
Rafaël Carré
a96f2373db
mkamsboot : brackets at the start of functions must be on their line - thanks to linuxstb for noticing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21122 a1c6a512-1295-4272-9138-f99709370657
2009-05-28 21:19:21 +00:00
Rafaël Carré
96165abec2
FS#10253 : mkamsboot v1.0
...
- Bump version to 1.0
- Add Clipv2 target
- Make mkamsboot work as a library (work by domonoky : FS#10185, with a few modifications by me)
. Use a macro with variadic arguments for error cases in functions which might error.
. Add detailed descriptions to functions exported by the library (in the header file)
- modify bin2c.c to produce only one pair of .c/.h files with several files embedded in it
- move files needing to be built by an ARM cross compiler into dualboot/
- commit produced .c/.h files (containing nrv2e_d8.S and dualboot.S built for Clip, Fuze, e200v2, c200v2, m200v4, Clipv2)
- Write a real README file
- cosmetics: indent dualboot.S properly, remove trailing spaces, limit lines to 80 characters
- comments: add/correct comments in dualboot.S and mkamsboot.c
- move back extract_fw.c to utils/AMS/hacking
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21118 a1c6a512-1295-4272-9138-f99709370657
2009-05-28 18:27:08 +00:00
Rafaël Carré
b0e0ec832b
mkamsboot: really error out if OF model is different from bootloader model
...
Error out if firmware md5sum isn't known, and leave the current code #if 0'ed for easier testing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21073 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 10:35:15 +00:00
Rafaël Carré
9ed51a029d
mkamsboot : use left button for dual boot on Sansa Clip for consistency with other Sansa models
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21029 a1c6a512-1295-4272-9138-f99709370657
2009-05-22 10:44:06 +00:00
Rafaël Carré
f2c07a6b8a
mkamsboot : remove a misleading comment (we only use IRAM)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21028 a1c6a512-1295-4272-9138-f99709370657
2009-05-22 10:44:03 +00:00
Thomas Martitz
238337087e
Support Fuze 01.02.26 OF version.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20688 a1c6a512-1295-4272-9138-f99709370657
2009-04-11 20:46:28 +00:00
Bertrik Sikken
e60ca805b6
Add md5 for clip OF version 1.01.32 to mkamsboot (verified to work)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20326 a1c6a512-1295-4272-9138-f99709370657
2009-03-16 18:55:39 +00:00
Björn Stenberg
679d2c11d1
Added dualboot usb detection for Clip, so OF boots on usb insert.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19613 a1c6a512-1295-4272-9138-f99709370657
2008-12-29 23:31:09 +00:00
Michael Giacomelli
68e24d3a16
Commit updated mkamsboot for c200v2 patching. Tested and seems to be working using USB for dualboot.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19575 a1c6a512-1295-4272-9138-f99709370657
2008-12-24 04:23:52 +00:00
Dave Chapman
db1ea97fe8
Add MD5 checksum for v1.01.22 of the Fuze original firmware.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19444 a1c6a512-1295-4272-9138-f99709370657
2008-12-15 14:17:13 +00:00
Dominik Wenger
032b3d4691
m200v4: correct the BOOTDIR define, and invert the button check in the dualboot.S
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19217 a1c6a512-1295-4272-9138-f99709370657
2008-11-25 18:17:41 +00:00
Rafaël Carré
48b4e5213b
mkamsboot: dualboot button for Sansa Fuze
...
Sansa Fuze and e200v2 appear to have the same keymapping (except maybe for still missing buttons/wheel)
Thanks to Thomas Martitz for his finding
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19201 a1c6a512-1295-4272-9138-f99709370657
2008-11-24 18:45:07 +00:00
Dave Chapman
dcb0e43148
Clean up the Makefile a little - no functional changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19106 a1c6a512-1295-4272-9138-f99709370657
2008-11-14 22:16:22 +00:00
Daniel Stenberg
55634f7410
grrr, I need to learn to do case insensitive grepping when that's the better idea...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19062 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 09:50:25 +00:00
Daniel Stenberg
044ba22b93
"mv m200v2 m200v4"
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19060 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 09:27:40 +00:00
Rafaël Carré
34151e55f8
mkamsboot: Use left button on e200v2 to dual boot (like e200v1)
...
Thanks to Michael Chicoine
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18973 a1c6a512-1295-4272-9138-f99709370657
2008-11-02 00:51:56 +00:00
Rafaël Carré
29a5373724
mkamsboot: supports Fuze firmwares
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18936 a1c6a512-1295-4272-9138-f99709370657
2008-10-30 20:00:56 +00:00
Dave Chapman
5456859dd7
Correct the MD5 sum for the Clip 1.1.29 firmware.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18929 a1c6a512-1295-4272-9138-f99709370657
2008-10-30 00:27:29 +00:00
Dave Chapman
c91d7873c7
Add MD5 checksumming of the original firmware images - for extra safety, and also because some Fuze firmwares have the same ID (or what we thought was the ID) as the M200 firmwares. Plus a few minor cleanups.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18927 a1c6a512-1295-4272-9138-f99709370657
2008-10-30 00:13:29 +00:00
Rafaël Carré
3e7fdbb95e
Sansav2 dualboot: correctly use keyscan for Clip
...
Make comments consistent between m200v2 and Clip
(e200 doesn't use keyscan)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18900 a1c6a512-1295-4272-9138-f99709370657
2008-10-28 11:52:49 +00:00
Rafaël Carré
a5a2f12f0a
mkamsboot: Fix makefile rules for e200v2 and m200v2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18898 a1c6a512-1295-4272-9138-f99709370657
2008-10-28 11:24:24 +00:00
Dominik Wenger
415c46ed54
add sansa m200v2 support to mkamsboot.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18840 a1c6a512-1295-4272-9138-f99709370657
2008-10-19 19:51:42 +00:00
Dave Chapman
e18809bdc5
Correct an error message
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18837 a1c6a512-1295-4272-9138-f99709370657
2008-10-19 15:10:49 +00:00
Dave Chapman
08c41d42bb
Add e200v2 and m200v2 targets. Move the telechips lcd-ssd1815.c (currently used by Logik DAX and m200v1 ports) driver up in the target tree and share with the m200v2 - as2525 parts contributed by Rafael Carre. Includes the start (but is still very incomplete) of an LCD driver for the e200v2. m200v2 is not yet fully supported by mkamsboot - that will come soon. Also some minor cleanups for the Clip.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18836 a1c6a512-1295-4272-9138-f99709370657
2008-10-19 14:11:01 +00:00
Dave Chapman
6bbe66afa0
Make mkamsboot safer by introducing the use of ".sansa" files to store Sansa V2 bootloader and firmware files. These files are the same format (a simple 8-byte header consisting of a 32-bit checksum followed by 4-char model name is prepended to the binary data) as that used by lots of other Rockbox targets (.ipod, iriver etc). Support added to scramble/mkamsboot for both clip and e200v2, even though the latter is not in SVN yet. Also add a check of the whole-file original firmware checksum to mkamsboot and add a new $scramblebitmaptools toolset variable in configure. The output of this version of mkamsboot is confirmed to be md5sum-identical to the previous version.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18789 a1c6a512-1295-4272-9138-f99709370657
2008-10-12 19:34:47 +00:00
Dave Chapman
4f80274708
Add Rafael Carre to the (C) message in the output of mkamsboot. This should be the last commit for a while...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18772 a1c6a512-1295-4272-9138-f99709370657
2008-10-11 13:13:44 +00:00
Dave Chapman
3c65d2b17f
Fix another bug in dualboot.S, add Rafael Carre as the (C) holder of dualboot.S (most of the code there is his) and use the standard Rockbox header in mkamsboot.c. This code is still untested on target.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18771 a1c6a512-1295-4272-9138-f99709370657
2008-10-11 13:11:47 +00:00
Dave Chapman
d2e551f6df
Fix a bug in the uclcopy loop, plus add a warning to make sure people know the untested status of this code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18770 a1c6a512-1295-4272-9138-f99709370657
2008-10-11 12:51:13 +00:00
Dave Chapman
1a549d49f7
Fix some off-by-one errors, plus remove some unused variables
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18768 a1c6a512-1295-4272-9138-f99709370657
2008-10-11 12:02:23 +00:00
Dave Chapman
1c4bcfac69
Major rework of mkamsboot, extending work done by Rafael Carre. We now build one "dualboot.bin" mini-bootloader per target and embed it in the mkamsboot binary. The user of mkamsboot just needs to provide an original firmware file, and a Rockbox bootloader file. This code currently supports just the Clip (hardware revision 1) and the E200v2 - button checks are needed for the other V2 targets. NOTE: This is completely untested on-target, and may brick your device.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18767 a1c6a512-1295-4272-9138-f99709370657
2008-10-11 11:35:59 +00:00
Dave Chapman
c6be818212
Move mkamsboot into the rbutil/mkamsboot/ directory - no other changes, so this should still work the same as before.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18706 a1c6a512-1295-4272-9138-f99709370657
2008-10-04 08:46:03 +00:00