.config位kernel配置
hi3559av100.dtsi是kernel dts配置
sys_config.c是pinmux设置驱动
合并后重新编译
rootfs是打包好的镜像
以下是wifi bt操作命令
wifi:
insmod /lib/modules/8821cs.ko
ifconfig eth0 down
ifconfig wlan0 up
hostapd /etc/hostapd.conf &
dnsmasq -C /etc/dnsmasq.conf &
bt:
insmod /lib/modules/hci_uart.ko
rtk_hciattach -n -s 115200 ttyAMA7 rtk_h5 &
hciconfig hci0 up
dbus-daemon --system
bluetoothd --compat -d -n &
hciconfig hci0 noencrypt
hciconfig hci0 piscan
sdptool add SP
sdptool browse local
rfcomm listen /dev/rfcomm0 1 &
mknod /dev/rfcomm0 c 216 0
chmod -R 777 /dev/rfcomm0