main/bootrr: new aport (MR 4420)
bootrr is a simple shell script tool for validating that a given board has booted correctly. It checks that all expected drivers are loaded. Signed-off-by: Caleb Connolly <caleb@connolly.tech>
This commit is contained in:
parent
bcd6fc9c32
commit
2204c0a390
5 changed files with 554 additions and 0 deletions
3
main/bootrr/00-bootrr.files
Normal file
3
main/bootrr/00-bootrr.files
Normal file
|
@ -0,0 +1,3 @@
|
|||
/usr/bin/bootrr
|
||||
/usr/bin/bootrr-generate-template
|
||||
/usr/libexec/bootrr/
|
4
main/bootrr/00-bootrr.sh
Normal file
4
main/bootrr/00-bootrr.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh -e
|
||||
# Description: bootrr sanity check
|
||||
|
||||
bootrr
|
|
@ -0,0 +1,106 @@
|
|||
From 15802fb2456736b46a25622244d1080a87320d3c Mon Sep 17 00:00:00 2001
|
||||
From: Caleb Connolly <caleb.connolly@linaro.org>
|
||||
Date: Fri, 5 May 2023 20:55:23 +0100
|
||||
Subject: [PATCH 1/2] bin: generate: use POSIX sh and support spaces
|
||||
|
||||
Handles drivers with spaces in their names, and simplify slightly by
|
||||
using globbing to unwrap the bus for loop.
|
||||
|
||||
It's necessary to add the final '*' in the "for driver in" loop in
|
||||
bootrr-generate-template on POSIX sh.
|
||||
|
||||
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
|
||||
---
|
||||
bin/bootrr-generate-template | 30 +++++++++++++++---------------
|
||||
helpers/assert_device_present | 4 ++--
|
||||
helpers/assert_driver_present | 2 +-
|
||||
helpers/bootrr | 2 +-
|
||||
4 files changed, 19 insertions(+), 19 deletions(-)
|
||||
|
||||
diff --git a/bin/bootrr-generate-template b/bin/bootrr-generate-template
|
||||
index 67c337a9aacb..42866dc5982d 100755
|
||||
--- a/bin/bootrr-generate-template
|
||||
+++ b/bin/bootrr-generate-template
|
||||
@@ -16,25 +16,25 @@ if [ -f /sys/devices/system/cpu/cpuidle/current_driver ]; then
|
||||
fi
|
||||
|
||||
# Find drivers with bound devices
|
||||
-for bus in $(ls /sys/bus) ; do
|
||||
- for driver in $(ls /sys/bus/${bus}/drivers) ; do
|
||||
- devs=$(find /sys/bus/${bus}/drivers/${driver} -type l |
|
||||
- grep -v module$)
|
||||
- if [ "${devs}" = "" ]; then
|
||||
- continue
|
||||
- fi
|
||||
+for driver_path in /sys/bus/*/drivers/* ; do
|
||||
+ devs=$(find "$driver_path" -type l -printf "\"%p\" " |
|
||||
+ grep -v module$)
|
||||
+ if [ "${devs}" = "" ]; then
|
||||
+ continue
|
||||
+ fi
|
||||
|
||||
- # Check for the driver
|
||||
- echo assert_driver_present ${driver}-driver-present ${driver}
|
||||
+ driver="$(basename "$driver_path")"
|
||||
|
||||
- # Check for each instance of the driver
|
||||
- for dev in ${devs} ; do
|
||||
- d=$(cd ${dev} ; pwd -P | sed s,.*/,,)
|
||||
- echo assert_device_present ${d}-probed ${driver} ${d}
|
||||
- done
|
||||
+ # Check for the driver
|
||||
+ echo assert_driver_present \"${driver}-driver-present\" \"${driver}\"
|
||||
|
||||
- echo
|
||||
+ # Check for each instance of the driver
|
||||
+ find "$driver_path" -type l | grep -v module$ | while read -r dev ; do
|
||||
+ d=$(cd ${dev} ; pwd -P | sed s,.*/,,)
|
||||
+ echo assert_device_present ${d}-probed \"${driver}\" ${d}
|
||||
done
|
||||
+
|
||||
+ echo
|
||||
done
|
||||
|
||||
# Sound card display names are symbolic links to their numbered
|
||||
diff --git a/helpers/assert_device_present b/helpers/assert_device_present
|
||||
index 57151c117d90..acfd1a2bc59d 100755
|
||||
--- a/helpers/assert_device_present
|
||||
+++ b/helpers/assert_device_present
|
||||
@@ -12,7 +12,7 @@ if [ -z "${TEST_CASE_ID}" -o -z "${DRIVER}" -o -z "${DEVICE}" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
-timeout ${TIMEOUT} [ -d /sys/bus/*/drivers/${DRIVER} ] || test_report_exit blocked
|
||||
-timeout ${TIMEOUT} [ -L /sys/bus/*/drivers/${DRIVER}/${DEVICE} ] || test_report_exit fail
|
||||
+timeout ${TIMEOUT} [ -d /sys/bus/*/drivers/"${DRIVER}" ] || test_report_exit blocked
|
||||
+timeout ${TIMEOUT} [ -L /sys/bus/*/drivers/"${DRIVER}"/"${DEVICE}" ] || test_report_exit fail
|
||||
|
||||
test_report_exit pass
|
||||
diff --git a/helpers/assert_driver_present b/helpers/assert_driver_present
|
||||
index b7c48199d8f9..2927bffe6ea2 100755
|
||||
--- a/helpers/assert_driver_present
|
||||
+++ b/helpers/assert_driver_present
|
||||
@@ -11,6 +11,6 @@ if [ -z "${TEST_CASE_ID}" -o -z "${DRIVER}" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
-timeout ${TIMEOUT} [ -d /sys/bus/*/drivers/${DRIVER} ] || test_report_exit fail
|
||||
+timeout ${TIMEOUT} [ -d /sys/bus/*/drivers/"${DRIVER}" ] || test_report_exit fail
|
||||
|
||||
test_report_exit pass
|
||||
diff --git a/helpers/bootrr b/helpers/bootrr
|
||||
index f5768543681f..f5aad59db0ac 100644
|
||||
--- a/helpers/bootrr
|
||||
+++ b/helpers/bootrr
|
||||
@@ -4,7 +4,7 @@ test_report_exit() {
|
||||
TEST_RESULT=$1
|
||||
command -v lava-test-case
|
||||
if [ "$?" -eq 0 ]; then
|
||||
- lava-test-case ${TEST_CASE_ID} --result ${TEST_RESULT}
|
||||
+ lava-test-case "${TEST_CASE_ID}" --result ${TEST_RESULT}
|
||||
else
|
||||
echo "<LAVA_SIGNAL_TESTCASE TEST_CASE_ID=${TEST_CASE_ID} RESULT=${TEST_RESULT}>"
|
||||
fi
|
||||
--
|
||||
2.42.0
|
||||
|
396
main/bootrr/0002-boards-support-OnePlus-6-6T.patch
Normal file
396
main/bootrr/0002-boards-support-OnePlus-6-6T.patch
Normal file
|
@ -0,0 +1,396 @@
|
|||
From 624169ad57f6880c96349e1a67ef2c103528ec54 Mon Sep 17 00:00:00 2001
|
||||
From: Caleb Connolly <caleb.connolly@linaro.org>
|
||||
Date: Mon, 25 Sep 2023 14:53:18 +0100
|
||||
Subject: [PATCH 2/2] boards: support OnePlus 6/6T
|
||||
|
||||
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
|
||||
---
|
||||
boards/oneplus,enchilada | 6 +
|
||||
boards/oneplus,fajita | 2 +
|
||||
boards/oneplus,oneplus6 | 352 +++++++++++++++++++++++++++++++++++++++
|
||||
3 files changed, 360 insertions(+)
|
||||
create mode 100755 boards/oneplus,enchilada
|
||||
create mode 100755 boards/oneplus,fajita
|
||||
create mode 100644 boards/oneplus,oneplus6
|
||||
|
||||
diff --git a/boards/oneplus,enchilada b/boards/oneplus,enchilada
|
||||
new file mode 100755
|
||||
index 000000000000..48b828e3bc47
|
||||
--- /dev/null
|
||||
+++ b/boards/oneplus,enchilada
|
||||
@@ -0,0 +1,6 @@
|
||||
+#!/bin/sh
|
||||
+
|
||||
+source $(dirname $0)/oneplus,oneplus6
|
||||
+
|
||||
+assert_driver_present max98927-driver-present max98927
|
||||
+assert_device_present 4-003a-probed max98927 4-003a
|
||||
diff --git a/boards/oneplus,fajita b/boards/oneplus,fajita
|
||||
new file mode 100755
|
||||
index 000000000000..a8a55c412d12
|
||||
--- /dev/null
|
||||
+++ b/boards/oneplus,fajita
|
||||
@@ -0,0 +1,2 @@
|
||||
+source $(dirname $0)/oneplus,oneplus6
|
||||
+
|
||||
diff --git a/boards/oneplus,oneplus6 b/boards/oneplus,oneplus6
|
||||
new file mode 100644
|
||||
index 000000000000..1c66bb979e07
|
||||
--- /dev/null
|
||||
+++ b/boards/oneplus,oneplus6
|
||||
@@ -0,0 +1,352 @@
|
||||
+assert_cpufreq_enabled cpufreq-enabled 7
|
||||
+assert_cpuidle_enabled cpuidle-enabled 7
|
||||
+assert_driver_present coresight-dynamic-funnel-driver-present coresight-dynamic-funnel
|
||||
+assert_device_present 6043000.funnel-probed coresight-dynamic-funnel 6043000.funnel
|
||||
+assert_device_present 6041000.funnel-probed coresight-dynamic-funnel 6041000.funnel
|
||||
+assert_device_present 7800000.funnel-probed coresight-dynamic-funnel 7800000.funnel
|
||||
+assert_device_present 7810000.funnel-probed coresight-dynamic-funnel 7810000.funnel
|
||||
+assert_device_present 6045000.funnel-probed coresight-dynamic-funnel 6045000.funnel
|
||||
+
|
||||
+assert_driver_present coresight-dynamic-replicator-driver-present coresight-dynamic-replicator
|
||||
+assert_device_present 6046000.replicator-probed coresight-dynamic-replicator 6046000.replicator
|
||||
+
|
||||
+assert_driver_present coresight-stm-driver-present coresight-stm
|
||||
+assert_device_present 6002000.stm-probed coresight-stm 6002000.stm
|
||||
+
|
||||
+assert_driver_present coresight-tmc-driver-present coresight-tmc
|
||||
+assert_device_present 6048000.etr-probed coresight-tmc 6048000.etr
|
||||
+assert_device_present 6047000.etf-probed coresight-tmc 6047000.etf
|
||||
+
|
||||
+assert_driver_present bq27xxx-battery-driver-present bq27xxx-battery
|
||||
+assert_device_present 10-0055-probed bq27xxx-battery 10-0055
|
||||
+
|
||||
+assert_driver_present rmi4_i2c-driver-present rmi4_i2c
|
||||
+assert_device_present 12-0020-probed rmi4_i2c 12-0020
|
||||
+
|
||||
+assert_driver_present panel-oneplus6-driver-present panel-oneplus6
|
||||
+assert_device_present ae94000.dsi.0-probed panel-oneplus6 ae94000.dsi.0
|
||||
+
|
||||
+assert_driver_present adreno-driver-present adreno
|
||||
+assert_device_present 5000000.gpu-probed adreno 5000000.gpu
|
||||
+
|
||||
+assert_driver_present alarmtimer-driver-present alarmtimer
|
||||
+assert_device_present alarmtimer.0.auto-probed alarmtimer alarmtimer.0.auto
|
||||
+
|
||||
+assert_driver_present arm-smmu-driver-present arm-smmu
|
||||
+assert_device_present 5040000.iommu-probed arm-smmu 5040000.iommu
|
||||
+assert_device_present 15000000.iommu-probed arm-smmu 15000000.iommu
|
||||
+
|
||||
+assert_driver_present armv8-pmu-driver-present armv8-pmu
|
||||
+assert_device_present pmu-probed armv8-pmu pmu
|
||||
+
|
||||
+assert_driver_present ath10k_snoc-driver-present ath10k_snoc
|
||||
+assert_device_present 18800000.wifi-probed ath10k_snoc 18800000.wifi
|
||||
+
|
||||
+assert_driver_present bam-dma-engine-driver-present bam-dma-engine
|
||||
+assert_device_present 17184000.dma-controller-probed bam-dma-engine 17184000.dma-controller
|
||||
+assert_device_present 1dc4000.dma-controller-probed bam-dma-engine 1dc4000.dma-controller
|
||||
+
|
||||
+assert_driver_present bcm_voter-driver-present bcm_voter
|
||||
+assert_device_present 179c0000.rsc:bcm-voter-probed bcm_voter 179c0000.rsc:bcm-voter
|
||||
+
|
||||
+assert_driver_present clk-rpmh-driver-present clk-rpmh
|
||||
+assert_device_present 179c0000.rsc:clock-controller-probed clk-rpmh 179c0000.rsc:clock-controller
|
||||
+
|
||||
+assert_driver_present cmd-db-driver-present cmd-db
|
||||
+assert_device_present 85fe0000.aop-cmd-db-mem-probed cmd-db 85fe0000.aop-cmd-db-mem
|
||||
+
|
||||
+assert_driver_present disp_cc-sdm845-driver-present disp_cc-sdm845
|
||||
+assert_device_present af00000.clock-controller-probed disp_cc-sdm845 af00000.clock-controller
|
||||
+
|
||||
+assert_driver_present dwc3-driver-present dwc3
|
||||
+assert_device_present a600000.usb-probed dwc3 a600000.usb
|
||||
+
|
||||
+assert_driver_present dwc3-qcom-driver-present dwc3-qcom
|
||||
+assert_device_present a6f8800.usb-probed dwc3-qcom a6f8800.usb
|
||||
+
|
||||
+assert_driver_present gcc-sdm845-driver-present gcc-sdm845
|
||||
+assert_device_present 100000.clock-controller-probed gcc-sdm845 100000.clock-controller
|
||||
+
|
||||
+assert_driver_present geni_i2c-driver-present geni_i2c
|
||||
+assert_device_present 890000.i2c-probed geni_i2c 890000.i2c
|
||||
+assert_device_present a88000.i2c-probed geni_i2c a88000.i2c
|
||||
+assert_device_present a90000.i2c-probed geni_i2c a90000.i2c
|
||||
+
|
||||
+assert_driver_present geni_se_qup-driver-present geni_se_qup
|
||||
+assert_device_present ac0000.geniqup-probed geni_se_qup ac0000.geniqup
|
||||
+assert_device_present 8c0000.geniqup-probed geni_se_qup 8c0000.geniqup
|
||||
+
|
||||
+assert_driver_present gpio-keys-driver-present gpio-keys
|
||||
+assert_device_present gpio-hall-sensor-probed gpio-keys gpio-hall-sensor
|
||||
+assert_device_present gpio-keys-probed gpio-keys gpio-keys
|
||||
+assert_device_present alert-slider-probed gpio-keys alert-slider
|
||||
+
|
||||
+assert_driver_present leds-qcom-flash-driver-present leds-qcom-flash
|
||||
+assert_device_present c440000.spmi:pmic@3:led-controller@d300-probed leds-qcom-flash c440000.spmi:pmic@3:led-controller@d300
|
||||
+
|
||||
+assert_driver_present msm-mdss-driver-present msm-mdss
|
||||
+assert_device_present ae00000.display-subsystem-probed msm-mdss ae00000.display-subsystem
|
||||
+
|
||||
+assert_driver_present msm_dpu-driver-present msm_dpu
|
||||
+assert_device_present ae01000.disp<73>ay-controller-probed msm_dpu ae01000.display-controller
|
||||
+
|
||||
+assert_driver_present msm_dsi-driver-present msm_dsi
|
||||
+assert_device_present ae94000.dsi-probed msm_dsi ae94000.dsi
|
||||
+
|
||||
+assert_driver_present msm_dsi_phy-driver-present msm_dsi_phy
|
||||
+assert_device_present ae94400.phy-probed msm_dsi_phy ae94400.phy
|
||||
+
|
||||
+assert_driver_present osm-l3-driver-present osm-l3
|
||||
+assert_device_present 17d41000.interconnect-probed osm-l3 17d41000.interconnect
|
||||
+
|
||||
+assert_driver_present pm8916-pon-driver-present pm8916-pon
|
||||
+assert_device_present c440000.spmi:pmic@0:pon@800-probed pm8916-pon c440000.spmi:pmic@0:pon@800
|
||||
+
|
||||
+assert_driver_present pm8941-pwrkey-driver-present pm8941-pwrkey
|
||||
+assert_device_present c440000.spmi:pmic@0:pon@800:pwrkey-probed pm8941-pwrkey c440000.spmi:pmic@0:pon@800:pwrkey
|
||||
+
|
||||
+assert_driver_present psci-cpuidle-driver-present psci-cpuidle
|
||||
+assert_device_present psci-cpuidle-probed psci-cpuidle psci-cpuidle
|
||||
+
|
||||
+assert_driver_present psci-cpuidle-domain-driver-present psci-cpuidle-domain
|
||||
+assert_device_present psci-probed psci-cpuidle-domain psci
|
||||
+
|
||||
+assert_driver_present qcom,fastrpc-cb-driver-present qcom,fastrpc-cb
|
||||
+assert_device_present remoteproc-adsp:glink-edge:fastrpc:compute-cb@4-probed qcom,fastrpc-cb remoteproc-adsp:glink-edge:fastrpc:compute-cb@4
|
||||
+assert_device_present remoteproc-adsp:glink-edge:fastrpc:compute-cb@3-probed qcom,fastrpc-cb remoteproc-adsp:glink-edge:fastrpc:compute-cb@3
|
||||
+
|
||||
+assert_driver_present qcom,qfprom-driver-present qcom,qfprom
|
||||
+assert_device_present 784000.qfprom-probed qcom,qfprom 784000.qfprom
|
||||
+
|
||||
+assert_driver_present qcom,slim-ngd-driver-present qcom,slim-ngd
|
||||
+assert_device_present qcom,slim-ngd.1-probed qcom,slim-ngd qcom,slim-ngd.1
|
||||
+
|
||||
+assert_driver_present qcom,slim-ngd-ctrl-driver-present qcom,slim-ngd-ctrl
|
||||
+assert_device_present 171c0000.slim-ngd-probed qcom,slim-ngd-ctrl 171c0000.slim-ngd
|
||||
+
|
||||
+assert_driver_present qcom-bwmon-driver-present qcom-bwmon
|
||||
+assert_device_present 1436400.pmu-probed qcom-bwmon 1436400.pmu
|
||||
+assert_device_present 114a000.pmu-probed qcom-bwmon 114a000.pmu
|
||||
+
|
||||
+assert_driver_present qcom-cpufreq-hw-driver-present qcom-cpufreq-hw
|
||||
+assert_device_present 17d43000.cpufreq-probed qcom-cpufreq-hw 17d43000.cpufreq
|
||||
+
|
||||
+assert_driver_present qcom-lab-ibb-regulator-driver-present qcom-lab-ibb-regulator
|
||||
+assert_device_present c440000.spmi:pmic@3:labibb-probed qcom-lab-ibb-regulator c440000.spmi:pmic@3:labibb
|
||||
+
|
||||
+assert_driver_present qcom-llcc-driver-present qcom-llcc
|
||||
+assert_device_present 1100000.system-cache-controller-probed qcom-llcc 1100000.system-cache-controller
|
||||
+
|
||||
+assert_driver_present qcom-lmh-driver-present qcom-lmh
|
||||
+assert_device_present 17d70800.lmh-probed qcom-lmh 17d70800.lmh
|
||||
+assert_device_present 17d78800.lmh-probed qcom-lmh 17d78800.lmh
|
||||
+
|
||||
+assert_driver_present qcom-pmi8998!pm660-charger-driver-present qcom-pmi8998!pm660-charger
|
||||
+assert_device_present c440000.spmi:pmic@2:charger@1000-probed qcom-pmi8998!pm660-charger c440000.spmi:pmic@2:charger@1000
|
||||
+
|
||||
+assert_driver_present qcom-q6v5-mss-driver-present qcom-q6v5-mss
|
||||
+assert_device_present 4080000.remoteproc-probed qcom-q6v5-mss 4080000.remoteproc
|
||||
+
|
||||
+assert_driver_present qcom-qmp-ufs-phy-driver-present qcom-qmp-ufs-phy
|
||||
+assert_device_present 1d87000.phy-probed qcom-qmp-ufs-phy 1d87000.phy
|
||||
+
|
||||
+assert_driver_present qcom-qusb2-phy-driver-present qcom-qusb2-phy
|
||||
+assert_device_present 88e2000.phy-probed qcom-qusb2-phy 88e2000.phy
|
||||
+
|
||||
+assert_driver_present qcom-rpmh-regulator-driver-present qcom-rpmh-regulator
|
||||
+assert_device_present 179c0000.rsc:regulators-1-probed qcom-rpmh-regulator 179c0000.rsc:regulators-1
|
||||
+assert_device_present 179c0000.rsc:regulators-2-probed qcom-rpmh-regulator 179c0000.rsc:regulators-2
|
||||
+assert_device_present 179c0000.rsc:regulators-0-probed qcom-rpmh-regulator 179c0000.rsc:regulators-0
|
||||
+
|
||||
+assert_driver_present qcom-rpmhpd-driver-present qcom-rpmhpd
|
||||
+assert_device_present 179c0000.rsc:power-controller-probed qcom-rpmhpd 179c0000.rsc:power-controller
|
||||
+
|
||||
+assert_driver_present qcom-smem-driver-present qcom-smem
|
||||
+assert_device_present 86000000.smem-probed qcom-smem 86000000.smem
|
||||
+
|
||||
+assert_driver_present qcom-socinfo-driver-present qcom-socinfo
|
||||
+assert_device_present qcom-socinfo-probed qcom-socinfo qcom-socinfo
|
||||
+
|
||||
+assert_driver_present qcom-soundwire-driver-present qcom-soundwire
|
||||
+assert_device_present wcd934x-soundwire.3.auto-probed qcom-soundwire wcd934x-soundwire.3.auto
|
||||
+
|
||||
+assert_driver_present qcom-spmi-adc5-driver-present qcom-spmi-adc5
|
||||
+assert_device_present c440000.spmi:pmic@0:adc@3100-probed qcom-spmi-adc5 c440000.spmi:pmic@0:adc@3100
|
||||
+
|
||||
+assert_driver_present qcom-spmi-gpio-driver-present qcom-spmi-gpio
|
||||
+assert_device_present c440000.spmi:pmic@0:gpio@c000-probed qcom-spmi-gpio c440000.spmi:pmic@0:gpio@c000
|
||||
+assert_device_present c440000.spmi:pmic@2:gpio@c000-probed qcom-spmi-gpio c440000.spmi:pmic@2:gpio@c000
|
||||
+
|
||||
+assert_driver_present qcom-spmi-lpg-driver-present qcom-spmi-lpg
|
||||
+assert_device_present c440000.spmi:pmic@3:pwm-probed qcom-spmi-lpg c440000.spmi:pmic@3:pwm
|
||||
+
|
||||
+assert_driver_present qcom-spmi-rradc-driver-present qcom-spmi-rradc
|
||||
+assert_device_present c440000.spmi:pmic@2:adc@4500-probed qcom-spmi-rradc c440000.spmi:pmic@2:adc@4500
|
||||
+
|
||||
+assert_driver_present qcom-tsens-driver-present qcom-tsens
|
||||
+assert_device_present c265000.thermal-sensor-probed qcom-tsens c265000.thermal-sensor
|
||||
+assert_device_present c263000.thermal-sensor-probed qcom-tsens c263000.thermal-sensor
|
||||
+
|
||||
+assert_driver_present qcom_aoss_qmp-driver-present qcom_aoss_qmp
|
||||
+assert_device_present c300000.power-management-probed qcom_aoss_qmp c300000.power-management
|
||||
+
|
||||
+assert_driver_present qcom_aoss_reset-driver-present qcom_aoss_reset
|
||||
+assert_device_present c2a0000.reset-controller-probed qcom_aoss_reset c2a0000.reset-controller
|
||||
+
|
||||
+assert_driver_present qcom_apcs_ipc-driver-present qcom_apcs_ipc
|
||||
+assert_device_present 17990000.mailbox-probed qcom_apcs_ipc 17990000.mailbox
|
||||
+
|
||||
+assert_driver_present qcom_geni_serial-driver-present qcom_geni_serial
|
||||
+assert_device_present 898000.serial-probed qcom_geni_serial 898000.serial
|
||||
+assert_device_present a84000.serial-probed qcom_geni_serial a84000.serial
|
||||
+
|
||||
+assert_driver_present qcom_hwspinlock-driver-present qcom_hwspinlock
|
||||
+assert_device_present 1f40000.hwlock-probed qcom_hwspinlock 1f40000.hwlock
|
||||
+
|
||||
+assert_driver_present qcom_pdc-driver-present qcom_pdc
|
||||
+assert_device_present b220000.interrupt-controller-probed qcom_pdc b220000.interrupt-controller
|
||||
+
|
||||
+assert_driver_present qcom_pdc_reset-driver-present qcom_pdc_reset
|
||||
+assert_device_present b2e0000.reset-controller-probed qcom_pdc_reset b2e0000.reset-controller
|
||||
+
|
||||
+assert_driver_present qcom_q6v5_pas-driver-present qcom_q6v5_pas
|
||||
+assert_device_present remoteproc-cdsp-probed qcom_q6v5_pas remoteproc-cdsp
|
||||
+assert_device_present 5c00000.remoteproc-probed qcom_q6v5_pas 5c00000.remoteproc
|
||||
+assert_device_present remoteproc-adsp-probed qcom_q6v5_pas remoteproc-adsp
|
||||
+
|
||||
+assert_driver_present qcom_rmtfs_mem-driver-present qcom_rmtfs_mem
|
||||
+assert_device_present f5b01000.rmtfs-mem-probed qcom_rmtfs_mem f5b01000.rmtfs-mem
|
||||
+
|
||||
+assert_driver_present qcom_rng-driver-present qcom_rng
|
||||
+assert_device_present 793000.rng-probed qcom_rng 793000.rng
|
||||
+
|
||||
+assert_driver_present qcom_scm-driver-present qcom_scm
|
||||
+assert_device_present firmware:scm-probed qcom_scm firmware:scm
|
||||
+
|
||||
+assert_driver_present qcom_smp2p-driver-present qcom_smp2p
|
||||
+assert_device_present smp2p-mpss-probed qcom_smp2p smp2p-mpss
|
||||
+assert_device_present smp2p-slpi-probed qcom_smp2p smp2p-slpi
|
||||
+assert_device_present smp2p-lpass-probed qcom_smp2p smp2p-lpass
|
||||
+assert_device_present smp2p-cdsp-probed qcom_smp2p smp2p-cdsp
|
||||
+
|
||||
+assert_driver_present qcom_stats-driver-present qcom_stats
|
||||
+assert_device_present c3f0000.sram-probed qcom_stats c3f0000.sram
|
||||
+
|
||||
+assert_driver_present qcom_wdt-driver-present qcom_wdt
|
||||
+assert_device_present 17980000.watchdog-probed qcom_wdt 17980000.watchdog
|
||||
+
|
||||
+assert_driver_present qcrypto-driver-present qcrypto
|
||||
+assert_device_present 1dfa000.crypto-probed qcrypto 1dfa000.crypto
|
||||
+
|
||||
+assert_driver_present qnoc-sdm845-driver-present qnoc-sdm845
|
||||
+assert_device_present 1500000.interconnect-probed qnoc-sdm845 1500000.interconnect
|
||||
+assert_device_present 1380000.interconnect-probed qnoc-sdm845 1380000.intercon<6F>ect
|
||||
+assert_device_present 1620000.interconnect-probed qnoc-sdm845 1620000.interconnect
|
||||
+assert_device_present 17900000.interconnect-probed qnoc-sdm845 17900000.interconnect
|
||||
+assert_device_present 16e0000.interconnect-probed qnoc-sdm845 16e0000.interconnect
|
||||
+assert_device_present 1740000.interconnect-probed qnoc-sdm845 1740000.interconnect
|
||||
+assert_device_present 1700000.interconnect-probed qnoc-sdm845 1700000.interconnect
|
||||
+assert_device_present 14e0000.interconnect-probed qnoc-sdm845 14e0000.interconnect
|
||||
+
|
||||
+assert_driver_present ramoops-driver-present ramoops
|
||||
+assert_device_present ac300000.ramoops-probed ramoops ac300000.ramoops
|
||||
+
|
||||
+assert_driver_present reg-dummy-driver-present reg-dummy
|
||||
+assert_device_present reg-dummy-probed reg-dummy reg-dummy
|
||||
+
|
||||
+assert_driver_present reg-fixed-voltage-driver-present reg-fixed-voltage
|
||||
+assert_device_present vph-pwr-regulator-probed reg-fixed-voltage vph-pwr-regulator
|
||||
+assert_device_present ts-1p8-regulator-probed reg-fixed-voltage ts-1p8-regulator
|
||||
+assert_device_present pm8998-smps4-probed reg-fixed-voltage pm8998-smps4
|
||||
+
|
||||
+assert_driver_present rpmh-driver-present rpmh
|
||||
+assert_device_present 179c0000.rsc-probed rpmh 179c0000.rsc
|
||||
+
|
||||
+assert_driver_present rtc-pm8xxx-driver-present rtc-pm8xxx
|
||||
+assert_device_present c440000.spmi:pmic@0:rtc@6000-probed rtc-pm8xxx c440000.spmi:pmic@0:rtc@6000
|
||||
+
|
||||
+assert_driver_present sdm845-camcc-driver-present sdm845-camcc
|
||||
+assert_device_present ad00000.clock-controller-probed sdm845-camcc ad00000.clock-controller
|
||||
+
|
||||
+assert_driver_present sdm845-gpucc-driver-present sdm845-gpucc
|
||||
+assert_device_present 5090000.clock-controller-probed sdm845-gpucc 5090000.clock-controller
|
||||
+
|
||||
+assert_driver_present sdm845-pinctrl-driver-present sdm845-pinctrl
|
||||
+assert_device_present 3400000.pinctrl-probed sdm845-pinctrl 3400000.pinctrl
|
||||
+
|
||||
+assert_driver_present sdm845-videocc-driver-present sdm845-videocc
|
||||
+assert_device_present ab00000.clock-controller-probed sdm845-videocc ab00000.clock-controller
|
||||
+
|
||||
+assert_driver_present serial8250-driver-present serial8250
|
||||
+assert_device_present serial8250-probed serial8250 serial8250
|
||||
+
|
||||
+assert_driver_present simple-pm-bus-driver-present simple-pm-bus
|
||||
+assert_device_present soc@0-probed simple-pm-bus soc@0
|
||||
+
|
||||
+assert_driver_present snd-soc-dummy-driver-present snd-soc-dummy
|
||||
+assert_device_present snd-soc-dummy-probed snd-soc-dummy snd-soc-dummy
|
||||
+
|
||||
+assert_driver_present spmi-temp-alarm-driver-present spmi-temp-alarm
|
||||
+assert_device_present c440000.spmi:pmic@0:temp-alarm@2400-probed spmi-temp-alarm c440000.spmi:pmic@0:temp-alarm@2400
|
||||
+
|
||||
+assert_driver_present spmi_pmic_arb-driver-present spmi_pmic_arb
|
||||
+assert_device_present c440000.spmi-probed spmi_pmic_arb c440000.spmi
|
||||
+
|
||||
+assert_driver_present ufshcd-qcom-driver-present ufshcd-qcom
|
||||
+assert_device_present 1d84000.ufshc-probed ufshcd-qcom 1d84000.ufshc
|
||||
+
|
||||
+assert_driver_present wcd934x-codec-driver-present wcd934x-codec
|
||||
+assert_device_present wcd934x-codec.1.auto-probed wcd934x-codec wcd934x-codec.1.auto
|
||||
+
|
||||
+assert_driver_present wcd934x-gpio-driver-present wcd934x-gpio
|
||||
+assert_device_present wcd934x-gpio.2.auto-probed wcd934x-gpio wcd934x-gpio.2.auto
|
||||
+
|
||||
+assert_driver_present rmi4_f01-driver-present rmi4_f01
|
||||
+assert_device_present rmi4-00.fn01-probed rmi4_f01 rmi4-00.fn01
|
||||
+
|
||||
+assert_driver_present rmi4_f12-driver-present rmi4_f12
|
||||
+assert_device_present rmi4-00.fn12-probed rmi4_f12 rmi4-00.fn12
|
||||
+
|
||||
+assert_driver_present rmi4_f55-driver-present rmi4_f55
|
||||
+assert_device_present rmi4-00.fn55-probed rmi4_f55 rmi4-00.fn55
|
||||
+
|
||||
+assert_driver_present rmi4_physical-driver-present rmi4_physical
|
||||
+assert_device_present rmi4-00-probed rmi4_physical rmi4-00
|
||||
+
|
||||
+assert_driver_present qcom,apr-driver-present qcom,apr
|
||||
+assert_device_present remoteproc-adsp:glink-edge.apr_audio_svc.-1.-1-probed qcom,apr remoteproc-adsp:glink-edge.apr_audio_svc.-1.-1
|
||||
+
|
||||
+assert_driver_present qcom,fastrpc-driver-present qcom,fastrpc
|
||||
+assert_device_present remoteproc-ad<61>p:glink-edge.fastrpcglink-apps-dsp.-1.-1-probed qcom,fastrpc remoteproc-adsp:glink-edge.fastrpcglink-apps-dsp.-1.-1
|
||||
+
|
||||
+assert_driver_present qcom_glink_ssr-driver-present qcom_glink_ssr
|
||||
+assert_device_present remoteproc-adsp:glink-edge.glink_ssr.-1.-1-probed qcom_glink_ssr remoteproc-adsp:glink-edge.glink_ssr.-1.-1
|
||||
+
|
||||
+assert_driver_present qcom_smd_qrtr-driver-present qcom_smd_qrtr
|
||||
+assert_device_present remoteproc-adsp:glink-edge.IPCRTR.-1.-1-probed qcom_smd_qrtr remoteproc-adsp:glink-edge.IPCRTR.-1.-1
|
||||
+
|
||||
+assert_driver_present rpmsg_ctrl-driver-present rpmsg_ctrl
|
||||
+assert_device_present remoteproc-adsp:glink-edge.rpmsg_ctrl.0.0-probed rpmsg_ctrl remoteproc-adsp:glink-edge.rpmsg_ctrl.0.0
|
||||
+
|
||||
+assert_driver_present sd-driver-present sd
|
||||
+assert_device_present 0:0:0:5-probed sd 0:0:0:5
|
||||
+assert_device_present 0:0:0:3-probed sd 0:0:0:3
|
||||
+assert_device_present 0:0:0:1-probed sd 0:0:0:1
|
||||
+assert_device_present 0:0:0:4-probed sd 0:0:0:4
|
||||
+assert_device_present 0:0:0:2-probed sd 0:0:0:2
|
||||
+assert_device_present 0:0:0:0-probed sd 0:0:0:0
|
||||
+
|
||||
+assert_driver_present ufs_device_wlun-driver-present ufs_device_wlun
|
||||
+assert_device_present 0:0:0:49488-probed ufs_device_wlun 0:0:0:49488
|
||||
+
|
||||
+assert_driver_present hci_uart_qca-driver-present hci_uart_qca
|
||||
+assert_device_present serial0-0-probed hci_uart_qca serial0-0
|
||||
+
|
||||
+assert_driver_present wcd934x-slim-driver-present wcd934x-slim
|
||||
+assert_device_present 217:250:1:0-probed wcd934x-slim 217:250:1:0
|
||||
+
|
||||
+assert_driver_present pmic-spmi-driver-present pmic-spmi
|
||||
+assert_device_present 0-03-probed pmic-spmi 0-03
|
||||
+assert_device_present 0-01-probed pmic-spmi 0-01
|
||||
+assert_device_present 0-02-probed pmic-spmi 0-02
|
||||
+assert_device_present 0-00-probed pmic-spmi 0-00
|
||||
--
|
||||
2.42.0
|
||||
|
45
main/bootrr/APKBUILD
Normal file
45
main/bootrr/APKBUILD
Normal file
|
@ -0,0 +1,45 @@
|
|||
# Maintainer: Caleb Connolly <caleb@connolly.tech>
|
||||
pkgname=bootrr
|
||||
pkgver=0.1_git20230827
|
||||
_commit="cac8008d8ba6ba6e7361e87022d7ac1940b8c8b8"
|
||||
pkgrel=0
|
||||
pkgdesc="A sanity checker for boards under automated test"
|
||||
url="https://github.com/andersson/bootrr"
|
||||
arch="noarch"
|
||||
license="BSD-3-Clause"
|
||||
subpackages="$pkgname:pmtest"
|
||||
source="
|
||||
bootrr-$_commit.tar.gz::https://github.com/andersson/bootrr/archive/$_commit.tar.gz
|
||||
00-bootrr.files
|
||||
00-bootrr.sh
|
||||
0001-bin-generate-use-POSIX-sh-and-support-spaces.patch
|
||||
0002-boards-support-OnePlus-6-6T.patch
|
||||
"
|
||||
builddir="$srcdir/bootrr-$_commit"
|
||||
options="!check"
|
||||
|
||||
build() {
|
||||
make prefix=/usr all
|
||||
}
|
||||
|
||||
package() {
|
||||
make prefix=/usr DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
pmtest() {
|
||||
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-mkinitfs-hook-ci"
|
||||
|
||||
install -Dm755 "$srcdir"/00-bootrr.sh \
|
||||
"$subpkgdir"/usr/libexec/pmos-tests-initramfs/00-bootrr.sh
|
||||
|
||||
install -Dm644 "$srcdir"/00-bootrr.files \
|
||||
"$subpkgdir"/usr/share/mkinitfs/files/00-bootrr.files
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
139f480470518795dba89c1efd1632c595b4a2dba040735d2c1bc6d34f368ad77336a20d6513fac108d9f891d9cec53ee1511bc02e7483563e08954de57e1eff bootrr-cac8008d8ba6ba6e7361e87022d7ac1940b8c8b8.tar.gz
|
||||
bd0ed41c4dba232b6ac211ae58cad83b15a4408829cd8df0a866453b014c8d4b17900d9310e8a2a02248f6da8853bdd2b04ed96c250204def8e086c0ba15b9e7 00-bootrr.files
|
||||
55fc3907afe4ae211020885bc8b3515169b26e6717e537276492bd4ed283af2758b98cba07f9bc26847b147208772feb733344f490bbc836f8c16ecbea7c4a3d 00-bootrr.sh
|
||||
493d615c00125bd1838b8a3afab222561908a4a247595d33b5116c88a354102ef9e2139cc6578a968a73a3062b04d8a42d641d62c8698d23173c76777816c332 0001-bin-generate-use-POSIX-sh-and-support-spaces.patch
|
||||
6f203515aa1536b6aa40dcdfd7f7ab7adfc36559ba513652d92865098f7f0e06757d2fe2d0f66ea05c3fea1f9577673cf13d78afdd21173f812d70937f4eb6fc 0002-boards-support-OnePlus-6-6T.patch
|
||||
"
|
Loading…
Reference in a new issue