[PATCH] sunxi: remove frequency for NanoPi R1

2022-12-11 Thread Jan-Niklas Burfeind
The frequency appears as unlisted initial frequency.
Removed it as Hauke suggested.

Signed-off-by: Jan-Niklas Burfeind 
---
This resolves part of the problem in #11104 on GitHub [1].
The "Waiting for root device /dev/mmcblk0p2..."-issue still remains and
leaves the device unbootable about half the time.

Without this the device boots less often.

[1] https://github.com/openwrt/openwrt/issues/11104

 .../patches/252-sunxi-h3-add-support-for-nanopi-r1.patch   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/package/boot/uboot-sunxi/patches/252-sunxi-h3-add-support-for-nanopi-r1.patch 
b/package/boot/uboot-sunxi/patches/252-sunxi-h3-add-support-for-nanopi-r1.patch
index 0db7be5421..058b29d95b 100644
--- 
a/package/boot/uboot-sunxi/patches/252-sunxi-h3-add-support-for-nanopi-r1.patch
+++ 
b/package/boot/uboot-sunxi/patches/252-sunxi-h3-add-support-for-nanopi-r1.patch
@@ -173,7 +173,7 @@ Signed-off-by: Jayantajit Gogoi 
 +};
 --- /dev/null
 +++ b/configs/nanopi_r1_defconfig
-@@ -0,0 +1,22 @@
+@@ -0,0 +1,21 @@
 +CONFIG_ARM=y
 +CONFIG_ARCH_SUNXI=y
 +CONFIG_SPL=y
@@ -186,7 +186,6 @@ Signed-off-by: Jayantajit Gogoi 
 +CONFIG_NR_DRAM_BANKS=1
 +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 +CONFIG_CONSOLE_MUX=y
-+CONFIG_SYS_CLK_FREQ=48000
 +# CONFIG_CMD_FLASH is not set
 +# CONFIG_SPL_DOS_PARTITION is not set
 +# CONFIG_SPL_EFI_PARTITION is not set
-- 
2.38.1


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


[sdwalker/sdwalker.github.io] 1d11a4: This week's update

2022-12-11 Thread Stephen Walker via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows
sending mailing list messages using the original "From" header.

To mitigate this problem, the original message has been wrapped
automatically by the mailing list software.--- Begin Message ---
  Branch: refs/heads/master
  Home:   https://github.com/sdwalker/sdwalker.github.io
  Commit: 1d11a42332319b9611cd0bec88e546243ce1d52f
  
https://github.com/sdwalker/sdwalker.github.io/commit/1d11a42332319b9611cd0bec88e546243ce1d52f
  Author: Stephen Walker 
  Date:   2022-12-11 (Sun, 11 Dec 2022)

  Changed paths:
M uscan/index-21.02.html
M uscan/index-22.03.html
M uscan/index.html

  Log Message:
  ---
  This week's update



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


[PATCH] gemini: Set proper default networks

2022-12-11 Thread Linus Walleij
Some Gemini devices are NAS type devices and need to ask for
DHCP IP on eth0. Some has a LAN/WAN setup. Add sensible
defaults for all known devices.

Signed-off-by: Linus Walleij 
---
 .../gemini/base-files/etc/board.d/02_network  | 15 +++
 1 file changed, 15 insertions(+)

diff --git a/target/linux/gemini/base-files/etc/board.d/02_network 
b/target/linux/gemini/base-files/etc/board.d/02_network
index d6ee5cadfe25..93a02a7564ef 100644
--- a/target/linux/gemini/base-files/etc/board.d/02_network
+++ b/target/linux/gemini/base-files/etc/board.d/02_network
@@ -9,16 +9,31 @@ dlink,dir-685)
ucidef_set_interface "eth" device "eth0" protocol "none"
ucidef_set_interfaces_lan_wan "lan0 lan1 lan2 lan3" "wan"
;;
+dlink,dns-313|\
+edimax,ns-2502|\
+raidsonic,ib-4220-b|\
+wiliboard,wbd111|\
+wiliboard,wbd222)
+   # NAS machines with a single ethernet port
+   ucidef_set_interface_lan "eth0" "dhcp"
+   ;;
 itian,sq201)
# These are all connected to eth1 thru VSC7395
ucidef_set_interface "eth" device "eth1" protocol "none"
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "eth0"
;;
+ssi,1328)
+   ucidef_set_interfaces_lan_wan "eth0" "eth1"
+   ;;
 storlink,gemini324)
# These are all connected to eth1 thru VSC7385
ucidef_set_interface "eth" device "eth1" protocol "none"
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "eth0"
;;
+teltonika,rut1xx)
+   # One ethernet LAN which is offering DHCP
+   ucidef_set_interface_lan "eth0"
+   ;;
 esac
 
 board_config_flush
-- 
2.34.1


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