If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:boot sdk.sh

From BoxMatrix


BoxMatrix >> Shell-Commands >> boot_sdk.sh @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

AVM-Command

Goto:   Examples  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

boot_sdk.sh boots an SDK-Firmware from RAM.
It is called by the udev-mount-sd hotplug script for each detected disk device.

Usage:

boot_sdk.sh <block_device>

For more info see the SDK-Firmware article.

See also the explanation in german language I wrote in the passed Wehavemorefun Wiki.

Examples

Simplified from udev-mount-sd of a 7270v2 fw 5.05, executed each detected disk device:

test -x boot_sdk.sh && sh boot_sdk.sh <mountpoint> && exit

Manual invocation from shell with a connected SDK-Stick:

# boot_sdk.sh sda

[boot_sdk][2987] got lock 
[boot_sdk] reading blkid
[boot_sdk] get_part_by_label for blkdev sda
[sdk_boot] got part /dev/sda2
[boot_sdk] get_part_by_label for blkdev sda
[sdk_boot] got part /dev/sda3
[boot_sdk] get_part_by_label for blkdev sda
[sdk_boot] got part /dev/sda1
[boot_sdk] get_part_by_label for blkdev sda
[sdk_boot] got part /dev/sda4
[boot_sdk] identified sdk_stick by using parted
[boot_sdk] detected sdk usb stick skipping following boot skripts
[boot_sdk] partitions not mounted yet, creating mountpoints
[boot_sdk] reset_watchdog to 15min :-)
[boot_sdk] swapon
[boot_sdk] Using Firmware-File /var/sdk/boot/firmware.image
[boot_sdk] firmware checksum = 02b0dfa46684311050e8d53cef29c0cc  -
[boot_sdk] checksum in fs = a7b09b96147f1b4c8fac1b3852befd65  -
[boot_sdk] /bin/split_image found, splitting files...
delimiter 'hsqs' detected
adding padding to /var/sdk/boot/filesystem.image
filesystem md5 sum:
bd1c81572ad4f7ae69d93d6c0398b256  /var/sdk/boot/filesystem.image
[boot_sdk] backing up tffs files
killall: filescanner: no process killed
[boot_sdk] unpacking filesystem to /var/sdk/rootfs/
[boot_sdk] restoring tffs files
[boot_sdk] deleting /var/sdk/boot/filesystem.image
[boot_sdk] deleting /var/sdk/boot/var
[boot_sdk] creating boot config
[boot_sdk] doing sync
[boot_sdk] swapoff
[boot_sdk] insmod

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-05-08 07:15 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
0 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-05-08 05:06 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
FRITZ!Box Fon WLAN 7270 v2 5.01 - 5.54 /sbin 13.8k
FRITZ!Box Fon WLAN 7270 v3 5.01 - 5.54 /sbin 13.8k
2 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-05-08 07:15 GMT.

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.