nerves-project / nerves_system_bbb

Base Nerves system configuration for the BeagleBone-based boards
Apache License 2.0
36 stars 39 forks source link

linux: revert to 5.10.168 #351

Closed fhunleth closed 2 weeks ago

fhunleth commented 2 weeks ago

This is a significant rollback of Linux kernel updates to avoid issues that appear to have been introduced around or after 5.15. This is the latest TI-patch release of the 5.10 series.

  1. There's some issue that affects eMMC life time. See https://forum.beagleboard.org/t/possible-emmc-firmware-bug-or-hw-issue-recent-seeed-studio-bbbs-with-6-1-x-kernels/36648.
  2. Wired Ethernet doesn't work on all Beaglebones and it appears to be related to the PHY driver. Searching the Beagleboard forum turns up a few possible causes.

Both issues seem to be tracked to changes in the Linux kernel after 5.10 (probably after 5.15, but this is currently less clear to me). The PHY issue correlates to a TI CPSW change and the eMMC correlates to updates to a MMC driver update. Both sound TI-specific.

Normally reverting Linux kernels wouldn't be done, but these issues are very serious and it's unclear when fixes will be available.

Fixes #350

fhunleth commented 2 weeks ago

To help review this, the v2.19.1 release is known good. https://github.com/nerves-project/nerves_system_bbb/compare/v2.19.1..revert-kernel

fhunleth commented 2 weeks ago

The BBB megapatch doesn't should well. Here are the differences:

  1. Lots of timestamp changes in the diff that don't matter
  2. A device tree update to support a GPIO-controlled PHY reset 300us assert/6500us deassert. Comment remarks that this is for C3 boards.
  3. Unused defconfig and device tree changes for non-BBBs.
  4. Update to block device I/O cost calculations
  5. Various updates that look specific to AM62x boards and various unused peripherals
  6. TI ICSSG Ethernet driver updates
  7. Radio Regulatory DB updates

Aside from the new PHY reset for C3 boards, this is pretty typical for TI patch updates.