Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.

Commit cf690e4

Browse files
committed
buildroot: pi*: Fall back to a stable kernel
The pi-lite image didn't work with the Pi Zero so fall back to the stable kernel revision that's used with the stable firmware that's being used. Tried to add the VEC patches for Pi4 TV out, but got vblank timeouts, so more patches are needed I guess. Use the firmware KMS driver for composite for now. Here's the Pi Zero splats: [ 1.765576] dwc2 20980000.usb: bound driver configfs-gadget [ 1.807676] dwc2 20980000.usb: new device is high-speed [ 2.099457] dwc2 20980000.usb: new device is high-speed [ 2.197538] dwc2 20980000.usb: new device is high-speed [ 2.287200] dwc2 20980000.usb: new address 3 [ 4.248665] ------------[ cut here ]------------ [ 4.248741] WARNING: CPU: 0 PID: 13 at drivers/firmware/raspberrypi.c:64 rpi_firmware_transaction+0xdc/0x128 [ 4.248761] Firmware transaction timeout [ 4.248788] CPU: 0 PID: 13 Comm: kworker/0:2 Not tainted 5.10.43 #2 [ 4.248806] Hardware name: BCM2835 [ 4.248846] Workqueue: events get_values_poll [ 4.248880] Backtrace: [ 4.248940] [<c04c18e4>] (dump_backtrace) from [<c04c1c08>] (show_stack+0x20/0x24) [ 4.248969] r7:00000040 r6:c03f6228 r5:00000009 r4:c05d01f4 [ 4.249003] [<c04c1be8>] (show_stack) from [<c04c601c>] (dump_stack+0x28/0x30) [ 4.249041] [<c04c5ff4>] (dump_stack) from [<c0021210>] (__warn+0xe4/0x10c) [ 4.249063] r5:00000009 r4:c0609ccc [ 4.249097] [<c002112c>] (__warn) from [<c04c22b4>] (warn_slowpath_fmt+0x9c/0xdc) [ 4.249124] r7:c03f6228 r6:00000040 r5:c0609ccc r4:c0609cec [ 4.249163] [<c04c221c>] (warn_slowpath_fmt) from [<c03f6228>] (rpi_firmware_transaction+0xdc/0x128) [ 4.249194] r8:c12ab840 r7:c100a980 r6:00000000 r5:ffffff92 r4:c100a980 [ 4.249228] [<c03f614c>] (rpi_firmware_transaction) from [<c03f6330>] (rpi_firmware_property_list+0xbc/0x17c) [ 4.249254] r6:00001000 r5:00000010 r4:cb000000 [ 4.249289] [<c03f6274>] (rpi_firmware_property_list) from [<c03f6460>] (rpi_firmware_property+0x70/0x118) [ 4.249320] r10:c12ab84c r9:00030046 r8:c100a980 r7:c1171ef0 r6:00000004 r5:00000010 [ 4.249340] r4:c12ab840 [ 4.249375] [<c03f63f0>] (rpi_firmware_property) from [<c03dcf20>] (get_values_poll+0x48/0x15c) [ 4.249405] r10:c1245bd0 r9:00000000 r8:00000000 r7:dbbdb300 r6:00000000 r5:c100a9c0 [ 4.249427] r4:c1245bcc r3:00000004 [ 4.249466] [<c03dced8>] (get_values_poll) from [<c0039dd0>] (process_one_work+0x1cc/0x4a8) [ 4.249489] r5:c100a9c0 r4:c1245bcc [ 4.249520] [<c0039c04>] (process_one_work) from [<c003a0f4>] (worker_thread+0x48/0x54c) [ 4.249552] r10:c0b0a890 r9:00000008 r8:c0b755e0 r7:c0b0a8a4 r6:c100a9d4 r5:c0b0a890 [ 4.249571] r4:c100a9c0 [ 4.249609] [<c003a0ac>] (worker_thread) from [<c0040134>] (kthread+0xfc/0x138) [ 4.249641] r10:c10cfe90 r9:c100a9c0 r8:c003a0ac r7:c1179060 r6:ffffe000 r5:c115f5c0 [ 4.249660] r4:c1179040 [ 4.249694] [<c0040038>] (kthread) from [<c00082ec>] (ret_from_fork+0x14/0x28) [ 4.249715] Exception stack(0xc1171fb0 to 0xc1171ff8) [ 4.249739] 1fa0: 00000000 00000000 00000000 00000000 [ 4.249765] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 4.249790] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 4.249819] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0040038 [ 4.249840] r4:c115f5c0 r3:60000093 [ 4.249859] ---[ end trace 989b4910c2b7085a ]--- [ 4.249925] hwmon hwmon0: Failed to get throttled (-110) [ 12.408705] ------------[ cut here ]------------ [ 12.408782] WARNING: CPU: 0 PID: 13 at drivers/gpu/drm/vc4/vc4_hdmi.c:483 vc4_hdmi_connector_detect+0x1b0/0x248 [ 12.408814] CPU: 0 PID: 13 Comm: kworker/0:2 Tainted: G W 5.10.43 #2 [ 12.408830] Hardware name: BCM2835 [ 12.408860] Workqueue: events output_poll_execute [ 12.408893] Backtrace: [ 12.408949] [<c04c18e4>] (dump_backtrace) from [<c04c1c08>] (show_stack+0x20/0x24) [ 12.408978] r7:000001e3 r6:c0358490 r5:00000009 r4:c05d01f4 [ 12.409013] [<c04c1be8>] (show_stack) from [<c04c601c>] (dump_stack+0x28/0x30) [ 12.409049] [<c04c5ff4>] (dump_stack) from [<c0021210>] (__warn+0xe4/0x10c) [ 12.409071] r5:00000009 r4:c05f9510 [ 12.409106] [<c002112c>] (__warn) from [<c04c2284>] (warn_slowpath_fmt+0x6c/0xdc) [ 12.409132] r7:c0358490 r6:000001e3 r5:c05f9510 r4:00000000 [ 12.409171] [<c04c221c>] (warn_slowpath_fmt) from [<c0358490>] (vc4_hdmi_connector_detect+0x1b0/0x248) [ 12.409202] r8:c1013d50 r7:00000000 r6:c0507438 r5:c1159e00 r4:c1013ab0 [ 12.409254] [<c03582e0>] (vc4_hdmi_connector_detect) from [<c02f9ac4>] (drm_helper_probe_detect_ctx+0xa4/0x144) [ 12.409281] r7:00000000 r6:c0507438 r5:c1013ab0 r4:00000000 [ 12.409316] [<c02f9a20>] (drm_helper_probe_detect_ctx) from [<c02fa75c>] (output_poll_execute+0x128/0x234) [ 12.409342] r6:00000001 r5:c10131a0 r4:c1013ab0 [ 12.409379] [<c02fa634>] (output_poll_execute) from [<c0039dd0>] (process_one_work+0x1cc/0x4a8) [ 12.409410] r10:c10131a4 r9:00000000 r8:00000000 r7:dbbdb300 r6:00000000 r5:c100a9c0 [ 12.409430] r4:c10131a0 [ 12.409459] [<c0039c04>] (process_one_work) from [<c003a0f4>] (worker_thread+0x48/0x54c) [ 12.409491] r10:c0b0a890 r9:00000008 r8:c0b755e0 r7:c0b0a8a4 r6:c100a9d4 r5:c0b0a890 [ 12.409510] r4:c100a9c0 [ 12.409548] [<c003a0ac>] (worker_thread) from [<c0040134>] (kthread+0xfc/0x138) [ 12.409579] r10:c10cfe90 r9:c100a9c0 r8:c003a0ac r7:c1179060 r6:ffffe000 r5:c115f5c0 [ 12.409598] r4:c1179040 [ 12.409630] [<c0040038>] (kthread) from [<c00082ec>] (ret_from_fork+0x14/0x28) [ 12.409650] Exception stack(0xc1171fb0 to 0xc1171ff8) [ 12.409674] 1fa0: 00000000 00000000 00000000 00000000 [ 12.409700] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 12.409725] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 12.409755] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0040038 [ 12.409776] r4:c115f5c0 r3:60000093 [ 12.409795] ---[ end trace 989b4910c2b7085b ]---
1 parent 3451bde commit cf690e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

