Path: blob/next/external/config/sources/families/rockchip64.conf
18285 views
source "${BASH_SOURCE%/*}/include/rockchip64_common.inc"12BOOTPATCHDIR="u-boot-rockchip64-mainline"34family_tweaks_bsp()5{67if [[ $BOARD =~ orangepir1plus|orangepir1plus-lts ]]; then89install -m 755 $EXTER/packages/blobs/rockchip/set_r1plus_lan_mac.sh $destination/usr/bin/10install -m 755 $EXTER/packages/blobs/rockchip/pwm-fan.sh $destination/usr/bin/11fi12}1314family_tweaks_s()15{1617if [[ $BOARD =~ orangepir1plus|orangepir1plus-lts ]]; then1819cat <<-EOF > "${SDCARD}"/etc/rc.local20#!/bin/sh -e21#22# rc.local23#24# This script is executed at the end of each multiuser runlevel.25# Make sure that the script will "exit 0" on success or any other26# value on error.27#28# In order to enable or disable this script just change the execution29# bits.30#31# By default this script does nothing.3233/usr/bin/set_r1plus_lan_mac.sh3435exit 036EOF3738chmod +x "${SDCARD}"/etc/rc.local39fi40}4142prepare_boot_configuration434445