Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 20, 2015 03:12AM |
Admin Registered: 13 years ago Posts: 18,550 |
kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07-tld-4.nsa310.mtd0.kwb -p
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 20, 2015 06:52AM |
Registered: 9 years ago Posts: 15 |
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 20, 2015 07:09AM |
Admin Registered: 13 years ago Posts: 18,550 |
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 20, 2015 11:10AM |
Registered: 9 years ago Posts: 15 |
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 20, 2015 03:45PM |
Admin Registered: 13 years ago Posts: 18,550 |
Quote
EDIT5: The problem is that the NSA310 has a Realtek 8169 network chip instead of a Marvell Alaska 88E1318.
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 20, 2015 04:05PM |
Registered: 9 years ago Posts: 15 |
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 20, 2015 04:13PM |
Admin Registered: 13 years ago Posts: 18,550 |
Quote
http://zyxel.nas-central.org/wiki/Category:NSA-310
There are at least two versions of the NSA-310 'in the wild'. The rebranded TDC Homedisk, and the 'genuine' NSA-310. Yet another version was presentd at CeBIT 2007, but I never found evidence that it has actually been sold. According to the GPL sources there are at least 3 different versions, the TDC, the OBM and the SGW.
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 21, 2015 12:47AM |
Registered: 8 years ago Posts: 295 |
U-Boot 2014.07-tld-4 (Aug 19 2015 - 20:51:56) ZyXEL NSA310 1-Bay Power Media Server SoC: Kirkwood 88F6281_A1 DRAM: 256 MiB WARNING: Caches not enabled NAND: 128 MiB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: egiga0 PHY reset timed out MV88E1318 PHY initialized on egiga0 Hit any key to stop autoboot: 0
r8168 Gigabit Ethernet driver 8.023.00-NAPI loaded r8168 0000:00:01.0: no MSI. Back to INTx. Set LED ... eth%d: RTL8168B/8111B at 0xd0900000, 00:00:00:00:00:30, IRQ 9
MODEL_ID=A203This shold be the TDC Homedisk.
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 21, 2015 01:18AM |
Admin Registered: 13 years ago Posts: 18,550 |
> U-Boot 2014.07-tld-4 (Aug 19 2015 - 20:51:56) > ZyXEL NSA310 1-Bay Power Media Server > > > SoC: Kirkwood 88F6281_A1 > DRAM: 256 MiB > WARNING: Caches not enabled > NAND: 128 MiB > *** Warning - bad CRC, using default environment > > In: serial > Out: serial > Err: serial > Net: egiga0 > PHY reset timed out > MV88E1318 PHY initialized on egiga0 > Hit any key to stop autoboot: 0 >>
> r8168 Gigabit Ethernet driver 8.023.00-NAPI > loaded > r8168 0000:00:01.0: no MSI. Back to INTx. > Set LED ... > eth%d: RTL8168B/8111B at 0xd0900000, > 00:00:00:00:00:30, IRQ 9 >>
> MODEL_ID=A203 >> This shold be the TDC Homedisk.
> r8168 Gigabit Ethernet driver 8.023.00-NAPI > loaded > r8168 0000:00:01.0: no MSI. Back to INTx. > Set LED ... > eth%d: RTL8168B/8111B at 0xd0900000, > 00:00:00:00:00:30, IRQ 9
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 21, 2015 01:27AM |
Registered: 8 years ago Posts: 295 |
> > MODEL_ID=A203 > >> > This shold be the TDC Homedisk.
> > r8168 Gigabit Ethernet driver 8.023.00-NAPI > > loaded > > r8168 0000:00:01.0: no MSI. Back to INTx. > > Set LED ... > > eth%d: RTL8168B/8111B at 0xd0900000, > > 00:00:00:00:00:30, IRQ 9 >
[ 1.959239] r8169 0000:01:00.0: enabling device (0140 -> 0143) [ 1.965135] r8169 0000:01:00.0: enabling Mem-Wr-Inval [ 1.965291] r8169 0000:01:00.0: enabling bus mastering [ 1.965954] r8169 0000:01:00.0 eth0: RTL8168d/8111d at 0xd090e000, 00:00:00:00:00:30, XID 083000c0 IRQ 83 [ 1.975602] r8169 0000:01:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]debian
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 21, 2015 02:32AM |
Admin Registered: 13 years ago Posts: 18,550 |
> > > r8168 Gigabit Ethernet driver 8.023.00-NAPI > > > loaded > > > r8168 0000:00:01.0: no MSI. Back to INTx. > > > Set LED ... > > > eth%d: RTL8168B/8111B at 0xd0900000, > > > 00:00:00:00:00:30, IRQ 9 > > dmesg on ZyXEL OS >
> [ 1.959239] r8169 0000:01:00.0: enabling device > (0140 -> 0143) > [ 1.965135] r8169 0000:01:00.0: enabling > Mem-Wr-Inval > [ 1.965291] r8169 0000:01:00.0: enabling bus > mastering > [ 1.965954] r8169 0000:01:00.0 eth0: > RTL8168d/8111d at 0xd090e000, 00:00:00:00:00:30, > XID 083000c0 IRQ 83 > [ 1.975602] r8169 0000:01:00.0 eth0: jumbo > features [frames: 9200 bytes, tx checksumming: > ko] >> debian
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 21, 2015 02:41AM |
Registered: 8 years ago Posts: 295 |
ls /sys/class/leds/nsa310:red:usb . .. brightness device max_brightness power subsystem trigger uevent
dmesg | grep PCI [ 0.268538] PCI: CLS 0 bytes, default 32 [ 0.913091] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00 [ 0.913683] PCI: bus0: Fast back to back transfers disabled [ 0.914498] PCI: bus1: Fast back to back transfers disabled [ 0.914796] pci 0000:00:01.0: PCI bridge to [bus 01] [ 1.990971] ehci-pci: EHCI PCI platform driver
lspci 00:01.0 PCI bridge: Marvell Technology Group Ltd. 88F6281 [Kirkwood] ARM SoC (rev 03) 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 21, 2015 02:57AM |
Admin Registered: 13 years ago Posts: 18,550 |
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 21, 2015 03:09AM |
Registered: 8 years ago Posts: 295 |
echo usb-host > /sys/class/leds/nsa310\:red\:usb/trigger
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 21, 2015 03:11AM |
Registered: 9 years ago Posts: 15 |
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 21, 2015 04:07AM |
Admin Registered: 13 years ago Posts: 18,550 |
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 21, 2015 04:14AM |
Registered: 9 years ago Posts: 15 |
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 21, 2015 04:30AM |
Admin Registered: 13 years ago Posts: 18,550 |
EDIT6: Well, the chip is a RTL8111d chip (so reported by linux kernel, the chip itself says RTL8111DL). This chips should be supported by the rtl8169.c driver provided by u-boot. However, I have difficulties to add it to the nsa310 uboot build.
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 21, 2015 04:54AM |
Admin Registered: 13 years ago Posts: 18,550 |
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 21, 2015 05:08AM |
Registered: 9 years ago Posts: 15 |
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 21, 2015 05:33AM |
Admin Registered: 13 years ago Posts: 18,550 |
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 21, 2015 05:43AM |
Registered: 9 years ago Posts: 15 |
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 21, 2015 06:04AM |
Admin Registered: 13 years ago Posts: 18,550 |
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 21, 2015 07:53AM |
Registered: 8 years ago Posts: 295 |
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 21, 2015 01:29PM |
Admin Registered: 13 years ago Posts: 18,550 |
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 21, 2015 05:14PM |
Registered: 8 years ago Posts: 298 |
_ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** MARVELL BOARD: RD-88F6281A LE U-Boot 1.1.4 (Jun 8 2011 - 18:48:37) Marvell version: 3.4.19 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFEE0 Soc: 88F6281 A1 (DDR2) CPU running @ 1200Mhz L2 running @ 400Mhz SysClock = 400Mhz , TClock = 200Mhz DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 256MB DRAM Total size 256MB 16bit width Addresses 10M - 0M are saved for the U-Boot usage. Mem malloc Initialization (10M - 7M): Done NAND:128 MB Flash: 0 kB CPU : Marvell Feroceon (Rev 1) Kernel address is 0x4640000. Streaming disabled Write allocate disabled Module 0 is RGMII Module 1 is TDM USB 0: host mode PEX 0: PCI Express Root Complex Interface PEX interface detected Link X1 Net: egiga0, egiga1 [PRIME]
[ 1.897609] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 1.904949] platform mv643xx_eth_port.0: Driver mv643xx_eth_port requests probe deferral [ 1.913257] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded [ 1.918935] pci 0000:00:01.0: enabling device (0140 -> 0143) [ 1.925466] r8169 0000:01:00.0 eth0: RTL8168d/8111d at 0xd0912000, 00:00:00:00:00:30, XID 083000c0 IRQ 83 [ 1.935135] r8169 0000:01:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 2.990508] platform mv643xx_eth_port.0: Driver mv643xx_eth_port requests probe deferral
[ 18.227450] r8169 0000:01:00.0: Direct firmware load for rtl_nic/rtl8168d-2.fw failed with error -2 [ 18.236645] r8169 0000:01:00.0 eth0: unable to load firmware patch rtl_nic/rtl8168d-2.fw (-2) [ 18.264769] r8169 0000:01:00.0 eth0: link down [ 18.269244] r8169 0000:01:00.0 eth0: link down [ 18.273787] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
description: Computer product: ZyXEL NSA325 width: 32 bits *-core description: Motherboard physical id: 0 capabilities: zyxel_nsa325 marvell_kirkwood-88f6282 marvell_kirkwood *-cpu description: CPU product: cpu physical id: 0 bus info: cpu@0 *-memory description: System memory physical id: 2 size: 245MiB *-pci physical id: 1 bus info: pci@0000:00:01.0 version: 03 width: 32 bits clock: 33MHz capabilities: pci bus_master resources: ioport:10000(size=4096) memory:e0000000-e00fffff *-network description: Ethernet interface physical id: 0 bus info: pci@0000:01:00.0 logical name: eth0 version: 03 serial: 00:00:00:00:00:30 size: 100Mbit/s capacity: 1Gbit/s width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full ip=10.42.0.58 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s resources: irq:83 ioport:10000(size=256) memory:e0014000-e0014fff memory:e0010000-e0013fff memory:e0000000-e000ffffIn case you were wondering, yes it is connected to a crappy router, 100Mbit/s is normal.
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 21, 2015 05:54PM |
Admin Registered: 13 years ago Posts: 18,550 |
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 21, 2015 06:52PM |
Admin Registered: 13 years ago Posts: 18,550 |
Quote
http://forum.doozan.com/read.php?3,12381,21223#msg-21223
marlemion said:
EDIT7: So the RTL8111d chip is an PCI-e chip. PCI-e is initialized, however, the linking problems remain. Does anybody know how to get further?
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 22, 2015 05:50AM |
Admin Registered: 13 years ago Posts: 18,550 |
kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07-tld-4-test-1.nsa310.mtd0.kwb -p
Re: Zyxel NSA310 u-boot-2014.07-tld-4 for testing August 22, 2015 07:08AM |
Registered: 8 years ago Posts: 295 |
[ 1.947877] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded [ 1.953538] pci 0000:00:01.0: enabling device (0140 -> 0143) [ 1.959242] pci 0000:00:01.0: enabling bus mastering [ 1.959260] r8169 0000:01:00.0: enabling device (0140 -> 0143) [ 1.965155] r8169 0000:01:00.0: enabling Mem-Wr-Inval [ 1.965310] r8169 0000:01:00.0: enabling bus mastering [ 1.965975] r8169 0000:01:00.0 eth0: RTL8168d/8111d at 0xd090e000, 00:00:00:00:00:30, XID 083000c0 IRQ 83 [ 1.975622] r8169 0000:01:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko] ... ... 14.253938] NET: Registered protocol family 10 [ 14.444661] r8169 0000:01:00.0 eth0: link down [ 14.449151] r8169 0000:01:00.0 eth0: link down [ 14.453708] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 16.308575] r8169 0000:01:00.0 eth0: link up [ 16.312903] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/eth0/5c:f4:ab:e3:e6:1e Sending on LPF/eth0/5c:f4:ab:e3:e6:1e Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPOFFER from 192.168.1.1 DHCPACK from 192.168.1.1