mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-18 17:33:31 +00:00
ar71xx: sbr-ac1750 modified the MAC address of eth0 and the size of rootfs1
This commit is contained in:
parent
83bafa8ab0
commit
d6e47bc8c2
@ -61,7 +61,7 @@ preinit_set_mac_address() {
|
||||
sbr-ac1750)
|
||||
mac_lan=$(mtd_get_mac_binary ft 0)
|
||||
[ -n "$mac_lan" ] && ifconfig eth1 hw ether "$mac_lan"
|
||||
mac_wan=$(mtd_get_mac_binary ft 4)
|
||||
mac_wan=$(mtd_get_mac_binary ft 18)
|
||||
[ -n "$mac_wan" ] && ifconfig eth0 hw ether "$mac_wan"
|
||||
;;
|
||||
esac
|
||||
|
@ -45,7 +45,6 @@ define Device/sbr-ac1750
|
||||
BOARDNAME := SBR-AC1750
|
||||
IMAGE_SIZE := 95m
|
||||
KERNEL_SIZE := 4096k
|
||||
ROOTFS1_SIZE := 8192k
|
||||
BLOCKSIZE := 128k
|
||||
PAGESIZE := 2048
|
||||
UBINIZE_OPTS := -E 5
|
||||
@ -53,8 +52,8 @@ define Device/sbr-ac1750
|
||||
MTDPARTS := ar934x-nfc:1m(u-boot)ro,1m(u-boot-env)ro,4m(kernel),95m(ubi),1m(scfgmgr),4m(openwrt),1m(ft),2m(PKI),1m@0x6d00000(art)ro
|
||||
IMAGES := sysupgrade.tar kernel1.bin rootfs1.bin
|
||||
KERNEL := kernel-bin | patch-cmdline | lzma | uImage lzma
|
||||
IMAGE/kernel1.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | check-size $$$$(KERNEL_SIZE)
|
||||
IMAGE/rootfs1.bin := append-ubi | pad-to $$$$(ROOTFS1_SIZE) | check-size $$$$(IMAGE_SIZE)
|
||||
IMAGE/kernel1.bin := append-kernel | check-size $$$$(KERNEL_SIZE)
|
||||
IMAGE/rootfs1.bin := append-ubi | check-size $$$$(IMAGE_SIZE)
|
||||
IMAGE/sysupgrade.tar := sysupgrade-tar | append-metadata
|
||||
endef
|
||||
TARGET_DEVICES += sbr-ac1750
|
||||
|
Loading…
Reference in New Issue
Block a user