Merge Official Source

This commit is contained in:
CN_SZTL 2020-07-19 23:07:42 +08:00
commit cb7f85740b
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
3 changed files with 11 additions and 8 deletions

View File

@ -81,7 +81,13 @@
partition@10000 {
compatible = "tplink,firmware";
label = "firmware";
reg = <0x10000 0x3e0000>;
reg = <0x10000 0x3d0000>;
};
partition@3e0000 {
label = "config";
reg = <0x3e0000 0x10000>;
read-only;
};
factory: partition@3f0000 {
@ -103,8 +109,8 @@
&wmac {
status = "okay";
mtd-mac-address = <&factory 0xf100>;
mediatek,mtd-eeprom = <&factory 0x10000>;
};
&ethernet {

View File

@ -498,7 +498,7 @@ TARGET_DEVICES += tplink_tl-wr841n-v13
define Device/tplink_tl-wr841n-v14
$(Device/tplink-v2)
IMAGE_SIZE := 3968k
IMAGE_SIZE := 3904k
DEVICE_MODEL := TL-WR841N
DEVICE_VARIANT := v14
TPLINK_FLASHLAYOUT := 4Mmtk

View File

@ -11,6 +11,8 @@ ramips_setup_interfaces()
case $board in
alfa-network,awusfree1|\
d-team,pbr-d1|\
glinet,microuter-n300|\
glinet,vixmini|\
mediatek,linkit-smart-7688|\
onion,omega2p|\
onion,omega2|\
@ -57,11 +59,6 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"1:lan" "0:wan" "6@eth0"
;;
glinet,microuter-n300|\
glinet,vixmini)
ucidef_add_switch "switch0" \
"0:lan" "6@eth0"
;;
hilink,hlk-7628n|\
hiwifi,hc5861b|\
skylab,skw92a|\