sync rpi target.

This commit is contained in:
2017-04-19 22:11:46 +02:00
parent b455ecc70d
commit 0ffbaabb71
5 changed files with 50 additions and 8 deletions
+8 -7
View File
@@ -4,17 +4,18 @@ image boot.vfat {
"bcm2708-rpi-b-plus.dtb",
"bcm2708-rpi-b.dtb",
"bcm2708-rpi-cm.dtb",
"boot.scr",
"rpi-firmware/bootcode.bin",
"config.txt",
"dev.scr",
"rpi-firmware/fixup.dat",
"rpi-firmware/start.elf",
"rpi-firmware/overlays",
"u-boot.bin",
"config.txt",
"boot.scr",
"dev.scr",
"update.scr",
"uboot.env",
"rpi_domo.dtb",
"rootfs.cpio.uboot",
"rpi-firmware/start.elf",
"u-boot.bin",
"uboot.env",
"update.scr",
"zImage"
}
}
+5 -1
View File
@@ -4,6 +4,10 @@ config interface loopback
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface wan
config interface lan
option ifname eth0
option proto dhcp
config interface wlan
option ifname wlan0
option proto dhcp
+15
View File
@@ -0,0 +1,15 @@
config wifi-device wlan0
option type mac80211
option channel 11
option hwmode 11g
option path 'platform/soc/20980000.usb/usb1/1-1/1-1.4/1-1.4:1.0'
option htmode HT20
option disabled 1
config wifi-iface
option device wlan0
option network wlan
option mode sta
option ssid ''
option encryption ''
option key ''
+21
View File
@@ -0,0 +1,21 @@
#!/bin/sh /etc/rc.common
#
START=10
STOP=97
boot() {
amixer cset numid=3 1
if [ -s `fw_printenv UUID 2> /dev/null` ];
then
/usr/sbin/fw_setenv UUID `cat /proc/sys/kernel/random/uuid`
fi
if [ -s `fw_printenv ethaddr 2> /dev/null` ];
then
IFACE=eth0
read MAC </sys/class/net/$IFACE/address
echo $IFACE $MAC
/usr/sbin/fw_setenv ethaddr $MAC
fi
mkdir -p /var/run/dbus/
}
+1
View File
@@ -0,0 +1 @@
../init.d/init_pi