DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH 00/10] v7a: add Raspberry Pi 4 32-bit support
@ 2022-09-30 16:21 Ahmad Fatoum
  2022-09-30 16:21 ` [DistroKit] [PATCH 01/10] v7a: barebox: version bump v2022.06.0 → v2022.09.0 Ahmad Fatoum
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Ahmad Fatoum @ 2022-09-30 16:21 UTC (permalink / raw)
  To: distrokit

We already support the Raspberry Pi 2 & 3 in 32-bit mode with our v7a 
configuration. With some changes we can have the same rpi.hdimg boot
on the Raspberry Pi 4 as well. Users will probably want to deploy
64-bit kernels on these boards, but that will need some more work
on the BSP side as we don't have 64-bit Raspberry Pi 3 support to
build upon, so this will follow later in a separate PR.

Ahmad Fatoum (10):
  v7a: barebox: version bump v2022.06.0 → v2022.09.0
  v7a: barebox: switch to new broken-cd device parameter
  v7a: rpi2: move rpi-firmware directory to top-level workspace
  rpi-firmware: Update firmware to v1.20220331 for Rpi4 support
  barebox: deploy new barebox-raspberry-pi.img
  v7a: kernel: configure for 32-bit Raspberry Pi 4 support
  v7a: dts: build Raspberry Pi 4 device trees
  v7a: rpi4: add boot loader spec support
  v7a: rpi4: place DT into /boot for VideoCore consumption
  v7a: barebox: enable of_diff command

 .../nv/dev.mmc0.broken_cd                     |   1 +
 .../platform-v7a/barebox-am335x-mlo.config    |  18 +--
 configs/platform-v7a/barebox-am335x.config    |  19 +--
 .../platform-v7a/barebox-am335x.config.diff   |  14 +-
 configs/platform-v7a/barebox-at91.config      |  19 ++-
 configs/platform-v7a/barebox-at91.config.diff |  16 ++-
 .../nv/dev.mmc0.broken_cd                     |   1 +
 configs/platform-v7a/barebox-mx6.config       |  17 +--
 configs/platform-v7a/barebox-mx6.config.diff  |  14 +-
 .../nv/dev.mci0.broken_cd                     |   1 +
 configs/platform-v7a/barebox-rpi2.config      |  59 +++++++--
 configs/platform-v7a/barebox-rpi2.config.diff |  28 +---
 .../nv/dev.mmc0.broken_cd                     |   1 +
 configs/platform-v7a/barebox-stm32mp.config   |  16 +--
 .../platform-v7a/barebox-stm32mp.config.diff  |  17 +--
 configs/platform-v7a/barebox-vexpress.config  |  17 +--
 .../platform-v7a/barebox-vexpress.config.diff |  12 +-
 configs/platform-v7a/barebox.config           |  28 ++--
 .../platform-v7a/config/images/rpi2.config    |   8 +-
 configs/platform-v7a/kernelconfig             |  21 +--
 ...new-MCI_BROKEN_CD-option-for-testing.patch | 122 ------------------
 .../patches/barebox-2022.06.0/series          |   1 -
 ...-upon-broken-cd-device-tree-property.patch |  60 +++++++++
 ...-core-add-broken_cd-device-parameter.patch |  46 +++++++
 ...broken-cd-information-into-kernel-DT.patch |  67 ++++++++++
 .../patches/barebox-2022.09.0/series          |   3 +
 configs/platform-v7a/platformconfig           |   7 +-
 configs/platform-v7a/platforms/blspec-rpi4.in |   5 +
 .../platform-v7a/rpi-firmware/bootcode.bin    | Bin 52296 -> 0 bytes
 configs/platform-v7a/rpi-firmware/fixup.dat   | Bin 6736 -> 0 bytes
 .../platform-v7a/rpi-firmware/fixup_cd.dat    | Bin 2657 -> 0 bytes
 .../platform-v7a/rpi-firmware/fixup_db.dat    | Bin 9808 -> 0 bytes
 configs/platform-v7a/rpi-firmware/fixup_x.dat | Bin 9810 -> 0 bytes
 .../platform-v7a/rpi-firmware/start_cd.elf    | Bin 685540 -> 0 bytes
 configs/platform-v7a/rules/barebox-rpi2.make  |   4 +-
 configs/platform-v7a/rules/image-rpi2.make    |   2 +-
 projectroot/loader/entries/rpi400.conf        |   6 +
 projectroot/loader/entries/rpi4b.conf         |   6 +
 .../LICENCE.broadcom                          |   3 +-
 rpi-firmware/bootcode.bin                     | Bin 0 -> 52460 bytes
 .../rpi-firmware => rpi-firmware}/config.txt  |   0
 rpi-firmware/fixup.dat                        | Bin 0 -> 7221 bytes
 rpi-firmware/fixup4.dat                       | Bin 0 -> 5352 bytes
 rpi-firmware/fixup4cd.dat                     | Bin 0 -> 3147 bytes
 rpi-firmware/fixup4db.dat                     | Bin 0 -> 8356 bytes
 rpi-firmware/fixup4x.dat                      | Bin 0 -> 8358 bytes
 rpi-firmware/fixup_cd.dat                     | Bin 0 -> 3147 bytes
 rpi-firmware/fixup_db.dat                     | Bin 0 -> 10201 bytes
 rpi-firmware/fixup_x.dat                      | Bin 0 -> 10199 bytes
 .../rpi-firmware => rpi-firmware}/start.elf   | Bin 2877892 -> 2966048 bytes
 rpi-firmware/start4.elf                       | Bin 0 -> 2241824 bytes
 rpi-firmware/start4cd.elf                     | Bin 0 -> 801212 bytes
 rpi-firmware/start4db.elf                     | Bin 0 -> 3739240 bytes
 rpi-firmware/start4x.elf                      | Bin 0 -> 2993800 bytes
 rpi-firmware/start_cd.elf                     | Bin 0 -> 801212 bytes
 .../start_db.elf                              | Bin 4854600 -> 4811176 bytes
 .../rpi-firmware => rpi-firmware}/start_x.elf | Bin 3792104 -> 3717480 bytes
 rules/blspec-rpi4.make                        |  38 ++++++
 58 files changed, 421 insertions(+), 276 deletions(-)
 create mode 100644 configs/platform-v7a/barebox-am335x-defaultenv/nv/dev.mmc0.broken_cd
 create mode 100644 configs/platform-v7a/barebox-mx6-defaultenv/nv/dev.mmc0.broken_cd
 create mode 100644 configs/platform-v7a/barebox-rpi2-defaultenv/nv/dev.mci0.broken_cd
 create mode 100644 configs/platform-v7a/barebox-stm32mp-defaultenv/nv/dev.mmc0.broken_cd
 delete mode 100644 configs/platform-v7a/patches/barebox-2022.06.0/0001-mci-add-new-MCI_BROKEN_CD-option-for-testing.patch
 delete mode 100644 configs/platform-v7a/patches/barebox-2022.06.0/series
 create mode 100644 configs/platform-v7a/patches/barebox-2022.09.0/0001-mci-core-act-upon-broken-cd-device-tree-property.patch
 create mode 100644 configs/platform-v7a/patches/barebox-2022.09.0/0002-mci-core-add-broken_cd-device-parameter.patch
 create mode 100644 configs/platform-v7a/patches/barebox-2022.09.0/0003-mci-core-fixup-broken-cd-information-into-kernel-DT.patch
 create mode 100644 configs/platform-v7a/patches/barebox-2022.09.0/series
 create mode 100644 configs/platform-v7a/platforms/blspec-rpi4.in
 delete mode 100644 configs/platform-v7a/rpi-firmware/bootcode.bin
 delete mode 100644 configs/platform-v7a/rpi-firmware/fixup.dat
 delete mode 100644 configs/platform-v7a/rpi-firmware/fixup_cd.dat
 delete mode 100644 configs/platform-v7a/rpi-firmware/fixup_db.dat
 delete mode 100644 configs/platform-v7a/rpi-firmware/fixup_x.dat
 delete mode 100644 configs/platform-v7a/rpi-firmware/start_cd.elf
 create mode 100644 projectroot/loader/entries/rpi400.conf
 create mode 100644 projectroot/loader/entries/rpi4b.conf
 rename {configs/platform-v7a/rpi-firmware => rpi-firmware}/LICENCE.broadcom (91%)
 create mode 100644 rpi-firmware/bootcode.bin
 rename {configs/platform-v7a/rpi-firmware => rpi-firmware}/config.txt (100%)
 create mode 100644 rpi-firmware/fixup.dat
 create mode 100644 rpi-firmware/fixup4.dat
 create mode 100644 rpi-firmware/fixup4cd.dat
 create mode 100644 rpi-firmware/fixup4db.dat
 create mode 100644 rpi-firmware/fixup4x.dat
 create mode 100644 rpi-firmware/fixup_cd.dat
 create mode 100644 rpi-firmware/fixup_db.dat
 create mode 100644 rpi-firmware/fixup_x.dat
 rename {configs/platform-v7a/rpi-firmware => rpi-firmware}/start.elf (51%)
 create mode 100644 rpi-firmware/start4.elf
 create mode 100644 rpi-firmware/start4cd.elf
 create mode 100644 rpi-firmware/start4db.elf
 create mode 100644 rpi-firmware/start4x.elf
 create mode 100644 rpi-firmware/start_cd.elf
 rename {configs/platform-v7a/rpi-firmware => rpi-firmware}/start_db.elf (53%)
 rename {configs/platform-v7a/rpi-firmware => rpi-firmware}/start_x.elf (53%)
 create mode 100644 rules/blspec-rpi4.make

-- 
2.30.2




^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-09-30 16:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-30 16:21 [DistroKit] [PATCH 00/10] v7a: add Raspberry Pi 4 32-bit support Ahmad Fatoum
2022-09-30 16:21 ` [DistroKit] [PATCH 01/10] v7a: barebox: version bump v2022.06.0 → v2022.09.0 Ahmad Fatoum
2022-09-30 16:21 ` [DistroKit] [PATCH 02/10] v7a: barebox: switch to new broken-cd device parameter Ahmad Fatoum
2022-09-30 16:21 ` [DistroKit] [PATCH 03/10] v7a: rpi2: move rpi-firmware directory to top-level workspace Ahmad Fatoum
2022-09-30 16:21 ` [DistroKit] [PATCH 04/10] rpi-firmware: Update firmware to v1.20220331 for Rpi4 support Ahmad Fatoum
2022-09-30 16:21 ` [DistroKit] [PATCH 05/10] barebox: deploy new barebox-raspberry-pi.img Ahmad Fatoum
2022-09-30 16:21 ` [DistroKit] [PATCH 06/10] v7a: kernel: configure for 32-bit Raspberry Pi 4 support Ahmad Fatoum
2022-09-30 16:21 ` [DistroKit] [PATCH 07/10] v7a: dts: build Raspberry Pi 4 device trees Ahmad Fatoum
2022-09-30 16:21 ` [DistroKit] [PATCH 08/10] v7a: rpi4: add boot loader spec support Ahmad Fatoum
2022-09-30 16:21 ` [DistroKit] [PATCH 09/10] v7a: rpi4: place DT into /boot for VideoCore consumption Ahmad Fatoum
2022-09-30 16:21 ` [DistroKit] [PATCH 10/10] v7a: barebox: enable of_diff command Ahmad Fatoum
2022-09-30 16:55 ` [DistroKit] [PATCH 00/10] v7a: add Raspberry Pi 4 32-bit support Robert Schwebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox