R0rt1z2 741f3e6a61 arch: zero BSS section during early boot
The C runtime requires that uninitialized global variables are zero.
In a bare-metal environment, memory contents are undefined at startup
and the BSS section is not automatically cleared, so we must zero out
this entire section ourselves.

Without this, static variables contain garbage values, leading to
unpredictable behavior. For example, the simplefb driver uses a static
variable to track the current print position, which resulted in text
being drawn at random locations on the screen.
2026-01-13 14:06:09 +02:00
2025-02-24 10:19:17 +02:00
2026-01-13 14:03:51 +02:00
2024-10-10 16:38:42 +03:00
2025-11-03 21:30:37 +02:00
2022-06-12 17:09:32 +03:00

uniLoader

uniLoader is a minimalistic loader, capable of booting Linux kernels.
It can be used as an intermediate bootloader, providing a clean booting environment in case of a forced and buggy bootloader.


Supported Architectures

  • ARMv7
  • ARMv8

Supported Devices

Apple

  • N61AP

Amazon

  • PW3

Google

  • Taimen

itel

  • P682LPN

Infinix

  • X6710

Nokia

  • Essential

Nothing

  • Tetris

QEMU

  • Virt

Samsung

  • A105F
  • A127F
  • A305F
  • A3XELTE
  • C1S
  • HEROLTE
  • G0S
  • NOBLELTE
  • JACKPOTLTE
  • ZEROFLTE
  • DREAMLTE
  • STARLTE
  • X1S
  • J5LTE
  • J4LTE
  • GTA4XL
  • R0Q
  • R8S

Volla

  • Algiz

Xiaomi

  • Begonia
  • Blossom
  • Camellia

Make Syntax

make ARCH=$(arch) CROSS_COMPILE=$(toolchain)

Building Example

sudo apt install aarch64-linux-gnu
git clone https://github.com/ivoszbg/uniLoader
cd uniLoader
cp /home/user/linux/arch/arm64/boot/Image blob/Image
cp /home/user/linux/arch/arm64/boot/dts/exynos/exynos8895-dreamlte.dtb blob/dtb
cp /home/user/ramdisk.gz blob/ramdisk
make ARCH=aarch64 CROSS_COMPILE=aarch64-linux-gnu- dreamlte_defconfig
make ARCH=aarch64 CROSS_COMPILE=aarch64-linux-gnu-

License

This project is licensed under GPLv2.

Description
No description provided
Readme GPL-2.0 12 MiB
Languages
C 82.5%
C++ 6.1%
Makefile 4.3%
Assembly 2.9%
Yacc 1.8%
Other 2.4%