mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-21 14:21:27 +00:00
UART2 is serial console on both kernels for Tinkerboard. Adjusting config.
This commit is contained in:
parent
7a831f2a70
commit
90253c7997
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ family_tweaks()
|
||||||
{
|
{
|
||||||
if [[ $BOARD == tinkerboard ]]; then
|
if [[ $BOARD == tinkerboard ]]; then
|
||||||
echo "fdt_file=rk3288-miniarm.dtb" >> $SDCARD/boot/armbianEnv.txt
|
echo "fdt_file=rk3288-miniarm.dtb" >> $SDCARD/boot/armbianEnv.txt
|
||||||
echo "console=ttyS3,115200n8" >> $SDCARD/boot/armbianEnv.txt
|
echo "console=ttyS2,115200n8" >> $SDCARD/boot/armbianEnv.txt
|
||||||
chroot $SDCARD /bin/bash -c "systemctl --no-reload enable tinker-bluetooth.service >/dev/null 2>&1"
|
chroot $SDCARD /bin/bash -c "systemctl --no-reload enable tinker-bluetooth.service >/dev/null 2>&1"
|
||||||
sed -i -e "/#load-module module-alsa-sink/r $SRC/packages/bsp/rockchip/pulseaudio.txt" $SDCARD/etc/pulse/default.pa >/dev/null 2>&1
|
sed -i -e "/#load-module module-alsa-sink/r $SRC/packages/bsp/rockchip/pulseaudio.txt" $SDCARD/etc/pulse/default.pa >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
@ -89,7 +89,7 @@ family_tweaks_bsp()
|
||||||
install -m 755 $SRC/packages/bsp/rockchip/rtk_hciattach $destination/usr/bin
|
install -m 755 $SRC/packages/bsp/rockchip/rtk_hciattach $destination/usr/bin
|
||||||
install -m 755 $SRC/packages/bsp/rockchip/start_bt.sh $destination/usr/local/bin
|
install -m 755 $SRC/packages/bsp/rockchip/start_bt.sh $destination/usr/local/bin
|
||||||
cp $SRC/packages/bsp/rockchip/tinker-bluetooth.service $destination/lib/systemd/system/
|
cp $SRC/packages/bsp/rockchip/tinker-bluetooth.service $destination/lib/systemd/system/
|
||||||
|
|
||||||
# Sound
|
# Sound
|
||||||
cp $SRC/packages/bsp/rockchip/asound.conf $destination/etc/
|
cp $SRC/packages/bsp/rockchip/asound.conf $destination/etc/
|
||||||
cp $SRC/packages/bsp/rockchip/89-pulseaudio-usb.rules $destination/etc/udev/rules.d
|
cp $SRC/packages/bsp/rockchip/89-pulseaudio-usb.rules $destination/etc/udev/rules.d
|
||||||
|
|
Loading…
Add table
Reference in a new issue