Skip to content

Commit

Permalink
phytium-embedded: add .wip support for Phytium PhytiumPi 4GB board (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
chainsx authored Mar 4, 2024
1 parent 58cf4e8 commit 09ed2e3
Show file tree
Hide file tree
Showing 9 changed files with 6,918 additions and 0 deletions.
16 changes: 16 additions & 0 deletions config/boards/phytiumpi.wip
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Phytium PhytiumPi quad core 4GB SoC GBe USB3
BOARD_NAME="Phytium Pi"
BOARDFAMILY="phytium-embedded"
BOARD_MAINTAINER=""
KERNEL_TARGET="legacy"
BOOT_FDT_FILE="phytium/phytiumpi_firefly.dtb"
SRC_EXTLINUX="yes"
SRC_CMDLINE="console=ttyAMA1,115200 earlycon=pl011,0x2800d000 rootfstype=ext4 rootwait cma=256m"

function post_family_tweaks__phytiumpi() {
display_alert "Applying bt blobs"
cp -v "$SRC/packages/blobs/phytiumpi/rtlbt/systemd-hciattach.service" "$SDCARD/etc/systemd/system/systemd-hciattach.service"
cp -v "$SRC/packages/blobs/phytiumpi/rtlbt/rtk_hciattach" "$SDCARD/usr/bin/rtk_hciattach"
cp -v "$SRC/packages/blobs/phytiumpi/rtlbt/rtl8821c_config" "$SDCARD/lib/firmware/rtlbt/rtl8821c_config"
cp -v "$SRC/packages/blobs/phytiumpi/rtlbt/rtl8821c_fw" "$SDCARD/lib/firmware/rtlbt/rtl8821c_fw"
}
Loading

0 comments on commit 09ed2e3

Please sign in to comment.