Re: HP T5325 Thin Client Debian March 10, 2016 05:39PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: HP T5325 Thin Client Debian March 10, 2016 05:41PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: HP T5325 Thin Client Debian March 10, 2016 06:04PM |
Registered: 9 years ago Posts: 429 |
root@debian:~# flashcp -v uboot.2014.07-tld-3.environment.64K.img /dev/mtd2 While trying to open /dev/mtd2 for read/write access: No such file or directory root@debian:~# cat /proc/mtd dev: size erasesize name mtd0: 00100000 00001000 "spi0.0" root@debian:~#
Re: HP T5325 Thin Client Debian March 10, 2016 06:16PM |
Admin Registered: 13 years ago Posts: 18,821 |
Quote
2. Verify the Debian rootfs envs set up. Modify or add the fw_env.config file with the content below.
3. Verify the MTD flash definition in the current running system. Note the mtd0 and mtd2 definition, they must be identical to your current mtd0 and mtd2. Refer to the working thread for instruction if your MTD flash definition is not as shown below.
Quote
6. Reference your saved current_envs.txt in step 1 and restore box specific info in u-boot envs.
a. Modify envs (replace xx below with your box specific settings)
fw_setenv arcNumber '2846'
fw_setenv mtdparts 'mtdparts=spi0.0:512K(uboot),256K(sdd_firmware),64K(uboot_env),64K(permanent_uboot_env),64K(hp_env)'
fw_setenv ethaddr 'xx:xx:xx:xx:xx:xx'
fw_setenv ipaddr 'xxx.xxx.x.xx'
fw_setenv serverip 'xxx.xxx.0.xxx'
fw_setenv devices 'usb ide'
b. Remove envs (dtb_file is removed with assumption that your rootfs has the T5325 DTB embedded inside uImage).
fw_setenv dtb_file
fw_setenv mtdids
fw_setenv partition
fw_setenv machid
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 Debian March 10, 2016 06:23PM |
Registered: 9 years ago Posts: 429 |
Re: HP T5325 Thin Client Debian March 10, 2016 06:29PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: HP T5325 Thin Client Debian March 10, 2016 06:41PM |
Registered: 9 years ago Posts: 429 |
Hit any key to stop autoboot: 0 T5325> printenv arcNumber=2097 bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec bootcmd_exec=mw 0x800000 0 1; run load_uimage; if run load_initrd; then if run l oad_dtb; then bootm 0x800000 0x1100000 0x1c00000; else bootm 0x800000 0x1100000; fi; else if run load_dtb; then bootm 0x800000 - 0x1c00000; else bootm 0x800000; 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 ide mmc disks=0 1 2 3 dtb_file=/boot/dts/kirkwood-pogo_e02.dtb ethact=egiga0 ethaddr=52:3b:20:9c:11:51 if_netconsole=ping $serverip ipaddr=192.168.0.231 led_error=orange blinking led_exit=green off led_init=green blinking load_dtb=echo loading DTB $dtb_file ...; ext2load $bootdev $device 0x1c00000 $dt b_file load_initrd=echo loading uInitrd ...; ext2load $bootdev $device 0x1100000 /boot/ uInitrd load_uimage=echo loading uImage ...; ext2load $bootdev $device 0x800000 /boot/uI mage machid=0x831 mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) partition=nand0,2 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 di sknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if ext2load $dev $disknum:1 0x800000 /boot/uImage 1; then scan_done=1; echo Foun d 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; se tenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial uenv_import=echo importing envs ...; env import -t 0x810000 uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; se tenv 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 $disknu m:1 0x810000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_re ad; fi; else if $devtype part $disknum; then run uenv_read; fi; fi usb_ready_retry=15 Environment size: 2682/65532 bytes
Re: HP T5325 Thin Client Debian March 10, 2016 07:14PM |
Admin Registered: 13 years ago Posts: 18,821 |
> Hit any key to stop autoboot: 0 > T5325> printenv > arcNumber=2097 > bootcmd=run bootcmd_uenv; run scan_disk; run > set_bootargs; run bootcmd_exec > bootcmd_exec=mw 0x800000 0 1; run load_uimage; if > run load_initrd; then if run l > > oad_dtb; then > bootm 0x800000 0x1100000 0x1c00000; else bootm > 0x800000 0x1100000; > > fi; else if run > load_dtb; then bootm 0x800000 - 0x1c00000; else > bootm 0x800000; > > 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 ide mmc > disks=0 1 2 3 > dtb_file=/boot/dts/kirkwood-pogo_e02.dtb > ethact=egiga0 > ethaddr=52:3b:20:9c:11:51 > if_netconsole=ping $serverip > ipaddr=192.168.0.231 > led_error=orange blinking > led_exit=green off > led_init=green blinking > load_dtb=echo loading DTB $dtb_file ...; ext2load > $bootdev $device 0x1c00000 $dt > > b_file > load_initrd=echo loading uInitrd ...; ext2load > $bootdev $device 0x1100000 /boot/ > > uInitrd > load_uimage=echo loading uImage ...; ext2load > $bootdev $device 0x800000 /boot/uI > > mage > machid=0x831 > mainlineLinux=yes > mtdids=nand0=orion_nand > mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage) > ,32M(rootfs),-(data) > partition=nand0,2 > 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 di > > sknum in $disks; do if > test $scan_done -eq 0; then echo device $dev > $disknum:1; > > if ext2load $dev $disknum:1 > 0x800000 /boot/uImage 1; then scan_done=1; echo > Foun > > d 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; se > > tenv > stdout nc; setenv stderr nc; version; > stderr=serial > stdin=serial > stdout=serial > uenv_import=echo importing envs ...; env import -t > 0x810000 > uenv_init_devices=setenv init_usb "usb start"; > setenv init_ide "ide reset"; se > > tenv > 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 $disknu > > m:1 0x810000 > /boot/uEnv.txt; then setenv uenv_loaded 1; fi > uenv_read_disk=if test $devtype -eq mmc; then if > $devtype part; then run uenv_re > > ad; fi; > else if $devtype part $disknum; then run > uenv_read; fi; fi > usb_ready_retry=15 > > Environment size: 2682/65532 bytes >
Re: HP T5325 Thin Client Debian March 10, 2016 07:38PM |
Registered: 9 years ago Posts: 429 |
Re: HP T5325 Thin Client Debian March 10, 2016 08:15PM |
Registered: 9 years ago Posts: 429 |
Re: HP T5325 Thin Client Debian March 10, 2016 10:09PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: HP T5325 Thin Client Debian March 10, 2016 10:52PM |
Registered: 9 years ago Posts: 429 |
Re: HP T5325 Thin Client Debian March 11, 2016 01:35AM |
Registered: 8 years ago Posts: 31 |
U-Boot 2015.10-tld-2 (Mar 09 2016 - 16:49:35 -0800) HP Thin Client T5325"
____ ___ __________ __ ___________.________________ ________ .________ | | \ \______ \ ____ _____/ |_ \__ ___/| ____/\_____ \ \_____ \ | ____/ | | / ______ | | _// _ \ / _ \ __\ | | |____ \ _(__ < / ____/ |____ \ | | / /_____/ | | ( <_> | <_> ) | | | / \ / \/ \ / \ |______/ |______ /\____/ \____/|__| |____| /______ //______ /\_______ \/______ / \/ \/ \/ \/ \/ ___. __________ .___.__ .__ \_ |__ ___.__. \______ \ ____ __| _/| |__ |__| | __ < | | | | _// _ \ / __ | | | \| | | \_\ \___ | | | ( <_> ) /_/ | | Y \ | |___ / ____| |______ /\____/\____ | |___| /__| \/\/ \/ \/ \/ ...finest uboots since <add date of your first uboot>
Re: HP T5325 Thin Client Debian March 11, 2016 01:53AM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: HP T5325 Thin Client Debian March 11, 2016 02:54AM |
Admin Registered: 13 years ago Posts: 18,821 |
thinpro_bootargs=root=/dev/sda1 rw init=/init video=xgifb splash quiet
set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts video=xgifb splash quiet
Re: HP T5325 Thin Client Debian March 11, 2016 03:27AM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: HP T5325 Thin Client Debian March 11, 2016 03:53AM |
Registered: 9 years ago Posts: 1,037 |
Re: HP T5325 Thin Client Debian March 11, 2016 04:57AM |
Registered: 8 years ago Posts: 31 |
[ 20.817451] xgifb 0000:01:00.0: Relocate IO address: 10000 [00010030] [ 20.891874] xgifb 0000:01:00.0: enabling device (0140 -> 0143) [ 20.954063] xgifb 0000:01:00.0: chipid = 32 [ 20.991591] xgifb: SR14=51 DramSzie 2000000 ChannelNum 1 [ 21.028181] asoc-simple-card sound: alc5621-hifi <-> spdif mapping ok [ 21.036167] xgifb 0000:01:00.0: Framebuffer at 0xe0000000, mapped to 0xe1000000, size 32768k [ 21.096780] xgifb 0000:01:00.0: MMIO at 0xe4000000, mapped to 0xe0e80000, size 256k [ 21.216833] xgifb 0000:01:00.0: No or unknown bridge type detected [ 21.223070] xgifb: Default mode is 800x600x16 (60Hz) done.
root@debian:~ # rmmod xgifb root@debian:~ # modprobe xgifb [ 691.600511] xgifb: module is from the staging directory, the quality is unknown, you have been warned. [ 691.612620] xgifb 0000:01:00.0: Relocate IO address: 10000 [00010030] [ 691.619503] xgifb 0000:01:00.0: chipid = 32 [ 691.623809] xgifb: SR14=51 DramSzie 2000000 ChannelNum 1 [ 691.629463] xgifb 0000:01:00.0: Framebuffer at 0xe0000000, mapped to 0xe1000000, size 32768k [ 691.638282] xgifb 0000:01:00.0: MMIO at 0xe4000000, mapped to 0xe0a00000, size 256k [ 691.685960] xgifb 0000:01:00.0: No or unknown bridge type detected [ 691.692173] xgifb: Default mode is 800x600x16 (60Hz) root@debian:~ #
Re: HP T5325 Thin Client Debian March 11, 2016 05:18AM |
Registered: 9 years ago Posts: 1,037 |
Re: HP T5325 Thin Client Debian March 11, 2016 05:30AM |
Registered: 9 years ago Posts: 298 |
Re: HP T5325 Thin Client Debian March 11, 2016 05:37AM |
Registered: 8 years ago Posts: 31 |
[ 0.000000] Kernel command line: root=/dev/sda1 rw init=/init video=xgifb splash quiet [ 0.920000] XGIfb: Options <NULL> [ 0.920000] XGIfb: Relocate IO address: 1000 [00001030] [ 0.920000] XGIfb: Enable PCI device [ 0.920000] XGIfb: SR14=41 DramSzie 1000000 ChannelNum 1 [ 0.920000] XGIfb: Framebuffer at 0xe8000000, mapped to 0xe1000000, size 16384k [ 0.920000] XGIfb: MMIO at 0xec000000, mapped to 0xe0880000, size 256k [ 0.920000] XGIfb: XGIInitNew() ...OK [ 0.920000] XGIfb: Memory heap starting at 8192K [ 0.920000] XGIfb: Default mode is 1024x768x16 (60Hz) [ 0.920000] XGIfb: Change mode to 1024x768x16-60Hz [ 1.020000] XGIfb: Installed XGIFB_GET_INFO ioctl (80046ef8) [ 42.510000] XGIfb: Change mode to 1024x768x16-60Hz
Section "Files" FontPath "/usr/share/fonts/X11/misc" FontPath "/usr/X11R6/lib/X11/fonts/misc" FontPath "/usr/share/fonts/X11/cyrillic" FontPath "/usr/X11R6/lib/X11/fonts/cyrillic" FontPath "/usr/share/fonts/X11/100dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/share/fonts/X11/75dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/share/fonts/X11/Type1" FontPath "/usr/X11R6/lib/X11/fonts/Type1" FontPath "/usr/share/fonts/X11/100dpi" FontPath "/usr/X11R6/lib/X11/fonts/100dpi" FontPath "/usr/share/fonts/X11/75dpi" FontPath "/usr/X11R6/lib/X11/fonts/75dpi" # path to defoma fonts FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" EndSection Section "Module" Load "bitmap" Load "ddc" Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "vbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Option "XLeds" "1 2 3" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "evdev" Option "XkbLayout" "de" Option "XkbVariant" "wincompat" Option "XkbOptions" "srvrkeys:none" Driver "evdev" Option "Device" "/dev/input/evdev-kbd" EndSection Section "Monitor" Identifier "Primary Monitor" Option "DPMS" "true" HorizSync 1-10000 VertRefresh 1-10000 Option "NonDDCDefaultMode" "1024x768@60" EndSection Section "Device" Identifier "Driver0" Screen 0 Driver "xgi" BusID "PCI:00:01:0" Option "AccelMethod" "XAA" Option "UseFBDev" "true" EndSection Section "Screen" Device "Driver0" Monitor "Primary Monitor" Identifier "Primary Screen" DefaultDepth 24 SubSection "Display" Viewport 0 0 EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" InputDevice "Generic Keyboard" Screen 0 "Primary Screen" 0 0 EndSection Section "DRI" Mode 0666 EndSection Section "ServerFlags" Option "DontVTSwitch" "true" Option "DontZap" "true" Option "DontZoom" "true" EndSection
Module Size Used by ipv6 319156 12 tsdev 9056 0 evdev 10720 6 usbhid 45844 0 ff_memless 6760 1 usbhid unix 32240 268
Re: HP T5325 Thin Client Debian March 11, 2016 05:46AM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: HP T5325 Thin Client Debian March 11, 2016 05:54AM |
Registered: 9 years ago Posts: 1,037 |
Re: HP T5325 Thin Client Debian March 11, 2016 05:57AM |
Registered: 9 years ago Posts: 1,037 |
Re: HP T5325 Thin Client Debian March 11, 2016 06:05AM |
Registered: 9 years ago Posts: 298 |
Re: HP T5325 Thin Client Debian March 11, 2016 07:03AM |
Registered: 9 years ago Posts: 429 |
Re: HP T5325 Thin Client Debian March 11, 2016 07:08AM |
Registered: 9 years ago Posts: 1,037 |
Re: HP T5325 Thin Client Debian March 11, 2016 07:53AM |
Registered: 9 years ago Posts: 1,037 |
Re: HP T5325 Thin Client Debian March 11, 2016 08:10AM |
Registered: 9 years ago Posts: 429 |
Re: HP T5325 Thin Client Debian March 11, 2016 08:54AM |
Registered: 9 years ago Posts: 1,037 |