Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:zyxel:zyxel_vsg1432 [2024/08/29 04:05] – [Experimental firmware] russinnestoh:zyxel:zyxel_vsg1432 [2024/08/29 04:23] – [Experimental firmware] russinnes
Line 17: Line 17:
 ===== OpenWrt support ===== ===== OpenWrt support =====
  
-<color red>**WIP.  Not (officially) supported.**</color>+<color red>**WIP.  Not (officially) supported.** Well, theres a way to get it working fairly well.. read on :)</color>
  
  
Line 25: Line 25:
 //Follow the discussion of possible support at this OpenWrt thread: [[http://forum.openwrt.org/viewtopic.php?id=62282]]  // //Follow the discussion of possible support at this OpenWrt thread: [[http://forum.openwrt.org/viewtopic.php?id=62282]]  //
  
-Patched Chaos Calmer version will boot and function as a wired router.  Wireless doesn't work on boot but can be made to work by following instructions detailed in this post: [[http://superuser.com/questions/868231/wlan-on-openwrt-router]]+<del>Patched Chaos Calmer version will boot and function as a wired router.  Wireless doesn't work on boot but can be made to work by following instructions detailed in this post: [[http://superuser.com/questions/868231/wlan-on-openwrt-router]]</del>
    
 ADSL modem does not work. ADSL modem does not work.
Line 35: Line 35:
 < ^---- Dead link, old version, SEE BELOW --- :) > < ^---- Dead link, old version, SEE BELOW --- :) >
  
-This is almost fully supported by using the 23.05.x using the "observa-vh4032n" firmware sysupgrade. It must be loaded via the CFE [I used the serial uart, header is on the board..] The bootloader can be stopped at which point LAN access to 192.168.1.1 will open a page to upload firmware. Upload the above firmware (sysupgrade). There may be another wa to interrupt the bootloader (recovery utility? not sure..) however the serial method works fine. +This is almost fully supported by using the 23.05.x using the "observa-vh4032n" firmware sysupgrade. This is a similar DSL router using the chipset. It must be loaded via the CFE [I used the serial uart, header is on the board..] The bootloader can be stopped at which point LAN access to 192.168.1.1 will open a page to upload firmware. Upload the above firmware (sysupgrade). There may be another way to interrupt the bootloader (recovery utility? not sure..) however the serial method works fine. 
 A few of the LED's are incorrect. 2.4GHz works fine both as an AP or client/bridge. No luck on the 5GHz as per the standard broadcom headache. As this is an xDSL variant, I have not yet got the WAN ethernet port up and running (LAN x4 work fine), however it works well as either an AP to extend an existing LAN, or using WLAN as a client for a lan extender, or standalone client.  A few of the LED's are incorrect. 2.4GHz works fine both as an AP or client/bridge. No luck on the 5GHz as per the standard broadcom headache. As this is an xDSL variant, I have not yet got the WAN ethernet port up and running (LAN x4 work fine), however it works well as either an AP to extend an existing LAN, or using WLAN as a client for a lan extender, or standalone client. 
  
