Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: smaeul/sunxi-blobs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: smaeul/sunxi-blobs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: wip-old
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 20 commits
  • 8 files changed
  • 1 contributor

Commits on Jul 17, 2017

  1. Makefile: Initial version

    smaeul committed Jul 17, 2017
    Configuration menu
    Copy the full SHA
    762d29f View commit details
    Browse the repository at this point in the history
  2. scripts/bin2elf: Initial version

    This script breaks a binary blob into an arbitrary number of chunks of
    text and data, and converts them into an ELF file with symbols at
    arbitrary locations. It should work, with minor modification, for
    binaries of any size, virtual address, and architecture.
    smaeul committed Jul 17, 2017
    Configuration menu
    Copy the full SHA
    5c5ff71 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2017

  1. Makefile: Add "check" target for sections and symbols

    This verifies that the files are properly sorted, as well as that there
    are not duplicate sections or symbols, based on address, as well as
    symbol names. Further checking is done to ensure that no two consecutive
    sections are of the same type.
    smaeul committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    747e643 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2017

  1. Configuration menu
    Copy the full SHA
    80f220b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e48f91 View commit details
    Browse the repository at this point in the history
  3. scripts/bin2elf: Adapt for arisc firmware analysis

    or1k is big-endian, but its address/data lines are swapped in hardware.
    smaeul committed Sep 3, 2017
    Configuration menu
    Copy the full SHA
    c8252cb View commit details
    Browse the repository at this point in the history
  4. scripts/callgraph: Initial version

    This script generates a dot graph description from all of the call
    instructions in an assembly listing. It uses the most recently seen
    symbol as the caller, and the operand symbol as the callee. If the
    operand does not have a symbol, it falls back to a generic function
    name.
    
    This script assumes all call instructions (or architecture equivalent)
    jump to the beginning of a function.
    smaeul committed Sep 3, 2017
    Configuration menu
    Copy the full SHA
    c70a702 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4603f70 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5f72e19 View commit details
    Browse the repository at this point in the history
  7. sun50iw1p1: Add firmware dump

    The binary came from arisc_sun50iw1p1.code in the H5 SDK v1.1.
    smaeul committed Sep 3, 2017
    Configuration menu
    Copy the full SHA
    a8aadba View commit details
    Browse the repository at this point in the history
  8. sun50iw1p1: Add most basic set of sections and symbols

    Other than the exception handlers, the list of function symbols was
    naively generated from the targets of l.jal instructions.
    smaeul committed Sep 3, 2017
    Configuration menu
    Copy the full SHA
    e4948b1 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2017

  1. Makefile: Save disassembly comments to a file

    This allows combining manually-written comments with an
    automatically-generated assembly listing.
    smaeul committed Sep 4, 2017
    Configuration menu
    Copy the full SHA
    ffa7ae9 View commit details
    Browse the repository at this point in the history
  2. sun50iw1p1: Add a first group of comments and better symbols

    Comments are C-like but with most braces and semicolons removed.
    
    The added comments include all string resources that are referenced
    directly in the source as arguments to printf.
    smaeul committed Sep 4, 2017
    Configuration menu
    Copy the full SHA
    f9dfdfc View commit details
    Browse the repository at this point in the history
  3. scripts/callgraph: Ignore __udivsi3 and printf

    These functions make the graph too cramped and interconnected
    because they have large numbers of callers across the firmware.
    smaeul committed Sep 4, 2017
    Configuration menu
    Copy the full SHA
    55895cf View commit details
    Browse the repository at this point in the history
  4. scripts/callgraph: Support tail calls

    Assume unconditional jumps to the beginning of a function are tail
    calls. Mark them by dashed edges.
    smaeul committed Sep 4, 2017
    Configuration menu
    Copy the full SHA
    634efc9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    01b4929 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2af182c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f6dbf77 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f019761 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    24e2b47 View commit details
    Browse the repository at this point in the history
Loading