Commit Graph
61 Commits
Author SHA1 Message Date
Akari Tsuyukusa 6ded1cbd44 board: Add support for Blackview Tab 15 Pro
Signed-off-by: Akari Tsuyukusa <akkun11.open@gmail.com>
2026-05-24 10:10:37 +02:00
Aiden Isik 7a2c9a33c9 configs: lucky7: Enable UART 2026-05-22 10:05:37 +02:00
Igor Belwon 72226d6b20 board: Add support for Sony Xperia 1 VI (pdx245)
Xperia 1 VI is a flagship phone manufactured by Sony, based on the
Qualcomm Snapdragon 8 Gen 3 Mobile Platform.

Add support for this board.

NOTE: This board is new, and as such, it requires some ugly hax and
a fallback boot method to boot any sort of [u-boot/uniLoader/mainline]
In short:
- build:
  - ARCH=aarch64 CROSS_COMPILE=aarch64-linux-gnu- make -j32
  - cat uniLoader.gz dummy.dtb > uni.dtb
  - mkbootimg --kernel uni.dtb --ramdisk <some ramdisk (required)> \
    --pagesize 4096 --base 0x0 --kernel_offset 0x8000 \
    --ramdisk_offset 0x1000000 --tags_offset 0x100 \
    --dtb_offset 0x1f00000 --header_version 0 --os_version 16.0.0 \
    --os_patch_level 2026-04 -o boot.img
    (yes, all properties are required.)
- prepare device:
 - boot to fastboot mode (volume up and plug in USB)
 - fastboot erase dtbo erase vendor_boot
- flash:
 - fastboot flash boot boot.img continue

Where:
 - dummy.dtb is a skeleton.dtsi with a reserved memory node called
   splash_region as a child of the chosen node.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2026-05-15 00:37:13 +03:00
Ivaylo Ivanov 732d6f30b9 board: add support for Motorola Edge 30 Fusion
Add basic support for Motorola tundra, usable to boot mainline Linux.
UniLoader has to be packaged with mkbootimg (header_version 3), as it
acts as a wrapper for the kernel image and tree.
2026-05-11 22:04:15 +02:00
Igor Belwon 84bc0d3d74 board: Add support for the Sony PlayStation Vita
This commit adds support for the PSVita 1xxx/2xxx variants, which have:
 - 4x Cortex A9
 - OLED/LCD display (both types get init. by libbaremetal before)
 - 512MB RAM (ew)
 - Some PowerVR custom GPU (ew)
2026-05-05 00:14:25 +03:00
Igor Belwon 93d43c3a82 board: Add support for Lenovo Idea Tab Pro
* Needs to be unlocked via an exploit
* mkbootimg --kernel uniLoader.lz4 --header_version 4 --out boot.img
* Has very slow fastboot (usb 1.1 speeds slow), so flashing via the
  SoC flash mode or fastbootd is recommended
* fastboot flash boot boot.img reboot

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2026-05-01 14:30:38 +03:00
faveoled 63319a14bd board: Add support for Realme C35 2026-04-27 14:49:39 +02:00
Spyware_Hunter c8c864c1ed configs: Correct codenames for some Samsung devices 2026-04-27 13:00:24 +02:00
Aiden Isik 9ae8d18028 board: Add support for Samsung Galaxy Watch FE
Adds the initial support for Samsung Galaxy Watch FE (lucky7).
2026-04-21 16:33:50 +02:00
Igor Belwon ecd7ebf677 virt: disable gzip and libfdt
gzip: qemu shall use uniLoader.o as the kernel which also enables symbol maps and other cool stuff.
so, the gzip-compressed uniLoader image is useless and can slow down the compile process

libfdt: temporary. it doesn't seem to pick up the fdt that is passed when booting raw kernel

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2026-02-23 23:02:53 +02:00
tildeguy e69eba1d89 board: add support for Huawei Mediapad T5
Adds the initial support for Huawei Mediapad T5 (agassi2) and Hi6250-based devices.
2026-02-21 11:16:21 +01:00
faveoled c4d3f6490e board: add support for Samsung Galaxy S10 2026-02-07 09:34:05 +02:00
Hendra Manudinata da2cd8d222 configs: j4lte: Add required addresses 2026-01-27 10:52:40 +02:00
evilMyQueen 65de257b2c board: add support for Infinix Note 30 VIP
Signed-off-by: evilMyQueen <evilMyQueen@mainlining.org>
2026-01-04 10:51:14 +02:00
faveoled cf4c76be24 board: add support for Samsung Galaxy A30 2026-01-02 11:11:03 +02:00
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
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
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 b6635ab77d board: introduce support for xiaomi blossom devices
Signed-off-by: evilMyQueen <vernamjap@gmail.com>
2025-10-17 22:50:51 +02:00
Eric Gonçalves 6557f34c66 board: Add support for the Samsung Galaxy S22 2025-10-03 17:36:36 +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
Ивайло Иванов 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 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 c6b486f0ed aarch64: introduce early relocation of the bootloader
All newer exynos devices with s-boot have the "feature" of placing the
android kernel at a random location in dram, specifically around
0x80000000 and 0x83000000. This made it hard to assume where we are at,
hence why we made everything as PiE (position-independent) as possible.

This, however, resulted in a lot of issues. I usually managed to get
around them with ugly hacks, but in the last 5-6 commits, with the
fixed support for armv7, everything fell apart for arm64.

So, the solution for this is to implement code at the beginning
of the bootloader that relocates it to a safe place in memory.
This is currently enabled for dreamlte, and it must be enabled
and configured for all other boards with that issue. Otherwise they
will NOT boot anymore. Boards that don't need this can keep
CONFIG_POSITION_INDEPENDENT disabled.
2025-07-10 15:58:45 +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 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
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
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
Igor Belwon 7b84c6bff6 [FIX] configs: Fix c1s_defconfig permissions
This file used 0777 permissions. Change to 664 to conform with other configuration files.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
2024-10-12 19:45:43 +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