-The WAN port is married to a BCM54616 which I can't yet find on the bus. I suspect some time with the DTS would open it up as I believe it is on the MDIO@1 bus wherease the LAN switch0 is on MDIO@0. I may get around to building a DTS and adding the device if I find some time, but for most folks looking to make this device useful again, the method above works. +The WAN port is married to a BCM54616 which I can't yet find on the bus. I suspect some time with the DTS would open it up as I believe it is on the MDIO@1 bus wherease the LAN switch0 is on MDIO@0. I may get around to building a DTS and adding the device if I find some time, but for most folks looking to make this device useful again, the method above works. Reach out if you need a hand : [[https://github.com/russinnes]]
  
  
Line 548: Line 548:
 </nowiki> </nowiki>
 </WRAP>\\ </WRAP>\\
 +
 +=== OpenWrt 23.05.4 bootlog ===
 +<WRAP bootlog>
 +<nowiki>
 +root@Zyxel:~# dmesg
 +[    0.000000] Linux version 5.15.134 (builder@buildhost) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23497-6637af95aa) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Mon Oct 9 21:45:35 2023
 +[    0.000000] Detected Broadcom 0x6368 CPU revision b2
 +[    0.000000] CPU frequency is 400 MHz
 +[    0.000000] 64MB of RAM installed
 +[    0.000000] board_bcm963xx: Boot address 0xb8000000
 +[    0.000000] board_bcm963xx: CFE version: 1.0.37-107.23
 +[    0.000000] printk: bootconsole [early0] enabled
 +[    0.000000] CPU0 revision is: 0002a031 (Broadcom BMIPS4350)
 +[    0.000000] board: board name: VH4032N
 +[    0.000000] MIPS: machine is Observa VH4032N
 +[    0.000000] Initrd not found or empty - disabling initrd
 +[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
 +[    0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
 +[    0.000000] Zone ranges:
 +[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
 +[    0.000000] Movable zone start for each node
 +[    0.000000] Early memory node ranges
 +[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
 +[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
 +[    0.000000] percpu: Embedded 11 pages/cpu s13200 r8192 d23664 u45056
 +[    0.000000] pcpu-alloc: s13200 r8192 d23664 u45056 alloc=11*4096
 +[    0.000000] pcpu-alloc: [0] 0 [0] 1 
 +[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
 +[    0.000000] Kernel command line: rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
 +[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
 +[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
 +[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
 +[    0.000000] Memory: 54572K/65536K available (7122K kernel code, 643K rwdata, 884K rodata, 1328K init, 221K bss, 10964K reserved, 0K cma-reserved)
 +[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
 +[    0.000000] rcu: Hierarchical RCU implementation.
 +[    0.000000] Tracing variant of Tasks RCU enabled.
 +[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
 +[    0.000000] NR_IRQS: 256
 +[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
 +[    0.000002] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
 +[    0.008304] Calibrating delay loop... 398.13 BogoMIPS (lpj=1990656)
 +[    0.074701] pid_max: default: 32768 minimum: 301
 +[    0.081696] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
 +[    0.089228] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
 +[    0.106005] rcu: Hierarchical SRCU implementation.
 +[    0.112517] smp: Bringing up secondary CPUs ...
 +[    0.119223] SMP: Booting CPU1...
 +[    4.010462] Primary instruction cache 64kB, VIPT, 4-way, linesize 16 bytes.
 +[    4.010499] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes
 +[    4.010746] CPU1 revision is: 0002a031 (Broadcom BMIPS4350)
 +[    0.182692] Synchronize counters for CPU 1: 
 +[    0.203365] SMP: CPU1 is running
 +[    0.203379] done.
 +[    0.213282] smp: Brought up 1 node, 2 CPUs
 +[    0.229203] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
 +[    0.239390] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
 +[    0.246797] pinctrl core: initialized pinctrl subsystem
 +[    0.255638] NET: Registered PF_NETLINK/PF_ROUTE protocol family
 +[    0.262946] thermal_sys: Registered thermal governor 'step_wise'
 +[    0.269653] registering PCI controller with io_map_base unset
 +[    0.281714] registering PCI controller with io_map_base unset
 +[    0.312178] PCI host bridge to bus 0000:00
 +[    0.316393] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
 +[    0.323525] pci_bus 0000:00: root bus resource [io  0x8000000-0x8007fff]
 +[    0.330386] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
 +[    0.338749] pci 0000:00:01.0: [14e4:a8d6] type 00 class 0x028000
 +[    0.346925] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x00003fff]
 +[    0.361298] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
 +[    0.368159] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x30003fff]
 +[    0.375801] PCI host bridge to bus 0000:01
 +[    0.380003] pci_bus 0000:01: root bus resource [mem 0x38000000-0x3fffffff]
 +[    0.387040] pci_bus 0000:01: root bus resource [io  0x8008000-0x800ffff]
 +[    0.393959] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
 +[    0.403344] pci 0000:01:1e.0: [14e4:6368] type 02 class 0x060700
 +[    0.410091] pci 0000:01:1e.0: bridge configuration invalid ([bus 00-00]), reconfiguring
 +[    0.418334] pci_bus 0000:02: extended config space not accessible
 +[    0.424763] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 05
 +[    0.431542] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 05
 +[    0.438401] pci 0000:01:1e.0: BAR 10: assigned [mem 0x38000000-0x3fffffff]
 +[    0.445443] pci 0000:01:1e.0: BAR 7: assigned [io  0x8008000-0x80080ff]
 +[    0.452275] pci 0000:01:1e.0: BAR 8: assigned [io  0x8008400-0x80084ff]
 +[    0.459064] pci 0000:01:1e.0: CardBus bridge to [bus 02-05]
 +[    0.464812] pci 0000:01:1e.0:   bridge window [io  0x8008000-0x80080ff]
 +[    0.471604] pci 0000:01:1e.0:   bridge window [io  0x8008400-0x80084ff]
 +[    0.478428] pci 0000:01:1e.0:   bridge window [mem 0x38000000-0x3fffffff]
 +[    0.486835] clocksource: Switched to clocksource MIPS
 +[    0.495091] b43-pci-bridge 0000:00:01.0: enabling device (0000 -> 0002)
 +[    0.567965] ssb: Found chip with id 0xA8D6, rev 0x00 and package 0x08
 +[    0.709018] b43-pci-bridge 0000:00:01.0: Sonics Silicon Backplane found on PCI device 0000:00:01.0
 +[    0.719360] NET: Registered PF_INET protocol family
 +[    0.724934] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
 +[    0.734545] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
 +[    0.743292] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
 +[    0.751270] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
 +[    0.759213] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
 +[    0.766519] TCP: Hash tables configured (established 1024 bind 1024)
 +[    0.773623] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
 +[    0.780498] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
 +[    0.788460] NET: Registered PF_UNIX/PF_LOCAL protocol family
 +[    0.794381] PCI: CLS 0 bytes, default 16
 +[    0.800948] workingset: timestamp_bits=14 max_order=14 bucket_order=0
 +[    0.820844] squashfs: version 4.0 (2009/01/31) Phillip Lougher
 +[    0.826939] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 +[    0.840490] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
 +[    0.856645] gpio-507 (usb-hub-reset-gpio): hogged as output/high
 +[    0.863093] bcm6368-pinctrl 10000080.pin-controller: registered at mmio (ptrval)
 +[    0.873413] 10000100.serial: ttyS0 at MMIO 0x10000100 (irq = 10, base_baud = 1562500) is a bcm63xx_uart
 +[    0.883258] printk: console [ttyS0] enabled
 +[    0.891882] printk: bootconsole [early0] disabled
 +[    0.912247] bcm2835-rng bcm63xx-rng: hwrng registered
 +[    0.926009] random: crng init done
 +[    0.932337] physmap-flash 18000000.nor: physmap platform flash device: [mem 0x18000000-0x19ffffff]
 +[    0.941982] 18000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
 +[    0.952545] 18000000.nor: Found an alias at 0x1000000 for the chip at 0x0
 +[    0.952657] Amd/Fujitsu Extended Query Table at 0x0040
 +[    0.958021]   Amd/Fujitsu Extended Query version 1.3.
 +[    0.963196] number of CFI chips: 1
 +[    0.970346] Searching for RedBoot partition table in 18000000.nor at offset 0xfe0000
 +[    1.012179] No RedBoot partition table detected in 18000000.nor
 +[    1.018516] 3 fixed-partitions partitions found on MTD device 18000000.nor
 +[    1.026055] Creating 3 MTD partitions on "18000000.nor":
 +[    1.031608] 0x000000000000-0x000000020000 : "CFE"
 +[    1.038916] 0x000000020000-0x000001fe0000 : "linux"
 +[    1.043959] mtd: partition "linux" extends beyond the end of device "18000000.nor" -- size truncated to 0xfe0000
 +[    1.058604] parser_imagetag: rootfs: CFE image tag found at 0x0 with version 6, board type 96368VVW
 +[    1.068064] parser_imagetag: Partition 0 is kernel offset 100 and length 292d4c
 +[    1.075567] parser_imagetag: Partition 1 is rootfs offset 292e4c and length d4d1b4
 +[    1.083411] parser_imagetag: Spare partition is offset 640004 and length 99fffc
 +[    1.091012] 2 bcm963xx-imagetag partitions found on MTD device linux
 +[    1.097577] Creating 2 MTD partitions on "linux":
 +[    1.102375] 0x000000000100-0x000000292e4c : "kernel"
 +[    1.107494] mtd: partition "kernel" doesn't start on an erase/write block boundary -- force read-only
 +[    1.119011] 0x000000292e4c-0x000000fe0000 : "rootfs"
 +[    1.124121] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
 +[    1.135611] mtd: setting mtd3 (rootfs) as root device
 +[    1.140930] 1 squashfs-split partitions found on MTD device rootfs
 +[    1.147333] 0x000000640000-0x000000fe0000 : "rootfs_data"
 +[    1.154810] 0x000001fe0000-0x000002000000 : "nvram"
 +[    1.159952] mtd: partition "nvram" is out of reach -- disabled
 +[    1.187862] bcm63xx-spi 10000800.spi: at [mem 0x10000800-0x10000f0b flags 0x200] (irq 9, FIFOs size 542)
 +[    1.199521] SPI driver b53-switch has no spi_device_id for brcm,bcm5325
 +[    1.206349] SPI driver b53-switch has no spi_device_id for brcm,bcm53115
 +[    1.213358] SPI driver b53-switch has no spi_device_id for brcm,bcm53125
 +[    1.220346] SPI driver b53-switch has no spi_device_id for brcm,bcm53128
 +[    1.227258] SPI driver b53-switch has no spi_device_id for brcm,bcm5365
 +[    1.234035] SPI driver b53-switch has no spi_device_id for brcm,bcm5395
 +[    1.240883] SPI driver b53-switch has no spi_device_id for brcm,bcm5397
 +[    1.247712] SPI driver b53-switch has no spi_device_id for brcm,bcm5398
 +[    1.322578] b53_common: found switch: BCM63xx, rev 0
 +[    1.328823] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
 +[    1.341031] leds-gpio leds-gpio.0: Skipping unavailable LED gpio 0 ((null))
 +[    1.348333] leds-gpio leds-gpio.0: Skipping unavailable LED gpio 0 ((null))
 +[    1.355493] leds-gpio leds-gpio.0: Skipping unavailable LED gpio 0 ((null))
 +[    1.362710] leds-gpio leds-gpio.0: Skipping unavailable LED gpio 0 ((null))
 +[    1.369907] leds-gpio leds-gpio.0: Skipping unavailable LED gpio 0 ((null))
 +[    1.381486] NET: Registered PF_INET6 protocol family
 +[    1.395597] Segment Routing with IPv6
 +[    1.399534] In-situ OAM (IOAM) with IPv6
 +[    1.403743] NET: Registered PF_PACKET protocol family
 +[    1.409073] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
 +[    1.422989] 8021q: 802.1Q VLAN Support v1.8
 +[    1.457471] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
 +[    1.479619] Freeing unused kernel image (initmem) memory: 1328K
 +[    1.485679] This architecture does not have kernel memory protection.
 +[    1.492383] Run /sbin/init as init process
 +[    1.496537]   with arguments:
 +[    1.496547]     /sbin/init
 +[    1.496558]   with environment:
 +[    1.496568]     HOME=/
 +[    1.496578]     TERM=linux
 +[    2.350020] init: Console is alive
 +[    2.354204] init: - watchdog -
 +[    3.798403] kmodloader: loading kernel modules from /etc/modules-boot.d/*
 +[    3.903357] usbcore: registered new interface driver usbfs
 +[    3.909345] usbcore: registered new interface driver hub
 +[    3.915072] usbcore: registered new device driver usb
 +[    3.934133] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
 +[    3.943783] fsl-ehci: Freescale EHCI Host controller driver
 +[    3.952957] ehci-platform: EHCI generic platform driver
 +[    4.086928] ehci-platform ehci-platform: EHCI Host Controller
 +[    4.092854] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
 +[    4.101313] ehci-platform ehci-platform: irq 15, io mem 0xb0001500
 +[    4.136829] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurrent ignored
 +[    4.146574] hub 1-0:1.0: USB hub found
 +[    4.150669] hub 1-0:1.0: 2 ports detected
 +[    4.167423] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
 +[    4.176156] ohci-platform: OHCI generic platform driver
 +[    4.181858] ohci-platform ohci-platform: Generic Platform OHCI controller
 +[    4.188934] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
 +[    4.197287] ohci-platform ohci-platform: irq 13, io mem 0xb0001600
 +[    4.272275] hub 2-0:1.0: USB hub found
 +[    4.276319] hub 2-0:1.0: 2 ports detected
 +[    4.283434] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
 +[    4.301826] init: - preinit -
 +[    6.815983] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
 +[    6.823204] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on LAN1, 100Mbps, full-duplex
 +[    7.857230] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
 +[    9.313182] jffs2: notice: (306) jffs2_build_xattr_subsystem: complete building xattr subsystem, 31 of xdatum (24 unchecked, 3 orphan) and 42 of xref (3 dead, 0 orphan) found.
 +[    9.332016] mount_root: switching to jffs2 overlay
 +[    9.356137] overlayfs: upper fs does not support tmpfile.
 +[    9.372907] urandom-seed: Seeding with /etc/urandom.seed
 +[    9.597354] procd: - early -
 +[    9.600794] procd: - watchdog -
 +[   10.392178] procd: - watchdog -
 +[   10.398980] procd: - ubus -
 +[   10.532657] procd: - init -
 +[   11.847298] kmodloader: loading kernel modules from /etc/modules.d/*
 +[   12.592863] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b
 +[   12.600657] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36
 +[   13.189904] PPP generic driver version 2.4.2
 +[   13.200435] NET: Registered PF_PPPOX protocol family
 +[   13.252733] b43-phy0: Broadcom 43222 WLAN found (core revision 16)
 +[   13.350895] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 6
 +[   13.357222] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2056, Revision 6, Version 0
 +[   13.392477] Broadcom 43xx driver loaded [ Features: PNL ]
 +[   13.457540] kmodloader: done loading kernel modules from /etc/modules.d/*
 +[   13.767066] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
 +[   15.087810] urngd: v1.0.2 started.
 +[   35.137385] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on LAN1, 100Mbps, full-duplex
 +[   35.155632] br-lan: port 1(eth0.1) entered blocking state
 +[   35.161338] br-lan: port 1(eth0.1) entered disabled state
 +[   35.167620] device eth0.1 entered promiscuous mode
 +[   35.172517] device eth0 entered promiscuous mode
 +[   35.191334] br-lan: port 1(eth0.1) entered blocking state
 +[   35.197004] br-lan: port 1(eth0.1) entered forwarding state
 +[   36.168617] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
 +[   40.796501] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
 +[   51.511486] phy0-sta0: authenticate with 82:2a:a8:81:8c:84
 +[   51.547430] phy0-sta0: send auth to 82:2a:a8:81:8c:84 (try 1/3)
 +[   51.557725] phy0-sta0: authenticated
 +[   51.567058] phy0-sta0: associate with 82:2a:a8:81:8c:84 (try 1/3)
 +[   51.577614] phy0-sta0: RX AssocResp from 82:2a:a8:81:8c:84 (capab=0x431 status=0 aid=1)
 +[   51.607366] phy0-sta0: associated
 +[   52.158415] IPv6: ADDRCONF(NETDEV_CHANGE): phy0-sta0: link becomes ready
 +</nowiki>
 +</WRAP>\\
 +
  
 ==== OpenWrt bootlog ==== ==== OpenWrt bootlog ====
  • Last modified: 2024/08/29 04:29
  • by russinnes