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

RaspberryPi move back to 4.19 Kernel #723

Merged
merged 3 commits into from
Jun 5, 2020
Merged

RaspberryPi move back to 4.19 Kernel #723

merged 3 commits into from
Jun 5, 2020

Conversation

pvizeli
Copy link
Member

@pvizeli pvizeli commented Jun 5, 2020

Since the cooperation with other projects since Raspberry is going to freeze, the new kernel did not work stable with other projects like the bootloader u-boot. We stay away and look at what is going on with the RaspberryPi foundation...

@pvizeli pvizeli merged commit f66fbda into dev Jun 5, 2020
@delete-merged-branch delete-merged-branch bot deleted the rpi-revert-kernel branch June 5, 2020 14:08
pvizeli added a commit that referenced this pull request Jun 6, 2020
* RaspberryPi: Update kernel 4.19.126 - f6b3ac28f0a9137d4c24c0b8832e693bbd16f5b7

* RaspberryPi: Update firmware 7caead9416f64b2d33361c703fb243b8e157eba4

* Remove kernel for 5.4
@jens-maus
Copy link
Contributor

@pvizeli Could you please elaborate a bit more as to why you think the 5.4.x kernel doesn't work good yet with U-boot bootloader? In fact, in one of my projects (https://github.com/jens-maus/RaspberryMatic) which also uses buildroot + RaspberryPi + U-Boot I just switched to kernel 5.4.x and U-boot 2020.01 and couldn't identify any severe issues yet. So could you please explain why you think one should still stay away from kernel 5.4.x for the RaspberryPi hardware?

@pvizeli
Copy link
Member Author

pvizeli commented Jun 11, 2020

The UART mappings start to fail dramatically. Also, many RPi specific libraries stop to detect the correct Pi because the device-tree/procfs is to different. So if you don't need UART and other RPi hardware and library, the Linux 5.4 work. We wait until all the library has updated the code to work correctly on the 5.4 or the RPi foundation adjusts the device-tree and procfs to work like with 4.19.

@jens-maus
Copy link
Contributor

@pvizeli Thanks. Can you please be more specific? Which kind of "RPi specific libraries stop to detect correct Pi"? In my tests I couldn't see any problematic libraries not being able to identify the RPi model. In addition, RaspberryMatic of course uses the UART of the RaspberryPi4, but not via the standard linux kernel serial driver (pl011) but rather through an own raw uart kernel driver explicitly written for the usage purposes of RaspberryMatic (A dedicated serial module is used on the GPIO to communicate with HomeMatic/eQ3 devices). And at least that generic_raw_uart didn't show any issues so far. And what exactly should be different in procfs in their 5.4 versions compared to 4.19? Also in this regard I couldn't identify any problem so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants