mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/3] ARM: boards: add support for Samsung Galaxy S8 and S20 5G
@ 2025-09-02 14:00 Ivaylo Ivanov
  2025-09-02 14:00 ` [PATCH v2 1/3] video: simplefb-client: switch to dev_get_resource Ivaylo Ivanov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ivaylo Ivanov @ 2025-09-02 14:00 UTC (permalink / raw)
  To: Sascha Hauer, Ahmad Fatoum; +Cc: barebox

Hey folks,

This patchset focuses on adding support for S8 and S20. It's designed to
allow adding support for new exynos devices easy, with the primary
differentiating factor being the device tree. Currently, the same built
barebox-exynos.img can be booted on both S20 and S8 without any changes
in the code, as it can dynamically recognize what device it's booting on
based on the tree provided at x0 from the previous bootloader (s-boot).

On these devices, barebox will be used as a shim after the stock bootloader
(s-boot), replacing the linux kernel image in the boot.img.

Please read the patch commit messages, I've tried to describe everything
well enough. Thanks!

Best regards,
Ivaylo

Changes in V2:
- drop the applied patch
- s/Since/If in 1/3
- add r-b tag on 1/3 from Ahmad
- add a simple defaultenv that autoboots a fit image from memory
- change is_compat to is_model
- rework the entry to deal with SP in assembly and jump us to C
- set up properly before touching fdts
- beautify postcore a bit
- enable deep probe on both platforms in DT

Ivaylo Ivanov (3):
  video: simplefb-client: switch to dev_get_resource
  ARM: boards: add support for Samsung Galaxy S8 (dreamlte)
  ARM: boards: add support for Samsung Galaxy S20 5G (x1s)

 arch/arm/Kconfig                              |  5 ++
 arch/arm/boards/Makefile                      |  1 +
 arch/arm/boards/samsung-exynos/Makefile       |  5 ++
 arch/arm/boards/samsung-exynos/board.c        | 69 +++++++++++++++
 .../defaultenv-exynos/boot/ramfit             | 16 ++++
 .../defaultenv-exynos/init/bootsource         |  3 +
 arch/arm/boards/samsung-exynos/entry.S        | 31 +++++++
 arch/arm/boards/samsung-exynos/lowlevel.c     | 83 +++++++++++++++++++
 arch/arm/dts/Makefile                         |  2 +
 arch/arm/dts/exynos8895-dreamlte.dts          | 13 +++
 arch/arm/dts/exynos990-x1s.dts                | 13 +++
 arch/arm/mach-samsung/Kconfig                 | 13 +++
 drivers/video/simplefb-client.c               |  5 +-
 images/Makefile                               |  1 +
 images/Makefile.exynos                        |  8 ++
 15 files changed, 265 insertions(+), 3 deletions(-)
 create mode 100644 arch/arm/boards/samsung-exynos/Makefile
 create mode 100644 arch/arm/boards/samsung-exynos/board.c
 create mode 100644 arch/arm/boards/samsung-exynos/defaultenv-exynos/boot/ramfit
 create mode 100644 arch/arm/boards/samsung-exynos/defaultenv-exynos/init/bootsource
 create mode 100644 arch/arm/boards/samsung-exynos/entry.S
 create mode 100644 arch/arm/boards/samsung-exynos/lowlevel.c
 create mode 100644 arch/arm/dts/exynos8895-dreamlte.dts
 create mode 100644 arch/arm/dts/exynos990-x1s.dts
 create mode 100644 arch/arm/mach-samsung/Kconfig
 create mode 100644 images/Makefile.exynos

-- 
2.43.0




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

end of thread, other threads:[~2025-09-02 19:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-02 14:00 [PATCH v2 0/3] ARM: boards: add support for Samsung Galaxy S8 and S20 5G Ivaylo Ivanov
2025-09-02 14:00 ` [PATCH v2 1/3] video: simplefb-client: switch to dev_get_resource Ivaylo Ivanov
2025-09-02 14:00 ` [PATCH v2 2/3] ARM: boards: add support for Samsung Galaxy S8 (dreamlte) Ivaylo Ivanov
2025-09-02 14:00 ` [PATCH v2 3/3] ARM: boards: add support for Samsung Galaxy S20 5G (x1s) Ivaylo Ivanov

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