Hi community,
can someone help me with creating a custom firmware (customized DTS) for a Zyxel GS-1900-8HPv1 ?
Over here, in another thread svanheule suggested "disabling gpio1
in the DTS should leave the GPIO chip alone. Maybe that's a good thing to test first".
I refer to the git issue https://github.com/openwrt/openwrt/issues/9534, my switch immediately resets after the following line once it's booted from OpenWrt.
[ 0.798769] rtl8231_init called, MDIO bus ID: 0
Here is the verification of the MDIO bus ID as requested in the issue:
RTL838x# md.l 0xbb00a09c
bb00a09c: 0000000c 00019000 0003e800 0007d000 ................
bb00a0ac: 00000000 00000000 00000000 00000000 ................
bb00a0bc: 00000000 00000000 00000000 00000000 ................
bb00a0cc: 00000000 00000000 00000000 00000000 ................
bb00a0dc: 00699041 00000180 00000000 00000000 .i.A............
bb00a0ec: 00000000 00000000 00000000 00000000 ................
bb00a0fc: 00000000 000480a8 00d71eec 00d71eec ................
bb00a10c: 00d71eec 00d71eec 00d71eec 00d71eec ................
bb00a11c: 00d71eec 00d71eec 00d71eec 00d71eec ................
bb00a12c: 00d71eec 00d71eec 00d71eec 00d71eec ................
bb00a13c: 00d71eec 00d71eec 00d71eec 00d71eec ................
bb00a14c: 00d71eec 00d71eec 00d71eec 00d71eec ................
bb00a15c: 00d71eec 00d71eec 00d71eec 00d71eec ................
bb00a16c: 00d71eec 00d71eec 00d71eec 00ffffff ................
bb00a17c: 0000ff00 00000000 00000000 00000000 ................
bb00a18c: 05000000 00000000 00220000 00000000 ........."......
RTL838x# rtk network on
Enable network
Force port28 link up 1G
Please wait for PHY init-time ...
RTL838x# md.l 0xbb00a09c
bb00a09c: 0000000c 00019000 0003e800 0007d000 ................
bb00a0ac: 00000000 00000000 00000000 00000000 ................
bb00a0bc: 00000000 00000000 00000000 00000000 ................
bb00a0cc: 00000000 00000000 00000000 00000000 ................
bb00a0dc: 00699041 00000180 00000000 00000000 .i.A............
bb00a0ec: 00000000 00000000 00000000 00000000 ................
bb00a0fc: 00000000 000480a8 00d71eec 00d71eec ................
bb00a10c: 00d71eec 00d71eec 00d71eec 00d71eec ................
bb00a11c: 00d71eec 00d71eec 00d71eec 00d71eec ................
bb00a12c: 00d71eec 00d71eec 00d71eec 00d71eec ................
bb00a13c: 00d71eec 00d71eec 00d71eec 00d71eec ................
bb00a14c: 00d71eec 00d71eec 00d71eec 00d71eec ................
bb00a15c: 00d71eec 00d71eec 00d71eec 00d71eec ................
bb00a16c: 00d71eec 00d71eec 0006192f 00ffffff .........../....
bb00a17c: 0000ff00 00000000 00000000 00000000 ................
bb00a18c: 05000000 00000000 00220000 00000000 ........."......
Here is the bootloader output, as requested in the issue:
U-Boot 2011.12.39239-svn41394 (Jul 24 2013 - 09:34:28)
Board: RTL838x CPU:500MHz LXB:200MHz MEM:300MHz
DRAM: 128 MB
SPI-F: 1x16 MB
Loading 1024B env. variables from offset 0x40000
Switch Model: ZyXEL_GS1900_8HP (Port Count: 8)
Switch Chip: RTL8382M
How can it be that different Gs1900-8HPv1 behave so differently? What is different about them ? The U-boot loader ? I also have an SPI flasher at hand.
Many thanks,
Christian