Commit Graph
57 Commits
Author SHA1 Message Date
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
Ивайло Иванов 9be24fd2a0 Merge branch 'master' into master 2025-09-29 23:12:32 +03:00
Alexandru Chimac 8834492b1b board: move gta4xl device specific addresses to defconfig
Also, enable POSITION_INDEPENDENT

Signed-off-by: Alexandru Chimac <alex@chimac.ro>
2025-09-09 12:18:01 +03:00
Igor Belwon 4d9be0bc55 board: Add support for the CMF Phone (1)
This device has a broken framebuffer. As such, logs are passed via UART.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2025-08-30 14:52:27 +02:00
Ivaylo Ivanov bf49d01793 board: samsung: introduce herolte
Decon is a bit different from newer exynoses.
2025-08-26 11:20:25 +03:00
Ivaylo Ivanov 759bc09d8f board: introduce support for Samsung Galaxy A3 2016 2025-08-07 13:54:27 +03:00
BotchedRPR e8bd7fdf7f board: Introduce support for qemu virt platform
This platform can be used for testing and easier debug of the bootloader.

After compiling, the emulation can be started with this command line:

qemu-system-aarch64 -machine virt -cpu cortex-a72 -nographic -m 512m -kernel uniLoader.o
2025-07-24 23:12:51 +02:00
Ivaylo Ivanov 0d0f1f8f61 board: introduce support for Google Pixel 2 XL
Simple framebuffer doesn't work due to the previous bootloader messing
up with the display on exit uefi boot services. Uart works with a
usb3.1 cable and a breakout board, where a 51k resistor is connected
A5 and A6, A5 is wired to the +5V, B8 to RX and GND to GND.
2025-07-23 10:40:46 +03:00
Ivaylo Ivanov 579bbfa393 lib: break ABI by reworking simplefb and then fix it
Jokes aside, commit adds support for colored indexes based on the
loglevel, introduces a better simplefb probing that does not depend
on hardcoded config options. Implementing support for fdt should be
easier now.
2025-07-11 13:45:58 +03:00
Ivaylo Ivanov 5359c3caeb board: rework the board data structure
Since we don't have to worry about writing positionally-independent
code, we can safely pass around globally defined structures and
have more fun with pointers without falling into UB.
2025-07-11 13:45:58 +03:00
Ivaylo Ivanov 293f64ad9c board: move starlte device specific addresses to defconfig
This is done with the idea of uncluttering the Kconfig.
2025-07-11 13:45:58 +03:00
Ivaylo Ivanov eb2b393eee board: move zeroflte device specific addresses to defconfig
This is done with the idea of uncluttering the Kconfig. The device
is assumed to need POSITION_INDEPENDENT. There's a small possibility it
may not work because it has not yet been tested on real hw.
2025-07-11 13:45:58 +03:00
Ivaylo Ivanov 56a5fb25b2 board: move jackpotlte device specific addresses to defconfig
This is done with the idea of uncluttering the Kconfig. The device
is assumed to need POSITION_INDEPENDENT. There's a small possibility it
may not work because it has not yet been tested on real hw.
2025-07-11 13:45:58 +03:00
Ivaylo Ivanov fae8c25c8a board: move noblelte device specific addresses to defconfig
This is done with the idea of uncluttering the Kconfig. The device
is assumed to need POSITION_INDEPENDENT. There's a small possibility it
may not work because it has not yet been tested on real hw.
2025-07-11 13:45:58 +03:00
Ivaylo Ivanov c1364d31af board: move exynos990-based device specific addresses to defconfigs
This is done with the idea of uncluttering the Kconfig. Also set up
a TEXT_BASE and POSITION_INDEPENDENT.
2025-07-11 13:45:42 +03:00
Ivaylo Ivanov a75d1d649a board: move g0s device specific addresses to defconfig
This is done with the idea of uncluttering the Kconfig. Also set
TEXT_BASE and POSITION_INDEPENDENT
2025-07-11 13:38:37 +03:00
Ivaylo Ivanov 2ebd7ac7a5 board: move a336b device specific addresses to defconfig
This is done with the idea of uncluttering the Kconfig
2025-07-09 12:04:02 +03:00
Ivaylo Ivanov a8968af653 board: move a127f device specific addresses to defconfig
This is done with the idea of uncluttering the Kconfig
2025-07-09 12:01:52 +03:00
Ivaylo Ivanov d6cc10d79f board: move a105f device specific addresses to defconfig
This is done with the idea of uncluttering the Kconfig
2025-07-09 12:00:52 +03:00
Ivaylo Ivanov 5a53509a00 board: move dreamlte device specific addresses to defconfig
This is done with the idea of uncluttering the Kconfig
2025-07-09 11:49:44 +03:00
Ivaylo Ivanov c9dad42f53 board: move n61ap device specific addresses to defconfig
This is done with the idea of uncluttering the Kconfig
2025-07-09 11:42:19 +03:00
Ivaylo Ivanov 2ceed988bc board: apple: modernize n61ap
This brings it up to the latest changes, like the other boards,
and makes it compilable.
2025-07-09 11:42:19 +03:00
Ivaylo Ivanov 850ba48539 board: move pw3 device specific addresses to defconfig
This is done with the idea of uncluttering the Kconfig
2025-07-09 11:42:11 +03:00
Ivaylo Ivanov 8dc27cc402 board: introduce Amazon Kindle PW3 support
With support for this board also come the following changes:
- rework blobs handling to get past the 0 size bug
- basic cpu "set up" in start.S
- assembly memcpy
- uart debugging
2025-07-08 15:54:02 +03:00
Muhammad 20f759082d board: Add support for Samsung Galaxy A33
Adds basic support for the Exynos 1280 SoC in the Galaxy A33
2025-04-04 16:43:32 +03:00
Anri Dellal b92c92452b board: add support for Samsung Galaxy A10
Add support for Samsung Galaxy A10, codenamed A105F.
2025-04-04 16:32:11 +03:00
Alexandru Chimac 95f4202dec gta4xl: Set CONFIG_RAMDISK_ENTRY 2025-04-04 16:15:06 +03:00
famfo c41e339369 board: Add support for Samsung A127F
Add support for the Samsung Galaxy A12 Nacho, codenamed A127F,
as well as define the SoC.
2025-04-04 16:13:57 +03:00
Ivaylo Ivanov 5ee9fd9c1a board: add support for Volla Phone Quintus
Add support for the Volla Algiz phone, as well as define MT6877.
2025-04-04 16:01:57 +03:00
Ivaylo Ivanov d3865c371b board: Add support for g0s (Samsung Galaxy S22+)
Add basic support for S22+. Set up some regulators via ACPM and kill
the watchdog till we have proper watchdog feeding.

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
2025-02-24 10:21:49 +02:00
Denzeel Oliva b46bbd2a47 board: Add support for r8s (Samsung Galaxy S20 FE)
Add basic support for Galaxy S20 FE, based on the Exynos 990.

Signed-off-by: Denzeel Oliva <wachiturroxd150@gmail.com>
[added a commit message]
Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
2024-12-01 22:16:01 +02:00
Ivaylo Ivanov eba7aec49d drivers: samsung: Introduce exynos-speedy
Speedy is a serial communication bus that is typically used in
Exynos SoC devices for communicating with a PMIC. Implement
basic support for it, as well as add its first user - s2mps17 in
board-dreamlte.

Also, while at it, implement a simple readl function.

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
2024-10-28 15:09:59 +02:00
Ivaylo Ivanov 8b562d28fa board: Set CONFIG_RAMDISK_ENTRY for all exynos990 platforms
Needed for Linux to boot a ramdisk, works on all 990 platforms and
removes the need of configuring it manually.

Signed-off-by: Umer Uddin <umer.uddin@mentallysanemainliners.org>
2024-10-22 11:27:50 +03:00
Igor Belwon 2d34fc0f91 [FIX] board: samsung: Fix compile issues due to missing headers
The board files for all boards except for dreamlte and j4lte
are missing drivers/framework.h and lib/simplefb.h headers.
This causes build failures on all targets except for dreamlte
and j4lte.

This commit includes said headers.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
2024-10-12 19:49:36 +03:00
Ivaylo Ivanov 9c60b66f71 AARCH64: Allow for embedding an initramfs
This actually breaks the armv7 port. It has to be revisited in the
future, since it not only is not compilable right now, but also
cannot boot linux properly. TODO

