1
0
Fork 0
Commit graph

36 commits

Author SHA1 Message Date
ada397e2c6 Disable UI width cap so display renders at native resolution 2026-07-13 19:58:32 -04:00
437045a987 Revert force-rebind of bound USB WiFi drivers in reprobe 2026-07-13 15:12:13 -04:00
11b43ccd36 Match wrimg.sh vendor partition size check to the new 512M size 2026-07-13 13:23:23 -04:00
9011825dd7 Grow vendor partition to 512M for USB WiFi firmware headroom 2026-07-13 13:21:20 -04:00
1668ff73d8 Force-rebind bound-but-broken USB WiFi drivers in reprobe 2026-07-13 13:15:15 -04:00
c82551723e Drop Broadcom private driver-command lib from supplicant and hostapd 2026-07-13 04:36:33 -04:00
4027a018b7 Add delayed second reprobe pass for in-flight probe races 2026-07-13 04:34:36 -04:00
b691318ecf Add wireless reprobe service for post-mount firmware loading 2026-07-13 04:16:02 -04:00
6645a6d36a Integrate source kernel build for tart
Switch from prebuilt kernel to source kernel build via TARGET_KERNEL_SOURCE.
- BoardConfig.mk: add TARGET_KERNEL_SOURCE, TARGET_KERNEL_CONFIG, TARGET_KERNEL_ARCH
- device.mk: remove deprecated prebuilt Image copy (kernel build handles it)
- mkimg.sh: prefer KERNEL_BUILD_OUT artifacts, fall back to prebuilt
2026-07-12 18:29:43 -04:00
460db77d17 Add temporary serial logcat and persistent logging for bring-up 2026-07-12 14:30:24 -04:00
98b243b081 Remove deprecated HIDL camera provider from VINTF manifest 2026-07-12 14:30:07 -04:00
f42f293557 Add software graphics stack (minigbm gralloc, ANGLE, SwiftShader) 2026-07-12 14:30:07 -04:00
fad0e966b0 Fix wrimg.sh partition layout and mkimg.sh sgdisk dependency 2026-07-12 00:08:30 -04:00
9063cf7f8e Rewrite README to reflect tart LineageOS ATV port 2026-07-12 00:05:59 -04:00
9a659abcf3 Update vendor inherit-product path to vendor/rockchip/tart 2026-07-11 20:29:13 -04:00
f08f38c5e4 Update device/kernel paths for tart codename rename 2026-07-11 18:43:11 -04:00
b7fe88c4b0 Add aosp_tart.mk following oriole pattern
Create aosp_tart.mk as the AOSP base product config (like
aosp_oriole.mk), inherited by lineage_tart.mk (like
lineage_oriole.mk). This matches the standard LineageOS
device tree convention.

Copyright (C) 2026 Brendan Szymanski <hello@bscubed.dev>
2026-07-11 18:06:01 -04:00
cb68fb7b21 Rename to tart codename
- Rename product makefile: lineage_tart.mk (PRODUCT_NAME=lineage_tart)
- Update AndroidProducts.mk for lineage_tart lunch target
- Change androidboot.hardware and TARGET_BOOTLOADER_BOARD_NAME to tart
- Rename ramdisk files: fstab.tart, init.tart.rc, ueventd.tart.rc
- Update device.mk ramdisk copy targets for tart names
- Update vendor makefile reference to tart-vendor.mk
- Update extlinux.conf kernel cmdline with tart hardware ID
- Fix bluetooth device name in vendor.prop

Copyright (C) 2026 Brendan Szymanski <hello@bscubed.dev>
2026-07-11 17:27:17 -04:00
baa8cbfd95 Add androidboot.boot_devices to extlinux.conf for by-name symlinks
Without androidboot.boot_devices or androidboot.boot_part_uuid
set in the kernel cmdline, init can't identify the boot device
and won't create /dev/block/by-name/ symlinks. The boot.cmd
script sets boot_part_uuid via U-Boot's 'part uuid' command,
but extlinux.conf boots without running boot.cmd.

Copyright (C) 2026 Brendan Szymanski <hello@bscubed.dev>
2026-07-11 17:01:55 -04:00
548445f2ae Derive output filename from build system LINEAGE_VERSION
Use build/soong/bin/get_build_var LINEAGE_VERSION to query
the build system for the version string, producing filenames
like lineage-23.2-20260711-UNOFFICIAL-orangepi5ultra.img.

Removes fragile zip-parsing and hardcoded fallback. Fails
cleanly if LINEAGE_VERSION cannot be resolved.

Copyright (C) 2026 Brendan Szymanski <hello@bscubed.dev>
2026-07-11 16:01:51 -04:00
0828852ffe mkimg_gpt.sh: standard filename, overwrite support, better extlinux label
- Output filename now uses LINEAGE_VERSION env var from lunch,
  producing lineage-23.2-20260711-UNOFFICIAL-orangepi5ultra.img
- Overwrite existing files instead of failing
- extlinux.conf label changed to 'LineageOS Android TV'

Copyright (C) 2026 Brendan Szymanski <hello@bscubed.dev>
2026-07-11 15:42:17 -04:00
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