| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
|
| |
These files were produced by parsing some linux and/or sigmatel
provided headers and later tweaked by hand or by programs.
Each file describes one or more soc. A soc has a list of devices.
Each device can either be unique or have several copies at
different addresses. Each device has a list of registers which
can either be unique or indexed. Each register can further have
a list of fields. Registers with a SCT variant are also handled.
Change-Id: Ib50bb3fda268b6d5713f81bd8961de7978a5815e
|
| |
|
|
|
|
|
|
|
|
|
| |
These tools allow one to read a register description in a XML
file and to produce something useful out of it. Three example
programs are written:
- tester which simply prints the register tree
- headergen which produces a set of headers with the #define
- hwemulgen which produces something for the hwemul tool (to come)
Change-Id: I52573688b29d5faeaf64ce7c5ffe08ee8db3d33c
|
| |
|
|
| |
Change-Id: I9c3e2eb95f7eb6d41591b006328fd720dfcf93a5
|
| |
|
|
| |
Change-Id: Iaebb442611c64fe4d47a07ce3b3d12c3230cafe5
|
| |
|
|
| |
Change-Id: I9a15c347cfaab821b0cfc01744c5b6b8267c40ea
|
| |
|
|
| |
Change-Id: Iaa89df27b7a0c4eb9fc6603c431de3d1fe791fa1
|
| |
|
|
|
|
|
|
|
|
| |
There is a vendor specific command to read the NVP of the device,
including the KAS. The trick is that the data is randomly
scrambled using a so-called para_noise array of random values.
There seems to be a problem when retrieving large entries (>1000
bytes typically) which causes sg_pt do behave strangely.
Change-Id: Iefa6140df78ab9c7dcf7ac34cb1170979123ecd7
|
| |
|
|
|
|
|
|
|
|
| |
This tool can send vendor specific scsi commands to sony nwz
players such as getting serial number, model id, device info,
and others. It can potentially be used to get some private keys
stored on the device but probably not the KAS used to encrypt
firmware upgrades images(UPG).
Change-Id: Ia49c1edf8d421b20c4e9afeb1192e00e06eb6047
|
| |
|
|
|
|
| |
This tool can unpack UPG archives for firmware updates.
Change-Id: I32f5f1a84759198c7af4a4ecfd7aa65eaeda567a
|
| |
|
|
|
|
|
|
|
| |
This tool is specific to the em1/mp200 sony based players. In
deals with raw emmc images (which is possible but hard to get).
This tool is also useful as a documentation of the underlying
emmc format used for a future port.
Change-Id: I66c9b0e47351e5d89f6a404aa62038e00fdc1093
|
| |
|
|
| |
Change-Id: Idb2f5e4b0bd6a84bc3eaff088fb4706f46ed1535
|
| |
|
|
|
|
|
|
|
| |
The raw encode mode allows to use the raw encode_page routine on
any file which proved to be useful. The guessed fields of the
headers are based on some rk2918 headers which leaked. They are
mainly informative though (date, version, chip).
Change-Id: I139ea0c40f76b6dde041c448bbf3e7ecf9cab24a
|
| |
|
|
|
|
|
|
|
| |
If no output prefix is specified, a default is picked:
- filename with extension replaced by .afi for FWU files
- filename with extension replaced by .fw/ for AFI files
- filename without extension and with / for FW files
Change-Id: I6497b8f4a49f1238e5db738429f687cad3ae8a5a
|
| |
|
|
| |
Change-Id: Ie857b82e25de235c8549defab7e75995efefb3f6
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The update_extract tool works by finding the compressed size and
the compressed data in the updater. This is problematic since
without the uncompressed size, inflate can produce extra bytes
at end. This is not a problem for our tools but the device will
plain reject it if sent by MTP/sendfirm for example.
Workaround this issue by reading and rewriting the archive
after decompression so that only the meaningfull data is written.
Change-Id: I117f434b92a56d93d269af49c3e426cd8cc0c7e4
|
| |
|
|
|
|
|
|
|
| |
In the case of encrypted SB files without any key match, it is
still possible to dump the section headers. The force option
allows one to do so. It also allows to dump unencrypted sections
of encrypted files if there are some.
Change-Id: I36280230679ac5903f9c451c68c276f5c6959536
|
| |
|
|
| |
Change-Id: I73e277a8dc2fbd5790b1d7173e449d883710f27a
|
| |
|
|
|
|
|
|
|
|
| |
I finally found a sensible format for the executable files.
The tool now can output the loading entry to elf files. Some
disassembly and analysis suggest the phys/virt addresses are
correct. However the entries are somehow linked and it is
still unclear how (are there "calls" to the code ? when ?).
Change-Id: Ied38b5bb297176c5755b5ecb3309f4a259c18cd4
|
| |
|
|
|
|
|
|
|
|
|
| |
I found out that the file has a number of "entries", in
3 categories. The third category seem to contain bootable files.
In the RKnano firmware file I have, these entries are named
"NandBoot1" and "NandBoot2". They seem to use the same format as
the stage3 of the RKnanoFW format but we do not understand this
format precisely for now anyway.
Change-Id: I72d77e609cdeeb802af793c010d6788bf36cd7e2
|
| |
|
|
|
|
|
| |
This is mostly based on reverse engineer of the _RKUpgrade.dll
from the SAM3xx upgrader.
Change-Id: I37f4503899c7198ce463130b2ff994da9ca7dc4b
|
| |
|
|
| |
Change-Id: Iddc4b39a4611f12b9eefc3a96d7eeb7229777ebb
|
| |
|
|
| |
Change-Id: I19dff8c9f3e8195d1e8d652e6365375a87debddf
|
| |
|
|
| |
Change-Id: I0d8d6831b35037725486f61fc363de87bc8ba92e
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
To support fm radio a kernel module was written. This module is added to
the patched firmware that loads Rockbox. It's pre-compiled but its source
archive provided.
The kernel module provides raw-access to the built-in si4709 radio chip.
Our existing si 47xx drivers can be re-used this way.
The module itself was written Lorenzo Miori, I only integrated it
into the tree.
Change-Id: I6205d28a505d57791eaeb627e6856b9a1eaeaeaa
|
| |
|
|
| |
Change-Id: I6ad5b6c2e4f8f57db2068fe372ab4ecadf4d03a9
|
| |
|
|
| |
Change-Id: If88b61566d8c81eda7cfc482fa82213657ae41b2
|
| |
|
|
| |
Change-Id: I517244802efb118be214437bbaea2ef811e87aea
|
| |
|
|
| |
Change-Id: I358add5df8971bc3eab4c4cf71d2e792e51979d1
|
| |
|
|
| |
Change-Id: Id18eca4ade80cce2ab68317af6b7b9751d04b1cd
|
| |
|
|
|
|
|
|
|
| |
When scraping files from the repository allow passing an additional list of
files for which the timestamp of the last change is retrieved. Since this is
slow (the log needs to be traversed, since a blob doesn't know about commits
its referenced by) only specified files get this retrieved.
Change-Id: I61a2ef812ac18ffb5898c01ce070046d4ca00a15
|
| |
|
|
|
|
|
| |
Change-Id: Id7f4717d51ed02d67cb9f9cb3c0ada4a81843f97
Reviewed-on: http://gerrit.rockbox.org/137
Reviewed-by: Nils Wallménius <nils@rockbox.org>
Tested-by: Nils Wallménius <nils@rockbox.org>
|
| |
|
|
| |
Change-Id: I93630f5c303064deb5880421202425046aa3074f
|
| |
|
|
| |
Change-Id: I8d6a70e644225211b35e7b160bdf06e12c611198
|
| |
|
|
|
|
|
| |
Make gitscraper and tarball script work with both Python 2 and Python 3. Tested
with 2.7 and 3.2.
Change-Id: I31b2580660d764d013bca6fe59d5663ae9f7f5aa
|
| |
|
|
|
|
|
| |
The old script depended on svn. An earlier version of this script has already
been used in the 3.11. branch.
Change-Id: Id03abb8f7bd005ede343243194c4453f0b2e8943
|
| |
|
|
|
|
|
|
| |
The Rockbox source code uses 7z for its archive for size reasons. Add support
for compressing as 7z (by calling the 7z command line utility) so it can be
used for generating Rockbox source archives.
Change-Id: I26097ff61ff183e5ddc07b2c4473f90dc0700178
|
| |
|
|
| |
Change-Id: I35a85ffd78bd0a56a31d6ba0abbd6102727155d4
|
| |
|
|
|
|
|
| |
Add a revision-like information and make deploy.py replace it with the git
hash.
Change-Id: Ic88ad0b2af255e76a7129a6a5cf52663b868fd32
|
| |
|
|
| |
Change-Id: Id8f86e9f5ca78f41ef4e6c6a9244031afe83389d
|
| |
|
|
|
|
|
|
| |
Don't rely on the build host having the same bitsize as the created binary.
Fixes building a 32bit binary getting a "64bit" postfix when built on a 64bit
Linux.
Change-Id: I2aa61dee82beddd60ebfc8e227551ea49d769664
|
| |
|
|
|
|
|
| |
It should not exit() anymore on error except on malloc failure.
Resource leaks on errors (especially I/O) are quite likely though.
Change-Id: I6fcf72fb08fc683468b390d0b8745d31ca982b48
|
| |
|
|
|
|
|
|
|
|
|
| |
On Windows /dev/random does not exist, so trying to open it will fail. Replace
it with rand() which is available on all supported platforms and sufficient.
Fixes mkimxboot not working, as well as Rockbox Utility "crashing" (which is in
fact its error handler calling exit(), thus terminating Rockbox Utility) on
Windows.
Change-Id: Ia164f937f329877e8f80f473f27be8c5df2a0a68
|
| |
|
|
|
|
|
|
| |
Windows requires files to be explicitly opened as binaries, otherwise it will
perform line ending translations. We really don't want the OS to mess with
that.
Change-Id: Id56de354b7ad0e5b056540755f7108456f3263ed
|
| |
|
|
|
|
|
|
| |
First and rather rough adjustment for git. There are still a lot of places
referring to svn, and various functionality might be broken which needs fixing
later.
Change-Id: Ia628f06e99f527e01f131ce674746fba77d97d23
|
| |
|
|
|
|
|
|
|
|
|
| |
With git it's not possible to simply export a set of paths from the server
directly. This module offers a similar functionality, but requires a local
clone of the repository. It calls git directly for maximum portability.
This is a prerequisite to making the deployment script used for Rockbox Utility
work again.
Change-Id: I1aca8ddd40d16b6268c1d6a2fc23ac59e964c3c6
|
| |
|
|
|
|
| |
maintain a table of known transfer sizes. In particular stmp3770 uses 48 instead of 1024.
Change-Id: I08dddc76c251aeeaaa3b46c9466f9be54c3d4a45
|
| |
|
|
| |
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31584 a1c6a512-1295-4272-9138-f99709370657
|
| |
|
|
| |
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31574 a1c6a512-1295-4272-9138-f99709370657
|
| |
|
|
|
|
| |
Rockbox to the loader script.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31426 a1c6a512-1295-4272-9138-f99709370657
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This port is a hybrid native/RaaA port. It runs on a embedded linux system,
but is the only application. It therefore can implement lots of stuff that
native targets also implement, while leveraging the underlying linux kernel.
The port is quite advanced. User interface, audio playback, plugins work
mostly fine. Missing is e.g. power mangement and USB (see SamsungYPR0 wiki page).
Included in utils/ypr0tools are scripts and programs required to generate
a patched firmware. The patched firmware has the rootfs modified to load
Rockbox. It includes a early/safe USB mode.
This port needs a new toolchain, one that includes glibc headers and libraries.
rockboxdev.sh can generate it, but e.g. codesourcey and distro packages may
also work.
Most of the initial effort is done by Lorenzo Miori and others (on ABI),
including reverse engineering and patching of the original firmware,
initial drivers, and more. Big thanks to you.
Flyspray: FS#12348
Author: Lorenzo Miori, myself
Merry christmas to ypr0 owners! :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31415 a1c6a512-1295-4272-9138-f99709370657
|