Also introduce a new C-based __memcpy_optimized that does not
cause an exception on some devices when copying the initramfs.
This issue has to be debugged further.

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
2024-10-12 19:43:05 +03:00
Ivaylo Ivanov 81d26edaa3 uniLoader: Mass rework
arch: aarch64: Load addresses via page + offset
arch: aarch64: Align the TEXT region
drivers: Introduce an empty framework
board: Rework to be PIC

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
2024-10-08 21:22:21 +03:00
Ivaylo Ivanov b301e51432 board: Introduce board file configurations
This is meant to replace the current Kconfig / SoC / Board files
configuration, which is ugly and annoying to maintain. Begin
by creating the board files registration framework and
transitioning all exynos boards to it. This also opens room for
creating the drivers registration framework in the future.

All non-samsung boards will be no longer able to do their board
configuration until they're also transitioned.

Every new board must have the following structure:
struct board_data default_board = {
	.name = "DEFAULT",
	.init = NULL,
	.late_init = NULL,
	.driver_setup = NULL,
};

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
2024-09-26 15:34:26 +03:00
chmcax 571fcac1f7 board: Add support for gta4xl (Samsung Galaxy Tab S6 Lite)
Signed-off-by: Alexandru Chimac	<alexchimac@protonmail.com>
2024-09-15 09:53:37 +03:00
Ivaylo Ivanov b37e225721 arch: arm: Implement TEXT_BASE instead of using a hardcoded address
This was an issue for other armv7 boards that have slightly different
addresses till now. This also allows to start working on relocation
in the near future for both armv7 and aarch64.

While we're at it, fix some mistakes here and there.

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
2024-08-06 11:12:31 +03:00
predefine e3ecb8206c j4lte: fix PAYLOAD_ENTRY
0x40008000 is used by kernel, and can be rewrited by new payload
2024-03-13 04:02:43 +07:00
predefine 61bb21275c add BGRA support 2023-11-10 23:06:34 +07:00
Ivaylo Ivanov c93df2826e Merge branch 'master' into master 2023-08-15 14:01:46 +03:00
predefine 9d2a29835c add Samsung Galaxy J4lte & Exynos 7570 support 2023-08-12 01:35:57 +07:00
BotchedRPR 6f83a56d5e Add support for c1s (Samsung Galaxy Note20) 2023-08-09 13:56:10 +02:00
Ivaylo Ivanov ed246836e9 lib: simplefb: Add support for RGB888 24bpp (dependant on the stride)
Also comes with small changes here and there.

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
2023-07-24 09:54:16 +03:00
Ivaylo Ivanov 05a43c1d73 Merge branch 'master' into master 2023-07-18 14:59:15 +03:00
Ivaylo Ivanov ed98b5d900 .: Multiple changes
arch: Implement ARM32 support
soc: Implement ARM32 support for MSM8916
board: Implement ARM32 support for Samsung Galaxy J5 2015
include: main: Revert built-in memcpy, rearrange and add support for writel
lib: simplefb: Make the clear screen function usable

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
Cc: Efim Girjeu <efimgirjeu@gmail.com>
2023-07-18 14:41:37 +03:00
halal-beef 5901622aaa Support for the exynos990 and the Samsung S20 2023-07-16 10:20:06 +01:00
David Wronek 2daacf4645 board: zeroflte: Add support for Samsung Galaxy S6
Signed-off-by: David Wronek <w.david0@protonmail.com>
2022-07-09 09:44:58 +02:00
Faiz Faadhillah e55d091dcc board: noblelte: Add support for Samsung Galaxy Note5
Signed-off-by: Faiz Faadhillah <faiz.faadhillah@gmail.com>
2022-06-29 13:02:28 +07:00