Re: HP T5325 Thin Client Debian March 08, 2016 05:47PM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: HP T5325 Thin Client Debian March 08, 2016 05:49PM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: HP T5325 Thin Client Debian March 08, 2016 11:59PM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: HP T5325 Thin Client Debian March 09, 2016 04:05AM |
Registered: 8 years ago Posts: 31 |
root@debian:~ # fw_printenv bootargs_usb bootargs_usb=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) root@debian:~ # root@debian:~ # uname -a Linux debian 4.4.0-kirkwood-tld-1 #1 PREEMPT Mon Jan 25 20:35:24 PST 2016 armv5tel GNU/Linux # cat /proc/mtd 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:~
Re: HP T5325 Thin Client Debian March 09, 2016 05:02AM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: HP T5325 Thin Client Debian March 09, 2016 06:17AM |
Registered: 8 years ago Posts: 31 |
HP>> printenv [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@0x800 00(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 0x110000 0 /boot/uInitrd.usb usbboot=setenv bootargs $(usb_bootargs); run bootusb; bootm 0x800000 0x1100000 pcieTune=yes standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/m tdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x20 00000; ethmtu=1500 mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 usb0Mode=host yuk_ethaddr=00:00:00:EE:51:81 netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no ethaddr=f4:ce:46:24:94:de load_usb=usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1 0x 1100000 /boot/uInitrd bootcmd_usb=setenv bootargs $(bootargs_usb); run load_usb; bootm 0x800000 0x1100 000 ethact=egiga0 bootdelay=0 bootcmd=run bootcmd_usb 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 mfgmode=setenv bootdelay 3; setenv in_mfg yes;setenvh GotoWOL Yes; setenvh WOLEn abled No; setenv bootcmd run mfgboot; saveenv; reset mfgbootargs=setenv bootargs root=/dev/sdb1 rw init=/init ip=dhcp rootdelay=8 $(c onsole) udevtimeout=8 mfgboot=usb start; ext2load usb 0:1 0x2000000 /boot/uImage; run mfgbootargs; boo tm 0x2000000 product=setenv bootdelay 1; setenv in_mfg no;setenvh GotoWOL No; setenvh WOLEnab led Yes; setenv bootcmd run thinpro; saveenv; reset bootargs_usb=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_e nv) stdin=serial stdout=serial stderr=serial mainlineLinux=no 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 Environment size: 2309/4092 bytes [PUE variables] manufacturer=Hewlett-Packard product_name=hp t5325 vendor=mitac mac=f4:ce:46:24:94:de uuid=30e4158e-bb5b-11d4-a168-f4ce462494de serial=CN3109302R Environment size: 146/4092 bytes [HPE variables] UbootVersion=0x03041916 UbootReleaseDate=01082010 AssetNumber=0 AssetLocation=0 WOLEnabled=Yes InitialNumlock=On ClockSpeed=1200 GotoWOL=No Environment size: 140/4092 bytes HP>>
Re: HP T5325 Thin Client Debian March 09, 2016 06:42AM |
Registered: 8 years ago Posts: 31 |
# fw_setenv cvtest 'Bodhi rocks' root@debian:~ # fw_printenv cvtest ## Error: "cvtest" not defined root@debian:~ # root@debian:~ #
root@debian:~ # cat /etc/fw_env.config # MTD device name Device offset Env. size Flash sector size Number of sectors # # Dockstar: # /dev/mtd0 0xc0000 0x20000 0x20000 # Bodhi: HP T5325 Thin Client /dev/mtd2 0x00000 0x1000 0x10000 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:~ #
Re: HP T5325 Thin Client Debian March 09, 2016 08:36AM |
Registered: 10 years ago Posts: 1,037 |
> HP>> printenv > [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@0x80 > 0 > 00(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 0x110000 > 0 > /boot/uInitrd.usb > usbboot=setenv bootargs $(usb_bootargs); run > bootusb; bootm 0x800000 0x1100000 > pcieTune=yes > standalone=fsload 0x2000000 $(image_name);setenv > bootargs $(console) root=/dev/m > tdblock0 rw > ip=$(ipaddr):$(serverip)$(bootargs_end) > $(mvPhoneConfig); bootm 0x20 > 00000; > ethmtu=1500 > mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs > mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2 > :3),mtu=1500 > usb0Mode=host > yuk_ethaddr=00:00:00:EE:51:81 > netretry=no > rcvrip=169.254.100.100 > loadaddr=0x02000000 > autoload=no > ethaddr=f4:ce:46:24:94:de > load_usb=usb start; ext2load usb 0:1 0x800000 > /boot/uImage; ext2load usb 0:1 0x > 1100000 > /boot/uInitrd > bootcmd_usb=setenv bootargs $(bootargs_usb); run > load_usb; bootm 0x800000 0x1100 > 000 > ethact=egiga0 > bootdelay=0 > bootcmd=run bootcmd_usb > 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 > mfgmode=setenv bootdelay 3; setenv in_mfg > yes;setenvh GotoWOL Yes; setenvh WOLEn > abled > No; setenv bootcmd run mfgboot; saveenv; reset > mfgbootargs=setenv bootargs root=/dev/sdb1 rw > init=/init ip=dhcp rootdelay=8 $(c > onsole) > udevtimeout=8 > mfgboot=usb start; ext2load usb 0:1 0x2000000 > /boot/uImage; run mfgbootargs; boo > tm > 0x2000000 > product=setenv bootdelay 1; setenv in_mfg > no;setenvh GotoWOL No; setenvh WOLEnab > led > Yes; setenv bootcmd run thinpro; saveenv; reset > bootargs_usb=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_e > nv) > stdin=serial > stdout=serial > stderr=serial > mainlineLinux=no > 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 > > Environment size: 2309/4092 bytes > > [PUE variables] > manufacturer=Hewlett-Packard > product_name=hp t5325 > vendor=mitac > mac=f4:ce:46:24:94:de > uuid=30e4158e-bb5b-11d4-a168-f4ce462494de > serial=CN3109302R > > Environment size: 146/4092 bytes > > [HPE variables] > UbootVersion=0x03041916 > UbootReleaseDate=01082010 > AssetNumber=0 > AssetLocation=0 > WOLEnabled=Yes > InitialNumlock=On > ClockSpeed=1200 > GotoWOL=No > > Environment size: 140/4092 bytes > HP>> >>
Re: HP T5325 Thin Client Debian March 09, 2016 10:34AM |
Registered: 8 years ago Posts: 31 |
# fw_printenv | grep mfg in_mfg=no 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 root@debian:~
Re: HP T5325 Thin Client Debian March 09, 2016 01:29PM |
Registered: 10 years ago Posts: 1,037 |
> I'll try to get rid of these env variables it once > more with stock uboot - alas I can't do it from > Linux as fw_setenv does not work for me... > > Does it for you?
Re: HP T5325 Thin Client Debian March 09, 2016 02:27PM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: HP T5325 Thin Client Debian March 09, 2016 02:33PM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: HP T5325 Thin Client Debian March 09, 2016 05:27PM |
Registered: 10 years ago Posts: 1,037 |
Re: HP T5325 Thin Client Debian March 09, 2016 05:42PM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: HP T5325 Thin Client Debian March 09, 2016 08:28PM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: HP T5325 Thin Client Debian March 09, 2016 08:46PM |
Admin Registered: 13 years ago Posts: 19,106 |
# MTD device name Device offset Env. size Flash sector size Number of sectors # HP T5325 Thin Client /dev/mtd2 0x00000 0x10000 0x10000
Re: HP T5325 Thin Client Debian March 10, 2016 12:55AM |
Registered: 8 years ago Posts: 31 |
# fw_printenv Warning: Bad CRC, using default environment
# uname -a Linux debian 4.4.0-kirkwood-tld-1 #1 PREEMPT Mon Jan 25 20:35:24 PST 2016 armv5tel GNU/Linux root@debian:~ # fw_printenv arcNumber=2846 baudrate=115200 bootcmd=run bootcmd_uenv; run bootcmd_usb; reset 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=10 console=ttyS0,115200 device=0:1 ethact=egiga0 ethaddr=b6:d0:5e:0f:a1:17 led_error=orange blinking led_exit=green off led_init=green blinking mainlineLinux=yes mtdparts=mtdparts=spi0.0:512K(uboot),256K(sdd_firmware),64K(uboot_env),64K(permanent_uboot_env),64K(hp_env) rootdelay=10 rootfstype=ext3 set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay $mtdparts stderr=serial stdin=serial stdout=serial 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; done; done uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x810000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi uenv_read_disk=if $devtype part $disknum; then run uenv_read; fi 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 root@debian:~ #
Re: HP T5325 Thin Client Debian March 10, 2016 01:45AM |
Registered: 8 years ago Posts: 31 |
_ _ .____ | |_| | | _ \ | _ | | (_)) | |-| | | | |_| |_| |_| .. _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** ** BOARD: DB-88F6281A-BP LE U-Boot 1.1.4 (Jan 8 2010 - 14:03:56) MIC version : 3.4.19-16 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CD4E0 Soc: 88F6281 A1 (DDR2) CPU running @ 1200Mhz L2 running @ 400Mhz SysClock = 400Mhz , TClock = 200Mhz DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 256MB DRAM CS[1] base 0x10000000 size 256MB DRAM Total size 512MB 16bit width Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done *** Warning - bad CRC, using default environment [1024kB@f8000000] Flash: 1 MB CPU : Marvell Feroceon (Rev 1) . Un-Protected 1 sectors Erasing Flash... . Erased 1 sectors Writing to Flash... done . Protected 1 sectors . Un-Protected 1 sectors Erasing Flash... . Erased 1 sectors Writing to Flash... done . Protected 1 sectors Streaming disabled Write allocate disabled USB 0: host mode PEX 0: PCI Express Root Complex Interface PEX interface detected Link X1 Net: egiga0 [PRIME], egiga1 Hit any key to stop autoboot: 0 Reset IDE: Marvell Serial ATA Adapter Integrated Sata device found [0 0 0]: Enable DMA mode (6) Device 0 @ 0 0: Model: SM22 Firm: I052 Ser#: (03)5526888-20080228 Type: Hard Disk Capacity: 463.6 MB = 0.4 GB (949536 x 512) ** Unable to read "/boot/uImage" from ide 0:1 ** Checking Button Status: off Checking GotoWOL Status: off ## Booting image at 00200000 ... Bad Magic Number HP>> printenv [U-boot variables] bootdelay=0 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 stdin=serial stdout=serial stderr=serial console=console=ttyS0,115200 mtdparts=spi_flash:0x80000@0(uboot)ro,0x80000@0x80000(root) mainlineLinux=no CASset=min enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes MALLOC_len=1 ethprime=egiga0 netbsd_en=no vxworks_en=no 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 bootcmd=run thinpro 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; disaMvPnp=no ethmtu=1500 mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 usb0Mode=host yuk_ethaddr=00:00:00:EE:51:81 netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no enaAutoRecovery=yes ethaddr=f4:ce:46:24:94:de ethact=egiga0 bootargs=root=/dev/sda1 rw init=/init video=xgifb splash quiet Environment size: 2018/4092 bytes [PUE variables] manufacturer=Hewlett-Packard product_name=hp t5325 vendor=mitac mac=f4:ce:46:24:94:de uuid=30e4158e-bb5b-11d4-a168-f4ce462494de serial=CN3109302R Environment size: 146/4092 bytes [HPE variables] UbootVersion=0x03041916 UbootReleaseDate=01082010 AssetNumber=0 AssetLocation=0 WOLEnabled=Yes InitialNumlock=On ClockSpeed=1200 GotoWOL=No Environment size: 140/4092 bytes HP>>
Re: HP T5325 Thin Client Debian March 10, 2016 02:15AM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: HP T5325 Thin Client Debian March 10, 2016 03:10AM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: HP T5325 Thin Client Debian March 10, 2016 10:43AM |
Registered: 10 years ago Posts: 1,037 |
Re: HP T5325 Thin Client Debian March 10, 2016 10:53AM |
Registered: 10 years ago Posts: 1,037 |
Re: HP T5325 Thin Client Debian March 10, 2016 12:02PM |
Registered: 8 years ago Posts: 31 |
Re: HP T5325 Thin Client Debian March 10, 2016 01:00PM |
Registered: 10 years ago Posts: 1,037 |
Re: HP T5325 Thin Client Debian March 10, 2016 02:05PM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: HP T5325 Thin Client Debian March 10, 2016 02:18PM |
Registered: 10 years ago Posts: 1,037 |
Re: HP T5325 Thin Client Debian March 10, 2016 03:11PM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: HP T5325 Thin Client Debian March 10, 2016 03:31PM |
Registered: 10 years ago Posts: 1,037 |
Re: HP T5325 Thin Client Debian March 10, 2016 04:58PM |
Admin Registered: 13 years ago Posts: 19,106 |
Re: HP T5325 Thin Client Debian March 10, 2016 05:29PM |
Registered: 9 years ago Posts: 429 |