Dominik Riebeling
163ab46170
Provide dealloc function to sansapatcher.
...
Similar as done with ipodpatcher provide a function to free the allocated
sector buffer.
Change-Id: Ie51e82f7191496bb48973148af1cc35cd37993d3
2013-01-01 15:06:41 +01:00
Dominik Riebeling
9c1ed84d28
sansapatcher: move sectorbuf pointer into sansa_t structure.
...
Similar as the ipod_t structure for ipodpatcher the sansa_t structure holds all
relevant information for sansapatcher. Put the global sansa_sectorbuf pointer
into it as well.
Change-Id: Iad08ef6aafc49609c3d0d556914246f230ee0179
2013-01-01 15:06:34 +01:00
Dominik Riebeling
1828bb8ea3
sansapatcher: allow building without bootloaders.
...
There is no need to always build sansapatcher with embedded bootloaders. Allow
building without similar to ipodpatcher. Interactive mode will obviously not be
available if built without bootloaders.
Fix rules for creating the source files for the embedded bootloaders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31328 a1c6a512-1295-4272-9138-f99709370657
2011-12-16 20:10:33 +00:00
Dominik Riebeling
38f03d4eae
sansapatcher: factor out handling of bundled bootloaders.
...
Instead of handling bundled bootloaders in the sansapatcher functions leave
that to the caller. This removes the need to have Rockbox Utility specific
parts in sansapatcher. sansa_add_bootloader() now operates on an already loaded
bootloader. For loading a convenience function sansa_read_bootloader() is
added. This also introduces a new check on loading to prevent installing an
e200 bootloader on a c200 (and vice versa).
These changes will allow building a libsansapatcher for linking with Rockbox
Utility later.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31144 a1c6a512-1295-4272-9138-f99709370657
2011-12-04 19:40:43 +00:00
Frank Gevaerts
99edc7b075
Also bump version in trunk
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21747 a1c6a512-1295-4272-9138-f99709370657
2009-07-10 16:52:02 +00:00
Robert Menes
9928086ece
Bump version number to v0.7 with 5.0 bootloaders. Part of FS#9369.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18868 a1c6a512-1295-4272-9138-f99709370657
2008-10-23 14:36:21 +00:00
Bertrik Sikken
d4e3839f05
Make functions in sansapatcher static and their arguments const if possible.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18037 a1c6a512-1295-4272-9138-f99709370657
2008-07-14 16:43:47 +00:00
Daniel Stenberg
2acc0ac542
Updated our source code header to explicitly mention that we are GPL v2 or
...
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 18:10:04 +00:00
Dominik Riebeling
d131a31266
Rename variables sectorbuf and verbose to avoid clashes in rbutil. Cleanup exports a bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17730 a1c6a512-1295-4272-9138-f99709370657
2008-06-17 17:52:13 +00:00
Barry Wardell
4991cd377e
Bump version for release
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15227 a1c6a512-1295-4272-9138-f99709370657
2007-10-20 19:12:16 +00:00
Barry Wardell
080889a135
Add support for installing/replacing the bootloader in the PPBL section of the firmware partition. Allows installation of the Rockbox bootloader in place of the Sandisk one. This expects a plain bootloader binary with no header. Our Rockbox bootloader successfully boots both Rockbox and the OF when installed in this way. This makes it easy to get to a state where e200tool is required, so care is advised.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15108 a1c6a512-1295-4272-9138-f99709370657
2007-10-14 18:09:40 +00:00
Barry Wardell
40f5bb3702
Bump version for new release with fixed OF loading on e200.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15075 a1c6a512-1295-4272-9138-f99709370657
2007-10-11 09:43:24 +00:00
Dave Chapman
ec6f965d87
Bump version for new release for C200
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14818 a1c6a512-1295-4272-9138-f99709370657
2007-09-22 21:02:49 +00:00
Dave Chapman
359028fd2c
Cosmetic - Change the way the detected type of Sansa is displayed and bump version to 0.4-svn.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14756 a1c6a512-1295-4272-9138-f99709370657
2007-09-19 19:03:09 +00:00
Dave Chapman
8d145a5574
Initial attempt at c200 support - you now need both a "firmware.mi4" file (c200 bootloader) and "PP5022.mi4" file (e200 bootloader) to compile. sansapatcher should detect the device type and install the correct bootloader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14755 a1c6a512-1295-4272-9138-f99709370657
2007-09-19 18:46:54 +00:00
Dave Chapman
c720b1bdf0
Bump version to 0.3 and v2 bootloader in preparation for release
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14725 a1c6a512-1295-4272-9138-f99709370657
2007-09-15 23:01:05 +00:00
Barry Wardell
6a0ec8bfa8
Add --update-original-firmware (or -of) option to sansapatcher. This allows for changing the original firmware version when the rockbox bootloader is also present.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14138 a1c6a512-1295-4272-9138-f99709370657
2007-08-02 11:39:43 +00:00
Dave Chapman
0658dce706
Make rbutil compile on Mac OS X
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13316 a1c6a512-1295-4272-9138-f99709370657
2007-05-03 21:05:24 +00:00
Dave Chapman
7a780dbefc
Bump version to 0.2 with new bootloader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12897 a1c6a512-1295-4272-9138-f99709370657
2007-03-23 10:09:34 +00:00
Dave Chapman
5efce18257
Always display the 'Press ENTER to exit sansapatcher' prompt when there is an error in interactive mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12877 a1c6a512-1295-4272-9138-f99709370657
2007-03-21 11:05:38 +00:00
Dave Chapman
7d7135165d
Modify the version string ready for initial release
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12825 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 19:16:10 +00:00
Dave Chapman
be2971646f
Some code rearrangement and function renaming to help incorporation into rbutil without clashing with ipodpatcher.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12797 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 00:23:23 +00:00
Dave Chapman
e815601afb
Implement the ability to embed a bootloader in sansapatcher - the --install option installs the embedded bootloader, and running without any parameters will cause a prompt to be displayed asking the user if they want to install, uninstall or cancel. sansapatcher now requres a PP5022.mi4 file (the Rockbox bootloader) in the current directory when building.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12794 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 23:26:47 +00:00
Dave Chapman
4a81291284
Correct the svn:keywords
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12793 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 23:02:37 +00:00
Dave Chapman
e17043ead7
Initial commit of sansapatcher - an installation tool for the Sansa E200.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12792 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 22:55:36 +00:00