HP T5325 Thin Client U-Boot-2017.07-tld-1 March 10, 2016 04:56PM |
Admin Registered: 13 years ago Posts: 19,107 |
uboot.2016.05-tld-1.environment.img (the default envs image to be flashed on other Kirkwood box, not used here) uboot.2016.05-tld-1.environment (the content of the default envs in text format) uboot.2016.05-tld-1.environment.64K.img (small envs image to be flashed on HP T5325 only).
./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.t5325.mtd0.kwb -p
mkdir /tmp/sdb1 mount -o noatime /dev/sdb1 /tmp/sdb1 cd /tmp/sdb1/boot tar -xf uboot.2017.07-tld-1.t5325.bodhi.tar tar -xf uboot.2016.05-tld-1.environment.bodhi.tar
cd /tmp/sdb1/boot fw_printenv > current_envs.text dd if=/dev/mtd0 of=t5325.mtd0 bs=64k conv=sync dd if=/dev/mtd3 of=t5325.mtd3 bs=512k conv=sync
dev: size erasesize name mtd0: 00010000 00010000 "u-boot env" mtd1: 00010000 00010000 "permanent u-boot env" mtd2: 00010000 00010000 "HP env" mtd3: 00080000 00010000 "u-boot" mtd4: 00040000 00010000 "SSD firmware"
cd /tmp/sdb1/boot flash_unlock /dev/mtd3 flashcp -v uboot.2017.07-tld-1.t5325.mtd0.kwb /dev/mtd3
Erasing blocks: 8/8 (100%) Writing data: 512k/512k (100%) Verifying data: 512k/512k (100%)
cd /tmp/sdb1/boot flash_unlock /dev/mtd0 flashcp -v uboot.2016.05-tld-1.environment.64K.img /dev/mtd0
Erasing blocks: 1/1 (100%) Writing data: 64k/64k (100%) Verifying data: 64k/64k (100%)
echo "/dev/mtd0 0x00000 0x10000 0x10000" > /etc/fw_env.config
/tmp/sdb1/usr/bin/fw_setenv arcNumber '2846' /tmp/sdb1/usr/bin/fw_setenv mtdparts 'mtdparts=spi0.0:512K(uboot),256K(sdd_firmware),64K(uboot_env),64K(permanent_uboot_env),64K(hp_env)' /tmp/sdb1/usr/bin/fw_setenv ethaddr 'xx:xx:xx:xx:xx:xx' /tmp/sdb1/usr/bin/fw_setenv devices 'usb ide' /tmp/sdb1/usr/bin/fw_setenv dtb_file '/boot/dts/kirkwood-t5325.dtb'
/tmp/sdb1/usr/bin/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' /tmp/sdb1/usr/bin/fw_setenv ipaddr 'xxx.xxx.x.xxx' /tmp/sdb1/usr/bin/fw_setenv serverip 'xxx.xxx.x.xxx'
/tmp/sdb1/usr/bin/fw_setenv mtdids /tmp/sdb1/usr/bin/fw_setenv partition /tmp/sdb1/usr/bin/fw_setenv machid
U-Boot 2017.07-tld-1 (Nov 01 2017 - 00:58:19 -0700) HP Thin Client T5325
cd /boot tar -xf uboot.2017.07-tld-1.t5325.bodhi.tar tar -xf uboot.2016.05-tld-1.environment.bodhi.tar
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"
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
flash_unlock /dev/mtd0 flashcp -v uboot.2017.07-tld-1.t5325.mtd0.kwb /dev/mtd0
Erasing blocks: 8/8 (100%) Writing data: 512k/0k (100%) Verifying data: 512k/0k (100%)
flash_unlock /dev/mtd2 flashcp -v uboot.2016.05-tld-1.environment.64K.img /dev/mtd2
Erasing blocks: 1/1 (100%) Writing data: 64k/64k (100%) Verifying data: 64k/64k (100%)
echo "/dev/mtd2 0x00000 0x10000 0x10000" > /etc/fw_env.config
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'
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'
fw_setenv mtdids fw_setenv partition fw_setenv machid
U-Boot 2017.07-tld-1 (Nov 01 2017 - 00:58:19 -0700) HP Thin Client T5325
./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2016.05-tld-1.t5325.mtd0.kwb -p
mkdir /tmp/sdb1 mount -o noatime /dev/sdb1 /tmp/sdb1 cd /tmp/sdb1/boot tar -xf uboot.2016.05-tld-1.t5325.bodhi.tar tar -xf uboot.2016.05-tld-1.environment.bodhi.tar
cd /tmp/sdb1/boot fw_printenv > current_envs.text dd if=/dev/mtd0 of=t5325.mtd0 bs=64k conv=sync dd if=/dev/mtd3 of=t5325.mtd3 bs=512k conv=sync
dev: size erasesize name mtd0: 00010000 00010000 "u-boot env" mtd1: 00010000 00010000 "permanent u-boot env" mtd2: 00010000 00010000 "HP env" mtd3: 00080000 00010000 "u-boot" mtd4: 00040000 00010000 "SSD firmware"
cd /tmp/sdb1/boot flash_unlock /dev/mtd3 flashcp -v uboot.2016.05-tld-1.t5325.mtd0.kwb /dev/mtd3
Erasing blocks: 8/8 (100%) Writing data: 512k/512k (100%) Verifying data: 512k/512k (100%)
cd /tmp/sdb1/boot flash_unlock /dev/mtd0 flashcp -v uboot.2016.05-tld-1.environment.64K.img /dev/mtd0
Erasing blocks: 1/1 (100%) Writing data: 64k/64k (100%) Verifying data: 64k/64k (100%)
echo "/dev/mtd0 0x00000 0x10000 0x10000" > /etc/fw_env.config
/tmp/sdb1/usr/bin/fw_setenv arcNumber '2846' /tmp/sdb1/usr/bin/fw_setenv mtdparts 'mtdparts=spi0.0:512K(uboot),256K(sdd_firmware),64K(uboot_env),64K(permanent_uboot_env),64K(hp_env)' /tmp/sdb1/usr/bin/fw_setenv ethaddr 'xx:xx:xx:xx:xx:xx' /tmp/sdb1/usr/bin/fw_setenv devices 'usb ide' /tmp/sdb1/usr/bin/fw_setenv dtb_file '/boot/dts/kirkwood-t5325.dtb'
/tmp/sdb1/usr/bin/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' /tmp/sdb1/usr/bin/fw_setenv ipaddr 'xxx.xxx.x.xxx' /tmp/sdb1/usr/bin/fw_setenv serverip 'xxx.xxx.x.xxx'
/tmp/sdb1/usr/bin/fw_setenv mtdids /tmp/sdb1/usr/bin/fw_setenv partition /tmp/sdb1/usr/bin/fw_setenv machid
U-Boot 2016.05-tld-1 (Jun 12 2016 ….) HP Thin Client T5325
uboot.2015.10-tld-2.t5325.mtd0.kwb uboot.2014.07-tld-3.environment.64K.img
./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2015.10-tld-2.t5325.mtd0.kwb -p
mkdir /tmp/sdb1 mount -o noatime /dev/sdb1 /tmp/sdb1 cd /tmp/sdb1/boot tar -xf uboot.2015.10-tld-2.t5325.bodhi.tar
cd /tmp/sdb1/boot fw_printenv > current_envs.text dd if=/dev/mtd0 of=t5325.mtd0 bs=64k conv=sync dd if=/dev/mtd3 of=t5325.mtd3 bs=512k conv=sync
dev: size erasesize name mtd0: 00010000 00010000 "u-boot env" mtd1: 00010000 00010000 "permanent u-boot env" mtd2: 00010000 00010000 "HP env" mtd3: 00080000 00010000 "u-boot" mtd4: 00040000 00010000 "SSD firmware"
cd /tmp/sdb1/boot flash_unlock /dev/mtd3 flashcp -v uboot.2015.10-tld-2.t5325.mtd0.kwb /dev/mtd3
Erasing blocks: 8/8 (100%) Writing data: 512k/512k (100%) Verifying data: 512k/512k (100%)
cd /tmp/sdb1/boot flash_unlock /dev/mtd0 flashcp -v uboot.2014.07-tld-3.environment.64K.img /dev/mtd0
Erasing blocks: 1/1 (100%) Writing data: 64k/64k (100%) Verifying data: 64k/64k (100%)
echo "/dev/mtd0 0x00000 0x10000 0x10000" > /etc/fw_env.config
/tmp/sdb1/usr/bin/fw_setenv arcNumber '2846' /tmp/sdb1/usr/bin/fw_setenv mtdparts 'mtdparts=spi0.0:512K(uboot),256K(sdd_firmware),64K(uboot_env),64K(permanent_uboot_env),64K(hp_env)' /tmp/sdb1/usr/bin/fw_setenv ethaddr 'xx:xx:xx:xx:xx:xx' /tmp/sdb1/usr/bin/fw_setenv devices 'usb ide' /tmp/sdb1/usr/bin/fw_setenv dtb_file '/boot/dts/kirkwood-t5325.dtb'
/tmp/sdb1/usr/bin/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' /tmp/sdb1/usr/bin/fw_setenv ipaddr 'xxx.xxx.x.xxx' /tmp/sdb1/usr/bin/fw_setenv serverip 'xxx.xxx.x.xxx'
/tmp/sdb1/usr/bin/fw_setenv mtdids /tmp/sdb1/usr/bin/fw_setenv partition /tmp/sdb1/usr/bin/fw_setenv machid
U-Boot 2015.10-tld-2 (Mar 09 2016 - 16:49:35 -0800) HP Thin Client T5325
Re: HP T5325 Thin Client u-boot-2015.10-tld-2 for testing May 21, 2016 04:39AM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: HP T5325 Thin Client u-boot-2015.10-tld-2 for testing May 29, 2016 04:12PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: HP T5325 Thin Client u-boot-2015.10-tld-2 May 30, 2016 10:48AM |
Registered: 8 years ago Posts: 14 |
Re: HP T5325 Thin Client u-boot-2015.10-tld-2 May 30, 2016 03:29PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: HP T5325 Thin Client u-boot-2015.10-tld-2 June 01, 2016 08:11PM |
Registered: 9 years ago Posts: 429 |
Re: HP T5325 Thin Client u-boot-2015.10-tld-2 June 02, 2016 12:54AM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: HP T5325 Thin Client u-boot-2015.10-tld-2 June 08, 2016 05:21PM |
Registered: 10 years ago Posts: 1,037 |
Re: HP T5325 Thin Client u-boot-2015.10-tld-2 June 11, 2016 08:04PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 June 20, 2016 04:30AM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 August 01, 2016 10:37PM |
Registered: 9 years ago Posts: 466 |
loading uInitrd ... EHCI timed out on TD - token=0xc0008d80 EHCI timed out on TD - token=0x40008d80 EHCI timed out on TD - token=0x40008d80 ** ext4fs_devread read error - block
T5325> ext4ls usb 0:1 /boot <DIR> 4096 . <DIR> 4096 .. 140949 config-4.4.0-kirkwood-tld-1 3154832 vmlinuz-4.4.0-kirkwood-tld-1 7179935 uInitrd 7179871 initrd.img-4.4.0-kirkwood-tld-1 2240040 System.map-4.4.0-kirkwood-tld-1 <DIR> 4096 dts 3154896 uImage 7511582 linux-headers-4.4.0-kirkwood-tld-1_1.0_armel.deb 3154832 zImage-4.4.0-kirkwood-tld-1 532480 uboot.2016.05-tld-1.t5325.bodhi.tar 204800 uboot.2016.05-tld-1.environment.bodhi.tar <DIR> 4096 stock-backup 524288 uboot.2016.05-tld-1.t5325.mtd0.kwb 131072 uboot.2016.05-tld-1.environment.img 65536 uboot.2016.05-tld-1.environment.64K.img 2773 uboot.2016.05-tld-1.environment T5325> ext4load usb 0:1 $load_initrd_addr /boot/uInitrd EHCI timed out on TD - token=0x40008d80 EHCI timed out on TD - token=0x40008d80 EHCI timed out on TD - token=0x40008d80 ** ext4fs_devread read error - block T5325>
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 August 01, 2016 11:22PM |
Registered: 9 years ago Posts: 466 |
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 August 02, 2016 12:01AM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 August 02, 2016 12:04AM |
Registered: 9 years ago Posts: 466 |
/dev/mtd0 0x00000 0x10000 0x10000
root@debian:~# fw_printenv Warning: Bad CRC, using default environment bootargs= bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm bootdelay=3 baudrate=115200 stdin=serial,cros-ec-keyb stdout=serial,lcd stderr=serial,lcd
/tmp/sdb1/usr/bin/fw_setenv mtdparts 'mtdparts=spi0.0:512K(uboot),256K(sdd_firmware),64K(uboot_env),64K(permanent_uboot_env),64K(hp_env)'
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 August 02, 2016 12:11AM |
Admin Registered: 13 years ago Posts: 19,107 |
> /dev/mtd0 0x00000 0x10000 0x10000 >>
> root@debian:~# fw_printenv > Warning: Bad CRC, using default environment > bootargs= > bootcmd=bootp; setenv bootargs root=/dev/nfs > nfsroot=${serverip}:${rootpath} > ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:$ > {hostname}::off; bootm > bootdelay=3 > baudrate=115200 > stdin=serial,cros-ec-keyb > stdout=serial,lcd > stderr=serial,lcd > >>
> /tmp/sdb1/usr/bin/fw_setenv mtdparts > 'mtdparts=spi0.0:512K(uboot),256K(sdd_firmware),64 > K(uboot_env),64K(permanent_uboot_env),64K(hp_env)' > >>
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 July 29, 2017 09:21AM |
Registered: 7 years ago Posts: 85 |
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 July 29, 2017 09:29AM |
Registered: 8 years ago Posts: 310 |
> /tmp/sdb1/usr/bin/fw_setenv ipaddr 'xxx.xxx.x.x > xx' > /tmp/sdb1/usr/bin/fw_setenv serverip 'xxx.xxx.x.xx > x' >>
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 July 29, 2017 11:25AM |
Registered: 7 years ago Posts: 85 |
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 July 29, 2017 11:32AM |
Registered: 8 years ago Posts: 310 |
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 July 29, 2017 11:34AM |
Registered: 7 years ago Posts: 85 |
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 July 29, 2017 11:46AM |
Registered: 8 years ago Posts: 310 |
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 July 29, 2017 01:10PM |
Registered: 7 years ago Posts: 85 |
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 July 29, 2017 01:30PM |
Registered: 8 years ago Posts: 310 |
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 July 29, 2017 01:55PM |
Registered: 7 years ago Posts: 85 |
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 July 29, 2017 02:39PM |
Registered: 8 years ago Posts: 310 |
> .\nc -l -u 192.168.1.10 -p 6666 >
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 July 29, 2017 03:43PM |
Admin Registered: 13 years ago Posts: 19,107 |
/tmp/sdb1/usr/bin/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'
.\nc -lup 6666 192.168.1.10 6666
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 July 29, 2017 04:18PM |
Registered: 8 years ago Posts: 310 |
> /tmp/sdb1/usr/bin/fw_setenv preboot_nc 'setenv nc_ > ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; i > f run if_netconsole; then setenv nc_ready 1; fi; d > one; if test $nc_ready -eq 1; then ./run start_net > console; fi' >>
> .\nc -lup 6666 192.168.1.10 6666 >
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 July 29, 2017 05:25PM |
Admin Registered: 13 years ago Posts: 19,107 |
http://forum.doozan.com/read.php?3,26562,35809#msg-35809
http://forum.doozan.com/read.php?3,26562,35807#msg-35807
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 July 29, 2017 05:29PM |
Admin Registered: 13 years ago Posts: 19,107 |
Quote
10. Set up netconsole. It's important to set up neconsole if you don't already have serial console connected. If you've flashed the default environments in step 8 then activate netconsole with the following envs:
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 preboot 'run preboot_nc'
fw_setenv ipaddr '192.168.0.xxx'
fw_setenv serverip '192.168.0.yyy'
where the 192.168.0.xxx is this plug IP address, and 192.168.0.yyy is the IP address of the netconsole server where it will monitor the output from the this plug (adjust them to the real values in your own local network settings).
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 July 29, 2017 06:12PM |
Registered: 8 years ago Posts: 310 |