linux-raspi2: set two flavours to armhf kernel and change the flavour name to raspi4 for arm64 kernel

Bug #1853446 reported by Hui Wang
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux-raspi2 (Ubuntu)
Won't Fix
Medium
Hui Wang
Eoan
Won't Fix
Medium
Unassigned
Focal
Won't Fix
Medium
Hui Wang

Bug Description

[Impact]
It is risky to use single armhf kernel to support rpi2/3/4, since
upstream has a specific config for rpi2/3 and another config for rpi4,
the major difference are LPAE, HIGHMEM and VMSPLIT_3G, we already
met a bug that is intrduced by HIGHMEM and VMSPLIT_3G on rpi2/3,
so add two falvours for rpi2/3 and rpi4.
flavour 1: raspi2 (for rpi2/3, disable LPAE, HIGHMEM and VMSPLIT_3G)
flavour 2: raspi4 (for rpi4, enable LPAE, HIGHMEM and VMSPLIT_3G)

For arm64 kernel, we change the flavour name to raspi4, it supports
rpi2/3/4.

[Fix]
Change the related configuration files in the debian.raspi2.

[Test Case]
After apply the patches, and I built two flavours of armhf and
arm64 kernels, Then check the .config, they all meet the expectation.
And boot those kernels on the rpi2/3/4 boards. worked well.

[Regression Risk]
Low, just change the flavour name for arm64, and for armhf, the
flavour raspi4 is basically same as bofre (raspi2), the new flavour
raspi2 just disable LPAE/HIGHMEM/VMSPLIT_3G, it is same as the config
for rpi2/3 in the upstream.

For armhf kernel:
 flavour 1: raspi2 # support rpi2/3 boards
 flavour 2: raspi4 # support rpi4 boards (in theory support all rpi2/3/4 boards)

Form arm64 kernel:
 flavour 1: raspi4 # support rpi2/3/4 boards

Hui Wang (hui.wang)
Changed in linux-raspi2 (Ubuntu):
importance: Undecided → Critical
Hui Wang (hui.wang)
description: updated
Juerg Haefliger (juergh)
Changed in linux-raspi2 (Ubuntu Eoan):
importance: Undecided → Critical
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-raspi2 (Ubuntu Eoan):
status: New → Confirmed
Changed in linux-raspi2 (Ubuntu):
status: New → Confirmed
Hui Wang (hui.wang)
Changed in linux-raspi2 (Ubuntu Eoan):
importance: Critical → Medium
Changed in linux-raspi2 (Ubuntu Focal):
importance: Critical → Medium
Juerg Haefliger (juergh)
Changed in linux-raspi2 (Ubuntu Focal):
status: Confirmed → Won't Fix
Changed in linux-raspi2 (Ubuntu Eoan):
status: Confirmed → Won't Fix
Hui Wang (hui.wang)
Changed in linux-raspi2 (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.