[OpenWrt-Devel] ath79: ubnt factory images with attached signatures

2019-10-06 Thread Paul Spooren

Aloha,

I'm currently working on the reproducibility of OpenWrt snapshot images 
and packages and came across the following problem:


Some of the ath79 images have a signature attached to the factory images 
which is pointless as stock roms wont evaluate those anyway. However, as 
these factory images are padded after signature attaching the fwtool 
fails to replace them. An example of the situation is here[0].


This seems to be the case as the factory images simplify perform 
modifications on top of the sysupgrade images.


I'm not familiar enough with the build process, so if anyone would be up 
for help please let me know!


The affected profiles are

- ubnt_lap-120
- ubnt_nanobeam-ac
- ubnt_nanostation-ac-loco
- ubnt_nanostation-ac

Best,
Paul

[0]: 
https://rebuild.aparcar.org/SNAPSHOT/ath79/generic/openwrt-ath79-generic-ubnt_nanostation-ac-squashfs-factory.bin.html



___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [sdwalker/sdwalker.github.io] c6df41: This week's update

2019-10-06 Thread Stephen Walker
  Branch: refs/heads/master
  Home:   https://github.com/sdwalker/sdwalker.github.io
  Commit: c6df41a01d5efc082c5fb0ea6493a53606ba64a3
  
https://github.com/sdwalker/sdwalker.github.io/commit/c6df41a01d5efc082c5fb0ea6493a53606ba64a3
  Author: Stephen Walker 
  Date:   2019-10-07 (Mon, 07 Oct 2019)

  Changed paths:
M uscan/index-18.06.html
M uscan/index-19.07.html
M uscan/index.html

  Log Message:
  ---
  This week's update



___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] ath79: add support for UniFi AC-LR

2019-10-06 Thread Andreas Ziegler
The Unifi AC-LR has identical hardware to the Unifi AC-Lite.
The antenna setup is different according to the vendor,
which explains the thicker enclosure.
Therefore, it is helpful to know the exact device variant,
instead of having "Ubiquiti UniFi-AC-LITE/MESH".

Signed-off-by: Andreas Ziegler 
---
 target/linux/ath79/base-files/etc/board.d/02_network | 1 +
 .../base-files/etc/hotplug.d/firmware/11-ath10k-caldata  | 1 +
 target/linux/ath79/dts/qca9563_ubnt_unifiac-lr.dts   | 9 +
 target/linux/ath79/image/generic-ubnt.mk | 7 +++
 4 files changed, 18 insertions(+)
 create mode 100644 target/linux/ath79/dts/qca9563_ubnt_unifiac-lr.dts

diff --git a/target/linux/ath79/base-files/etc/board.d/02_network 
b/target/linux/ath79/base-files/etc/board.d/02_network
index 0de17adb9d..fe74bddbf1 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -50,6 +50,7 @@ ath79_setup_interfaces()
ubnt,nanostation-ac-loco|\
ubnt,rocket-m|\
ubnt,unifiac-lite|\
+   ubnt,unifiac-lr|\
ubnt,unifiac-mesh|\
ubnt,unifi|\
wd,mynet-wifi-rangeextender|\
diff --git 
a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata 
b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
index 446b729a2b..ba39cb3981 100644
--- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
@@ -179,6 +179,7 @@ case "$FIRMWARE" in
ath10kcal_patch_mac $(macaddr_add $(mtd_get_mac_binary info 
0x8) +1)
;;
ubnt,unifiac-lite|\
+   ubnt,unifiac-lr|\
ubnt,unifiac-mesh|\
ubnt,unifiac-mesh-pro|\
ubnt,lap-120|\
diff --git a/target/linux/ath79/dts/qca9563_ubnt_unifiac-lr.dts 
b/target/linux/ath79/dts/qca9563_ubnt_unifiac-lr.dts
new file mode 100644
index 00..a1e542ada6
--- /dev/null
+++ b/target/linux/ath79/dts/qca9563_ubnt_unifiac-lr.dts
@@ -0,0 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/dts-v1/;
+
+#include "qca9563_ubnt_unifiac-lite.dtsi"
+
+/ {
+   compatible = "ubnt,unifiac-lr", "qca,qca9563";
+   model = "Ubiquiti UniFi-AC-LR";
+};
diff --git a/target/linux/ath79/image/generic-ubnt.mk 
b/target/linux/ath79/image/generic-ubnt.mk
index 4b2cee215c..13af092ee3 100644
--- a/target/linux/ath79/image/generic-ubnt.mk
+++ b/target/linux/ath79/image/generic-ubnt.mk
@@ -225,6 +225,13 @@ define Device/ubnt_unifiac-lite
 endef
 TARGET_DEVICES += ubnt_unifiac-lite
 
+define Device/ubnt_unifiac-lr
+  $(Device/ubnt_unifiac)
+  DEVICE_MODEL := UniFi AC-LR
+  SUPPORTED_DEVICES += unifiac-lite
+endef
+TARGET_DEVICES += ubnt_unifiac-lr
+
 define Device/ubnt_unifiac-mesh
   $(Device/ubnt_unifiac)
   DEVICE_MODEL := UniFi AC-Mesh
-- 
2.23.0


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] ramips: add support for Asus RT-AC65P

2019-10-06 Thread mail
Hi,

> +#include "mt7621_asus_rt-ac[68]5p.dtsi"

that's not really nice. Consider to use just: mt7621_asus_rt-acx5p.dtsi

Best

Adrian


openpgp-digital-signature.asc
Description: PGP signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH v2] toolchain/gcc: switch to version 8 by default

2019-10-06 Thread Andre Heider

On 02/10/2019 09:15, Paul Spooren wrote:

Main motivation for this commit is the introduction of
`-ffile-prefix-map=` which alows reproducible build path.

Compiling tested without errors on the following targets:

* ath79
* brcm2708
* brcm63xx
* ixp4xx
* ramips
* sunxi
* x86

CC: Andre Heider 

Thanks to Andre for the iremap fixup

Signed-off-by: Paul Spooren 


Using this patch I have gcc8 builds running on sunxi and omap for a few 
days now, no issues so far!


Tested-by: Andre Heider 

Thanks,
Andre


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel