Commit Graph
161 Commits
Author SHA1 Message Date
Ivaylo Ivanov 6cd8dfd0d0 board: samsung-j5lte: cast mmio addresses in writel's
Fix build errors for j5lte by casting mmio addresses in writel's. While
at it, do some quality of life changes, like moving entry addresses out
of board/Kconfig into the j5lte defconfig and setting LINUX_KRNL_HEADER_IMG.
2025-12-28 17:33:25 +01:00
Ivaylo Ivanov a8428f37d6 lib: provide aeabi stubs to satisfy compiler on armv7
The framebuffer scaling code was not tested on armv7 due to no
current platforms making use of simplefb. Turns out the compiler
wants a set of aeabi helpers for divisions, not present due to
the bare metal nature of the bootloader. Satisfy this with empty
stubs.
2025-12-28 17:33:25 +01:00
vipoll 6d1c7a9dc9 board: samsung-herolte: fix incorrect framebuffer height 2025-12-28 14:39:35 +02:00
RadGoodNow 81f7b06b81 board: Add support for itel Vision 3 Plus
Signed-off-by: RadGoodNow <81907382+RadGoodNow@users.noreply.github.com>
2025-12-28 13:22:41 +01:00
BotchedRPR f6d2577d4b drivers: Add driver selection menu
This avoids building Exynos drivers for all platforms

Signed-off-by: BotchedRPR <igor.belwon@mentallysanemainliners.org>
2025-11-03 21:30:37 +02:00
vipoll 918e08f85d libfdt: use C memmove/memcpy instead of ASM to avoid rebooting
asm memmove() and memcpy() are not reliable yet,
so just use the C analogues for now
2025-11-03 21:30:37 +02:00
vipoll 266fb485dd drivers: introduce ramdisk-handler (adds linux,initrd-start/end at boot time) 2025-11-03 21:30:37 +02:00
vipoll f4a3e966b5 import libfdt from Linux v6.18-rc2-3080-g6474677ce915 2025-11-03 21:30:37 +02:00
Ivaylo Ivanov f22f626ebd .: add a project configuration file for readthedocs
readthedocs.org allows to automatically generate and publish HTML
documentations.
2025-11-03 18:41:58 +01:00
Ivaylo Ivanov 4d26881b3c README: add supported devices and rearrange information
As this is the first thing people will see about our project, keep
it simple, but well arranged and informative.
2025-11-03 17:19:38 +02:00
Violet 467d16f378 r0q: Enable Linux kernel header
S22 will only boot with this enabled in recent versions of uniLoader.
2025-10-31 10:51:46 +02:00
evilMyQueen 424b351dfc board: introduce support for Xiaomi Poco M3 Pro 5G
Signed-off-by: evilMyQueen <vernamjap@gmail.com>
2025-10-20 17:25:56 +03:00
evilMyQueen 3b18c48ba9 soc: fix Kconfig warning
Signed-off-by: evilMyQueen <vernamjap@gmail.com>
2025-10-18 14:02:09 +02:00
evilMyQueen b6635ab77d board: introduce support for xiaomi blossom devices
Signed-off-by: evilMyQueen <vernamjap@gmail.com>
2025-10-17 22:50:51 +02:00
predefine b80aaacaff board: introduce support for Xiaomi Redmi Note 8 Pro
Signed-off-by: predefine <predefine@yandex.ru>
2025-10-04 13:56:49 +03:00
Eric Gonçalves 6557f34c66 board: Add support for the Samsung Galaxy S22 2025-10-03 17:36:36 +03:00
Igor Belwon cb549596c0 kconfig: lxdialog: textbox: Fix compilation warnings
x, y are only used if OLD_NCURSES is set. Add the declaration in its
scope.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 22:17:28 +03:00
Igor Belwon c9c6116afd soc: Clear Kconfig of warnings
This removes default values for these SoCs. They're N by default. This
generates a Kbuild warnings.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 22:17:28 +03:00
Igor Belwon 22ee49a6cf board: Remove framebuffer properties
These properties are board specific, and were already moved to board
files. As such, remove these leftovers.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 22:17:28 +03:00
Igor Belwon 209066181c board: apple-n61ap: Hardcode framebuffer addresses
In preparation for removing these addresses from Kbuild configurators,
hardcode these properties.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 22:17:28 +03:00
Igor Belwon 6169f70a77 board: google-taimen: Remove framebuffer property
This does not work anyway, and may cause memory writes to protected
locations (as FRAMEBUFFER_BASE=0x0)

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 22:17:28 +03:00
Igor Belwon 305245a298 board: samsung: Hardcode framebuffer variables
In preparation for removing unnecessary variables from Kbuild
configuration options.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 22:17:28 +03:00
Igor Belwon 24c29ee8bf board: Fix samsung-r8s formatting
Replace spaces with tabs.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 22:17:28 +03:00
Igor Belwon dadfbf7587 drivers: framework: Remove unused macro
PASS_STRUCT macro is never used and essentially a duplicate of
REGISTER_DRIVER.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 22:17:28 +03:00
Igor Belwon b7e9edeae9 lib: debug: remove cyan color
This is never used. And produces a build warning. It may be added later
if necessary.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon 4cca1ce703 board: volla-algiz: Remove stub init functions
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon e91301ee42 board: nothing-tetris: Remove stub init functions
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon 1a54ea51c9 board: nokia-essential: Remove stub init function
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon 9cd53a91eb board: google-taimen: Remove stub init functions
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon 66baf5f889 board: apple-n61ap: Remove stub init functions
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon 66f28ccbfb board: amazon-pw3: Remove stub init functions
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon dd4009796f board: samsung-zeroflte: Remove stub init function
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon db32feefde board: samsung-x1s: Remove stub init function
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon 86a2d04a8d board: samsung-starlte: Remove stub init function
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon 45a7056e08 board: samsung-r8s: Remove stub init function
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon ea8ec1bece board: samsung-jackpotlte: Remove stub init function
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon 5cf2f4b238 board: samsung-j5lte: Remove stub init function
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon 5f049665e0 board: samsung-j4lte: Remove stub init function
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon 9da1dd8de1 board: samsung-herolte: Remove stub init function
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon 14464f151f board: samsung-gta4xl: Remove stub init function
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon 04673fa214 board: samsung-g0s: Remove stub init function
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon 928a4609e0 board: samsung-c1s: Remove stub init function
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon 9717e98b9f board: samsung-a3xelte: Remove stub init function
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon 98faac3286 board: samsung-a336b: Remove stub init function
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon d1f194f43e board: samsung-a127f: Remove stub init function
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon 4f843e6cf0 board: samsung-a105f: Remove stub init function
This does not accomplish anything, and with the new initcall logic,
can be harmlessly removed.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon e53c434ba2 board: qemu-virt: Remove stub init functions
These do not accomplish anything, and with the new initcall logic,
can be harmlessly removed.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Igor Belwon 7993348878 main: Add proper initcall logic
Currently we are checking if the function returns nonzero. This is fine,
however it adds a lot of bloat, for example the late_init initcall is
practically never used and is only a stub function that returns zero. So
- add a proper initcall macro to prepare for cleaning up unused stubs.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-10-01 20:02:15 +02:00
Ивайло Иванов 900a8b4ebe Merge pull request #43 from chmcax/essential
board: introduce support for Nokia 3 (essential)
2025-09-30 22:25:14 +03:00
Alexandru Chimac b1dc79758b board: introduce support for Nokia 3 (essential)
Signed-off-by: Alexandru Chimac <alex@chimac.ro>
2025-09-30 21:17:18 +03:00