buildroot/external/configs/raspberrypi-lite_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_GUD_PATH)/board/raspberrypi-lite/po
1010
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_GUD_PATH)/board/raspberrypi-lite/post-image.sh"
1111
BR2_LINUX_KERNEL=y
1212
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
13-
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,86b1bed34352428d0826dff892b3ac06a9016cef)/linux-86b1bed34352428d0826dff892b3ac06a9016cef.tar.gz"
13+
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,081f560bde7188ca6f40cf297bd55c680e0179c0)/linux-081f560bde7188ca6f40cf297bd55c680e0179c0.tar.gz"
1414
BR2_LINUX_KERNEL_PATCH="$(BR2_EXTERNAL_GUD_PATH)/linux-patches/gud $(BR2_EXTERNAL_GUD_PATH)/linux-patches/gud_gadget $(BR2_EXTERNAL_GUD_PATH)/board/raspberrypi/linux-patches"
1515
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
1616
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_GUD_PATH)/board/raspberrypi-lite/gud_bcmrpi_defconfig"

buildroot/external/configs/raspberrypi_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_GUD_PATH)/board/raspberrypi/post-bu
1212
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_GUD_PATH)/board/raspberrypi/post-image.sh"
1313
BR2_LINUX_KERNEL=y
1414
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
15-
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,86b1bed34352428d0826dff892b3ac06a9016cef)/linux-86b1bed34352428d0826dff892b3ac06a9016cef.tar.gz"
15+
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,081f560bde7188ca6f40cf297bd55c680e0179c0)/linux-081f560bde7188ca6f40cf297bd55c680e0179c0.tar.gz"
1616
BR2_LINUX_KERNEL_PATCH="$(BR2_EXTERNAL_GUD_PATH)/linux-patches/gud $(BR2_EXTERNAL_GUD_PATH)/linux-patches/gud_gadget $(BR2_EXTERNAL_GUD_PATH)/board/raspberrypi/linux-patches"
1717
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
1818
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_GUD_PATH)/board/raspberrypi/gud_bcmrpi_defconfig"

0 commit comments

Comments
 (0)