Skip to content

Commit

Permalink
firefly-rk3399: move to rockchip64 family
Browse files Browse the repository at this point in the history
  • Loading branch information
chainsx authored and igorpecovnik committed May 17, 2024
1 parent fe64f1f commit aa6ed7c
Show file tree
Hide file tree
Showing 7 changed files with 2,150 additions and 2,053 deletions.
24 changes: 3 additions & 21 deletions config/boards/firefly-rk3399.csc
Original file line number Diff line number Diff line change
@@ -1,29 +1,11 @@
# Rockchip RK3399 hexa core 4GB SoC eMMC GBE USB3 WiFi
BOARD_NAME="Firefly RK3399"
BOARDFAMILY="media"
BOARD_MAINTAINER="150balbes"
BOARDFAMILY="rockchip64"
BOARD_MAINTAINER=""
BOOTCONFIG="firefly-rk3399_defconfig"
KERNEL_TARGET="legacy,current,edge"
KERNEL_TARGET="current,edge"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3399-firefly.dtb"
SRC_EXTLINUX="yes"
SRC_CMDLINE="console=ttyS2,1500000 console=tty0"
#ASOUND_STATE="asound.state.station-p1"

function post_family_tweaks_bsp__firefly-rk3399_BSP() {
display_alert "Installing BSP firmware and fixups"

if [[ $BRANCH == legacy ]]; then

# Bluetooth for most of others (custom patchram is needed only in legacy)
install -m 755 $SRC/packages/bsp/rk3399/brcm_patchram_plus_rk3399 $destination/usr/bin
cp $SRC/packages/bsp/rk3399/rk3399-bluetooth.service $destination/lib/systemd/system/

# need to swap chips in the service
sed -i s%BCM4345C5%BCM4356A2%g $destination/lib/systemd/system/rk3399-bluetooth.service

fi

return 0
}
Loading

0 comments on commit aa6ed7c

Please sign in to comment.