Welcome! Log In Create A New Profile

Advanced

Debian on HP T5325 Thin Client

Posted by Gravelrash 
Re: HP T5325 Thin Client Debian
May 27, 2016 11:54PM
@bodhi
I have one with stock and ssh running well. There was some trick to enable it. I'll look for...

To enable sshd you have to remove file /etc/ssh/sshd_not_to_be_run

There is a code fragment from /etc/init.d/ssh who deal with it
...
check_for_no_start() {
    # forget it if we're trying to start, and /etc/ssh/sshd_not_to_be_run exists
    if [ -e /etc/ssh/sshd_not_to_be_run ]; then
        if [ "$1" = log_end_msg ]; then
            log_end_msg 0
        fi
        if ! run_by_init; then
            log_action_msg "OpenBSD Secure Shell server not in use (/etc/ssh/ssh
d_not_to_be_run)"
        fi
        exit 0
...



Edited 1 time(s). Last edit at 05/28/2016 12:33AM by xssa.
Re: HP T5325 Thin Client Debian
May 28, 2016 12:12AM
Hi xssa,

bodhi Wrote:
-------------------------------------------------------
> Hi xssa,
>
> The SATA 2nd port LED trigger is already supported
> in the kernel with my patch for the SATA driver.
> But the T5325 has only one exposed SATA. Now that
> you and CV have the 2nd SATA :) However, it seems
> that the T5325 SATA LED is hardwired (I did not
> need to do anything in the DTS for it to blink).
>
> It is good that you've verified that hardwired
> only to the SATA port 0! I don't know yet if it is
> good or bad news, but I'll do some investigation
> to see if there is anyway to activate it.

I gave this a shot, but could not find the gpio that can turn on/off the SATA LED. Even for the STATA port 0! actually, no LED, except the Power LED, can be manipulated.

It is apparently hardwired. If you can, examine the board SoC pinouts with magnifier, I think it would confirm this.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HP T5325 Thin Client Debian
May 28, 2016 02:17AM
xssa Wrote:
-------------------------------------------------------
> @bodhi
> I have one with stock and ssh running well. There
> was some trick to enable it. I'll look for...
>
> To enable sshd you have to remove file
> /etc/ssh/sshd_not_to_be_run
>
> There is a code fragment from /etc/init.d/ssh who
> deal with it
>
> ...
> check_for_no_start() {
>     # forget it if we're trying to start, and
> /etc/ssh/sshd_not_to_be_run exists
>     if [ -e /etc/ssh/sshd_not_to_be_run ]; then
>         if [ "$1" = log_end_msg ]; then
>             log_end_msg 0
>         fi
>         if ! run_by_init; then
>             log_action_msg "OpenBSD Secure Shell
> server not in use (/etc/ssh/ssh
> d_not_to_be_run)"
>         fi
>         exit 0
> ...
>

Nice! but that's not gonna do it for me right now. To see that /etc/ssh/sshd_not_to_be_run file I will have to be inside stock OS.

Currently, I can boot stock OS, but have no console for input (lost serial console input after stock OS booted). It's a catch-22. Something in stock OS always disable the ttyS0 console after booted. So I thought if I can ssh in, then I can see where that ttyS0 console was disable and restore it.

I guess I'll have to connect a monitor and a keyboard to actually fix this. Something I'm not looking forward to (I donated all my old VGA monitors and PCs long ago). I'm traveling light :).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HP T5325 Thin Client Debian
May 28, 2016 11:55AM
@bodhi
Lets check if this overlayfs trickwill work for you
do all as root
~#mount /dev/sda1 /mnt
~#touch /mnt/writable-cow/etc/ssh/.wh.sshd_not_to_be_run
~#chmod 444 /mnt/writable-cow/etc/ssh/.wh.sshd_not_to_be_run
~#umount /mnt
reboot to stock thinprolinux



Edited 1 time(s). Last edit at 05/28/2016 12:03PM by xssa.
Re: HP T5325 Thin Client Debian
May 28, 2016 04:03PM
xssa,

> @bodhi
> Lets check if this overlayfs trickwill work for
> you

Cool! That's overlayfs information is what I'm missing without being inside the stock OS! Let me try it and let you know.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HP T5325 Thin Client Debian
May 28, 2016 04:22PM
xssa,

I've logged in with SSH. Thanks!

They've really tricked out this 512MB rootfs!

~# uname -a
Linux HPT5325 2.6.22.18-2-armel #1 PREEMPT Tue Nov 17 13:34:38 EST 2009 armv5tejl GNU/Linux


~# mount
aufs on / type aufs (ro,noplink,br:/.flash/root-cow=rw:/.flash/origfs=rr)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
varspool on /var/spool type tmpfs (rw,nosuid,mode=0755)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sda1 on /.flash type ext3 (rw,data=ordered)
/dev/loop0 on /.flash/origfs type squashfs (ro)
none on /writable type aufs (rw,si=de73c8e0,xino=/.flash/writable-cow/.aufs.xino,noplink,br:/.flash/writable-cow=rw:/.flash/origfs/writable=rr)
none on /tmp type tmpfs (rw)

~# df -h
Filesystem            Size  Used Avail Use% Mounted on
aufs                  449M  293M  157M  66% /
tmpfs                 252M     0  252M   0% /lib/init/rw
varrun                252M  180K  252M   1% /var/run
varlock               252M     0  252M   0% /var/lock
varspool              252M     0  252M   0% /var/spool
udev                   10M  804K  9.3M   8% /dev
tmpfs                 252M     0  252M   0% /dev/shm
/dev/sda1             449M  293M  157M  66% /.flash
/dev/loop0            276M  276M     0 100% /.flash/origfs
none                  449M  293M  157M  66% /writable
none                  252M  668K  252M   1% /tmp

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 2 time(s). Last edit at 05/28/2016 04:57PM by bodhi.
Re: HP T5325 Thin Client Debian
May 28, 2016 04:51PM
Ok so here is how to enable serial ttyS0 (which we need to use serial console).

diff -Naur /etc/inittab.hptc.orig /etc/inittab.hptc
--- /etc/inittab.hptc.orig	2011-09-02 18:32:38.000000000 -0400
+++ /etc/inittab.hptc	2016-05-28 17:44:07.000000000 -0400
@@ -62,6 +62,7 @@
 # Example how to put a getty on a serial line (for a terminal)
 #
 #T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
+T0:23:respawn:/sbin/getty -L ttyS0 115200 linux
 #T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100
 
 # Example how to put a getty on a modem line.


Thanks xssa for making this possible :)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 05/28/2016 04:51PM by bodhi.
Re: HP T5325 Thin Client Debian
May 28, 2016 10:02PM
@bodhi,

From xssa's overlayfs idea, we do not need ssh to enable serial console on the stock os.

Just do this as root:

mount /dev/sda1 /mnt
cp /etc/inittab /mnt/writable-cow/etc/
reboot

Wait patiently at serial console...

Then thank xssa for letting us on the stock os the first time :)

-syong
Re: HP T5325 Thin Client Debian
June 05, 2016 04:45AM
syong Wrote:
-------------------------------------------------------
> @bodhi,
>
> From xssa's overlayfs idea, we do not need ssh to
> enable serial console on the stock os.
>
> Just do this as root:
>
>
> mount /dev/sda1 /mnt
> cp /etc/inittab /mnt/writable-cow/etc/
> reboot
>
>
> Wait patiently at serial console...
>
> Then thank xssa for letting us on the stock os the
> first time :)

Cool. This setting tip should go into the HP T5325 Display thread, it is simpler. But because we boot Debian first before we try stock OS :)) so it is kind of backward.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HP T5325 Thin Client Debian
June 23, 2016 03:19PM
Hi all,

I have owned and hacked my t5325 for a couple years now and had it running fine under Squeeze.

I have it running with an internal 16GB SSD from it's internal 2nd SATA port - actually a SATA to mSATA/PCI-E adapter with a half slim 16GB SSD inserted.
As discussed earlier, I had to add the 4 missing capacitors and add in a SATA lead/connector, which IIRC came from a Toshiba Tecra M5.

I recently tried to install Debian Jessie and hit a wall (as normal).
Anyways, with Google's help and this forum post I have managed to glue a vanilla Jessie into the 16GB SSD.

So, this post is to encourage others, to give back some of what I have got from others and remind me of what I have done (I'm getting old and forget stuff !!) .

To install onto the 2nd SATA port, download uImage and uInitrd from here
http://ftp.debian.org/debian/dists/stable/main/installer-armel/current/images/kirkwood/netboot/marvell/openrd/

With a serial connection to the t5325, stop uboot (you have to be very quick to catch it the first time) and enter the following (make the IP addressing suit your environment) as I use tftp to load the 2 files. It's also possible with a USB stick with FAT format and the 2 files copied to it, but needs a few different setenv commands, but anyway...
setenv ipaddr 192.168.1.99
setenv serverip 192.168.1.2
tftpboot 0x00800000 uImage
tftpboot 0x01100000 uInitrd
setenv bootargs console=ttyS0,115200 base-installer/initramfs-tools/driver-policy=most
bootm 0x00800000 0x01100000

I *think* the command to get it running from USB is (from some 2 year old scribbled notes)
usb start
fatload usb 0:1 0x01100000 /uInitrd
fatload usb 0:1 0x00800000 /uImage
setenv bootargs console=ttyS0,115200 base-installer/initramfs-tools/driver-policy=most
bootm 0x00800000 0x01100000

Install should be as normal and I also took the automatic partition option (my version of uboot is OK with ext4)

After first boot, halt uboot and enter
setenv debian 'ide reset;ext2load ide 1:1 0x800000 /uImage;setenv bootargs $(debian_bootargs);bootm 0x800000'
setenv debian_bootargs 'console=ttyS0,115200 console=tty0 init=/sbin/init video=xgifb root=/dev/sdb1 rw'
setenv bootcmd 'run debian'
saveenv
reset

Once rebooted,I had a console via the serial line, but not from the VGA adapter.
I found in this forum to edit /etc/initramfs-tools/modules and enter
xgifb
fbcon
Then, update initramfs:
update-initramfs -u
Reboot and voila, text on the VGA screen.

I only run mine headless so it's good enough as it is.

My uboot environment (set bootdelay=3 to give yourself a chance to interrupt uboot from the serial console)


[U-boot variables]
baudrate=115200
loads_echo=0
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
run_diag=no
in_mfg=no
console=console=ttyS0,115200 mtdparts=spi_flash:0x80000@0(uboot)ro,0x80000@0x80000(root)
CASset=min
MALLOC_len=1
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
usb_bootargs=root=/dev/ram rw
bootusb=usb start;fatload usb 0 0x800000 /boot/uImage.usb;fatload usb 0 0x1100000 /boot/uInitrd.usb
usbboot=setenv bootargs $(usb_bootargs); run bootusb; bootm 0x800000 0x1100000
thinpro_bootargs=root=/dev/sda1 rw init=/init video=xgifb splash quiet
thinpro=ide reset; ext2load ide 0:1 0x200000 /boot/uImage; wol; setenv bootargs $(thinpro_bootargs); bootm 0x200000
pcieTune=yes
mfgmode=setenv bootdelay 3; setenv in_mfg yes;setenvh GotoWOL Yes; setenvh WOLEnabled No; setenv bootcmd run mfgboot; saveenv; reset
mfgbootargs=setenv bootargs root=/dev/sdb1 rw init=/init ip=dhcp rootdelay=8 $(console) udevtimeout=8
mfgboot=usb start; ext2load usb 0:1 0x2000000 /boot/uImage; run mfgbootargs; bootm 0x2000000
product=setenv bootdelay 1; setenv in_mfg no;setenvh GotoWOL No; setenvh WOLEnabled Yes; setenv bootcmd run thinpro; saveenv; reset
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:xx:xx:xx,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:xx:xx:xx
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethact=egiga0
bootdelay=3
ethaddr=f4:ce:xx:xx:xx:xx
arcNumber=2846
machid=b1e
sata2=ide reset;ext2load ide 1:1 0x800000 /uImage;setenv bootargs $(sata2_bootargs);bootm 0x800000
sata2_bootargs=root=/dev/sdb1 rw init=/sbin/init video=xgifb
debian=ide reset;ext2load ide 1:1 0x800000 /uImage;setenv bootargs $(debian_bootargs);bootm 0x800000
bootcmd=run debian
debian_bootargs=console=ttyS0,115200 console=tty0 init=/sbin/init video=xgifb root=/dev/sdb1 rw
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
disaMvPnp=no
enaAutoRecovery=yes
bootargs=root=/dev/sdb1 rw init=/sbin/init video=xgifb

Environment size: 2393/4092 bytes

[PUE variables]
serial=000000
uuid=00000000-0000-0000-0000-000000000000
manufacturer=Hewlett-Packard
product_name=hp t5325
vendor=mitac
mac=f4:ce:xx:xx:xx:xx

Environment size: 142/4092 bytes

[HPE variables]
UbootVersion=0x03041916
UbootReleaseDate=01082010
AssetNumber=0
AssetLocation=0
WOLEnabled=Yes
InitialNumlock=On
GotoWOL=Yes
ClockSpeed=1200

Environment size: 141/4092 bytes
You can see some of the other hacked settings I've used and to remove them, issue a setenv <command>
with an ‘empty’ variable and it will remove the line.

Also, resetenv – resets all of the u-boot variables back to factory default – use with caution as some settings are lost e.g. your MAC address! Although this can be added back with setenv ......

I leave the serial lead permanently connect and hook in an FTDI serial adapter when needed.
I also added a foot from an old Shuttle mini PC.
Not bad for an all up price of a Raspberry Pi (not counting endless hours doing battle with it!).

With my t5325 I can make it run from the original 512Mb drive (sda) by running the 'thinpro' boot command.

I also have an HP T5745 with a 120Gb SATA SSD attached internally (Intel Atom), a 10zig (Intel Atom) with 16Gb internal SSD plus a couple other hacked devices, including a Wyse H12v (Kirkwood 1.2GHz) but it's a SOB with Chrome 9 graphics and will not run in a Debian desktop, so it's resigned to a portable command line only machine.

Some pics are attached of my t5325....

Nigel.
Attachments:
open | download - 1.jpg (192.5 KB)
open | download - 3.jpg (144 KB)
open | download - 8.jpg (127.8 KB)
Re: HP T5325 Thin Client Debian
June 23, 2016 04:25PM
Thanks for your contribution.

I guessed you have not read this thread? We are running kernel 4.6 and u-boot 2016.05 on this box!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HP T5325 Thin Client Debian
June 23, 2016 04:51PM
Yes, I 'power read' the thread and cherry picked the bits I needed and thought I'd contribute a little as a way of giving back something and not just taking.

I've fought this little box 'bout enough as it is ;-)
Re: HP T5325 Thin Client Debian
June 23, 2016 05:50PM
devonian Wrote:
-------------------------------------------------------
> Yes, I 'power read' the thread and cherry picked
> the bits I needed and thought I'd contribute a
> little as a way of giving back something and not
> just taking.
>
> I've fought this little box 'bout enough as it is
> ;-)

Hey I appreciated the gesture :) However, I just to want emphasize this point: you should install u-boot-2016.05, see here:
http://forum.doozan.com/read.php?3,12381

After that, everything is else is just a walk in the park.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 06/23/2016 06:00PM by bodhi.
JRD McLAREN
Re: HP T5325 Thin Client Debian
April 01, 2017 05:02PM
Helo guys,

I have two T5325.
First have stock uboot, debian on internal storage, but dead vga card.
It works fine.. sound, lan, etc. (except vga)

and ..now...

Second have bodhi's uboot, same debian as first one with 3.x kernel.
Yesterday I have problem with LAN. It can not work.
LEDs are off, when cable is plugged in,
one GREEN is on with no cable.

I try to boot bodhi's debian filesystem, many 4.x kernels, but no success.
I cant boot any of them, and I cant boot stock HP (cause wrong ubot settings - I think)
(any running image will be helpfully)

Has anybody of you, same problem anytime ..??
or, may I try to flash stock uboot, to fix this issue ..??

I have no idea, whats happened ...
Re: HP T5325 Thin Client Debian
April 01, 2017 06:15PM
JRD McLAREN,

> Yesterday I have problem with LAN. It can not work
> .
> LEDs are off, when cable is plugged in,
> one GREEN is on with no cable.

Which LED? the system LED or the ethernet LED?

Do you have serial console? If not, did you set up neconsole on the 2nd box?

Have you tried to create a new rootfs using Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 on USB drive and boot the 2nd box with it?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
JRD McLAREN
Re: HP T5325 Thin Client Debian
April 02, 2017 03:09AM
Ethernet LED..
Yes, I have serial console. (ower BT module, and TTL serial cable also)
Netconsole not work on the first one, because stock uboot..
..(on the second one, because no net) ..

I tried Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 + linux-4.9.0-kirkwood-tld-1-bodhi.tar.bz2 / linux-4.10.0-kirkwood-tld-1-bodhi.tar.bz2 / linux-4.5.0-kirkwood-tld-1-bodhi.tar.bz2 with no success.
Uboot env "machid ffffffff" is set, and all as I see is " Uncompressing Linux... done, booting the kernel. "

With my image t5325 start successfuly.
(but no LAN)
Re: HP T5325 Thin Client Debian
April 02, 2017 03:17AM
> With my image t5325 start successfuly.
> (but no LAN)

I am running kernel 4.10.0-kirkwood-tld-1 on my T5325, and have not seen this.

If you post the entire serial boot log for this: from the u-boot baner until after you'velogged into Debian, perhaps I can help to troubleshoot the network problem.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
JRD McLAREN
Re: HP T5325 Thin Client Debian
April 02, 2017 01:54PM
So, funny think was happened ...:)

I leave t5325 without cmos battery one day ..
then put dts file into kernel, and start try to boot....
...booted..
(kernel panic, no rootfs)

and green and yellow LEDs is on .. :)

Now I try to boot with rootfs and try to ping someone..

Here is console log:
http://195.28.90.62/dohc/ostatne/hpt5325/t5325_boot_zImage_dts_inside_kernel.txt
JRD McLAREN
Re: HP T5325 Thin Client Debian
April 02, 2017 02:40PM
Does your kernel have usb-storage module inside ..??
Re: HP T5325 Thin Client Debian
April 02, 2017 04:32PM
JRD McLAREN Wrote:
-------------------------------------------------------
> Does your kernel have usb-storage module inside .
> .??

Yes.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: HP T5325 Thin Client Debian
April 02, 2017 04:36PM
> http://195.28.90.62/dohc/ostatne/hpt5325/t5325_boo
> t_zImage_dts_inside_kernel.txt

It is not easy to read this log. It got cut off and missing text in many places. Can you copy and paste the log to your post and put it in code tags?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
JRD McLAREN
Re: HP T5325 Thin Client Debian
April 03, 2017 01:25AM
Here is log from my t5325, with Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi image.

Still no link on LAN ..
One green is on, after power on.
All LEDs are off, when kernel starts.
http://195.28.90.62/dohc/ostatne/hpt5325/t5325_boot_debian_kernel_bodhi_image.txt

(hardware problem maybe ..:? )
JRD McLAREN
Re: HP T5325 Thin Client Debian
April 03, 2017 01:34AM
bodhi Wrote:
-------------------------------------------------------
> > http://195.28.90.62/dohc/ostatne/hpt5325/t5325_b
> oo
> > t_zImage_dts_inside_kernel.txt
>
> It is not easy to read this log. It got cut off an
> d missing text in many places. Can you copy and pa
> ste the log to your post and put it in code tags?

Client T5325

SoC:   Kirkwood 88F6281_A1
SPI:   ready
DRAM:  512 MiB
WARNING: Caches not enabled
SF: Detected MX25L8005 with page size 256 Bytes, erase size 64 KiB, total 1 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0 [PRIME]
PHY reset timed out
88E1116 Initialized on egiga0
Hit any key to stop autoboot:  0 
T5325> TAT

T5325> usb start
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 4 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
T5325> printenv
CASset=min
MALLOC_len=1
autoload=no
baudrate=115200
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=8 rootfstype=ext3 mtdparts=spi0.0:512K(uboot),256K(sdd_firmware),64Kd
bootcmd=run bootcmd_uenv; run bootcmd_usb; run bootcmd_ide; reset
bootcmd_ide=run debian
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot;
bootdelay=5
console=ttyS0,115200
debian=ide reset;ext2load ide 0:1 0x800000 /uImage; run $debian_bootargs; bootm 0x800000
debian_bootargs=setenv bootargs console=$console video=xgifb root=$debian_root $mtdparts
debian_root=/dev/sda2
device=0:1
disL2Cache=no
disL2Prefetch=yes
disaMvPnp=no
enaAutoRecovery=yes
enaCpuStream=no
enaDCPref=yes
enaICPref=yes
enaMonExt=no
enaWrAllo=no
ethact=egiga0
ethaddr=f4:ce:45:54:fd:22
ethmtu=1500
ethprime=egiga0
in_mfg=no
led_error=orange blinking
led_exit=green off
led_init=green blinking
loadaddr=0x02000000
machid=ffffffff
mainlineLinux=yes
mtdparts=mtdparts=spi0.0:512K(uboot),256K(sdd_firmware),64K(uboot_env),64K(permanent_uboot_env),64K(hp_env)
netbsd_en=no
netretry=no
pcieTune=yes
pexMode=RC
rootdelay=10
rootpath=/mnt/ARM_FS/
run_diag=no
sata_dma_mode=yes
setL2CacheWT=yes
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay $mtdparts
stderr=serial
stdin=serial
stdout=serial
thinpro=ide reset; ext2load ide 0:1 0x200000 /boot/uImage; wol; setenv bootargs $thinpro_bootargs; bootm 0x200000
thinpro_bootargs=console=ttyS0,115200 root=/dev/sda1 rw init=/init video=xgifb splash
uenv_import=echo importing envs ...; env import -t 0x810000
uenv_load=usb start; ide reset; setenv uenv_loaded 0; for devtype in usb ide; do for disknum in 0; do run uenv_read_disk; donee
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x810000 /boot/uEnv.txt; then setenv uenv_i
uenv_read_disk=if $devtype part $disknum; then run uenv_read; fi
usb0Mode=host
usb_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
usb_init=usb start
usb_load_uimage=ext2load usb $device 0x800000 /boot/uImage
usb_load_uinitrd=ext2load usb $device 0x1100000 /boot/uInitrd
usb_root='LABEL=rootfs'
usb_rootdelay=8
usb_rootfstype=ext3
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdpartsd
veworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 2693/65532 bytes
T5325> setenv machid 
T5325> ext2load usb 0:1 0x800000 /boot/zImage
3314029 bytes read in 519 ms (6.1 MiB/s)
T5325> bootz 0x0800000
Kernel image @ 0x800000 [ 0x000000 - 0x3263e8 ]

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.10.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #2 PREEMPT Thu Feb 7
[    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=8 rootfstype=ext3 mtdparts=spi0.0:512K(ubd
[    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: 510196K/524288K available (6299K kernel code, 627K rwdata, 1700K rodata, 308K init, 321K bss, 14092K re)
[    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 - 0xc062f0f8   (6301 kB)
[    0.000000]       .init : 0xc080d000 - 0xc085a000   ( 308 kB)
[    0.000000]       .data : 0xc085a000 - 0xc08f6c9c   ( 628 kB)
[    0.000000]        .bss : 0xc08f6c9c - 0xc0947120   ( 322 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    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.000009] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000508] Console: colour dummy device 80x30
[    0.000540] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
[    0.090109] pid_max: default: 32768 minimum: 301
[    0.090326] Security Framework initialized
[    0.090454] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090473] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091433] CPU: Testing write buffer coherency: ok
[    0.092316] Setting up static identity map for 0x8200 - 0x8258
[    0.092573] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.095879] devtmpfs: initialized
[    0.100242] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.100267] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.100527] prandom: seed boundary self test passed
[    0.104262] prandom: 100 self tests passed
[    0.104273] pinctrl core: initialized pinctrl subsystem
[    0.105442] NET: Registered protocol family 16
[    0.105922] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130106] cpuidle: using governor ladder
[    0.160102] cpuidle: using governor menu
[    0.160546] Feroceon L2: Enabling L2
[    0.160591] Feroceon L2: Cache support initialised.
[    0.160973] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.166712] No ATAGs?
[    0.201542] vgaarb: loaded
[    0.201831] usbcore: registered new interface driver usbfs
[    0.201914] usbcore: registered new interface driver hub
[    0.201972] usbcore: registered new device driver usb
[    0.203000] clocksource: Switched to clocksource orion_clocksource
[    0.248163] VFS: Disk quotas dquot_6.6.0
[    0.248241] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.258629] NET: Registered protocol family 2
[    0.259431] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.259491] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.259543] TCP: Hash tables configured (established 4096 bind 4096)
[    0.259617] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.259640] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.259835] NET: Registered protocol family 1
[    0.260275] RPC: Registered named UNIX socket transport module.
[    0.260286] RPC: Registered udp transport module.
[    0.260294] RPC: Registered tcp transport module.
[    0.260301] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.260704] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.261559] audit: initializing netlink subsys (disabled)
[    0.262013] Initialise system trusted keyrings
[    0.262142] audit: type=2000 audit(0.250:1): initialized
[    0.262224] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.262291] zbud: loaded
[    0.263390] NFS: Registering the id_resolver key type
[    0.263418] Key type id_resolver registered
[    0.263425] Key type id_legacy registered
[    0.263441] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.263451] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.263683] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.264049] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.264276] orangefs_init: module version upstream loaded
[    2.553007] random: fast init done
[    4.347958] Key type asymmetric registered
[    4.347972] Asymmetric key parser 'x509' registered
[    4.348048] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    4.348059] io scheduler noop registered
[    4.348067] io scheduler deadline registered
[    4.348098] io scheduler cfq registered (default)
[    4.349415] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    4.351276] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00
[    4.351297] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    4.351310] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    4.351323] pci_bus 0000:00: root bus resource [bus 00-ff]
[    4.351659] PCI: bus0: Fast back to back transfers disabled
[    4.351683] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.352209] pci 0000:01:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
[    4.373148] PCI: bus1: Fast back to back transfers disabled
[    4.373257] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe5ffffff]
[    4.373273] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    4.373291] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe3ffffff pref]
[    4.373310] pci 0000:01:00.0: BAR 1: assigned [mem 0xe4000000-0xe403ffff]
[    4.373326] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x1007f]
[    4.373342] pci 0000:00:01.0: PCI bridge to [bus 01]
[    4.373355] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    4.373369] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe5ffffff]
[    4.373453] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    4.373991] mv_xor f1060800.xor: Marvell shared XOR driver
[    4.433742] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    4.433945] mv_xor f1060900.xor: Marvell shared XOR driver
[    4.493740] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    4.494171] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    4.495418] console [ttyS0] disabled
[    4.495480] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    5.178959] console [ttyS0] enabled
[    5.184224] m25p80 spi0.0: found mx25l8005, expected m25p80
[    5.189829] m25p80 spi0.0: mx25l8005 (1024 Kbytes)
[    5.194710] 5 cmdlinepart partitions found on MTD device spi0.0
[    5.200653] Creating 5 MTD partitions on "spi0.0":
[    5.205493] 0x000000000000-0x000000080000 : "uboot"
[    5.211668] 0x000000080000-0x0000000c0000 : "sdd_firmware"
[    5.218454] 0x0000000c0000-0x0000000d0000 : "uboot_env"
[    5.224940] 0x0000000d0000-0x0000000e0000 : "permanent_uboot_env"
[    5.232174] 0x0000000e0000-0x0000000f0000 : "hp_env"
[    5.239247] libphy: Fixed MDIO Bus: probed
[    5.244241] libphy: orion_mdio_bus: probed
[    5.249058] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    5.353830] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address f4:ce:45:54:fd:22
[    5.362693] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.369306] ehci-pci: EHCI PCI platform driver
[    5.373853] ehci-orion: EHCI orion driver
[    5.378048] orion-ehci f1050000.ehci: EHCI Host Controller
[    5.383610] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    5.391452] orion-ehci f1050000.ehci: irq 31, io mem 0xf1050000
[    5.423031] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    5.429299] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    5.436151] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.443423] usb usb1: Product: EHCI Host Controller
[    5.448320] usb usb1: Manufacturer: Linux 4.10.0-kirkwood-tld-1 ehci_hcd
[    5.455071] usb usb1: SerialNumber: f1050000.ehci
[    5.460475] hub 1-0:1.0: USB hub found
[    5.464330] hub 1-0:1.0: 1 port detected
[    5.469133] mousedev: PS/2 mouse device common for all mice
[    5.475054] rtc-mv f1010300.rtc: invalid RTC date, resetting to January 1st, 2013
[    5.482900] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    5.490006] i2c /dev entries driver
[    5.495059] hidraw: raw HID events driver (C) Jiri Kosina
[    5.500786] drop_monitor: Initializing network drop monitor service
[    5.507346] NET: Registered protocol family 17
[    5.511988] Key type dns_resolver registered
[    5.517089] registered taskstats version 1
[    5.521201] Loading compiled-in X.509 certificates
[    5.526092] zswap: loaded using pool lzo/zbud
[    5.532916] Key type big_key registered
[    5.538933] Key type encrypted registered
[    5.544392] rtc-mv f1010300.rtc: setting system clock to 2013-01-01 19:10:16 UTC (1357067416)
[    5.553486] Waiting 8 sec before mounting root device...
[    5.823036] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    6.013472] usb 1-1: New USB device found, idVendor=0424, idProduct=2514
[    6.020219] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    6.028159] hub 1-1:1.0: USB hub found
[    6.032089] hub 1-1:1.0: 4 ports detected
[    6.353029] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[    6.503962] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=0179
[    6.510884] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.518267] usb 1-1.2: Product: 802.11n NIC
[    6.522468] usb 1-1.2: Manufacturer: Realtek
[    6.526778] usb 1-1.2: SerialNumber: 00C6E2175441
[    6.623031] usb 1-1.3: new high-speed USB device number 4 using orion-ehci
[    6.773962] usb 1-1.3: New USB device found, idVendor=0718, idProduct=0710
[    6.780882] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.788263] usb 1-1.3: Product: TF10
[    6.791855] usb 1-1.3: Manufacturer: TDK LoR
[    6.796164] usb 1-1.3: SerialNumber: 120300000000018C
[   13.923174] VFS: Cannot open root device "LABEL=rootfs" or unknown-block(0,0): error -6
[   13.931213] Please append a correct "root=" boot option; here are the available partitions:
[   13.939664] 1f00             512 mtdblock0 
[   13.939669]  (driver?)
[   13.946278] 1f01             256 mtdblock1 
[   13.946282]  (driver?)
[   13.952863] 1f02              64 mtdblock2 
[   13.952867]  (driver?)
[   13.959471] 1f03              64 mtdblock3 
[   13.959475]  (driver?)
[   13.966063] 1f04              64 mtdblock4 
[   13.966067]  (driver?)
[   13.972636] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   13.980938] CPU: 0 PID: 1 Comm: swapper Not tainted 4.10.0-kirkwood-tld-1 #2
[   13.988014] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   13.994333] [<c0016ab8>] (unwind_backtrace) from [<c0012b78>] (show_stack+0x10/0x14)
[   14.002119] [<c0012b78>] (show_stack) from [<c00d4ef0>] (panic+0xb0/0x250)
[   14.009032] [<c00d4ef0>] (panic) from [<c080e26c>] (mount_block_root+0x204/0x27c)
[   14.016554] [<c080e26c>] (mount_block_root) from [<c080e3d0>] (mount_root+0xec/0x118)
[   14.024419] [<c080e3d0>] (mount_root) from [<c080e520>] (prepare_namespace+0x124/0x184)
[   14.032459] [<c080e520>] (prepare_namespace) from [<c080de88>] (kernel_init_freeable+0x210/0x260)
[   14.041376] [<c080de88>] (kernel_init_freeable) from [<c0629cd8>] (kernel_init+0x8/0xf4)
[   14.049509] [<c0629cd8>] (kernel_init) from [<c000f0f0>] (ret_from_fork+0x14/0x24)
[   14.057121] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[  126.143052] random: crng init done

CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7 | VT102 | Offline | rfcomm0
Re: HP T5325 Thin Client Debian
April 03, 2017 03:01AM
JRD McLAREN,


Quote

If you post the entire serial boot log for this: from the u-boot baner until after you'velogged into Debian, perhaps I can help to troubleshoot the network problem.

There should be u-boot banner here.
Client T5325

SoC:   Kirkwood 88F6281_A1
It would have saved us sometime if I can see this banner without having to ask for it :)

But by looking at your envs, your installed u-boot is an older version, not 2016.05-tld-1, must be 2015.10-tld-2.

T5325> ext2load usb 0:1 0x800000 /boot/zImage
3314029 bytes read in 519 ms (6.1 MiB/s)
T5325> bootz 0x0800000


Your bootz command above won't work with the current envs.

What you have right now is the DTB embbeded inside zImage. And if you want to use bootz then it should be

ext2load usb 0:1 0x800000 /boot/zImage
ext2load usb 0:1 0x1100000 /boot/uInitrd
bootz 0x0800000 0x1100000

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
JRD McLAREN
Re: HP T5325 Thin Client Debian
April 03, 2017 03:37PM
Log from "working" t5325, on stock uboot, Debian and 3.16.0-4 kernel

Lan works well...

root@t5325:/var/log# cat kern.log 
Apr  3 09:38:51 t5325 kernel: [    0.000000] Booting Linux on physical CPU 0x0
Apr  3 09:38:51 t5325 kernel: [    0.000000] Initializing cgroup subsys cpuset
Apr  3 09:38:51 t5325 kernel: [    0.000000] Initializing cgroup subsys cpu
Apr  3 09:38:51 t5325 kernel: [    0.000000] Initializing cgroup subsys cpuacct
Apr  3 09:38:51 t5325 kernel: [    0.000000] Linux version 3.16.0-4-kirkwood (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 Debian 3.16.39-1+deb8u2 (2017-03-07)
Apr  3 09:38:51 t5325 kernel: [    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
Apr  3 09:38:51 t5325 kernel: [    0.000000] CPU: VIVT data cache, VIVT instruction cache
Apr  3 09:38:51 t5325 kernel: [    0.000000] Machine: HP t5325 Thin Client
Apr  3 09:38:51 t5325 kernel: [    0.000000] Memory policy: Data cache writeback
Apr  3 09:38:51 t5325 kernel: [    0.000000] On node 0 totalpages: 131072
Apr  3 09:38:51 t5325 kernel: [    0.000000] free_area_init_node: node 0, pgdat c05d7158, node_mem_map dfbf9000
Apr  3 09:38:51 t5325 kernel: [    0.000000]   DMA zone: 1024 pages used for memmap
Apr  3 09:38:51 t5325 kernel: [    0.000000]   DMA zone: 0 pages reserved
Apr  3 09:38:51 t5325 kernel: [    0.000000]   DMA zone: 131072 pages, LIFO batch:31
Apr  3 09:38:51 t5325 kernel: [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Apr  3 09:38:51 t5325 kernel: [    0.000000] pcpu-alloc: [0] 0 
Apr  3 09:38:51 t5325 kernel: [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
Apr  3 09:38:51 t5325 kernel: [    0.000000] Kernel command line: console=ttyS0,115200n8 video=xgifb root=/dev/sdb2 rootwait
Apr  3 09:38:51 t5325 kernel: [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
Apr  3 09:38:51 t5325 kernel: [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Apr  3 09:38:51 t5325 kernel: [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Apr  3 09:38:51 t5325 kernel: [    0.000000] Memory: 503116K/524288K available (3911K kernel code, 361K rwdata, 1440K rodata, 277K init, 288K bss, 21172K reserved, 0K highmem)
Apr  3 09:38:51 t5325 kernel: [    0.000000] Virtual kernel memory layout:
Apr  3 09:38:51 t5325 kernel: [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
Apr  3 09:38:51 t5325 kernel: [    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)                                 
Apr  3 09:38:51 t5325 kernel: [    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)                                 
Apr  3 09:38:51 t5325 kernel: [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)                                 
Apr  3 09:38:51 t5325 kernel: [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)                                 
Apr  3 09:38:51 t5325 kernel: [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)                                 
Apr  3 09:38:51 t5325 kernel: [    0.000000]       .text : 0xc0008000 - 0xc054213c   (5353 kB)
Apr  3 09:38:51 t5325 kernel: [    0.000000]       .init : 0xc0543000 - 0xc058878c   ( 278 kB)
Apr  3 09:38:51 t5325 kernel: [    0.000000]       .data : 0xc058a000 - 0xc05e4508   ( 362 kB)
Apr  3 09:38:51 t5325 kernel: [    0.000000]        .bss : 0xc05e4508 - 0xc062c8ec   ( 289 kB)
Apr  3 09:38:51 t5325 kernel: [    0.000000] NR_IRQS:114
Apr  3 09:38:51 t5325 kernel: [    0.000012] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns
Apr  3 09:38:51 t5325 kernel: [   16.574381] Console: colour dummy device 80x30
Apr  3 09:38:51 t5325 kernel: [   16.574405] Calibrating delay loop... 1191.93 BogoMIPS (lpj=2383872)
Apr  3 09:38:51 t5325 kernel: [   16.594182] pid_max: default: 32768 minimum: 301
Apr  3 09:38:51 t5325 kernel: [   16.594286] Security Framework initialized
Apr  3 09:38:51 t5325 kernel: [   16.594329] Yama: disabled by default; enable with sysctl kernel.yama.*
Apr  3 09:38:51 t5325 kernel: [   16.594399] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Apr  3 09:38:51 t5325 kernel: [   16.594418] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
Apr  3 09:38:51 t5325 kernel: [   16.595145] Initializing cgroup subsys memory
Apr  3 09:38:51 t5325 kernel: [   16.595180] Initializing cgroup subsys devices
Apr  3 09:38:51 t5325 kernel: [   16.595230] Initializing cgroup subsys freezer
Apr  3 09:38:51 t5325 kernel: [   16.595256] Initializing cgroup subsys net_cls
Apr  3 09:38:51 t5325 kernel: [   16.595299] Initializing cgroup subsys blkio
Apr  3 09:38:51 t5325 kernel: [   16.595335] Initializing cgroup subsys perf_event
Apr  3 09:38:51 t5325 kernel: [   16.595356] Initializing cgroup subsys net_prio
Apr  3 09:38:51 t5325 kernel: [   16.595440] CPU: Testing write buffer coherency: ok
Apr  3 09:38:51 t5325 kernel: [   16.595530] ftrace: allocating 16370 entries in 32 pages
Apr  3 09:38:51 t5325 kernel: [   16.619005] Setting up static identity map for 0x3b2718 - 0x3b2770
Apr  3 09:38:51 t5325 kernel: [   16.622198] devtmpfs: initialized
Apr  3 09:38:51 t5325 kernel: [   16.624903] pinctrl core: initialized pinctrl subsystem
Apr  3 09:38:51 t5325 kernel: [   16.625340] regulator-dummy: no parameters
Apr  3 09:38:51 t5325 kernel: [   16.625769] NET: Registered protocol family 16
Apr  3 09:38:51 t5325 kernel: [   16.626116] DMA: preallocated 256 KiB pool for atomic coherent allocations
Apr  3 09:38:51 t5325 kernel: [   16.627284] cpuidle: using governor ladder
Apr  3 09:38:51 t5325 kernel: [   16.627309] cpuidle: using governor menu
Apr  3 09:38:51 t5325 kernel: [   16.627390] Kirkwood: MV88F6281-A1, TCLK=200000000.
Apr  3 09:38:51 t5325 kernel: [   16.627410] Feroceon L2: Enabling L2
Apr  3 09:38:51 t5325 kernel: [   16.627445] Feroceon L2: Cache support initialised.
Apr  3 09:38:51 t5325 kernel: [   16.628085] initial MPP regs: 21101100 00013311 00001100 00000200 40000020 00004444 ffffff00
Apr  3 09:38:51 t5325 kernel: [   16.628111]   final MPP regs: 21112221 00013311 00001100 00000200 40000030 00004444 ffffff00
Apr  3 09:38:51 t5325 kernel: [   16.629397] Kirkwood PCIe port 0: link down
Apr  3 09:38:51 t5325 kernel: [   16.629407] PCI: bus0 uses PCIe port 0
Apr  3 09:38:51 t5325 kernel: [   16.629622] PCI host bridge to bus 0000:00
Apr  3 09:38:51 t5325 kernel: [   16.629641] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
Apr  3 09:38:51 t5325 kernel: [   16.629653] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
Apr  3 09:38:51 t5325 kernel: [   16.629664] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
Apr  3 09:38:51 t5325 kernel: [   16.629695] pci 0000:00:00.0: [11ab:6281] type 00 class 0x058000
Apr  3 09:38:51 t5325 kernel: [   16.629720] pci 0000:00:00.0: reg 0x10: [mem 0xf1000000-0xf10fffff 64bit pref]
Apr  3 09:38:51 t5325 kernel: [   16.629736] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x1fffffff]
Apr  3 09:38:51 t5325 kernel: [   16.629783] pci 0000:00:00.0: supports D1 D2
Apr  3 09:38:51 t5325 kernel: [   16.629988] PCI: bus0: Fast back to back transfers disabled
Apr  3 09:38:51 t5325 kernel: [   16.630005] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
Apr  3 09:38:51 t5325 kernel: [   16.634346] Switched to clocksource orion_clocksource
Apr  3 09:38:51 t5325 kernel: [   16.655543] NET: Registered protocol family 2
Apr  3 09:38:51 t5325 kernel: [   16.656473] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
Apr  3 09:38:51 t5325 kernel: [   16.656532] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
Apr  3 09:38:51 t5325 kernel: [   16.656582] TCP: Hash tables configured (established 4096 bind 4096)
Apr  3 09:38:51 t5325 kernel: [   16.656635] TCP: reno registered
Apr  3 09:38:51 t5325 kernel: [   16.656648] UDP hash table entries: 256 (order: 0, 4096 bytes)
Apr  3 09:38:51 t5325 kernel: [   16.656669] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Apr  3 09:38:51 t5325 kernel: [   16.656839] NET: Registered protocol family 1
Apr  3 09:38:51 t5325 kernel: [   16.656912] PCI: CLS 32 bytes, default 32
Apr  3 09:38:51 t5325 kernel: [   16.657133] Unpacking initramfs...
Apr  3 09:38:51 t5325 kernel: [   17.561883] Freeing initrd memory: 10300K (c09fb000 - c140a000)
Apr  3 09:38:51 t5325 kernel: [   17.563184] futex hash table entries: 256 (order: -1, 3072 bytes)
Apr  3 09:38:51 t5325 kernel: [   17.563249] audit: initializing netlink subsys (disabled)
Apr  3 09:38:51 t5325 kernel: [   17.563309] audit: type=2000 audit(0.984:1): initialized
Apr  3 09:38:51 t5325 kernel: [   17.564104] zbud: loaded
Apr  3 09:38:51 t5325 kernel: [   17.564332] VFS: Disk quotas dquot_6.5.2
Apr  3 09:38:51 t5325 kernel: [   17.564379] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Apr  3 09:38:51 t5325 kernel: [   17.564482] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
Apr  3 09:38:51 t5325 kernel: [   17.564695] msgmni has been set to 1002
Apr  3 09:38:51 t5325 kernel: [   17.566577] alg: No test for stdrng (krng)
Apr  3 09:38:51 t5325 kernel: [   17.566684] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
Apr  3 09:38:51 t5325 kernel: [   17.566875] io scheduler noop registered
Apr  3 09:38:51 t5325 kernel: [   17.567019] io scheduler cfq registered (default)
Apr  3 09:38:51 t5325 kernel: [   17.567600] mv_xor mv_xor.0: Marvell shared XOR driver
Apr  3 09:38:51 t5325 kernel: [   17.586454] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
Apr  3 09:38:51 t5325 kernel: [   17.606453] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
Apr  3 09:38:51 t5325 kernel: [   17.606626] mv_xor mv_xor.1: Marvell shared XOR driver
Apr  3 09:38:51 t5325 kernel: [   17.626452] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
Apr  3 09:38:51 t5325 kernel: [   17.646451] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
Apr  3 09:38:51 t5325 kernel: [   17.646871] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
Apr  3 09:38:51 t5325 kernel: [   17.647830] console [ttyS0] disabled
Apr  3 09:38:51 t5325 kernel: [   17.667782] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
Apr  3 09:38:51 t5325 kernel: [   18.182270] console [ttyS0] enabled
Apr  3 09:38:51 t5325 kernel: [   18.187545] m25p80 spi0.0: mx25l8005 (1024 Kbytes)
Apr  3 09:38:51 t5325 kernel: [   18.192395] Creating 5 MTD partitions on "spi_flash":
Apr  3 09:38:51 t5325 kernel: [   18.197488] 0x0000000c0000-0x0000000d0000 : "u-boot env"
Apr  3 09:38:51 t5325 kernel: [   18.204004] 0x0000000d0000-0x0000000e0000 : "permanent u-boot env"
Apr  3 09:38:51 t5325 kernel: [   18.211361] 0x0000000e0000-0x0000000f0000 : "HP env"
Apr  3 09:38:51 t5325 kernel: [   18.217476] 0x000000000000-0x000000080000 : "u-boot"
Apr  3 09:38:51 t5325 kernel: [   18.223495] 0x000000080000-0x0000000c0000 : "SSD firmware"
Apr  3 09:38:51 t5325 kernel: [   18.230529] mousedev: PS/2 mouse device common for all mice
Apr  3 09:38:51 t5325 kernel: [   18.236594] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
Apr  3 09:38:51 t5325 kernel: [   18.242579] i2c /dev entries driver
Apr  3 09:38:51 t5325 kernel: [   18.246950] ledtrig-cpu: registered to indicate activity on CPUs
Apr  3 09:38:51 t5325 kernel: [   18.253284] TCP: cubic registered
Apr  3 09:38:51 t5325 kernel: [   18.256647] NET: Registered protocol family 17
Apr  3 09:38:51 t5325 kernel: [   18.261800] registered taskstats version 1
Apr  3 09:38:51 t5325 kernel: [   18.266991] rtc-mv rtc-mv: setting system clock to 2017-04-03 07:38:41 UTC (1491205121)
Apr  3 09:38:51 t5325 kernel: [   18.275655] PM: Hibernation image not present or could not be loaded.
Apr  3 09:38:51 t5325 kernel: [   18.276689] Freeing unused kernel memory: 276K (c0543000 - c0588000)
Apr  3 09:38:51 t5325 kernel: [   18.360397] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
Apr  3 09:38:51 t5325 kernel: [   18.441120] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
Apr  3 09:38:51 t5325 kernel: [   18.467983] usbcore: registered new interface driver usbfs
Apr  3 09:38:51 t5325 kernel: [   18.511587] usbcore: registered new interface driver hub
Apr  3 09:38:51 t5325 kernel: [   18.525536] SCSI subsystem initialized
Apr  3 09:38:51 t5325 kernel: [   18.537105] libphy: orion_mdio_bus: probed
Apr  3 09:38:51 t5325 kernel: [   18.551890] usbcore: registered new device driver usb
Apr  3 09:38:51 t5325 kernel: [   18.579389] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Apr  3 09:38:51 t5325 kernel: [   18.607590] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address f4:ce:46:24:01:02
Apr  3 09:38:51 t5325 kernel: [   18.619270] libata version 3.00 loaded.
Apr  3 09:38:51 t5325 kernel: [   18.628100] ehci-orion: EHCI orion driver
Apr  3 09:38:51 t5325 kernel: [   18.647088] sata_mv sata_mv.0: version 1.28
Apr  3 09:38:51 t5325 kernel: [   18.647152] sata_mv sata_mv.0: cannot get optional clkdev
Apr  3 09:38:51 t5325 kernel: [   18.660670] sata_mv sata_mv.0: slots 32 ports 2
Apr  3 09:38:51 t5325 kernel: [   18.699841] scsi0 : sata_mv
Apr  3 09:38:51 t5325 kernel: [   18.716456] scsi1 : sata_mv
Apr  3 09:38:51 t5325 kernel: [   18.722132] ata1: SATA max UDMA/133 irq 21
Apr  3 09:38:51 t5325 kernel: [   18.726280] ata2: SATA max UDMA/133 irq 21
Apr  3 09:38:51 t5325 kernel: [   18.740595] orion-ehci orion-ehci.0: EHCI Host Controller
Apr  3 09:38:51 t5325 kernel: [   18.747033] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
Apr  3 09:38:51 t5325 kernel: [   18.754803] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
Apr  3 09:38:51 t5325 kernel: [   18.770378] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
Apr  3 09:38:51 t5325 kernel: [   18.776527] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
Apr  3 09:38:51 t5325 kernel: [   18.783363] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Apr  3 09:38:51 t5325 kernel: [   18.790629] usb usb1: Product: EHCI Host Controller
Apr  3 09:38:51 t5325 kernel: [   18.795536] usb usb1: Manufacturer: Linux 3.16.0-4-kirkwood ehci_hcd
Apr  3 09:38:51 t5325 kernel: [   18.801928] usb usb1: SerialNumber: orion-ehci.0
Apr  3 09:38:51 t5325 kernel: [   18.807762] hub 1-0:1.0: USB hub found
Apr  3 09:38:51 t5325 kernel: [   18.811586] hub 1-0:1.0: 1 port detected
Apr  3 09:38:51 t5325 kernel: [   19.126377] usb 1-1: new high-speed USB device number 2 using orion-ehci
Apr  3 09:38:51 t5325 kernel: [   19.206387] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
Apr  3 09:38:51 t5325 kernel: [   19.218467] ata1.00: ATA-7: SM224, I0521, max UDMA/133
Apr  3 09:38:51 t5325 kernel: [   19.223650] ata1.00: 949536 sectors, multi 0: LBA 
Apr  3 09:38:51 t5325 kernel: [   19.234457] ata1.00: configured for UDMA/133
Apr  3 09:38:51 t5325 kernel: [   19.239112] scsi 0:0:0:0: Direct-Access     ATA      SM224            1    PQ: 0 ANSI: 5
Apr  3 09:38:51 t5325 kernel: [   19.266830] usb 1-1: New USB device found, idVendor=0424, idProduct=2514
Apr  3 09:38:51 t5325 kernel: [   19.273586] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Apr  3 09:38:51 t5325 kernel: [   19.284706] hub 1-1:1.0: USB hub found
Apr  3 09:38:51 t5325 kernel: [   19.288697] hub 1-1:1.0: 4 ports detected
Apr  3 09:38:51 t5325 kernel: [   19.566379] ata2: SATA link down (SStatus 0 SControl F300)
Apr  3 09:38:51 t5325 kernel: [   19.589141] sd 0:0:0:0: [sda] 949536 512-byte logical blocks: (486 MB/463 MiB)
Apr  3 09:38:51 t5325 kernel: [   19.597527] sd 0:0:0:0: [sda] Write Protect is off
Apr  3 09:38:51 t5325 kernel: [   19.602370] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
Apr  3 09:38:51 t5325 kernel: [   19.602481] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Apr  3 09:38:51 t5325 kernel: [   19.614076]  sda: sda1 sda2
Apr  3 09:38:51 t5325 kernel: [   19.618883] sd 0:0:0:0: [sda] Attached SCSI disk
Apr  3 09:38:51 t5325 kernel: [   19.627387] sd 0:0:0:0: Attached scsi generic sg0 type 0
Apr  3 09:38:51 t5325 kernel: [   19.843027] raid6: int32x1     81 MB/s
Apr  3 09:38:51 t5325 kernel: [   19.914753] raid6: int32x2    111 MB/s
Apr  3 09:38:51 t5325 kernel: [   19.986535] raid6: int32x4    114 MB/s
Apr  3 09:38:51 t5325 kernel: [   20.054463] raid6: int32x8    125 MB/s
Apr  3 09:38:51 t5325 kernel: [   20.058231] raid6: using algorithm int32x8 (125 MB/s)
Apr  3 09:38:51 t5325 kernel: [   20.063318] raid6: using intx1 recovery algorithm
Apr  3 09:38:51 t5325 kernel: [   20.069646] xor: measuring software checksum speed
Apr  3 09:38:51 t5325 kernel: [   20.114354]    arm4regs  :  1088.000 MB/sec
Apr  3 09:38:51 t5325 kernel: [   20.158357]    8regs     :   654.000 MB/sec
Apr  3 09:38:51 t5325 kernel: [   20.202356]    32regs    :   905.000 MB/sec
Apr  3 09:38:51 t5325 kernel: [   20.206569] xor: using function: arm4regs (1088.000 MB/sec)
Apr  3 09:38:51 t5325 kernel: [   20.253252] Btrfs loaded
Apr  3 09:38:51 t5325 kernel: [   20.566915] BTRFS: device label rootfs devid 1 transid 5591 /dev/sda2
Apr  3 09:38:51 t5325 kernel: [   20.669778] BTRFS info (device sda2): disk space caching is enabled
Apr  3 09:38:51 t5325 kernel: [   21.069708] random: systemd: uninitialized urandom read (16 bytes read, 107 bits of entropy available)
Apr  3 09:38:51 t5325 kernel: [   21.229353] NET: Registered protocol family 10
Apr  3 09:38:51 t5325 kernel: [   21.358592] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 126 bits of entropy available)
Apr  3 09:38:51 t5325 kernel: [   21.403260] random: nonblocking pool is initialized
Apr  3 09:38:51 t5325 kernel: [   22.450575] BTRFS info (device sda2): use spread ssd allocation scheme
Apr  3 09:38:51 t5325 kernel: [   22.458081] BTRFS info (device sda2): disk space caching is enabled
Apr  3 09:38:51 t5325 kernel: [   23.739725] MV-CESA:Could not register sha1 driver
Apr  3 09:38:51 t5325 kernel: [   23.744637] MV-CESA:Could not register hmac-sha1 driver
Apr  3 09:38:51 t5325 kernel: [   23.778563] input: gpio-keys as /devices/platform/gpio-keys/input/input0
Apr  3 09:38:51 t5325 kernel: [   24.118869] t5325-audio t5325-audio: ASoC: CPU DAI i2s not registered
Apr  3 09:38:51 t5325 kernel: [   24.185014] t5325-audio t5325-audio: snd_soc_register_card() failed: -517
Apr  3 09:38:51 t5325 kernel: [   24.259955] platform t5325-audio: Driver t5325-audio requests probe deferral
Apr  3 09:38:51 t5325 kernel: [   24.310840] t5325-audio t5325-audio: ASoC: CPU DAI i2s not registered
Apr  3 09:38:51 t5325 kernel: [   24.353006] t5325-audio t5325-audio: snd_soc_register_card() failed: -517
Apr  3 09:38:51 t5325 kernel: [   24.406804] platform t5325-audio: Driver t5325-audio requests probe deferral
Apr  3 09:38:51 t5325 kernel: [   24.829151] t5325-audio t5325-audio: alc5621-hifi <-> i2s mapping ok
Apr  3 09:38:51 t5325 kernel: [   25.054166] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsystem
Apr  3 09:38:51 t5325 kernel: [   25.064577] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null)
Apr  3 09:38:51 t5325 kernel: [   25.954837] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
Apr  3 09:38:51 t5325 kernel: [   25.961795] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Apr  3 09:38:51 t5325 kernel: [   26.664100] FS-Cache: Loaded
Apr  3 09:38:51 t5325 kernel: [   26.802750] RPC: Registered named UNIX socket transport module.
Apr  3 09:38:51 t5325 kernel: [   26.808733] RPC: Registered udp transport module.
Apr  3 09:38:51 t5325 kernel: [   26.813467] RPC: Registered tcp transport module.
Apr  3 09:38:51 t5325 kernel: [   26.818202] RPC: Registered tcp NFSv4.1 backchannel transport module.
Apr  3 09:38:51 t5325 kernel: [   26.909079] FS-Cache: Netfs 'nfs' registered for caching
Apr  3 09:38:51 t5325 kernel: [   26.970105] Key type dns_resolver registered
Apr  3 09:38:51 t5325 kernel: [   27.050698] NFS: Registering the id_resolver key type
Apr  3 09:38:51 t5325 kernel: [   27.056261] Key type id_resolver registered
Apr  3 09:38:51 t5325 kernel: [   27.066390] Key type id_legacy registered
Apr  3 09:38:51 t5325 kernel: [   27.428038] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Apr  3 09:38:51 t5325 kernel: [   27.667594] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb/s, full duplex, flow control disabled
Apr  3 09:38:51 t5325 kernel: [   27.677799] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
JRD McLAREN
Re: HP T5325 Thin Client Debian
April 03, 2017 03:49PM
Thanks for answer bodhi.
Don't care about uboot env, it is modified many many times, for testing use..
and i try too much kernel and init versions, today I have booted your FS and Kernel successfully..
..but, LAN don't work ...

The common problem is there ..
[    0.160973] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.166712] No ATAGs?
..I think ..
My router have no APR record from marvell LAN also ..

I will try to copy MX Flash from "working one" into this "bad one"
(cause working one have stock uboot, and "stock" uboot env & HP env)
I try to work with this... for a last time ..
Re: HP T5325 Thin Client Debian
April 04, 2017 01:06AM
> [ 0.160973] [Firmware Info]: /ocp@f1000000/ethe
> rnet-controller@72000/ethernet0-port@0: local-mac-
> address is not set
> [ 0.166712] No ATAGs?

This is not a problem. You can safely ignore it.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
JRD McLAREN
Re: HP T5325 Thin Client Debian
April 05, 2017 03:19AM
.. ARP record ...

(I'm meen)
(I can't edit my post, because I not registered :) )
JRD McLAREN
Re: HP T5325 Thin Client Debian
April 05, 2017 03:24AM
OK,

I try to back serial flash image, uboot and envs
and then try to boot with working LAN.
If they don't wok, then it will be a hardware problem ..
( ..and I trash this device .. )
Re: HP T5325 Thin Client Debian
April 06, 2017 10:55PM
JRD McLAREN Wrote:
-------------------------------------------------------
> OK,
>
> I try to back serial flash image, uboot and envs
> and then try to boot with working LAN.
> If they don't wok, then it will be a hardware prob
> lem ..
> ( ..and I trash this device .. )

Don't trash the box! This is a common problem with rootfs. You can solve it. It is very unlikely a hardware probkem.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

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: