Skip to content

linux-raspberrypi to 5.10.73-1 no longer boots on Raspberry Pi2 ARMv7 #4631

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

Closed
renkei opened this issue Oct 14, 2021 · 5 comments
Closed

linux-raspberrypi to 5.10.73-1 no longer boots on Raspberry Pi2 ARMv7 #4631

renkei opened this issue Oct 14, 2021 · 5 comments

Comments

@renkei
Copy link

renkei commented Oct 14, 2021

On Arch Linux ARM on my Pi2, after an update from 5.10.64-1 to 5.10.73-1 (see core/linux-raspberrypi to 5.10.73-1) the Linux kernel cannot boot anymore.

I've uploded a screenshot of the "Unable to handle NULL pointer dereference at virtual address 00000000" message here Raspberry Pi 2B+ no longer boots after latest kernel update

@graysky2
Copy link

Some forum users have also reported the breakage on RPi 1 and RPi Zero. Link to thread. I do not see this on RPi4 but that uses a slightly different kernel package/config due to changes in bootloaders for a few years ago.

linux-raspberrypi defconfig: https://gist.github.com/graysky2/2033fb0b084eb96f5dd421606f105f39
linux-raspberrypi4 defconfig: https://gist.github.com/graysky2/de3377f1d528542ff4fed3f6fc42c47a

@pelwell
Copy link
Contributor

pelwell commented Oct 15, 2021

Sorry guys - there was an upstream back-port introduced into 5.10.65 that required more downstream fixups for older platforms than were actually applied (the sdhost driver isn't normally used on Pi 4). Mea culpa.

The remaining patches are in rpi-5.10.y now, and we'll push out an rpi-update build later on.

pelwell referenced this issue in Hexxeh/rpi-firmware Oct 15, 2021
graysky2 added a commit to archlinuxarm/PKGBUILDs that referenced this issue Oct 15, 2021
Should fix boot issue on older platforms
raspberrypi/linux#4631
@graysky2
Copy link

@pelwell - Several users of RPi2 have confirmed that the updates in rpi-5.10.y fix the boot issue. Thanks for the quick engagement. You can close this ticket from my perspective.

popcornmix added a commit to raspberrypi/firmware that referenced this issue Oct 15, 2021
See: raspberrypi/linux#4624

kernel: Wrap PWM output as GPIO
See: raspberrypi/linux#4629

kernel: mmc: sdhost: Pass DT pointer to rpi_firmware_get
kernel: ARM: dts: Give sdhost a firmware reference
See: raspberrypi/linux#4631

kernel: rtc: pcf85063: Always clear EXT_TEST from set_time
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this issue Oct 15, 2021
See: raspberrypi/linux#4624

kernel: Wrap PWM output as GPIO
See: raspberrypi/linux#4629

kernel: mmc: sdhost: Pass DT pointer to rpi_firmware_get
kernel: ARM: dts: Give sdhost a firmware reference
See: raspberrypi/linux#4631

kernel: rtc: pcf85063: Always clear EXT_TEST from set_time
@popcornmix
Copy link
Collaborator

The fix should now be in rpi-update kernel.

@renkei
Copy link
Author

renkei commented Oct 16, 2021

Thanks for the quick help. After the update to 5.10.73-2 it works again. Great!

@renkei renkei closed this as completed Oct 16, 2021
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

No branches or pull requests

4 participants