Commit 4164416b authored by Claude's avatar Claude 🌴

Add trace for sd-raspbian-desktop

parent c01ed9db
......@@ -31,12 +31,12 @@ function customize_sd {
# Ensure boot partition is has expected
local boot_partition_home=
boot_partition_home="$( get_partition_home_by_label_with_timeout 'boot' )" || return $?
echoinfo "boot_partition_home=${boot_partition_home}"
echoinfo "${FUNCNAME[0]}() - boot_partition_home=${boot_partition_home}"
# Ensure rootfs partition is has expected
local rootfs_partition_home=
rootfs_partition_home="$( get_partition_home_by_label_with_timeout 'rootfs' )" || return $?
echoinfo "rootfs_partition_home=${rootfs_partition_home}"
echoinfo "${FUNCNAME[0]}() - rootfs_partition_home=${rootfs_partition_home}"
verify_sd_content "${boot_partition_home}" "${rootfs_partition_home}" || return $?
......@@ -75,7 +75,7 @@ function customize_enable_ssh {
if [ ! -d "${boot_partition_home}" ] ; then
echofatal "Cannot find directory boot_partition_home='${boot_partition_home}'"
exit 1
return 100
fi
prepare_raspbian_initialise_if_needed SSH_ENABLE ''
......@@ -108,12 +108,12 @@ function customize_memory_split {
if [ ! -d "${boot_partition_home}" ] ; then
echofatal "customize_memory_split(): Cannot find directory boot_partition_home='${boot_partition_home}'"
exit 1
return 100
fi
if [ ! -f "${config_txt}" ] ; then
echofatal "customize_memory_split(): Cannot find file config_txt='${config_txt}'"
exit 1
return 100
fi
if grep --quiet '^gpu_mem=' "${config_txt}" ; then
......@@ -143,7 +143,7 @@ function customize_pi_user {
if [ ! -d "${home_pi}" ] ; then
echofatal "Cannot find directory: /home/pi='${home_pi}'"
exit 1
return 100
fi
# Create bcm workspace directory (TODO: should be optional)
......@@ -215,7 +215,7 @@ function get_partition_home_by_label_with_timeout {
done
echofatal "'${label}' partition not found."
exit 1
return 100
}
function get_partition_home_by_label {
......@@ -229,7 +229,7 @@ function get_partition_home_by_label {
if [ -z "${partition_home}" ] ; then
return 1
else
echoinfo "${partition_home}" >&2
echoinfo "${FUNCNAME[0]}() - ${partition_home}" >&2
echo "${partition_home}"
fi
}
......@@ -255,7 +255,7 @@ function verify_sd_content {
if [ ! -d "${boot_partition_home}" ] ; then
echoerror "Cannot find directory: boot_partition_home='${boot_partition_home}'"
exit 1
return 100
fi
if ! check_if_all_files_exists "${boot_partition_home}" "${FILES_TO_VERIFY_ON_BOOT_PARTITION_ARMHF[@]}" ; then
......@@ -267,7 +267,7 @@ function verify_sd_content {
if [ ! -d "${rootfs_partition_home}" ] ; then
echoerror "Cannot find directory: rootfs_partition_home='${rootfs_partition_home}'"
exit 1
return 100
fi
if ! check_if_all_files_exists "${rootfs_partition_home}" "${FILES_TO_VERIFY_ON_ROOTFS_PARTITION[@]}" ; then
......
......@@ -9,9 +9,9 @@ PROJECT_HOME="$( dirname "$( dirname "$( realpath "${BASH_SOURCE[0]}" )" )" )"
declare -gr PROJECT_HOME
# shellcheck disable=SC1090
source "${PROJECT_HOME}/apis/bash-common-api/bash-common-api.sh" || exit 1
source "${PROJECT_HOME}/apis/bash-common-api/bash-common-api.sh" || exit $?
# shellcheck disable=SC1090
source "${PROJECT_HOME}/bin/api/prepare-raspbian-customize-api.sh" || exit 1
source "${PROJECT_HOME}/bin/api/prepare-raspbian-customize-api.sh" || exit $?
# shellcheck disable=SC2034
declare -gr MESSAGE_API_HIDE_DATE='true'
......@@ -59,10 +59,10 @@ function copyfiles {
shift
real_destination_file="${destination_directory}/${file}"
real_destination_dir="$( dirname "${real_destination_file}" )"
real_destination_dir="$( dirname "${real_destination_file}" )" || return $?
mkdir -vp "${real_destination_dir}" || exit 1
cp -v "${source_directory}/${file}" "${real_destination_file}" || exit 1
mkdir -vp "${real_destination_dir}" || return $?
cp -v "${source_directory}/${file}" "${real_destination_file}" || return $?
done
}
......@@ -73,49 +73,91 @@ function ls_rec {
local destination_file_realpath=
destination_file_realpath="$( realpath "${destination_file}" )"
pushd "${source_directory}" || exit 1
echoinfo "Building '${destination_file_realpath}'"
sudo find . -exec stat -c '%a %u:%g %n' {} \; | LC_ALL=C sort >"${destination_file_realpath}" || exit 1
popd || exit 1
pushd "${source_directory}" >/dev/null || return $?
echoinfo "Building: '${destination_file_realpath}'"
sudo find . -exec stat -c '%a %u:%g %n' {} \; | LC_ALL=C sort >"${destination_file_realpath}" || return $?
popd >/dev/null || return $?
}
function update_documentation_from_sd {
local -r directory_to_update="$1"
local boot_partition_home=
boot_partition_home="$( get_partition_home_by_label_with_timeout 'boot' )" || exit 1
boot_partition_home="$( get_partition_home_by_label_with_timeout 'boot' )" || return $?
local -r boot_partition_home
echoinfo "boot_partition_home='${boot_partition_home}'"
echoinfo "${FUNCNAME[0]}() - boot_partition_home='${boot_partition_home}'"
local -r update_directory_boot="${directory_to_update}/boot"
copyfiles "${boot_partition_home}" "${update_directory_boot}" "${FILES_TO_UPDATE_FROM_BOOT[@]}"
ls_rec "${boot_partition_home}" "${update_directory_boot}.ls"
copyfiles "${boot_partition_home}" "${update_directory_boot}" "${FILES_TO_UPDATE_FROM_BOOT[@]}" || return $?
ls_rec "${boot_partition_home}" "${update_directory_boot}.ls" || return $?
local rootfs_partition_home=
rootfs_partition_home="$( get_partition_home_by_label_with_timeout 'rootfs' )" || exit 1
rootfs_partition_home="$( get_partition_home_by_label_with_timeout 'rootfs' )" || return $?
local -r rootfs_partition_home
echoinfo "rootfs_partition_home='${rootfs_partition_home}'"
echoinfo "${FUNCNAME[0]}() - rootfs_partition_home='${rootfs_partition_home}'"
local -r update_directory_rootfs="${directory_to_update}/rootfs"
copyfiles "${rootfs_partition_home}" "${update_directory_rootfs}" "${FILES_TO_UPDATE_FROM_ROOTFS[@]}"
ls_rec "${rootfs_partition_home}" "${update_directory_rootfs}.ls"
copyfiles "${rootfs_partition_home}" "${update_directory_rootfs}" "${FILES_TO_UPDATE_FROM_ROOTFS[@]}" || return $?
ls_rec "${rootfs_partition_home}" "${update_directory_rootfs}.ls" || return $?
}
function check_rootfs_for {
local -r file_to_check="$1"
function _check_for_file_ {
local -r file_to_check_fullpath="$1"
if [ -f "${file_to_check_fullpath}" ] ; then
echookay "Found file: '${file_to_check_fullpath}'"
else
echofatal "File not found: '${file_to_check_fullpath}' - Wrong arch/type ?"
return 100
fi
}
function check_rootfs_for_files {
local rootfs_partition_home=
rootfs_partition_home="$( get_partition_home_by_label_with_timeout 'rootfs' )" || exit 1
rootfs_partition_home="$( get_partition_home_by_label_with_timeout 'rootfs' )" || return $?
local -r rootfs_partition_home
local -r file_to_check_fullpath="${rootfs_partition_home}/${file_to_check}"
if [ -f "${file_to_check_fullpath}" ] ; then
echookay "Found: '${file_to_check_fullpath}'"
local error_found='false'
local file=
while [ "$#" -gt 0 ] ; do
file="$1"
shift
_check_for_file_ "${rootfs_partition_home}${file}" || error_found='true'
done
if [ "${error_found}" != 'false' ] ; then
return 100
fi
}
function _check_for_dir_ {
local -r dir_to_check_fullpath="$1"
if [ -d "${dir_to_check_fullpath}" ] ; then
echookay "Found directory: '${dir_to_check_fullpath}'"
else
echofatal "File not found: '${file_to_check_fullpath}' - Wrong arch ?"
exit 1
echofatal "Directory not found: '${dir_to_check_fullpath}' - Wrong arch/type ?"
return 100
fi
}
function check_rootfs_for_dirs {
local rootfs_partition_home=
rootfs_partition_home="$( get_partition_home_by_label_with_timeout 'rootfs' )" || return $?
local -r rootfs_partition_home
local error_found='false'
local dir=
while [ "$#" -gt 0 ] ; do
dir="$1"
shift
_check_for_dir_ "${rootfs_partition_home}${dir}" || error_found='true'
done
if [ "${error_found}" != 'false' ] ; then
return 100
fi
}
......@@ -164,10 +206,14 @@ function main {
else
echookay 'Audit desktop version'
param_ligh_desktop='desktop'
check_rootfs_for_dirs \
'/etc/X11' \
|| return $?
fi
else
if [ "${param_light}" = 'true' ] ; then
echookay 'Audit server version'
echookay 'Audit server version'
param_ligh_desktop='light'
else
echofatal "At least one of --desktop or --light is required."
......@@ -178,18 +224,25 @@ function main {
case "${param_arch}" in
'arm64')
check_rootfs_for './usr/share/doc/libalgorithm-diff-xs-perl/changelog.Debian.arm64.gz'
check_rootfs_for_files \
'/usr/share/doc/libalgorithm-diff-xs-perl/changelog.Debian.arm64.gz' \
|| return $?
;;
'armhf')
check_rootfs_for './usr/share/doc/libalgorithm-diff-xs-perl/changelog.Debian.armhf.gz'
check_rootfs_for_files \
'/usr/share/doc/libalgorithm-diff-xs-perl/changelog.Debian.armhf.gz' \
|| return $?
;;
'raspbian')
check_rootfs_for './lib/modules/4.19.97+/kernel/drivers/net/dummy.ko'
check_rootfs_for './lib/modules/4.19.97-v7+/kernel/drivers/net/dummy.ko'
check_rootfs_for './lib/modules/4.19.97-v7l+/kernel/drivers/net/dummy.ko'
check_rootfs_for './lib/modules/4.19.97-v8+/kernel/drivers/net/dummy.ko'
check_rootfs_for_files \
'/lib/modules/4.19.97+/kernel/drivers/net/dummy.ko' \
'/lib/modules/4.19.97-v7+/kernel/drivers/net/dummy.ko' \
'/lib/modules/4.19.97-v7l+/kernel/drivers/net/dummy.ko' \
'/lib/modules/4.19.97-v8+/kernel/drivers/net/dummy.ko' \
'/usr/share/doc/libxml2/changelog.Debian.armhf.gz' \
|| return $?
;;
'')
......@@ -204,13 +257,32 @@ function main {
exit 1
;;
esac
case "${param_ligh_desktop}" in
'desktop')
check_rootfs_for_dirs \
'/etc/X11' \
|| return $?
check_rootfs_for_files \
'/usr/lib/systemd/system/vncserver-x11-serviced.service' \
|| return $?
;;
'light')
;;
*)
echofatal "Unknown arch '${param_arch}'."
usage >&2
exit 1
;;
esac
pushd "${PROJECT_HOME}" >/dev/null || exit 1
pushd "${PROJECT_HOME}" >/dev/null || return $?
update_documentation_from_sd "wiki/sd-${param_arch}-${param_ligh_desktop}"
update_documentation_from_sd "wiki/sd-${param_arch}-${param_ligh_desktop}" || return $?
popd >/dev/null || exit 1
popd >/dev/null || return $?
echoinfo "$( basename "$0" ) - Done."
}
main "$@"
main "$@" || exit $?
644 1001:1001 ./COPYING.linux
644 1001:1001 ./LICENCE.broadcom
644 1001:1001 ./bcm2708-rpi-b-plus.dtb
644 1001:1001 ./bcm2708-rpi-b.dtb
644 1001:1001 ./bcm2708-rpi-cm.dtb
644 1001:1001 ./bcm2708-rpi-zero-w.dtb
644 1001:1001 ./bcm2708-rpi-zero.dtb
644 1001:1001 ./bcm2709-rpi-2-b.dtb
644 1001:1001 ./bcm2710-rpi-2-b.dtb
644 1001:1001 ./bcm2710-rpi-3-b-plus.dtb
644 1001:1001 ./bcm2710-rpi-3-b.dtb
644 1001:1001 ./bcm2710-rpi-cm3.dtb
644 1001:1001 ./bcm2711-rpi-4-b.dtb
644 1001:1001 ./bootcode.bin
644 1001:1001 ./cmdline.txt
644 1001:1001 ./config.txt
644 1001:1001 ./fixup.dat
644 1001:1001 ./fixup4.dat
644 1001:1001 ./fixup4cd.dat
644 1001:1001 ./fixup4db.dat
644 1001:1001 ./fixup4x.dat
644 1001:1001 ./fixup_cd.dat
644 1001:1001 ./fixup_db.dat
644 1001:1001 ./fixup_x.dat
644 1001:1001 ./issue.txt
644 1001:1001 ./kernel.img
644 1001:1001 ./kernel7.img
644 1001:1001 ./kernel7l.img
644 1001:1001 ./kernel8.img
644 1001:1001 ./overlays/README
644 1001:1001 ./overlays/act-led.dtbo
644 1001:1001 ./overlays/adau1977-adc.dtbo
644 1001:1001 ./overlays/adau7002-simple.dtbo
644 1001:1001 ./overlays/ads1015.dtbo
644 1001:1001 ./overlays/ads1115.dtbo
644 1001:1001 ./overlays/ads7846.dtbo
644 1001:1001 ./overlays/adv7282m.dtbo
644 1001:1001 ./overlays/adv728x-m.dtbo
644 1001:1001 ./overlays/akkordion-iqdacplus.dtbo
644 1001:1001 ./overlays/allo-boss-dac-pcm512x-audio.dtbo
644 1001:1001 ./overlays/allo-digione.dtbo
644 1001:1001 ./overlays/allo-katana-dac-audio.dtbo
644 1001:1001 ./overlays/allo-piano-dac-pcm512x-audio.dtbo
644 1001:1001 ./overlays/allo-piano-dac-plus-pcm512x-audio.dtbo
644 1001:1001 ./overlays/anyspi.dtbo
644 1001:1001 ./overlays/apds9960.dtbo
644 1001:1001 ./overlays/applepi-dac.dtbo
644 1001:1001 ./overlays/at86rf233.dtbo
644 1001:1001 ./overlays/audioinjector-addons.dtbo
644 1001:1001 ./overlays/audioinjector-ultra.dtbo
644 1001:1001 ./overlays/audioinjector-wm8731-audio.dtbo
644 1001:1001 ./overlays/audiosense-pi.dtbo
644 1001:1001 ./overlays/audremap.dtbo
644 1001:1001 ./overlays/balena-fin.dtbo
644 1001:1001 ./overlays/bmp085_i2c-sensor.dtbo
644 1001:1001 ./overlays/dht11.dtbo
644 1001:1001 ./overlays/dionaudio-loco-v2.dtbo
644 1001:1001 ./overlays/dionaudio-loco.dtbo
644 1001:1001 ./overlays/disable-bt.dtbo
644 1001:1001 ./overlays/disable-wifi.dtbo
644 1001:1001 ./overlays/dpi18.dtbo
644 1001:1001 ./overlays/dpi24.dtbo
644 1001:1001 ./overlays/draws.dtbo
644 1001:1001 ./overlays/dwc-otg.dtbo
644 1001:1001 ./overlays/dwc2.dtbo
644 1001:1001 ./overlays/enc28j60-spi2.dtbo
644 1001:1001 ./overlays/enc28j60.dtbo
644 1001:1001 ./overlays/exc3000.dtbo
644 1001:1001 ./overlays/fe-pi-audio.dtbo
644 1001:1001 ./overlays/goodix.dtbo
644 1001:1001 ./overlays/googlevoicehat-soundcard.dtbo
644 1001:1001 ./overlays/gpio-fan.dtbo
644 1001:1001 ./overlays/gpio-ir-tx.dtbo
644 1001:1001 ./overlays/gpio-ir.dtbo
644 1001:1001 ./overlays/gpio-key.dtbo
644 1001:1001 ./overlays/gpio-no-bank0-irq.dtbo
644 1001:1001 ./overlays/gpio-no-irq.dtbo
644 1001:1001 ./overlays/gpio-poweroff.dtbo
644 1001:1001 ./overlays/gpio-shutdown.dtbo
644 1001:1001 ./overlays/hd44780-lcd.dtbo
644 1001:1001 ./overlays/hifiberry-amp.dtbo
644 1001:1001 ./overlays/hifiberry-dac.dtbo
644 1001:1001 ./overlays/hifiberry-dacplus.dtbo
644 1001:1001 ./overlays/hifiberry-dacplusadc.dtbo
644 1001:1001 ./overlays/hifiberry-dacplusadcpro.dtbo
644 1001:1001 ./overlays/hifiberry-dacplusdsp.dtbo
644 1001:1001 ./overlays/hifiberry-dacplushd.dtbo
644 1001:1001 ./overlays/hifiberry-digi-pro.dtbo
644 1001:1001 ./overlays/hifiberry-digi.dtbo
644 1001:1001 ./overlays/hy28a.dtbo
644 1001:1001 ./overlays/hy28b-2017.dtbo
644 1001:1001 ./overlays/hy28b.dtbo
644 1001:1001 ./overlays/i-sabre-q2m.dtbo
644 1001:1001 ./overlays/i2c-bcm2708.dtbo
644 1001:1001 ./overlays/i2c-gpio.dtbo
644 1001:1001 ./overlays/i2c-mux.dtbo
644 1001:1001 ./overlays/i2c-pwm-pca9685a.dtbo
644 1001:1001 ./overlays/i2c-rtc-gpio.dtbo
644 1001:1001 ./overlays/i2c-rtc.dtbo
644 1001:1001 ./overlays/i2c-sensor.dtbo
644 1001:1001 ./overlays/i2c0-bcm2708.dtbo
644 1001:1001 ./overlays/i2c0.dtbo
644 1001:1001 ./overlays/i2c1-bcm2708.dtbo
644 1001:1001 ./overlays/i2c1.dtbo
644 1001:1001 ./overlays/i2c3.dtbo
644 1001:1001 ./overlays/i2c4.dtbo
644 1001:1001 ./overlays/i2c5.dtbo
644 1001:1001 ./overlays/i2c6.dtbo
644 1001:1001 ./overlays/i2s-gpio28-31.dtbo
644 1001:1001 ./overlays/ilitek251x.dtbo
644 1001:1001 ./overlays/imx219.dtbo
644 1001:1001 ./overlays/iqaudio-codec.dtbo
644 1001:1001 ./overlays/iqaudio-dac.dtbo
644 1001:1001 ./overlays/iqaudio-dacplus.dtbo
644 1001:1001 ./overlays/iqaudio-digi-wm8804-audio.dtbo
644 1001:1001 ./overlays/irs1125.dtbo
644 1001:1001 ./overlays/jedec-spi-nor.dtbo
644 1001:1001 ./overlays/justboom-both.dtbo
644 1001:1001 ./overlays/justboom-dac.dtbo
644 1001:1001 ./overlays/justboom-digi.dtbo
644 1001:1001 ./overlays/ltc294x.dtbo
644 1001:1001 ./overlays/max98357a.dtbo
644 1001:1001 ./overlays/mbed-dac.dtbo
644 1001:1001 ./overlays/mcp23017.dtbo
644 1001:1001 ./overlays/mcp23s17.dtbo
644 1001:1001 ./overlays/mcp2515-can0.dtbo
644 1001:1001 ./overlays/mcp2515-can1.dtbo
644 1001:1001 ./overlays/mcp3008.dtbo
644 1001:1001 ./overlays/mcp3202.dtbo
644 1001:1001 ./overlays/mcp342x.dtbo
644 1001:1001 ./overlays/media-center.dtbo
644 1001:1001 ./overlays/midi-uart0.dtbo
644 1001:1001 ./overlays/midi-uart1.dtbo
644 1001:1001 ./overlays/miniuart-bt.dtbo
644 1001:1001 ./overlays/mmc.dtbo
644 1001:1001 ./overlays/mpu6050.dtbo
644 1001:1001 ./overlays/mz61581.dtbo
644 1001:1001 ./overlays/ov5647.dtbo
644 1001:1001 ./overlays/papirus.dtbo
644 1001:1001 ./overlays/pi3-act-led.dtbo
644 1001:1001 ./overlays/pi3-disable-bt.dtbo
644 1001:1001 ./overlays/pi3-disable-wifi.dtbo
644 1001:1001 ./overlays/pi3-miniuart-bt.dtbo
644 1001:1001 ./overlays/pibell.dtbo
644 1001:1001 ./overlays/piglow.dtbo
644 1001:1001 ./overlays/piscreen.dtbo
644 1001:1001 ./overlays/piscreen2r.dtbo
644 1001:1001 ./overlays/pisound.dtbo
644 1001:1001 ./overlays/pitft22.dtbo
644 1001:1001 ./overlays/pitft28-capacitive.dtbo
644 1001:1001 ./overlays/pitft28-resistive.dtbo
644 1001:1001 ./overlays/pitft35-resistive.dtbo
644 1001:1001 ./overlays/pps-gpio.dtbo
644 1001:1001 ./overlays/pwm-2chan.dtbo
644 1001:1001 ./overlays/pwm-ir-tx.dtbo
644 1001:1001 ./overlays/pwm.dtbo
644 1001:1001 ./overlays/qca7000.dtbo
644 1001:1001 ./overlays/rotary-encoder.dtbo
644 1001:1001 ./overlays/rpi-backlight.dtbo
644 1001:1001 ./overlays/rpi-cirrus-wm5102.dtbo
644 1001:1001 ./overlays/rpi-dac.dtbo
644 1001:1001 ./overlays/rpi-display.dtbo
644 1001:1001 ./overlays/rpi-ft5406.dtbo
644 1001:1001 ./overlays/rpi-poe.dtbo
644 1001:1001 ./overlays/rpi-proto.dtbo
644 1001:1001 ./overlays/rpi-sense.dtbo
644 1001:1001 ./overlays/rpi-tv.dtbo
644 1001:1001 ./overlays/rra-digidac1-wm8741-audio.dtbo
644 1001:1001 ./overlays/sc16is750-i2c.dtbo
644 1001:1001 ./overlays/sc16is752-i2c.dtbo
644 1001:1001 ./overlays/sc16is752-spi1.dtbo
644 1001:1001 ./overlays/sdhost.dtbo
644 1001:1001 ./overlays/sdio.dtbo
644 1001:1001 ./overlays/sdtweak.dtbo
644 1001:1001 ./overlays/smi-dev.dtbo
644 1001:1001 ./overlays/smi-nand.dtbo
644 1001:1001 ./overlays/smi.dtbo
644 1001:1001 ./overlays/spi-gpio35-39.dtbo
644 1001:1001 ./overlays/spi-gpio40-45.dtbo
644 1001:1001 ./overlays/spi-rtc.dtbo
644 1001:1001 ./overlays/spi0-cs.dtbo
644 1001:1001 ./overlays/spi0-hw-cs.dtbo
644 1001:1001 ./overlays/spi1-1cs.dtbo
644 1001:1001 ./overlays/spi1-2cs.dtbo
644 1001:1001 ./overlays/spi1-3cs.dtbo
644 1001:1001 ./overlays/spi2-1cs.dtbo
644 1001:1001 ./overlays/spi2-2cs.dtbo
644 1001:1001 ./overlays/spi2-3cs.dtbo
644 1001:1001 ./overlays/spi3-1cs.dtbo
644 1001:1001 ./overlays/spi3-2cs.dtbo
644 1001:1001 ./overlays/spi4-1cs.dtbo
644 1001:1001 ./overlays/spi4-2cs.dtbo
644 1001:1001 ./overlays/spi5-1cs.dtbo
644 1001:1001 ./overlays/spi5-2cs.dtbo
644 1001:1001 ./overlays/spi6-1cs.dtbo
644 1001:1001 ./overlays/spi6-2cs.dtbo
644 1001:1001 ./overlays/ssd1306.dtbo
644 1001:1001 ./overlays/superaudioboard.dtbo
644 1001:1001 ./overlays/sx150x.dtbo
644 1001:1001 ./overlays/tc358743-audio.dtbo
644 1001:1001 ./overlays/tc358743.dtbo
644 1001:1001 ./overlays/tinylcd35.dtbo
644 1001:1001 ./overlays/tpm-slb9670.dtbo
644 1001:1001 ./overlays/uart0.dtbo
644 1001:1001 ./overlays/uart1.dtbo
644 1001:1001 ./overlays/uart2.dtbo
644 1001:1001 ./overlays/uart3.dtbo
644 1001:1001 ./overlays/uart4.dtbo
644 1001:1001 ./overlays/uart5.dtbo
644 1001:1001 ./overlays/udrc.dtbo
644 1001:1001 ./overlays/upstream.dtbo
644 1001:1001 ./overlays/vc4-fkms-v3d.dtbo
644 1001:1001 ./overlays/vc4-kms-kippah-7inch.dtbo
644 1001:1001 ./overlays/vc4-kms-v3d.dtbo
644 1001:1001 ./overlays/vga666.dtbo
644 1001:1001 ./overlays/w1-gpio-pullup.dtbo
644 1001:1001 ./overlays/w1-gpio.dtbo
644 1001:1001 ./overlays/w5500.dtbo
644 1001:1001 ./overlays/wittypi.dtbo
644 1001:1001 ./start.elf
644 1001:1001 ./start4.elf
644 1001:1001 ./start4cd.elf
644 1001:1001 ./start4db.elf
644 1001:1001 ./start4x.elf
644 1001:1001 ./start_cd.elf
644 1001:1001 ./start_db.elf
644 1001:1001 ./start_x.elf
755 1001:1001 .
755 1001:1001 ./overlays
console=serial0,115200 console=tty1 root=PARTUUID=ea7d04d6-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet init=/usr/lib/raspi-config/init_resize.sh splash plymouth.ignore-serial-consoles
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720
# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2
# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4
# uncomment for composite PAL
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800
# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
# Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18
# Additional overlays and parameters are documented /boot/overlays/README
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
[all]
#dtoverlay=vc4-fkms-v3d
Raspberry Pi reference 2020-02-13
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 5f884374b6ac6e155330c58caa1fb7249b8badf1, stage4
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian