Welcome! Log In Create A New Profile

Advanced

HP 5325 ethernet stopped working

Posted by Koen 
HP 5325 ethernet stopped working
September 16, 2018 02:00PM
Hi all,

I've been running a HP T5325 for a while but recently noticed the ethernet has stopped working. When I check the serial connection it seems that it can't always find the usb stick and tries to boot into stock instead and then hangs. I'm not sure what has happened so I've re-created the rootfs on a new USB stick to be sure it was not due to some corrupt files. However even with the new usb rootfs I don't have a working ethernet connection. I can access the device from serial but can't use fw_printenv from Debian. It could be a hardware failure but I'll post the usual output below and would like to know if anybody can spot any obvious problems?

Thanks,

Koen

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

SoC:   Kirkwood 88F6281_A0
SPI:   ready
DRAM:  512 MiB
WARNING: Caches not enabled
MMC:   
SF: Detected mx25l8005 with page size 256 Bytes, erase size 64 KiB, total 1 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E3016 Initialized on egiga0
Hit any key to stop autoboot:  0 
T5325>  printenv
arcNumber=2846
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
device=0:1
devices=usb
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-t5325.dtb
ethact=egiga0
ethaddr=f4:ce:46:23:49:9e
if_netconsole=ping $serverip
ipaddr=192.168.0.41
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
mainlineLinux=yes
mtdparts=mtdparts=spi0.0:512K(uboot),256K(sdd_firmware),64K(uboot_env),64K(permanent_uboot_env),64K(hp_env)
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
serverip=192.168.0.220
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;  do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_ready_retry=15

Environment size: 2824/65532 bytes
T5325>

bootlog

T5325> boot
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     992             7865376         be4323ae-01     0b

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
0 bytes read in 861 ms (0 Bytes/s)
importing envs ...
running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 692 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
3821592 bytes read in 949 ms (3.8 MiB/s)
loading uInitrd ...
7245696 bytes read in 978 ms (7.1 MiB/s)
loading DTB /boot/dts/kirkwood-t5325.dtb ...
11919 bytes read in 3275 ms (2.9 KiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.12.1-kirkwood-tld-1
   Created:      2017-07-20   8:11:24 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3821528 Bytes = 3.6 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.12.1-kirkwood-tld-1
   Created:      2017-07-24   0:18:23 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7245632 Bytes = 6.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01c00000
   Booting using the fdt blob at 0x1c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 0f917000, end 0fffff40 ... OK
   Loading Device Tree to 0f911000, end 0f916e8e ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.12.1-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Sat Jul 15 21:40:50 PDT 2017
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: HP t5325 Thin Client
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:512K(uboot),256K(sdd_firmware),64K(uboot_env),64K(permanent_uboot_env),64K(hp_env)
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    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.000000] Memory: 499272K/524288K available (8192K kernel code, 716K rwdata, 1972K rodata, 1024K init, 288K bss, 25016K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0db3274   ( 717 kB)
[    0.000000]        .bss : 0xc0db9b9c - 0xc0e01e60   ( 289 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000043] Switching to timer-based delay loop, resolution 5ns
[    0.000505] Console: colour dummy device 80x30
[    0.000538] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000561] pid_max: default: 32768 minimum: 301
[    0.000760] Security Framework initialized
[    0.000881] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000900] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001743] CPU: Testing write buffer coherency: ok
[    0.002733] Setting up static identity map for 0x100000 - 0x100058
[    0.002994] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.006221] devtmpfs: initialized
[    0.010457] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.010485] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.010876] prandom: seed boundary self test passed
[    0.014612] prandom: 100 self tests passed
[    0.014624] pinctrl core: initialized pinctrl subsystem
[    0.015763] NET: Registered protocol family 16
[    0.016232] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.017815] cpuidle: using governor ladder
[    0.017884] cpuidle: using governor menu
[    0.018312] Feroceon L2: Enabling L2
[    0.018359] Feroceon L2: Cache support initialised.
[    0.018712] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.024409] No ATAGs?
[    0.033797] vgaarb: loaded
[    0.034112] SCSI subsystem initialized
[    0.034590] usbcore: registered new interface driver usbfs
[    0.034675] usbcore: registered new interface driver hub
[    0.034758] usbcore: registered new device driver usb
[    0.035867] clocksource: Switched to clocksource orion_clocksource
[    0.124617] VFS: Disk quotas dquot_6.6.0
[    0.124694] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.135207] NET: Registered protocol family 2
[    0.135980] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.136041] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.136093] TCP: Hash tables configured (established 4096 bind 4096)
[    0.136180] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.136204] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.136380] NET: Registered protocol family 1
[    0.136787] RPC: Registered named UNIX socket transport module.
[    0.136800] RPC: Registered udp transport module.
[    0.136808] RPC: Registered tcp transport module.
[    0.136815] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.137048] Unpacking initramfs...
[    0.791276] Freeing initrd memory: 7076K
[    0.791414] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.792383] audit: initializing netlink subsys (disabled)
[    0.792853] Initialise system trusted keyrings
[    0.792908] Key type blacklist registered
[    0.793000] audit: type=2000 audit(0.786:1): state=initialized audit_enabled=0 res=1
[    0.793095] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.793164] zbud: loaded
[    0.794119] NFS: Registering the id_resolver key type
[    0.794147] Key type id_resolver registered
[    0.794156] Key type id_legacy registered
[    0.794174] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.794184] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.794382] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.794577] fuse init (API version 7.26)
[    0.794907] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.795110] orangefs_init: module version upstream loaded
[    0.795121] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    2.555878] random: fast init done
[    6.639383] Key type asymmetric registered
[    6.639400] Asymmetric key parser 'x509' registered
[    6.639463] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    6.639474] io scheduler noop registered
[    6.639483] io scheduler deadline registered
[    6.639560] io scheduler cfq registered (default)
[    6.640896] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    6.642761] mvebu-pcie mbus@f1000000:pcie-controller@82000000: PCI host bridge to bus 0000:00
[    6.642782] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    6.642796] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    6.642809] pci_bus 0000:00: root bus resource [bus 00-ff]
[    6.643140] PCI: bus0: Fast back to back transfers disabled
[    6.643164] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    6.643683] pci 0000:01:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
[    6.665943] PCI: bus1: Fast back to back transfers disabled
[    6.666053] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe5ffffff]
[    6.666070] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    6.666088] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe3ffffff pref]
[    6.666107] pci 0000:01:00.0: BAR 1: assigned [mem 0xe4000000-0xe403ffff]
[    6.666123] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x1007f]
[    6.666139] pci 0000:00:01.0: PCI bridge to [bus 01]
[    6.666153] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    6.666168] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe5ffffff]
[    6.666264] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    6.666805] mv_xor f1060800.xor: Marvell shared XOR driver
[    6.726600] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    6.726823] mv_xor f1060900.xor: Marvell shared XOR driver
[    6.786601] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    6.787026] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    6.788368] console [ttyS0] disabled
[    6.788433] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    7.504649] console [ttyS0] enabled
[    7.516624] loop: module loaded
[    7.520350] sata_mv f1080000.sata: slots 32 ports 2
[    7.528078] scsi host0: sata_mv
[    7.531672] scsi host1: sata_mv
[    7.535081] ata1: SATA max UDMA/133 irq 35
[    7.539248] ata2: SATA max UDMA/133 irq 35
[    7.544931] m25p80 spi0.0: found mx25l8005, expected m25p80
[    7.550590] m25p80 spi0.0: mx25l8005 (1024 Kbytes)
[    7.555420] 5 cmdlinepart partitions found on MTD device spi0.0
[    7.561392] Creating 5 MTD partitions on "spi0.0":
[    7.566233] 0x000000000000-0x000000080000 : "uboot"
[    7.572461] 0x000000080000-0x0000000c0000 : "sdd_firmware"
[    7.579320] 0x0000000c0000-0x0000000d0000 : "uboot_env"
[    7.585849] 0x0000000d0000-0x0000000e0000 : "permanent_uboot_env"
[    7.593077] 0x0000000e0000-0x0000000f0000 : "hp_env"
[    7.600296] libphy: Fixed MDIO Bus: probed
[    7.605199] libphy: orion_mdio_bus: probed
[    7.614360] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    7.622599] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address f4:ce:46:23:49:9e
[    7.631531] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.638195] ehci-pci: EHCI PCI platform driver
[    7.642728] ehci-orion: EHCI orion driver
[    7.647007] orion-ehci f1050000.ehci: EHCI Host Controller
[    7.652545] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    7.660465] orion-ehci f1050000.ehci: irq 31, io mem 0xf1050000
[    7.695902] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    7.702209] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    7.709056] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    7.716336] usb usb1: Product: EHCI Host Controller
[    7.721233] usb usb1: Manufacturer: Linux 4.12.1-kirkwood-tld-1 ehci_hcd
[    7.727984] usb usb1: SerialNumber: f1050000.ehci
[    7.733407] hub 1-0:1.0: USB hub found
[    7.737264] hub 1-0:1.0: 1 port detected
[    7.741883] usbcore: registered new interface driver usb-storage
[    7.748312] mousedev: PS/2 mouse device common for all mice
[    7.754507] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    7.761663] i2c /dev entries driver
[    7.767372] hidraw: raw HID events driver (C) Jiri Kosina
[    7.773222] drop_monitor: Initializing network drop monitor service
[    7.779825] NET: Registered protocol family 17
[    7.784368] Key type dns_resolver registered
[    7.789460] registered taskstats version 1
[    7.793573] Loading compiled-in X.509 certificates
[    7.798509] zswap: loaded using pool lzo/zbud
[    7.813011] Key type big_key registered
[    7.826473] Key type encrypted registered
[    7.831895] rtc-mv f1010300.rtc: setting system clock to 2018-09-16 19:48:54 UTC (1537127334)
[    8.035910] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    8.044518] ata1.00: ATA-7: SM224, I0521, max UDMA/133
[    8.049710] ata1.00: 949536 sectors, multi 0: LBA 
[    8.056959] ata1.00: configured for UDMA/133
[    8.071814] scsi 0:0:0:0: Direct-Access     ATA      SM224            1    PQ: 0 ANSI: 5
[    8.081049] sd 0:0:0:0: [sda] 949536 512-byte logical blocks: (486 MB/464 MiB)
[    8.088962] sd 0:0:0:0: [sda] Write Protect is off
[    8.093939] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    8.103173] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    8.111685]  sda: sda1
[    8.115439] sd 0:0:0:0: [sda] Attached SCSI disk
[    8.296361] usb 1-1: New USB device found, idVendor=0424, idProduct=2514
[    8.303109] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    8.311045] hub 1-1:1.0: USB hub found
[    8.314974] hub 1-1:1.0: 4 ports detected
[    8.420469] ata2: SATA link down (SStatus 0 SControl F300)
[    8.439086] Freeing unused kernel memory: 1024K
Loading, please wait...
starting version 232
[    8.635959] usb 1-1.4: new high-speed USB device number 3 using orion-ehci
[    8.813249] usb 1-1.4: New USB device found, idVendor=058f, idProduct=6387
[    8.825530] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.845319] usb 1-1.4: Product: Mass Storage
[    8.849678] usb 1-1.4: Manufacturer: Generic
[    8.853971] usb 1-1.4: SerialNumber: 422605B6
[    8.867685] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[    8.883783] scsi host2: usb-storage 1-1.4:1.0
[    9.307971] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
[    9.928070] scsi 2:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 4
[    9.942663] sd 2:0:0:0: [sdb] 7866368 512-byte logical blocks: (4.03 GB/3.75 GiB)
[    9.956925] sd 2:0:0:0: [sdb] Write Protect is off
[    9.966021] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    9.989264]  sdb: sdb1
[   10.012149] sd 2:0:0:0: [sdb] Attached SCSI removable disk
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Warning: fsck not present, so skipping root file system
[   19.428182] EXT4-fs (sdb1): mounting ext3 file system using the ext4 subsystem
[   19.446619] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Setting hostname to 'debian'...done.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok 
[ ok [   21.845362] input: gpio_keys as /devices/platform/gpio_keys/input/input0
                                                 done.
[....] Waiting for /dev to be fully populated...[   22.114105] xgifb: module is from the staging directory, the quality is unknown, you have been warned.
[   22.200356] xgifb 0000:01:00.0: Relocate IO address: 10000 [00010030]
[   22.226907] xgifb 0000:01:00.0: enabling device (0140 -> 0143)
[   22.299189] marvell-cesa f1030000.crypto: CESA device successfully registered
[   22.300457] orion_wdt: Initial timeout 21 sec
[   22.379282] xgifb 0000:01:00.0: chipid = 32
[   22.408937] xgifb: SR14=51 DramSzie 2000000 ChannelNum 1
[   22.412926] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   22.427641] xgifb 0000:01:00.0: Framebuffer at 0xe0000000, mapped to 0xe1000000, size 32768k
[   22.468940] sd 2:0:0:0: Attached scsi generic sg1 type 0
[   22.511384] xgifb 0000:01:00.0: MMIO at 0xe4000000, mapped to 0xe0f40000, size 256k
[   22.573501] asoc-simple-card sound: alc5621-hifi <-> i2s mapping ok
[   22.699741] xgifb 0000:01:00.0: No or unknown bridge type detected
[   22.722149] xgifb: Default mode is 800x600x16 (60Hz)
done.
[   23.470047] random: crng init done
[ ok ] Activating swap:.
[   23.791934] EXT4-fs (sdb1): re-mounted. Opts: (null)
[....] Will now check root file system:fsck from util-linux 2.29.2
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sdb1 
e2fsck 1.43.4 (31-Jan-2017)
rootfs: clean, 14514/246240 files, 168004/983040 blocks
. ok 
[   24.077077] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro
[ ok ] Will now activate lvm and md swap:done.
[info] Will now check all file systems.
fsck from util-linux 2.29.2
Checking all file systems.
LABEL=rootfs is mounted
[ ok ] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[ ok ] Initializing random number generator...done.
[   26.940313] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/f4:ce:46:23:49:9e
Sending on   LPF/eth0/f4:ce:46:23:49:9e
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
[   88.815586] NET: Registered protocol family 10
[   88.822879] Segment Routing with IPv6
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1323 (syslogd)
. ok 
[ ok ] Starting system message bus: dbus.
[ ok ] Starting NFS common utilities: statd idmapd.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting NTP server: ntpd.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1322 (klogd)
. ok 
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 9 debian ttyS0

debian login:

root@debian:~# cat /etc/fw_env.config 
# MTD device name       Device offset   Env. size       Flash sector size       Number of sectors
#
# HP T5325 Thin Client
/dev/mtd2 0x00000 0x10000 0x10000
root@debian:~#

root@debian:~# fw_printenv 
Warning: Bad CRC, using default environment
bootargs=
bootcmd=
bootdelay=2
baudrate=115200
arch=sandbox
cpu=sandbox
board=sandbox
board_name=sandbox
stdin=serial,cros-ec-keyb,usbkbd
stdout=serial,vidconsole
stderr=serial,vidconsole
ethaddr=00:00:11:22:33:44
eth1addr=00:00:11:22:33:45
eth3addr=00:00:11:22:33:46
eth5addr=00:00:11:22:33:47
ipaddr=1.2.3.4
host_boot=if host dev ${devnum}; then setenv devtype host; run scan_dev_for_boot_part; fi
boot_net_pci_enum=pci enum
boot_net_usb_start=usb start
usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi
boot_prefixes=/ /boot/
boot_scripts=boot.scr.uimg boot.scr
boot_script_dhcp=boot.scr.uimg
boot_targets=host1 host0 
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done
bootcmd_host1=setenv devnum 1; run host_boot
bootcmd_host0=setenv devnum 0; run host_boot
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
bootm_size=0x10000000
kernel_addr_r=0x1000000
fdt_addr_r=0xc00000
ramdisk_addr_r=0x2000000
scriptaddr=0x1000
pxefile_addr_r=0x2000
root@debian:~#

root@debian:~# cat /etc/network/interfaces
auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp
root@debian:~#

root@debian:~# ifconfig 
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::f6ce:46ff:fe23:499e  prefixlen 64  scopeid 0x20<link>
        ether f4:ce:46:23:49:9e  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 30  bytes 5852 (5.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 38  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 2  bytes 140 (140.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2  bytes 140 (140.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@debian:~# 
Re: HP 5325 ethernet stopped working
September 16, 2018 03:00PM
Koen,

Ugrade the kernel to the latest linux-4.18.4-kirkwood-tld-1.

There was a network problem before in between. I might have forgot to update the release post about it.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: HP 5325 ethernet stopped working
September 16, 2018 03:20PM
Also try to unplug the ethernet cable and plug it back in.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: HP 5325 ethernet stopped working
September 16, 2018 03:40PM
Ok I've upgraded to the latest kernel but the issue persists. The problem is not just in Debian but I can't reach the network from uboot either.

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> 

Re: HP 5325 ethernet stopped working
September 16, 2018 04:36PM
Koen,

1. You are trying to ping the router

T5325> ping 192.168.1.1


But your U-boot env is not in the same subnet
ipaddr=192.168.0.41

2. In Debian, your envs probably were not in the right place.

Warning: Bad CRC, using default environment
...
eth1addr=00:00:11:22:33:45
Check
cat /etc/fv_env.config

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: HP 5325 ethernet stopped working
September 16, 2018 04:55PM
Ok I've changed the ip address in uboot but still get the same result:

T5325> setenv ipaddr 192.168.1.231
T5325> saveenv
Saving Environment to SPI Flash...
SF: Detected mx25l8005 with page size 256 Bytes, erase size 64 KiB, total 1 MiB
Erasing SPI flash...Writing to SPI flash...done
T5325> 
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>


I've re-created the file /etc/fw_env.config according to the instructions but still can't read the settings from debian.

root@debian:~# cat /etc/fw_env.config 
/dev/mtd0 0x00000 0x10000 0x10000
root@debian:~#

root@debian:~# fw_printenv 
Warning: Bad CRC, using default environment
bootargs=
bootcmd=
bootdelay=2
baudrate=115200
arch=sandbox
cpu=sandbox
board=sandbox
board_name=sandbox
stdin=serial,cros-ec-keyb,usbkbd
stdout=serial,vidconsole
stderr=serial,vidconsole
ethaddr=00:00:11:22:33:44
eth1addr=00:00:11:22:33:45
eth3addr=00:00:11:22:33:46
eth5addr=00:00:11:22:33:47
ipaddr=1.2.3.4
host_boot=if host dev ${devnum}; then setenv devtype host; run scan_dev_for_boot_part; fi
boot_net_pci_enum=pci enum
boot_net_usb_start=usb start
usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi
boot_prefixes=/ /boot/
boot_scripts=boot.scr.uimg boot.scr
boot_script_dhcp=boot.scr.uimg
boot_targets=host1 host0 
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done
bootcmd_host1=setenv devnum 1; run host_boot
bootcmd_host0=setenv devnum 0; run host_boot
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
bootm_size=0x10000000
kernel_addr_r=0x1000000
fdt_addr_r=0xc00000
ramdisk_addr_r=0x2000000
scriptaddr=0x1000
pxefile_addr_r=0x2000
root@debian:~#

I'm not sure what is going on. Should I try to reflash the 2 uboot files?

Koen
Re: HP 5325 ethernet stopped working
September 16, 2018 05:35PM
Koen,

> I'm not sure what is going on. Should I try to
> reflash the 2 uboot files?

I think you did not install u-boot and the envs correctly.


But let's try this first. Your envs are located in mtd2 now.

root@debian:~# cat /etc/fw_env.config
/dev/mtd2 0x00000 0x10000 0x10000

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: HP 5325 ethernet stopped working
September 17, 2018 03:28PM
Hi bodhi,

I'm getting the same output. I've clearly messed something up in uboot or the mtd stuff. Any idea what's best to do next? Restore stock mtd files? Or reflash uboot?

Koen

root@debian:~# cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 00080000 00010000 "uboot"
mtd1: 00040000 00010000 "sdd_firmware"
mtd2: 00010000 00010000 "uboot_env"
mtd3: 00010000 00010000 "permanent_uboot_env"
mtd4: 00010000 00010000 "hp_env"
root@debian:~#

root@debian:~# cat /etc/fw_env.config 
/dev/mtd2 0x00000 0x10000 0x10000
root@debian:~# 
root@debian:~# 
root@debian:~# fw_printenv 
Warning: Bad CRC, using default environment
bootargs=
bootcmd=
bootdelay=2
baudrate=115200
arch=sandbox
cpu=sandbox
board=sandbox
board_name=sandbox
stdin=serial,cros-ec-keyb,usbkbd
stdout=serial,vidconsole
stderr=serial,vidconsole
ethaddr=00:00:11:22:33:44
eth1addr=00:00:11:22:33:45
eth3addr=00:00:11:22:33:46
eth5addr=00:00:11:22:33:47
ipaddr=1.2.3.4
host_boot=if host dev ${devnum}; then setenv devtype host; run scan_dev_for_boot_part; fi
boot_net_pci_enum=pci enum
boot_net_usb_start=usb start
usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi
boot_prefixes=/ /boot/
boot_scripts=boot.scr.uimg boot.scr
boot_script_dhcp=boot.scr.uimg
boot_targets=host1 host0 
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done
bootcmd_host1=setenv devnum 1; run host_boot
bootcmd_host0=setenv devnum 0; run host_boot
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
bootm_size=0x10000000
kernel_addr_r=0x1000000
fdt_addr_r=0xc00000
ramdisk_addr_r=0x2000000
scriptaddr=0x1000
pxefile_addr_r=0x2000
root@debian:~# 
Re: HP 5325 ethernet stopped working
September 17, 2018 03:56PM
Koen,

Your boot log above indicated that both u-boot and the envs are OK:

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

SoC:   Kirkwood 88F6281_A0
SPI:   ready
DRAM:  512 MiB
WARNING: Caches not enabled
MMC:   
SF: Detected mx25l8005 with page size 256 Bytes, erase size 64 KiB, total 1 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E3016 Initialized on egiga0
Hit any key to stop autoboot:  0 
T5325>  printenv
arcNumber=2846
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootdelay=10
bootdev=usb
device=0:1
devices=usb
disks=0 1 2 3
dtb_file=/boot/dts/kirkwood-t5325.dtb
ethact=egiga0
ethaddr=f4:ce:46:23:49:9e
if_netconsole=ping $serverip
ipaddr=192.168.0.41
led_error=orange blinking
led_exit=green off
led_init=green blinking
load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file
load_dtb_addr=0x1c00000
load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x1100000
load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage
load_uimage_addr=0x800000
mainlineLinux=yes
mtdparts=mtdparts=spi0.0:512K(uboot),256K(sdd_firmware),64K(uboot_env),64K(permanent_uboot_env),64K(hp_env)
preboot_nc=run if_netconsole start_netconsole
scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start";  setenv scan_ide "ide reset";  setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done
serverip=192.168.0.220
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params
start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version;
stderr=serial
stdin=serial
stdout=serial
uenv_addr=0x810000
uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize
uenv_init_devices=setenv init_usb "usb start";  setenv init_ide "ide reset";  setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done;
uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices;  do for disknum in 0; do run uenv_read_disk; done; done;
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read;  fi; else if $devtype part $disknum; then run uenv_read; fi;  fi
usb_ready_retry=15

Environment size: 2824/65532 bytes
T5325>

And the mtds look OK

root@debian:~# cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 00080000 00010000 "uboot"
mtd1: 00040000 00010000 "sdd_firmware"
mtd2: 00010000 00010000 "uboot_env"
mtd3: 00010000 00010000 "permanent_uboot_env"
mtd4: 00010000 00010000 "hp_env"

So the env location should be

echo "/dev/mtd2 0x00000 0x10000 0x10000" > /etc/fw_env.config

The CRC error is weird (I cannot see why). You could reflash the envs image from step 5. And then do step 6. Before reboot, do a fw_printenv to see if th envs can be listed.

B. Installation from the latest Debian rootfs 

- If you have installed the latest Debian rootfs, but your u-boot is still stock, then follow all the steps in this section B. 
- If you are upgrading from uboot.2016.05-tld-1 then you only need to do step 1 to step 4 in this section B. 

Steps: 

1. Boot into Debian rootfs, extract u-boot images 

cd /boot
tar -xf uboot.2017.07-tld-1.t5325.bodhi.tar
tar -xf uboot.2016.05-tld-1.environment.bodhi.tar

2. Verify the MTD flash definition in your Debian rootfs. Note the mtd0 and mtd2 definition, they must be identical to your current mtd0 and mtd2. Also note that stock mtd definition is different. So if your mtdpart defintion is still stock, please post question before continue. 

cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 00080000 00010000 "uboot"
mtd1: 00040000 00010000 "sdd_firmware"
mtd2: 00010000 00010000 "uboot_env"
mtd3: 00010000 00010000 "permanent_uboot_env"
mtd4: 00010000 00010000 "hp_env"

3. Save your current u-boot envs and backup your current mtds for future restoration if needed. 

cd /boot
fw_printenv > current_envs.text
dd if=/dev/mtd0 of=t5325.mtd0 bs=512k conv=sync
dd if=/dev/mtd2 of=t5325.mtd2 bs=64k conv=sync


4. Flash u-boot to mtd0 

flash_unlock /dev/mtd0
flashcp -v uboot.2017.07-tld-1.t5325.mtd0.kwb /dev/mtd0

Expected Output 

Erasing blocks: 8/8 (100%)
Writing data: 512k/0k (100%)
Verifying data: 512k/0k (100%)

If there is any error, stop here and post for help in recovery 

If you are upgrading from uboot.2016.05-tld-1, then you are done with installtion here. See step 7 for what u-boot banner should look like for confirmation after reboot. 


5. Flash u-boot default envs to mtd2. 

flash_unlock /dev/mtd2
flashcp -v uboot.2016.05-tld-1.environment.64K.img  /dev/mtd2

Expected Output 

Erasing blocks: 1/1 (100%)
Writing data: 64k/64k (100%)
Verifying data: 64k/64k (100%)

If there is any error, stop here and post for help in recovery 

6. And add fw_env.config to your rootfs. And then reference your saved current_envs.txt in step 2 to restore box specific info in u-boot envs. 

a. Add fw_env.config 

echo "/dev/mtd2 0x00000 0x10000 0x10000" > /etc/fw_env.config

b. Modify envs and also setup netconsole. Replace xx below with your box specific settings. 

fw_setenv arcNumber '2846'
fw_setenv ethaddr 'xx:xx:xx:xx:xx:xx'
fw_setenv devices 'usb ide'
fw_setenv dtb_file '/boot/dts/kirkwood-t5325.dtb'

Setup netconsole envs (to activate later in Debian). Replace xx below with your box specific settings. 

fw_setenv preboot_nc 'setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then ./run start_netconsole; fi'
fw_setenv ipaddr    'xxx.xxx.x.xxx'
fw_setenv serverip 'xxx.xxx.x.xxx'

c. Remove envs 

fw_setenv mtdids 
fw_setenv partition 
fw_setenv machid

List the envs

fw_printenv

7. Done. 

Upon reboot, on serial/net console, u-boot banner should show 

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

-bodhi
===========================
Forum Wiki
bodhi's corner
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: