Welcome! Log In Create A New Profile

Advanced

HP 5325 ethernet stopped working

Posted by Koen 
Re: HP 5325 ethernet stopped working
December 09, 2018 09:51AM
When I connect a screen, mouse and keyboard it shows the device booting into the stock OS so re-flashing the chip with the original uboot etc. has been successful. Unfortunately the ethernet connection doesn't work so that indicates that there is a hardware problem with my device. Thanks everyone for the advice and contributions.

Regards,

Koen
Re: HP 5325 ethernet stopped working
December 09, 2018 03:20PM
Koen,

> I've used to following section of the original
> stock dmesg output to put together the different
> mtd files in the correct order (using my backup of
> uboot and the env combined with the other files
> supplied by fortis91). I've used cat to merge all
> the files together and added an empty file to the
> end to match the size of the 1M chip. I've then
> used flashrom on my raspberry pi to flash the 1M
> file to the chip.

You did it the hard way! perhaps that is wrong and that caused problem. There is no need to use programmer on rPi.

Try booting into Debian on USB like before with kwboot and then flash the mtds using flashcp. See the installation thread:

https://forum.doozan.com/read.php?3,26562

For example, to flash u-boot image


4. Flash u-boot to mtd3 

cd /tmp/sdb1/boot
flash_unlock /dev/mtd3
flashcp -v uboot.2017.07-tld-1.t5325.mtd0.kwb   /dev/mtd3

Use that example above to flash other mtds.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: HP 5325 ethernet stopped working
December 10, 2018 01:43PM
Hi bodhi,

I tried that but got confused since the mtd definition in Debian is different than in stock. And even the mtd definition in stock is numbered differently than the order they appear on the chip. So I ended up bricking the device and had to switch to flashing the chip using my raspberry pi. Luckily there was a stock dmesg in the original thread which helped me work out the order of the different mtd partitions on the chip. The device boots back to stock so the flash seems to have worked OK.

I've had a good look at the board and one of the tiny surface mount components next the the ethernet port looks a bit suspect. This is way too small for me to try to replace and I've got enough other boxes to play with. If I come across a cheap usb wifi dongle I may turn it into a internet radio someday.

Koen
Re: HP 5325 ethernet stopped working
December 10, 2018 04:18PM
Hi Koen,

That's good to hear, in a way. Now we know that it was a hardware problem.

@fortis,
You can do the same as Koen did. Booting back to stock and see if ethernet working?

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: HP 5325 ethernet stopped working
December 15, 2018 09:40AM
Hi bodhi,

I'm not sure if I can boot back to stock without flashing back to original uboot.

I tried doing as you suggest but got error on the unlock.
root@debian:~# flash_unlock /dev/mtd0
flash_unlock: error!: could not unlock device: /dev/mtd0

              error 95 (Operation not supported)
root@debian:~# flash_unlock /dev/mtd3
flash_unlock: error!: could not unlock device: /dev/mtd3

              error 95 (Operation not supported)
root@debian:~# cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 00080000 00001000 "u-boot"
mtd1: 00040000 00001000 "SSD firmware"
mtd2: 00010000 00001000 "u-boot env"
mtd3: 00010000 00001000 "permanent u-boot env"
mtd4: 00010000 00001000 "permanent u-boot env"
root@debian:~# cat /etc/fw_env.config 
/dev/mtd0 0x00000 0x10000 0x10000
code]
Re: HP 5325 ethernet stopped working
December 15, 2018 03:18PM
fortis,

flash_unlock seems to have problem with error message. It should just be silent when the flash was not lock.

Just go ahead and run flashcp to flash the backup image.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: HP 5325 ethernet stopped working
December 15, 2018 06:14PM
Went ahead and flash mtd0 and mtd3, still unable to get IP.

Booting back into stock, I seem to lost logging on the console
       _   _     .____    
      | |_| |    |  _ \  
      |  _  |    | (_))   
      | |-| |    | |      
      |_| |_|    |_|  ..  
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__| 
 ** LOADER **
 ** BOARD: DB-88F6281A-BP LE 

U-Boot 1.1.4 (Jan  8 2010 - 14:03:56) MIC version : 3.4.19-16

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CD4E0

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 CS[1] base 0x10000000   size 256MB 
DRAM Total size 512MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[1024kB@f8000000] Flash:  1 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0 

Reset IDE: 
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
Model: SM22 Firm: I052 Ser#: (03)5526888-20080228
            Type: Hard Disk
            Capacity: 463.6 MB = 0.4 GB (949536 x 512)


1888432 bytes read
Checking Button Status: off
Checking GotoWOL Status: off
## Booting image at 00200000 ...
   Image Name:   Linux-2.6.22.18-2-armel
   Created:      2009-11-17  18:35:01 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1888368 Bytes =  1.8 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux......................................................................................................................... done, booting the kernel.

Debian GNU/Linux 5.0 hs-tc-08 ttyS0

hs-tc-08 login:
root@hs-tc-08:~# ifconfig
eth0_rename_ren Link encap:Ethernet  HWaddr f4:ce:46:23:b2:6d  
          inet6 addr: fd50:b1d9:84a8:0:f6ce:46ff:fe23:b26d/64 Scope:Global
          inet6 addr: fe80::f6ce:46ff:fe23:b26d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1635 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:99556 (97.2 KiB)  TX bytes:996 (996.0 B)
          Interrupt:11 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:17 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:963 (963.0 B)  TX bytes:963 (96

root@hs-tc-08:~# dmesg
[    0.000000] Linux version 2.6.22.18-2-armel (root@lenny-devel) (gcc version 4.2.1) #1 PREEMPT Tue Nov 17 13:34:38 EST 2009
[    0.000000] CPU: ARM926EJ-S [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] Machine: Feroceon-KW
[    0.000000] Using UBoot passing parameters structure
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 131072
[    0.000000]   DMA zone: 1024 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 130048 pages, LIFO batch:31
[    0.000000]   Normal zone: 0 pages used for memmap
[    0.000000] CPU0: D VIVT write-back cache
[    0.000000] CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
[    0.000000] CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
[    0.000000] Built 1 zonelists.  Total pages: 130048
[    0.000000] Kernel command line: root=/dev/sda1 rw init=/init video=xgifb splash quiet
[    0.000000] PID hash table entries: 2048 (order: 11, 8192 bytes)
[    0.000000] Console: colour dummy device 80x30
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.020000] Memory: 256MB 256MB 0MB 0MB = 512MB total
[    0.020000] Memory: 515584KB available (3508K code, 463K data, 108K init)
[    0.020000] Calibrating delay loop... 1199.30 BogoMIPS (lpj=5996544)
[    0.250000] Security Framework v1.0.0 initialized
[    0.250000] SELinux:  Disabled at boot.
[    0.250000] Capability LSM initialized
[    0.250000] Mount-cache hash table entries: 512
[    0.250000] CPU: Testing write buffer coherency: ok
[    0.250000] NET: Registered protocol family 16
[    0.250000] 
[    0.250000] CPU Interface
[    0.250000] -------------
[    0.250000] SDRAM_CS0 ....base 00000000, size 256MB 
[    0.250000] SDRAM_CS1 ....base 10000000, size 256MB 
[    0.250000] SDRAM_CS2 ....disable
[    0.250000] SDRAM_CS3 ....disable
[    0.250000] PEX0_MEM ....base e8000000, size 128MB 
[    0.250000] PEX0_IO ....base f2000000, size   1MB 
[    0.250000] INTER_REGS ....base f1000000, size   1MB 
[    0.250000] NFLASH_CS ....base fa000000, size   2MB 
[    0.250000] SPI_CS ....base f4000000, size  16MB 
[    0.250000] BOOT_ROM_CS ....no such
[    0.250000] DEV_BOOTCS ....no such
[    0.250000] CRYPT_ENG ....base f0000000, size   2MB 
[    0.250000] 
[    0.250000]   Marvell Development Board (LSP Version KW_LSP_4.2.7_patch21_with_rx_desc_tuned)-- OpenRD-Base  Soc: 88F6281 A1 LE
[    0.250000] 
[    0.250000]  Detected Tclk 200000000 and SysClk 400000000 
[    0.250000] MV Buttons Device Load
[    0.250000] rt5623 Codec device register
[    0.250000] Marvell USB EHCI Host controller #0: c0893200
[    0.750000] PEX0 interface detected Link X1
[    0.750000] PCI: bus0: Fast back to back transfers disabled
[    0.750000] SCSI subsystem initialized
[    0.760000] usbcore: registered new interface driver usbfs
[    0.760000] usbcore: registered new interface driver hub
[    0.760000] usbcore: registered new device driver usb
[    0.760000] NET: Registered protocol family 2
[    0.770000] Time: kw_clocksource clocksource has been installed.
[    0.770000] Switched to high resolution mode on CPU 0
[    0.850000] IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.850000] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
[    0.850000] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
[    0.850000] TCP: Hash tables configured (established 65536 bind 65536)
[    0.850000] TCP reno registered
[    0.880000] RTC registered
[    0.880000] Use the XOR engines (acceleration) for enhancing the following functions:
[    0.880000]   o RAID 5 Xor calculation
[    0.880000]   o kernel memcpy
[    0.880000]   o kenrel memzero
[    0.880000] Number of XOR engines to use: 4
[    0.880000] CESA test started: bufNum = 1, bufSize = 20000
[    0.880000] Cesa Test Start: pMbufSrc=c092f000, pFragsSrc=c08ae000, pMbufDst=c0929000, pFragsDst=c08f0000
[    0.900000] mvCesaInit: sessions=32, queue=252, pSram=f0000000
[    0.920000] cesadev_init(c0010edc)
[    0.920000] Warning: TS unit is powered off.
[    0.920000] MV Buttons Driver Load
[    0.920000] audit: initializing netlink socket (disabled)
[    0.920000] audit(1544922215.889:1): initialized
[    0.920000] VFS: Disk quotas dquot_6.5.1
[    0.920000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.920000] squashfs: version 3.3 (2007/10/31) Phillip Lougher
[    0.920000] squashfs: LZMA suppport for slax.org by jro
[    0.920000] aufs 20090126
[    0.920000] io scheduler noop registered
[    0.920000] io scheduler cfq registered (default)
[    0.920000] XGIfb: Options <NULL>
[    0.920000] XGIfb: Relocate IO address: 1000 [00001030] 
[    0.920000] XGIfb: Enable PCI device
[    0.920000] XGIfb: SR14=41 DramSzie 1000000 ChannelNum 1
[    0.920000] XGIfb: Framebuffer at 0xe8000000, mapped to 0xe1000000, size 16384k
[    0.920000] XGIfb: MMIO at 0xec000000, mapped to 0xe0880000, size 256k
[    0.920000] XGIfb: XGIInitNew() ...OK
[    0.920000] XGIfb: Memory heap starting at 8192K
[    0.920000] XGIfb: Default mode is 1024x768x16 (60Hz)
[    0.920000] XGIfb: Change mode to 1024x768x16-60Hz
[    0.970000] Console: switching to colour frame buffer device 128x48
[    1.020000] XGIfb: Installed XGIFB_GET_INFO ioctl (80046ef8)
[    1.020000] fb0:  frame buffer device, Version 0.8.01
[    1.040000] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
[    1.040000] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[    1.040000] serial8250.0: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
[    1.040000] RAMDISK driver initialized: 16 RAM disks of 8192K size 4096 blocksize
[    1.040000] loop: module loaded
[    1.040000] Loading Marvell Ethernet Driver:
[    1.040000]   o Cached descriptors in DRAM
[    1.040000]   o DRAM SW cache-coherency
[    1.040000]   o Single RX Queue support - ETH_DEF_RXQ=0
[    1.040000]   o Single TX Queue support - ETH_DEF_TXQ=0
[    1.040000]   o TCP segmentation offload enabled
[    1.040000]   o Receive checksum offload enabled
[    1.040000]   o Transmit checksum offload enabled
[    1.040000]   o Network Fast Processing (Routing) supported
[    1.040000]   o Driver ERROR statistics enabled
[    1.040000]   o Driver INFO statistics enabled
[    1.040000]   o Proc tool API enabled
[    1.040000]   o Rx descripors: q0=128
[    1.040000]   o Tx descripors: q0=532
[    1.040000]   o Loading network interface(s):
[    1.050000]     o  register under eth%d platform
[    1.050000]     o eth0, ifindex = 1, GbE port = 0
[    1.050000]     o eth1, ifindex = 2, GbE port = 1
[    1.050000] 
[    1.050000] mvFpRuleDb (de710000): 16384 entries, 65536 bytes
[    1.050000] Integrated Sata device found
[    1.070000] scsi0 : Marvell SCSI to SATA adapter
[    1.070000] scsi1 : Marvell SCSI to SATA adapter
[    1.070000] SPI Serial flash detected @ 0xf4000000, 1024KB (16sec x 64KB)
[    1.070000] Creating 5 MTD partitions on "spi_flash":
[    1.070000] 0x000c0000-0x000d0000 : "u-boot env"
[    1.070000] 0x000d0000-0x000e0000 : "permanent u-boot env"
[    1.070000] 0x000e0000-0x000f0000 : "HP env"
[    1.070000] 0x00000000-0x00080000 : "u-boot"
[    1.070000] 0x00080000-0x000c0000 : "SSD firmware"
[    1.080000] usbmon: debugfs is not available
[    1.080000] ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
[    1.080000] ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
[    1.110000] ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
[    1.130000] ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[    1.130000] usb usb1: configuration #1 chosen from 1 choice
[    1.130000] hub 1-0:1.0: USB hub found
[    1.130000] hub 1-0:1.0: 1 port detected
[    1.240000] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.240000] mice: PS/2 mouse device common for all mice
[    1.240000] i2c /dev entries driver
[    1.240000] Advanced Linux Sound Architecture Driver Version 1.0.14 (Thu May 31 09:03:25 2007 UTC).
[    1.240000] ASoC version 0.13.1
[    1.240000] rt5623: RT5623 Audio Codec 0.01
[    1.240000] asoc: RT5623 <-> mv88fx_-i2s mapping ok
[    1.250000] rt5623_codec_probe OK
[    1.250000] ALSA device list:
[    1.250000]   #0: Dove (RT5623)
[    1.250000] Mirror/redirect action on
[    1.250000] TCP cubic registered
[    1.250000] NET: Registered protocol family 17
[    1.250000] scsi: waiting for bus probes to complete ...
[    1.520000] usb 1-1: new high speed USB device using ehci_marvell and address 2
[    1.610000] scsi 0:0:0:0: Direct-Access     ATA      SM224            I052 PQ: 0 ANSI: 5
[    1.610000] sd 0:0:0:0: [sda] 949536 512-byte hardware sectors (486 MB)
[    1.610000] sd 0:0:0:0: [sda] Write Protect is off
[    1.610000] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[    1.610000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.610000] sd 0:0:0:0: [sda] 949536 512-byte hardware sectors (486 MB)
[    1.610000] sd 0:0:0:0: [sda] Write Protect is off
[    1.610000] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[    1.610000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.610000]  sda: sda1
[    1.610000] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.610000] kjournald starting.  Commit interval 5 seconds
[    1.650000] EXT3 FS on sda1, internal journal
[    1.650000] EXT3-fs: mounted filesystem with ordered data mode.
[    1.650000] VFS: Mounted root (ext3 filesystem).
[    1.650000] Freeing init memory: 108K
[    1.660000] Warning: unable to open an initial console.
[    1.700000] usb 1-1: configuration #1 chosen from 1 choice
[    1.700000] hub 1-1:1.0: USB hub found
[    1.700000] hub 1-1:1.0: 4 ports detected
[    2.050000] NET: Registered protocol family 1
[    4.560000] EXT3 FS on sda1, internal journal
[    6.600000] udevd version 125 started
[   51.540000] NET: Registered protocol family 10
[   51.540000] lo: Disabled Privacy Extensions
[   51.540000] Mobile IPv6
[   61.280000] usbcore: registered new interface driver usb-stub-driver
[   62.910000] XGIfb: Change mode to 1024x768x16-60Hz
[   63.270000] phys_mem_access_prot called - offset f2001000, uncached_access = -1071249904
[   63.340000] phys_mem_access_prot called - offset ec000000, uncached_access = -1071249904
[   63.350000] phys_mem_access_prot called - offset e8000000, uncached_access = -1071249904
[   65.290000] eth0_rename_ren: link up, full duplex, speed 100 Mbps
[   65.290000] eth0_rename_ren: started
root@hs-tc-08:~# ifconfig
eth0_rename_ren Link encap:Ethernet  HWaddr f4:ce:46:23:b2:6d  
          inet6 addr: fd50:b1d9:84a8:0:f6ce:46ff:fe23:b26d/64 Scope:Global
          inet6 addr: fe80::f6ce:46ff:fe23:b26d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1635 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:99556 (97.2 KiB)  TX bytes:996 (996.0 B)
          Interrupt:11 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:17 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:963 (963.0 B)  TX bytes:963 (96
Re: HP 5325 ethernet stopped working
December 15, 2018 06:31PM
fortis,


1. Lost console during kernel booting is because the bootargs env for that was not set (this box is to be used with a display and kerboard)

[    0.000000] Kernel command line: root=/dev/sda1 rw init=/init video=xgifb splash quiet

Boot up, interrupt serial console at countdown

Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0

If you want to do so, look at the current envs. And you need to add console env to bootargs to see serial log during kernel booting.
printenv

But the purpose is to test ethernet, so may be we don't care much about this.

2. To test ethernet to see if it was even available in u-boot, ping the router at the prompt (replace xx.xx.xx.xx with your router IP address):

ping xx.xx.xx.xx

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: HP 5325 ethernet stopped working
December 15, 2018 07:03PM
bodi,

Got good results from u-boot:
HP>> ping 192.168.1.1
Using egiga0 device
## Warning: gatewayip needed but not set
ping failed; host 192.168.1.1 is not alive
HP>> setenv netmask 255.255.255.0
HP>> setenv gatewayip 192.168.1.1
HP>> dhcp
BOOTP broadcast 1
*** Unhandled DHCP Option in OFFER/ACK: 28
*** Unhandled DHCP Option in OFFER/ACK: 28
DHCP client bound to address 192.168.1.113
HP>> ping 192.168.1.1
Using egiga0 device
host 192.168.1.1 is alive

Stock OS does not get IP
Re: HP 5325 ethernet stopped working
December 15, 2018 07:09PM
fortis,


> Got good results from u-boot:
>
> HP>> ping 192.168.1.1
> Using egiga0 device
> ## Warning: gatewayip needed but not set
> ping failed; host 192.168.1.1 is not alive
> HP>> setenv netmask 255.255.255.0
> HP>> setenv gatewayip 192.168.1.1
> HP>> dhcp
> BOOTP broadcast 1
> *** Unhandled DHCP Option in OFFER/ACK: 28
> *** Unhandled DHCP Option in OFFER/ACK: 28
> DHCP client bound to address 192.168.1.113
> HP>> ping 192.168.1.1
> Using egiga0 device
> host 192.168.1.1 is alive
>

Very good :)

Now I would like you to do the same in u-boot console: setenv and dhcp..., but with kwboot using the latest u-boot.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: HP 5325 ethernet stopped working
December 15, 2018 07:25PM
No luck with kwboot

vm-ubuntu-server:~/kwboot-tool$ sudo ./kwboot  -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.t5325.mtd0.kwb  -p 
Sending boot message. Please reboot the target...\
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  8 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 13 % [......................................................................]
 15 % [......................................................................]
 17 % [......................................................................]
 18 % [......................................................................]
 20 % [......................................................................]
 22 % [......................................................................]
 23 % [......................................................................]
 25 % [......................................................................]
 27 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 32 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 37 % [......................................................................]
 39 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 44 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 49 % [......................................................................]
 51 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 56 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 61 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 66 % [......................................................................]
 68 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 73 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 78 % [......................................................................]
 80 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 85 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 90 % [......................................................................]
 92 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2017.07-tld-1 (Nov 01 2017 - 00:58:19 -0700)
HP Thin Client T5325

SoC:   Kirkwood 88F6281_A1
SPI:   ready
DRAM:  512 MiB
WARNING: Caches not enabled
MMC:   
SF: Detected sst25vf080b with page size 256 Bytes, erase size 64 KiB, total 1 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E3016 Initialized on egiga0
Hit any key to stop autoboot:  0 
T5325> ping 192.168.1.1
Using egiga0 device

ARP Retry count exceeded; starting again
ping failed; host 192.168.1.1 is not alive
T5325> setenv netmask 255.255.255.0
T5325> setenv gatewayip 192.168.1.1
T5325> dhcp
BOOTP broadcast 1

ARP Retry count exceeded; starting again
T5325> dhcp
BOOTP broadcast 1

ARP Retry count exceeded; starting again
T5325> dhcp
BOOTP broadcast 1

ARP Retry count exceeded; starting again
T5325>
Re: HP 5325 ethernet stopped working
December 15, 2018 08:45PM
fortis,

That's is strange. It is possible that your box has a different network chip

88E3016 Initialized on egiga0
The above is just that. Even with a different chip, but if the PHY address is the same, it would show no error. So that message cannot be replied upon to tell that the NIC has been successful initialized.

On my box, u-boot console has no problem doing ping. So the networkchip is definitely 88E3016.

At this point, rather than try to get to the bottom of this which will be time consuming, I think you migh need to do the envs setup to boot Debian with stock u-boot. At least, you can then use this box that way.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: HP 5325 ethernet stopped working
December 15, 2018 10:35PM
bodi,

I can use your u-boot with a with a USB wifi adapter, or if it's not too much I could try the env setup on stock u-boot to boot Debian.

I wouldn't want to take too much more of your time on this, I'm sure you have other boxes you want to get to.

Thanks again for all your help.
Re: HP 5325 ethernet stopped working
December 15, 2018 11:16PM
fortis,

In retrospect, what we did was just academic! trying to fix problem.

This box NIC is 100Mbs. So regarding file transfer, it is quite slow comparing to other Kirkwood boxes. Even with USB 2.0 Gbits adapter, I think it is much faster. USB 2.0 wifi adapter is quite cheap, but you can also get USB 2.0 Gbits Ethernet adapter from Monoprice for around US $10 :) I think that'll run faster than this box NIC even with the 300Mbs limitation of USB 2.0 bus.

I'm using this box as a helper in the build farm, so I don't need network speed, 100Mbs is more than adequate for me.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: HP 5325 ethernet stopped working
December 16, 2018 08:53AM
bodhi,

I just restored the latest u-boot to the box and booting with usb wifi adapter.
It doesn't hurt to have a couple USB Ethernet adapter on hand, so I'll pick up a couple cheap ones later.

Thanks again.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: