mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
* add workaround against default MAC Address (userland utility bdaddr does not work to set MAC Address as expected) * enable bits for xt-q8l-v10 board (ap6330/bcm4330 part), switching AP6330 bluetooth to btbcm driver using serdev facilities to avoid userspace machinery with deprecated hciattach tool, added bits to enable driver support in kernel. Removed ap6330 bluetooth service from bsp packages, added initramfs-tools hook to include bcm4330b1.hcd firmware in initramfs
13 lines
433 B
Bash
13 lines
433 B
Bash
#!/bin/sh -e
|
|
|
|
# Broadcom 4330 initramfs support file
|
|
# To let the kernel btbcm driver find the driver, we need to copy the 4330 firmware
|
|
# appropriately in the /lib/firmware/brcm directory of the initramfs. This script
|
|
# does that on each update.
|
|
|
|
if [ "$1" = "prereqs" ]; then exit 0; fi
|
|
. /usr/share/initramfs-tools/hook-functions
|
|
|
|
mkdir -p $DESTDIR/lib/firmware/brcm
|
|
cp /lib/firmware/brcm/BCM4330B1.hcd $DESTDIR/lib/firmware/brcm
|