Permalink
Commits on Jan 18, 2019
  1. bin: update to new revision

    PeterPawn committed Jan 18, 2019
Commits on Jan 11, 2019
Commits on Dec 19, 2018
Commits on Dec 18, 2018
  1. patch_kernel_75[89]0_...: add patch files for 7580/7590

    PeterPawn committed Dec 18, 2018
    The 7580 version was tested and patches the wanted locations:
    
    ~ # sh /var/media/ftp/patch_kernel_7580_skbuff_sk_checks
    Found supported firmware version 07.01.
    Found supported HWRevision 225.
    Found symbol 'netif_receive_skb' at memory address 0x80A62474.
    Looking for TNE instruction with max. distance of 15.
    Found 'lw v[0|1],32(a0)' instruction at 0x80A62494, checking next instruction now.
    Found TNE instruction (0x00020336) at 0x80A62498, replacing it with a NOP instruction.
    Found symbol '__netif_receive_skb' at memory address 0x80A623F0.
    Looking for TNE instruction with max. distance of 5.
    Found 'lw v[0|1],32(a0)' instruction at 0x80A623F4, checking next instruction now.
    Found TNE instruction (0x00030336) at 0x80A623F8, replacing it with a NOP instruction.
    Found symbol 'ip_forward' at memory address 0x80AB97A4.
    Looking for 'lw v0,32(a0)' instruction with max. distance of 10.
    Found 'lw v0,32(a0)' instruction (0x8C820020) at 0x80AB97C0, replacing it with a 'li v0,0' instruction.
    
    The 7590 version needs a comparision of patched locations and further testing
    (as 7580 does), if the patches (re-)enable normal work of TUN devices
    with an original AVM kernel.
Commits on Dec 17, 2018
  1. patch_kernel_VR9: separate scripts to patch AVM network changes

    PeterPawn committed Dec 17, 2018
    This script is intended for VR9-based devices only and the device,
    where it is called, has to be mentioned in the "devices" list at
    the beginning of the script (the list contains hardware revision
    numbers) or it will abandon to run.
  2. patch_kernel: provide a patch for BUG_ON traps from AVM

    PeterPawn committed Dec 17, 2018
    The script needs a "devmem" applet from BusyBox.
Commits on Dec 15, 2018
  1. juis_check: make it work on MacOS X again (#20)

    PeterPawn committed Dec 15, 2018
    * juis_check: workaround for 'expr' error on BSD systems ...
    
    if a regex quantifier (+) is used
    
    * juis_check: more trouble with 'expr' on BSD systems
Commits on Dec 9, 2018
Commits on Dec 7, 2018
Commits on Dec 1, 2018
  1. FirmwareImage.ps1: explicitly close output files ...

    PeterPawn committed Dec 1, 2018
    or they will get flushed and closed only during garbage collection and
    this is much too late, if they have to be reused within the same PS
    session.
    
    The changes avoid the needs of an additional 'exit' command as mentioned
    here:
    
    https://www.ip-forum.eu/howto-fritz-box-firmware-images-auch-unsignierte-ueber-den-bootloader-installieren-577?view-post=3859#p3859
Commits on Nov 28, 2018
Commits on Nov 25, 2018
Commits on Nov 24, 2018
Commits on Nov 19, 2018
Commits on Nov 6, 2018
Commits on Oct 31, 2018
  1. scriptlib: further POSIX compatibility

    PeterPawn committed Oct 31, 2018
    - add support for new ringbuffer format from AVM
  2. juis: update README files

    PeterPawn committed Oct 31, 2018
  3. juis_check: replace some 'non-pure' POSIX constructs

    PeterPawn committed Oct 31, 2018
    The possible confusion of 'shift left' operations and a 'here-doc'
    start (seen while using 'checkbashisms' from Ubuntu) has to stand -
    there's no exponentation operand on (pure) POSIX
  4. gui_bootmanager: simplify string comparision

    PeterPawn committed Oct 30, 2018
    - any output from 'cmp' is always a difference (the first one) and
      all following lines are ignored in each case
Commits on Oct 30, 2018
Commits on Oct 27, 2018
Commits on Oct 23, 2018
Commits on Oct 20, 2018
  1. juis_check: add extensions needed by modfs

    PeterPawn committed Oct 20, 2018
    - add --local option to get box data from a local file
    - add --current option to get an URL for the current version, if
      it's the latest one - it will decrement the version number used
      to build the request
    - add --print-version option to show new version number on STDOUT
Commits on Oct 13, 2018
  1. gui_bootmanager: some enhancements

    PeterPawn committed Oct 13, 2018
    - make it more fault tolerant, if an orphaned lock file is found
    - use an already mounted YAFFS2 partition for the alternative system, if
      one was found
    - take the changed behavior of BusyBox (regarding 'umount -d') into
      account
    - use date and time of last modification from 'version' file of used
      framework or - if neither file is available - from the SquashFS image
    
    ========================================================================
    
    - save generated HTML output on first call, if no additional 'nocache'
      was specified on call
    - any later call for 'html_display' (without the 'nocache' supplement)
      will only read data from this cached file
    - if you use any program to modify a system in one of the available
      partitions, you (or the used software) have to call this script with
      an parameter of 'clear_cache'
Commits on Oct 10, 2018
  1. add_startup_script: some changes

    PeterPawn committed Oct 10, 2018
    - start debug output with 'exit' shell command to prevent accidental
      execution of output lines
    - move injected call up one line
    - SIAB injectioni - add some messages
Commits on Oct 6, 2018
  1. gui_bootmanager: fix missing output

    PeterPawn committed Oct 6, 2018
    - the english output had a missing 'span' element in case of a
      fixed branding value