1
0
Fork 0
Commit graph

15 commits

Author SHA1 Message Date
248582c9e2 Add extlinux/extlinux.conf as U-Boot distro boot fallback
The extlinux.conf provides a standard U-Boot distro boot configuration
that allows boards with U-Boot already flashed to SPI NOR to boot
without needing the boot.scr script. U-Boot scans for this file at
/extlinux/extlinux.conf during its distro boot sequence.

This is the fallback when U-Boot is already on SPI and the boot
partition provides the kernel/DTB/ramdisk for Android TV.

Copyright (C) 2026 Brendan Szymanski <hello@bscubed.dev>
2026-07-11 15:36:14 -04:00
f1ecf8e92c Simplify mkbootimg.mk: boot partition handled by mkimg_gpt.sh
Remove unused OPI_BOOT_OUT staging directory. Boot.img is now
just the U-Boot binary for build system packaging. The actual
FAT32 boot partition with kernel/DTB/ramdisk is created by
mkimg_gpt.sh, which runs outside the build system and has
access to mkfs.vfat and mcopy.

Copyright (C) 2026 Brendan Szymanski <hello@bscubed.dev>
2026-07-11 15:19:19 -04:00
ff2a4813ba Fix mkimg_gpt.sh: executable, Ultra audit, boot partition fix
- Make mkimg_gpt.sh executable (chmod +x)
- Fix boot partition creation: create FAT32 fs and copy kernel/boot
  files instead of relying on boot.img (which was the u-boot binary)
- Add android-sdcard.dtbo to boot partition
- Parameterize DEVICE_PATH and KERNEL_PATH variables
- Use correct U-Boot path (new Ultra-specific bl32less binary)

The boot partition (p1) is now properly created as FAT32 with
kernel Image, DTB, boot.scr, ramdisk.img, and config.txt.
This matches what U-Boot expects to read from the boot media.

Copyright (C) 2026 Brendan Szymanski <hello@bscubed.dev>
2026-07-11 15:18:53 -04:00
0ffea7f732 Fix boot.img creation: use pre-built u-boot instead of mkfs.fat
mkfs.fat and mcopy are disallowed in Android 16 build system.
Use pre-built U-Boot binary as boot.img for packaging purposes.
The actual bootable image is created by mkimg_gpt.sh.

Copyright (C) 2026 Brendan Szymanski <hello@bscubed.dev>
2026-07-11 14:17:24 -04:00
c898f32cca Define INSTALLED_BOOTIMAGE_TARGET in mkbootimg.mk
Without explicit definition, the variable is empty when
TARGET_NO_KERNEL was set. Define it to ensure boot.img
is created for the target-files packaging step.

Copyright (C) 2026 Brendan Szymanski <hello@bscubed.dev>
2026-07-11 14:13:28 -04:00
477b190d38 Fix mkbootimg.mk: remove non-existent DTB files, fix ramdisk dep
The kernel repo only has the Orange Pi 5 Ultra DTB. Remove
references to other OPI5 variant DTBs. Fix ramdisk dependency
to use built ramdisk.img directly.

Copyright (C) 2026 Brendan Szymanski <hello@bscubed.dev>
2026-07-11 14:11:38 -04:00
28195c2d33 Replace TARGET_NO_KERNEL with BOARD_KERNEL_IMAGE_NAME
TARGET_NO_KERNEL prevented INSTALLED_BOOTIMAGE_TARGET from
being defined, breaking the target-files packaging step.
Use BOARD_KERNEL_IMAGE_NAME instead to satisfy kernel.mk.

Copyright (C) 2026 Brendan Szymanski <hello@bscubed.dev>
2026-07-11 14:08:20 -04:00
13a4f388a8 Remove minigbm_gbm_mesa gralloc APEX (requires mesa libgbm)
Stock AOSP mesa3d doesn't build libgbm_mesa, so the
minigbm_gbm_mesa gralloc wrapper can't link. Remove
for now to get a booting PoC with software rendering.

Copyright (C) 2026 Brendan Szymanski <hello@bscubed.dev>
2026-07-11 12:58:03 -04:00
57f2474eff Remove Panfrost/mesa3d-specific packages for stock mesa PoC
Stock AOSP mesa3d doesn't build libEGL_mesa, libgallium_dri,
or com.android.hardware.vulkan.panfrost. Remove these references
until Panfrost support is added back.

Copyright (C) 2026 Brendan Szymanski <hello@bscubed.dev>
2026-07-11 12:56:34 -04:00
76319e662e Use TARGET_NO_KERNEL for prebuilt kernel handled by custom bootimg
The kernel is prebuilt and boot image is assembled by mkbootimg.mk
which directly copies Image from the kernel path. Bypass LineageOS
kernel.mk with TARGET_NO_KERNEL since we handle it entirely via
BOARD_CUSTOM_BOOTIMG.
2026-07-11 11:47:39 -04:00
0c8cae4602 Add prebuilt kernel config to BoardConfig.mk
Set BOARD_KERNEL_IMAGE_NAME and TARGET_PREBUILT_KERNEL
for the prebuilt mainline 6.15 kernel Image.

Copyright (C) 2026 Brendan Szymanski <hello@bscubed.dev>
2026-07-11 11:36:02 -04:00
f92fcab811 Remove non-existent package references from device tree
- libGLESv1_CM_mesa and libGLESv2_mesa not available in AOSP mesa 25.0.4
- cec-ctl, ir-keytable, media-ctl require v4l-utils not in build

Copyright (C) 2026 Brendan Szymanski <hello@bscubed.dev>
2026-07-11 11:31:44 -04:00
16ca817e81 Update mesa3d namespace to use AOSP repo 2026-07-10 20:56:14 -04:00
ae84f8e65e Add device tree for Orange Pi 5 Ultra LineageOS ATV 2026-07-10 17:56:31 -04:00
ff9874b632 Initial commit 2026-07-10 16:00:00 -04:00