Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux-raspberrypi: Update 5.15 recipe to 5.15.92 #1257

Conversation

leon-anavi
Copy link
Contributor

Update kernel to version 5.15.92 to fix Bluetooth and Wi-Fi issues on 64-bit images for Raspberry Pi Zero 2.

- What I did

Fixed Bluetooth and Wi-Fi issues on 64-bit images for Raspberry Pi Zero 2. With the previous kernel version core-image-base for raspberrypi0-2w-64 wasn't booting due to:

[   10.829916] audit: type=1334 audit(1651167751.635:6): prog-id=9 op=LOAD
[   10.830391] audit: type=1334 audit(1651167751.636:7): prog-id=10 op=LOAD
[   10.906776] Unable to handle kernel paging request at virtual address 000000517cd0488c
[   10.914821] Mem abort info:
[   10.917699]   ESR = 0x96000005
[   10.920851]   EC = 0x25: DABT (current EL), IL = 32 bits
[   10.926252]   SET = 0, FnV = 0
[   10.929377]   EA = 0, S1PTW = 0
[   10.932681]   FSC = 0x05: level 1 translation fault
[   10.937690] Data abort info:
[   10.940635]   ISV = 0, ISS = 0x00000005
[   10.944535]   CM = 0, WnR = 0
[   10.947568] user pgtable: 4k pages, 39-bit VAs, pgdp=0000000003cae000
[   10.954067] [000000517cd0488c] pgd=0000000000000000, p4d=0000000000000000, pud=0000000000000000
[   10.962872] Internal error: Oops: 96000005 [#1] PREEMPT SMP
[   10.968462] Modules linked in: bluetooth ecdh_generic ecc brcmfmac brcmutil sha256_generic cfg80211 vc4 cec bcm2835_codec(C) rfkill bcm2835_isp(C) drm_kms_helper bcm2835_v4l2(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_dma_contig videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common syscopyarea raspberrypi_hwmon sysfillrect sysimgblt fb_sys_fops videodev sdhci_iproc spi_bcm2835 mc snd_bcm2835(C) vc_sm_cma(C) uio_pdrv_genirq uio sch_fq_codel i2c_dev i2c_bcm2708 drm fuse drm_panel_orientation_quirks backlight ipv6
[   11.015544] CPU: 2 PID: 118 Comm: psplash Tainted: G         C        5.15.34-v8 #1
[   11.023212] Hardware name: Raspberry Pi Zero 2 W Rev 1.0 (DT)
[   11.028960] pstate: 00000005 (nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   11.035930] pc : __mutex_lock.constprop.0+0x78/0x550
[   11.040916] lr : __mutex_lock.constprop.0+0x6c/0x550
[   11.045891] sp : ffffffc00860bc00
[   11.049204] x29: ffffffc00860bc30 x28: ffffff80033bda00 x27: 0000000000000000
[   11.056359] x26: 0000000000000000 x25: 0000000000000000 x24: ffffff80033be000
[   11.063513] x23: ffffff8001aecb60 x22: 0000000000000002 x21: ffffff80021ec348
[   11.070666] x20: ffffff8002018810 x19: ffffff8002018810 x18: 0000000000000000
[   11.077820] x17: 0000000000000000 x16: 0000000000000001 x15: 00b6092f222aa48c
[   11.084974] x14: 00576e5217dbc9ac x13: ffffffd3a872b518 x12: 00000000005901d3
[   11.092129] x11: 00000000fa83b2da x10: 0000000000000023 x9 : ffffffd3a8706c5c
[   11.099282] x8 : 0000000000000001 x7 : ffffff80030eaba8 x6 : 0000000000000000
[   11.106435] x5 : ffffff80021ec348 x4 : ffffff80033bda00 x3 : 000000517cd04860
[   11.113589] x2 : ffffff80033bda00 x1 : ffffff80033bda00 x0 : 000000517cd04860
[   11.120744] Call trace:
[   11.123191]  __mutex_lock.constprop.0+0x78/0x550
[   11.127823]  __mutex_lock_slowpath+0x1c/0x30
[   11.132105]  mutex_lock+0x54/0x60
[   11.135430]  fb_release+0x2c/0x74
[   11.138754]  __fput+0x78/0x240
[   11.141820]  ____fput+0x1c/0x30
[   11.144970]  task_work_run+0x90/0x190
[   11.148638]  do_exit+0x350/0xa10
[   11.151875]  do_group_exit+0x44/0xac
[   11.155460]  __wake_up_parent+0x0/0x3c
[   11.159218]  invoke_syscall+0x50/0x120
[   11.162977]  el0_svc_common.constprop.0+0x68/0x124
[   11.167777]  do_el0_svc+0x34/0x9c
[   11.171101]  el0_svc+0x2c/0x90
[   11.174164]  el0t_64_sync_handler+0xa4/0x130
[   11.178442]  el0t_64_sync+0x1a0/0x1a4
[   11.182118] Code: 97d755de f9400260 f27df000 54001160 (b9402c01) 
[   11.188219] ---[ end trace c69fb45efafce715 ]---
[   11.192924] note: psplash[118] exited with preempt_count 1
[   11.198545] Fixing recursive fault but reboot is needed!
[   11.203971] ------------[ cut here ]------------
[   11.208600] Voluntary context switch within RCU read-side critical section!
[   11.208626] WARNING: CPU: 1 PID: 118 at kernel/rcu/tree_plugin.h:316 rcu_note_context_switch+0x4e0/0x524
[   11.225088] Modules linked in: bluetooth ecdh_generic ecc brcmfmac brcmutil sha256_generic cfg80211 vc4 cec bcm2835_codec(C) rfkill bcm2835_isp(C) drm_kms_helper bcm2835_v4l2(C) bcm2835_mmal_vchiq(C) v4l2_mem2mem videobuf2_dma_contig videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common syscopyarea raspberrypi_hwmon sysfillrect sysimgblt fb_sys_fops videodev sdhci_iproc spi_bcm2835 mc snd_bcm2835(C) vc_sm_cma(C) uio_pdrv_genirq uio sch_fq_codel i2c_dev i2c_bcm2708 drm fuse drm_panel_orientation_quirks backlight ipv6
[   11.272168] CPU: 1 PID: 118 Comm: psplash Tainted: G      D  C        5.15.34-v8 #1
[   11.279833] Hardware name: Raspberry Pi Zero 2 W Rev 1.0 (DT)
[   11.285582] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   11.292551] pc : rcu_note_context_switch+0x4e0/0x524
[   11.297531] lr : rcu_note_context_switch+0x4e0/0x524
[   11.302505] sp : ffffffc00860b730
[   11.305818] x29: ffffffc00860b730 x28: ffffffc00860b8a3 x27: ffffffd3a89857d0
[   11.312975] x26: ffffff80033bda00 x25: ffffffd3a8704790 x24: 0000000000000000
[   11.320130] x23: ffffff80033bda00 x22: 0000000000000000 x21: 0000000000000000
[   11.327286] x20: ffffffd3a8be99c0 x19: ffffff801be9a9c0 x18: ffffffffffffffff
[   11.334441] x17: 0000000000000002 x16: 0000000000000002 x15: ffffffc08860b357
[   11.341594] x14: 0000000000000000 x13: 216e6f6974636573 x12: 206c616369746972
[   11.348746] x11: 6320656469732d64 x10: ffffffd3a8ea1d28 x9 : ffffffd3a7cbdf80
[   11.355899] x8 : 00000000ffffefff x7 : ffffffd3a8ef9d28 x6 : ffffffd3a8ef9d28
[   11.363051] x5 : 0000000000000001 x4 : 0000000000000000 x3 : 0000000000000027
[   11.370202] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffff80033bda00
[   11.377354] Call trace:
[   11.379800]  rcu_note_context_switch+0x4e0/0x524
[   11.384430]  __schedule+0x100/0x8bc
[   11.387930]  schedule+0x50/0x104
[   11.391165]  do_exit+0x998/0xa10
[   11.394404]  die+0x1e4/0x224
[   11.397292]  die_kernel_fault+0x6c/0x80
[   11.401139]  __do_kernel_fault+0x9c/0x1c0
[   11.405157]  do_page_fault+0x1f8/0x470
[   11.408914]  do_translation_fault+0xbc/0xe0
[   11.413104]  do_mem_abort+0x4c/0xbc
[   11.416599]  el1_abort+0x44/0x74
[   11.419833]  el1h_64_sync_handler+0xa4/0xd0
[   11.424022]  el1h_64_sync+0x78/0x7c
[   11.427516]  __mutex_lock.constprop.0+0x78/0x550
[   11.432142]  __mutex_lock_slowpath+0x1c/0x30
[   11.436421]  mutex_lock+0x54/0x60
[   11.439744]  fb_release+0x2c/0x74
[   11.443065]  __fput+0x78/0x240
[   11.446129]  ____fput+0x1c/0x30
[   11.449277]  task_work_run+0x90/0x190
[   11.452944]  do_exit+0x350/0xa10
[   11.456179]  do_group_exit+0x44/0xac
[   11.459762]  __wake_up_parent+0x0/0x3c
[   11.463518]  invoke_syscall+0x50/0x120
[   11.467275]  el0_svc_common.constprop.0+0x68/0x124
[   11.472073]  do_el0_svc+0x34/0x9c
[   11.475394]  el0_svc+0x2c/0x90
[   11.478453]  el0t_64_sync_handler+0xa4/0x130
[   11.482729]  el0t_64_sync+0x1a0/0x1a4
[   11.486396] ---[ end trace c69fb45efafce716 ]---

- How I did it

Updated kernel to version 5.15.92 to fix Bluetooth and Wi-Fi issues on 64-bit images for Raspberry Pi Zero 2.

Update kernel to version 5.15.92 to fix Bluetooth and Wi-Fi issues
on 64-bit images for Raspberry Pi Zero 2.

Signed-off-by: Leon Anavi <[email protected]>
@leon-anavi leon-anavi force-pushed the kirkstone-linux-raspberrypi-up-20231224 branch from 953316b to c4c7641 Compare December 24, 2023 16:22
Copy link
Collaborator

@kraj kraj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@agherzan
Copy link
Owner

agherzan commented Jan 8, 2024

Force merge as the docs issue is unrelated to this PR.

@agherzan agherzan merged commit c40c6e2 into agherzan:kirkstone Jan 8, 2024
15 of 16 checks passed
mlilien added a commit to mlilien/meta-omnect that referenced this pull request Mar 4, 2024
mlilien added a commit to mlilien/meta-omnect that referenced this pull request Mar 4, 2024
to be in sync with kernel update from
agherzan/meta-raspberrypi#1257

Signed-off-by: Marcel Lilienthal <[email protected]>
mlilien added a commit to omnect/meta-omnect that referenced this pull request Mar 5, 2024
so that device tree files and firmware is in sync with kernel update
from
agherzan/meta-raspberrypi#1257
(fixes boot problems, were devices were stuck in rpi bootloader)

Signed-off-by: Marcel Lilienthal <[email protected]>
HarryWaschkeit pushed a commit to HarryWaschkeit/meta-omnect that referenced this pull request Mar 12, 2024
so that device tree files and firmware is in sync with kernel update
from
agherzan/meta-raspberrypi#1257
(fixes boot problems, were devices were stuck in rpi bootloader)

Signed-off-by: Marcel Lilienthal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants