Added hopefully the last screenshots and some fixes
@ -114,24 +114,26 @@ readonly RPI_KERNEL_VERSION="${TMP}/RPi-kernel-version.txt"
|
||||
#-------------------------------------------------------------------------------
|
||||
# ...
|
||||
#-------------------------------------------------------------------------------
|
||||
if ! [ -f "${RPI_KERNEL_VERSION}" ] ; then
|
||||
OFFSET="$( ${MMLS_BIN} "${SOURCE}" | ${AWK_BIN} '/0x0c/ { print $3; }' )"
|
||||
readonly OFFSET="$(( 10#"${OFFSET}" ))" # without leading zeros!
|
||||
|
||||
### TODO: add progress box!
|
||||
${FCAT_BIN} -o "${OFFSET}" kernel.img "${SOURCE}" > ./tmp/kernel.img
|
||||
|
||||
OFFSET="$( ${MMLS_BIN} "${SOURCE}" | ${AWK_BIN} '/0x0c/ { print $3; }' )"
|
||||
readonly OFFSET="$(( 10#"${OFFSET}" ))" # without leading zeros!
|
||||
|
||||
${FCAT_BIN} -o "${OFFSET}" kernel.img "${SOURCE}" > ./tmp/kernel.img
|
||||
|
||||
readonly SKIP="$( ${BINWALK_BIN} ./tmp/kernel.img \
|
||||
readonly SKIP="$( ${BINWALK_BIN} ./tmp/kernel.img \
|
||||
| ${AWK_BIN} '/gzip compressed data/ { print $1; }' )"
|
||||
|
||||
${DD_BIN} if=./tmp/kernel.img bs=1 skip="${SKIP}" status=none \
|
||||
${DD_BIN} if=./tmp/kernel.img bs=1 skip="${SKIP}" status=none \
|
||||
| ${ZCAT_BIN} 2>/dev/null \
|
||||
| ${STRINGS_BIN} \
|
||||
| ${GREP_BIN} -F "Linux version" \
|
||||
> "${RPI_KERNEL_VERSION}"
|
||||
|
||||
${RM_BIN} ./tmp/kernel.img
|
||||
${RM_BIN} ./tmp/kernel.img
|
||||
fi | ${ZENITY_BIN} --progress \
|
||||
--title="kernel version" \
|
||||
--text="Please wait..." \
|
||||
--pulsate
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Display content of the resultfile "RPi-CPU-version.txt".
|
||||
|
@ -144,7 +144,7 @@ ${GTERMINAL_BIN} --execute \
|
||||
-cpu host \
|
||||
-smp 1,cores=1 \
|
||||
-m 3072 \
|
||||
-usbdevice tablet \
|
||||
-usb -device usb-tablet \
|
||||
-vga std \
|
||||
-net none \
|
||||
-boot once=d \
|
||||
|
BIN
home/lucifer/Pictures/Screenshots/boot-bios-BOOTCAMP.png
Normal file
After Width: | Height: | Size: 108 KiB |
BIN
home/lucifer/Pictures/Screenshots/boot-bios-options.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
home/lucifer/Pictures/Screenshots/boot-cdrom-grml.png
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
home/lucifer/Pictures/Screenshots/boot-cdrom-select-grml.png
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
home/lucifer/Pictures/Screenshots/boot-macos-catalina.png
Normal file
After Width: | Height: | Size: 222 KiB |
BIN
home/lucifer/Pictures/Screenshots/boot-macos-snow-leopard.png
Normal file
After Width: | Height: | Size: 622 KiB |
BIN
home/lucifer/Pictures/Screenshots/boot-rpi-with-cli-only.png
Normal file
After Width: | Height: | Size: 118 KiB |
BIN
home/lucifer/Pictures/Screenshots/boot-rpi-with-gui.png
Normal file
After Width: | Height: | Size: 178 KiB |
BIN
home/lucifer/Pictures/Screenshots/boot-uefi-win10ee-qxl.png
Normal file
After Width: | Height: | Size: 182 KiB |
BIN
home/lucifer/Pictures/Screenshots/boot-uefi-win10ee.png
Normal file
After Width: | Height: | Size: 172 KiB |
BIN
home/lucifer/Pictures/Screenshots/rpi-choose-arch.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
home/lucifer/Pictures/Screenshots/rpi-choose-kernel-version.png
Normal file
After Width: | Height: | Size: 18 KiB |