target: ramips: update
This commit is contained in:
parent
74839bc196
commit
1c3744d467
@ -540,10 +540,7 @@ ramips_setup_macs()
|
||||
wan_mac=$(mtd_get_mac_binary factory 57350)
|
||||
;;
|
||||
gl-mt300n-v2|\
|
||||
<<<<<<< HEAD
|
||||
miwifi-mini|\
|
||||
=======
|
||||
>>>>>>> parent of 5d51ba13... ramips: delete MTK 762x support
|
||||
whr-g300n)
|
||||
wan_mac=$(mtd_get_mac_binary factory 4)
|
||||
;;
|
||||
@ -581,13 +578,6 @@ ramips_setup_macs()
|
||||
wan_mac=$(mtd_get_mac_binary Factory 0xe000)
|
||||
;;
|
||||
xiaomi,miwifi-r3|\
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
miwifi-mini)
|
||||
wan_mac=$(cat /sys/class/net/eth0/address)
|
||||
lan_mac=$(macaddr_setbit_la "$wan_mac")
|
||||
;;
|
||||
>>>>>>> parent of 5d51ba13... ramips: delete MTK 762x support
|
||||
k2p)
|
||||
lan_mac=$(mtd_get_mac_binary factory 0xe000)
|
||||
wan_mac=$(mtd_get_mac_binary factory 0xe006)
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
<<<<<<< HEAD
|
||||
START=99
|
||||
boot() {
|
||||
case $(board_name) in
|
||||
@ -10,16 +9,4 @@ boot() {
|
||||
fw_setenv flag_boot_success 1
|
||||
;;
|
||||
esac
|
||||
=======
|
||||
|
||||
START=99
|
||||
|
||||
start() {
|
||||
. /lib/functions.sh
|
||||
|
||||
local board=$(board_name)
|
||||
if [ $board = "sk-wb8" ]; then
|
||||
fw_setenv bootcount 0
|
||||
fi
|
||||
>>>>>>> parent of 5d51ba13... ramips: delete MTK 762x support
|
||||
}
|
||||
|
||||
@ -57,17 +57,12 @@
|
||||
&pinctrl {
|
||||
state_default: pinctrl0 {
|
||||
gpio {
|
||||
<<<<<<< HEAD
|
||||
ralink,group = "gpio", "refclk", "wdt", "wled_an";
|
||||
=======
|
||||
ralink,group = "refclk", "wled_an", "gpio";
|
||||
>>>>>>> parent of 5d51ba13... ramips: delete MTK 762x support
|
||||
ralink,function = "gpio";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
<<<<<<< HEAD
|
||||
&ehci {
|
||||
status = "disabled";
|
||||
};
|
||||
@ -76,8 +71,6 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
=======
|
||||
>>>>>>> parent of 5d51ba13... ramips: delete MTK 762x support
|
||||
&wmac {
|
||||
status = "okay";
|
||||
ralink,mtd-eeprom = <&factory 0x4>;
|
||||
@ -93,11 +86,7 @@
|
||||
m25p80@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
reg = <0>;
|
||||
<<<<<<< HEAD
|
||||
spi-max-frequency = <40000000>;
|
||||
=======
|
||||
spi-max-frequency = <10000000>;
|
||||
>>>>>>> parent of 5d51ba13... ramips: delete MTK 762x support
|
||||
m25p,chunked-io = <32>;
|
||||
|
||||
partitions {
|
||||
@ -108,10 +97,6 @@
|
||||
partition@0 {
|
||||
label = "u-boot";
|
||||
reg = <0x0 0x30000>;
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
read-only;
|
||||
>>>>>>> parent of 5d51ba13... ramips: delete MTK 762x support
|
||||
};
|
||||
|
||||
partition@30000 {
|
||||
|
||||
@ -283,12 +283,8 @@ define Device/u25awf-h1
|
||||
DTS := U25AWF-H1
|
||||
IMAGE_SIZE := 16064k
|
||||
DEVICE_TITLE := Kimax U25AWF-H1
|
||||
<<<<<<< HEAD
|
||||
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-storage kmod-scsi-core \
|
||||
kmod-fs-ext4 kmod-fs-vfat block-mount
|
||||
=======
|
||||
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
||||
>>>>>>> parent of 5d51ba13... ramips: delete MTK 762x support
|
||||
endef
|
||||
TARGET_DEVICES += u25awf-h1
|
||||
|
||||
@ -336,12 +332,8 @@ define Device/kimax_u35wf
|
||||
DTS := U35WF
|
||||
IMAGE_SIZE := 16064k
|
||||
DEVICE_TITLE := Kimax U35WF
|
||||
<<<<<<< HEAD
|
||||
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-storage kmod-scsi-core \
|
||||
kmod-fs-ext4 kmod-fs-vfat block-mount
|
||||
=======
|
||||
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
||||
>>>>>>> parent of 5d51ba13... ramips: delete MTK 762x support
|
||||
endef
|
||||
TARGET_DEVICES += kimax_u35wf
|
||||
|
||||
|
||||
@ -97,11 +97,7 @@ define Device/miwifi-nano
|
||||
DTS := MIWIFI-NANO
|
||||
IMAGE_SIZE := $(ralink_default_fw_size_16M)
|
||||
DEVICE_TITLE := Xiaomi MiWiFi Nano
|
||||
<<<<<<< HEAD
|
||||
DEVICE_PACKAGES := uboot-envtools
|
||||
=======
|
||||
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
|
||||
>>>>>>> parent of 5d51ba13... ramips: delete MTK 762x support
|
||||
endef
|
||||
TARGET_DEVICES += miwifi-nano
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user