| Commit message (Collapse) | Author | Age |
| ... | |
| |
|
|
|
|
|
|
|
| |
This tool allows one to explore any register map. Register dumps
(like produced by hwstub tools) can be loaded and decoded by the
tool. Finally some analysers are provided for specific soc analysis
like clock tree and emi on imx233 for example.
Change-Id: Iaf81bd52d15f3e44ab4fe9bc039153fcf60cf92a
|
| |
|
|
| |
Change-Id: I432853fb4171f07ed23b73dc0499814fe8ce8748
|
| |
|
|
| |
Change-Id: I17cfe52de3f6f546a46ace3252113024625f15d1
|
| |
|
|
| |
Change-Id: Ia717c5e6f78a2cecc6a0628e4c667ea39f32c44c
|
| |
|
|
| |
Change-Id: Iab60c6ec0e8eda19c76c84241f8367d53cb4f87b
|
| |
|
|
| |
Change-Id: Id617297c196b381fd1c381da3eff4345e3157529
|
| |
|
|
|
|
|
| |
The code used printf instead of the provided printf functions,
resulting in strange output.
Change-Id: I2c7c2531d8d54ecdea97e8c189d18d351320ca7d
|
| |
|
|
| |
Change-Id: I05ab8176f368a6e2d075dfb2059692871e0c00b3
|
| |
|
|
|
|
|
|
|
|
| |
Remove the hackish elf_translate_addresses which should not have
existed in the first place, on write always compute the physical
address of a section using elf_translate_virtual_address which
makes it possible to specify any virtual to physical mapping and
fail nicely if there is none.
Change-Id: I4f436945e90280a6fd9430de6c642dbeb8e23d40
|
| |
|
|
| |
Change-Id: I82c4642aea325cf22d66e9b49fc2d47319cd70eb
|
| |
|
|
| |
Change-Id: I2746bfff9a360ef4fc823853859609ffed5d2b67
|
| |
|
|
| |
Change-Id: I4d9f38ce31e65542d6ab192158bff52b6fad8f09
|
| |
|
|
| |
Change-Id: Ie0e9c05569ca9b02fd36f31fd7323f02b14e1b60
|
| |
|
|
| |
Change-Id: I7ab657959e38d2fcb2c7e6d9858facfb83101423
|
| |
|
|
|
|
|
| |
Factor common elf/sb read/write/printf routines. Factor sb zero
key, move sb version guess.
Change-Id: I5ae1885587456736e782e623610281bbee545039
|
| |
|
|
| |
Change-Id: Ib79f4ef89c734d7ba2fcbf648aadc346576e1c17
|
| |
|
|
|
|
|
| |
Rename STOP command to EXIT, introduce ATEXIT, this gives better
control over the exit of the stub. Add stmp implementation.
Change-Id: I45442c8b88b9330d12ef439417ca5ffa1520477a
|
| |
|
|
| |
Change-Id: I65b7b230d3b89a5014db134d3159861474fd889f
|
| |
|
|
| |
Change-Id: I7944249c2f7ea3e180e7b79ee8ae402d1d0742d3
|
| |
|
|
|
|
|
| |
Completely rewrite the Mafile, properly put the usb driver in its
own file and the target specific files in a subdirectory.
Change-Id: Iaeee0128e021d5dad76b4d6035a63e33e2d946c1
|
| |
|
|
| |
Change-Id: I17b679062fa53c20034e7db6f4080f8762a7818c
|
| |
|
|
| |
Change-Id: Ie03c0c8288b4bd9c0b4beedae363cff6caf3c5cd
|
| |
|
|
| |
Change-Id: Id6d3188b7f837726c29845f01b0b1588acf40407
|
| |
|
|
| |
Change-Id: Ic53ef0283bdaee8d3272f648b71eff567b25059b
|
| |
|
|
| |
Change-Id: I167a6410e40478173e5ce496ace4f705c3e26a1b
|
| |
|
|
| |
Change-Id: I8d8adb783707172d1aaef302366c240310350ed8
|
| |
|
|
| |
Change-Id: Id7974f1a79b5d803155ccfc417277a73ffd9046a
|
| |
|
|
|
|
|
|
| |
The generator now has more options to generate or not selectors.
It can also generate a macro header containing lots of using
macros for register operations.
Change-Id: I9dd6b4bdc7daeabd1a2c9365ce082358475721b5
|
| |
|
|
| |
Change-Id: I856e5b91c8e9a1c02b367960052c36f9b527046b
|
| |
|
|
|
|
|
|
|
| |
The tool can now load sb1 and sb files to devices. Detection has
been improved and the tool can infer the packet size for the HID
description as well. The command line interface has been vastly
improved too, this breaks the old one.
Change-Id: I01a0ff8f8a007514aa81c56f114c0f0a86e3303c
|
| |
|
|
| |
Change-Id: Id302f236ad3ec13a5166de4e22a3fc85b2a6c64f
|
| |
|
|
| |
Change-Id: Ice5f509a2e0d2114436d4760f338b9203ef96691
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix the stub in many way to correctly detect the STMP family and
act upon that. Drop some unused commands and bump version.
Rewrite the tool to allows scripting in lua and load the register
description from an XML file using the regtools. Introduce a new
tool to load and run code using the hwstub (either binary format
or Rockbox additive scramble format). Also switch to an optimise
version of the memcpy/move/set functions to correctly handle
alignement issue (like writing a full word/half-word when
possible for registers which is crucial)
Change-Id: Id1d5cfe0b1b47e8b43900d32c5cd6eafae6414f6
|
| |
|
|
| |
Change-Id: Ief34c219bbe05c9aeed665235942bb158bb0f4d4
|
| |
|
|
|
|
|
|
|
|
|
| |
Change the XML description to unify multi dev/reg in a clean
fashion. Move the description parser to its own library. Fix
the tester and headergen tools to work with the new format and
library. Move the STMP3700/3780 descriptions to the new format
(and fixes many errors as well). Drop the hwemulgen tool
in favor on the upcoming hwstub tools revamp.
Change-Id: I7119a187aab5c8b083cc5228cb1b248ee29f184d
|
| |
|
|
|
|
|
|
|
|
| |
The register tools are in no way stmp specific. The XML
description of the registers is powerful enough to describe
the STMP register which should be more than enough to describe
virtually all other SoCs. The generators follow the STMP coding
convention but others could be used as well.
Change-Id: If1a9f56e4a3594161688de34adbea698e5aaecd8
|
| |
|
|
|
|
|
|
| |
The hwemul is only partly imx specific: the stub is stmp specific
but could be ported to other targets, the computer side and the
protocol are mostly stmp independent (or should be).
Change-Id: If88febffe591b0de86ea11cb740455ba20ddc401
|
| |
|
|
|
|
|
|
| |
During testing it can be useful to set an arbitrary (non-current) time on the
device. Extend time-sync to accept an additional (optional) parameter with the
time to set. Only changes date / time, no timezone.
Change-Id: Ib320777cb245cff19ca00b20540db3a43a4e488f
|
| |
|
|
|
|
|
| |
- Generally improve code and make it compliant to PEP8.
- Make it work with Python3 as well.
Change-Id: I9e99999c59dc501664c36dd38fcb85fb60d6d9e6
|
| |
|
|
| |
Change-Id: I9f7bbb7e938bd5886c11533b1aa939bd27cab555
|
| |
|
|
|
|
|
| |
Correctly descramble the first stages (0 to 2) in continuous mode.
Also fix a disassembled (but unused) crc routine used in dfu mode.
Change-Id: I20016d1c696a9bcb6584377ee9b55493783c7159
|
| |
|
|
|
|
|
|
| |
This tool can upload a firmware to the device in DFU mode. The
protocol is the same as the rk27xx devices except that it can
load a bigger (unlimited ?) firmware.
Change-Id: Ic9d4c5087629a9156f9d5d5cdc80767e6359c431
|
| |
|
|
| |
Change-Id: I5267533226d833b20abb3cfd27cc390aef1181e4
|
| |
|
|
|
|
| |
<insert opinion on such filenames here>
Change-Id: Ie1b5fac97eea93c9ac934ffb8bf6c0d9a0559339
|
| |
|
|
| |
Change-Id: I423e760bbc8e418bcce3afe01c5831b5a3e655f3
|
| |
|
|
| |
Change-Id: I0d5d61c1dc137333bda5e403d06a43d16f2750bf
|
| |
|
|
| |
Change-Id: I2273b8d6314250620611ec50d159237edc6d76c2
|
| |
|
|
|
|
|
|
|
|
| |
After some reverse engineering, it appears that the keys of the
sb1 format are very weak: the 128 bytes are generated from the
laserfuse words 4,5 and 6 but in a weird manner: 4 and 5 are
simply ORed and 6 is only half used (somehow), making it "only" a
48 bit word to find.
Change-Id: I40702e19d0924ef51c01894efce3cb65bd664456
|
| |
|
|
| |
Change-Id: I2301f695e49d306d21bb9efa9c44acf1d3296a08
|
| |
|
|
| |
Change-Id: Ie9ad10c627a86b1e6e689052fd436529d3ba6591
|