main/linux-rpi: modernize
Reviewing flavors and configurations in light of Pi5 support, I wonder if we could rethink/tweak some of the configs.
For instance config-changes-rpi.aarch64
and config-changes-rpi.armv7
may be a bit questionable:
- 1st gen Pi do not run on aarch64: it's a bit of a confusing hack
- no release use 1stGen Pi on armv7 either: built for nothing
Starting from Pi kernel reference doc, and supported config and devices, we could derive the following chart (avoiding some mix between user & kernel spaces):
L | usrspc | kernel | flavor | _defconfig | Pi devices supported | diff / note |
---|---|---|---|---|---|---|
1 | armhf | armhf | rpi | bcmrpi | 1, Zero, ZeroW, cm1 | same |
2 | " | armhf | rpi2 | bcm2709 | 2, 3, 3+, Zero2W, cm3, cm3+ | same |
3 | armv7 | armv7 | rpi2 | bcm2709 | 2, 3, 3+, Zero2W, cm3, cm3+ | same |
4 | " | armv7_l* | rpi4 | bcm2711* | 4, 400, cm4 | same / * LPAE for 8GB |
5 | aarch64 | aarch64 | rpi4 | bcm2711 | 3, 3+, 4, 400, Zero2W, cm3, cm3+, cm4, 5 | same / fill-in for previous rpi-aarch64 |
6 | " | aarch64_16k* | rpi5 | bcm2712* | 5 | new / * ARM64_16K_PAGES |
@ncopa & al: thoughts?
Edited by macmpi