Added hopefully the last screenshots and some fixes

This commit is contained in:
Patrick Neumann 2020-12-04 17:56:36 +01:00
parent 7704660286
commit adf767b3fa
16 changed files with 17 additions and 15 deletions

View File

@ -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".

View File

@ -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 \

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 622 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB