Kamal
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 September 22, 2017 02:20AM |
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 September 22, 2017 02:21AM |
Admin Registered: 14 years ago Posts: 19,290 |
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 September 22, 2017 04:10AM |
Registered: 8 years ago Posts: 310 |
Kamal
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 September 22, 2017 06:29AM |
HP>> dhcp BOOTP broadcast 1 *** Unhandled DHCP Option in OFFER/ACK: 28 *** Unhandled DHCP Option in OFFER/ACK: 28 DHCP client bound to address 10.42.0.50 HP>> printenv ... gatewayip=10.42.0.1 netmask=255.255.255.0 ipaddr=10.42.0.50 serverip=10.42.0.1
Kamal
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 September 22, 2017 08:45AM |
sudo apt-get install libc6-armel-cross libc6-dev-armel-cross binutils-arm-linux-gnueabi libncurses5-dev gcc-arm-linux-gnueabi
kamal@chrome:~/tmp/uboot/u-boot-2017.09$ make mrproper CLEAN examples/standalone CLEAN tools CLEAN tools/lib tools/common CLEAN u-boot.lds u-boot.cfg.configs u-boot.kwb u-boot.map u-boot-nodtb.bin u-boot.srec u-boot.cfg u-boot.bin u-boot u-boot.sym System.map CLEAN scripts/basic CLEAN scripts/kconfig CLEAN include/config include/generated CLEAN .config .config.old include/autoconf.mk.dep include/autoconf.mk include/config.h kamal@chrome:~/tmp/uboot/u-boot-2017.09$ export CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- kamal@chrome:~/tmp/uboot/u-boot-2017.09$ export ARCH=mach-kirkwood kamal@chrome:~/tmp/uboot/u-boot-2017.09$ make dreamplug_defconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf # # configuration written to .config # kamal@chrome:~/tmp/uboot/u-boot-2017.09$ make menuconfig HOSTCC scripts/kconfig/mconf.o HOSTCC scripts/kconfig/lxdialog/checklist.o HOSTCC scripts/kconfig/lxdialog/util.o HOSTCC scripts/kconfig/lxdialog/inputbox.o HOSTCC scripts/kconfig/lxdialog/textbox.o HOSTCC scripts/kconfig/lxdialog/yesno.o HOSTCC scripts/kconfig/lxdialog/menubox.o HOSTLD scripts/kconfig/mconf scripts/kconfig/mconf Kconfig *** End of the configuration. *** Execute 'make' to start the build or try 'make help'. kamal@chrome:~/tmp/uboot/u-boot-2017.09$ make -j2 scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config.h UPD include/config.h CFG u-boot.cfg GEN include/autoconf.mk.dep GEN include/autoconf.mk *** Your GCC is older than 6.0 and will not be supported starting in v2018.01. CHK include/config/uboot.release CHK include/generated/timestamp_autogenerated.h UPD include/generated/timestamp_autogenerated.h #### MANY MANY LINES WERE PRESENT HERE #### CC examples/standalone/hello_world.o LD examples/standalone/libstubs.o LD examples/standalone/hello_world OBJCOPY examples/standalone/hello_world.srec OBJCOPY examples/standalone/hello_world.bin LD u-boot OBJCOPY u-boot.srec OBJCOPY u-boot-nodtb.bin SYM u-boot.sym COPY u-boot.bin MKIMAGE u-boot.kwb CFGCHK u-boot.cfg
kamal@chrome:~/tmp/uboot/u-boot-2017.09$ kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot.kwb -p Sending boot message. Please reboot the target...\ Sending boot image... 0 % [......................................................................] 3 % [......................................................................] 6 % [......................................................................] 9 % [......................................................................] 12 % [......................................................................] 15 % [......................................................................] 18 % [......................................................................] 21 % [......................................................................] 24 % [......................................................................] 27 % [......................................................................] 31 % [......................................................................] 34 % [......................................................................] 37 % [......................................................................] 40 % [......................................................................] 43 % [......................................................................] 46 % [......................................................................] 49 % [......................................................................] 52 % [......................................................................] 55 % [......................................................................] 58 % [......................................................................] 62 % [......................................................................] 65 % [......................................................................] 68 % [......................................................................] 71 % [......................................................................] 74 % [......................................................................] 77 % [......................................................................] 80 % [......................................................................] 83 % [......................................................................] 86 % [......................................................................] 89 % [......................................................................] 93 % [......................................................................] 96 % [......................................................................] 99 % [....................] [Type Ctrl-\ + c to quit] U-Boot 2017.09 (Sep 22 2017 - 14:23:14 +0100) Marvell-DreamPlug SoC: Kirkwood 88F6281_A1 SPI: ready DRAM: 512 MiB WARNING: Caches not enabled SF: unrecognized JEDEC id bytes: 00, 00, 00 *** Warning - spi_flash_probe() failed, using default environment In: serial Out: serial Err: serial Net: egiga0 Error: egiga0 address not set. , egiga1 Error: egiga1 address not set. PHY reset timed out 88E1116 Initialized on egiga0 PHY reset timed out 88E1116 Initialized on egiga1 IDE: ide_preinit failed Hit any key to stop autoboot: 0 => printenv baudrate=115200 bootcmd=setenv ethact egiga0; ${x_bootcmd_ethernet}; setenv ethact egiga1; ${x_bootcmd_ethernet}; ${x_bootcmd_usb}; ${x_bootcmd_kernel}; setenv bootargs ${x_bootargs} ${x_bootargs_root}; bootm 0x6400000; bootdelay=3 ethact=egiga0 stderr=serial stdin=serial stdout=serial x_bootargs=console=ttyS0,115200 x_bootargs_root=root=/dev/sda2 rootdelay=10 x_bootcmd_ethernet=ping 192.168.2.1 x_bootcmd_kernel=fatload usb 0 0x6400000 uImage x_bootcmd_usb=usb start Environment size: 496/4092 bytes => help usb usb - USB sub-system Usage: usb start - start (scan) USB controller usb reset - reset (rescan) USB controller usb stop [f] - stop USB [f]=force stop usb tree - show USB device tree usb info [dev] - show available USB devices usb test [dev] [port] [mode] - set USB 2.0 test mode (specify port 0 to indicate the device's upstream port) Available modes: J, K, S[E0_NAK], P[acket], F[orce_Enable] usb storage - show details of USB storage devices usb dev [dev] - show or set current USB storage device usb part [dev] - print partition table of one or all USB storage devices usb read addr blk# cnt - read `cnt' blocks starting at block `blk#' to memory address `addr' usb write addr blk# cnt - write `cnt' blocks starting at block `blk#' from memory address `addr' => usb start starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found => ide reset Reset IDE: ide_preinit failed => dhcp *** ERROR: `ethaddr' not set => setenv ethaddr 'f4:ce:46:24:38:b3' => dhcp BOOTP broadcast 1 DHCP client bound to address 10.42.0.50 (4 ms) *** Warning: no boot file name; using '0A2A0032.img' Using egiga0 device TFTP from server 10.42.0.1; our IP address is 10.42.0.50 Filename '0A2A0032.img'. Load address: 0x800000 Loading: * TFTP error: 'File not found' (1) Not retrying... => printenv baudrate=115200 bootcmd=setenv ethact egiga0; ${x_bootcmd_ethernet}; setenv ethact egiga1; ${x_bootcmd_ethernet}; ${x_bootcmd_usb}; ${x_bootcmd_kernel}; setenv bootargs ${x_bootargs} ${x_bootargs_root}; bootm 0x6400000; bootdelay=3 ethact=egiga0 ethaddr=f4:ce:46:24:38:b3 stderr=serial stdin=serial stdout=serial x_bootargs=console=ttyS0,115200 x_bootargs_root=root=/dev/sda2 rootdelay=10 x_bootcmd_ethernet=ping 192.168.2.1 x_bootcmd_kernel=fatload usb 0 0x6400000 uImage x_bootcmd_usb=usb start Environment size: 524/4092 bytes => setenv x 'y' => saveenv Saving Environment to SPI Flash... SF: unrecognized JEDEC id bytes: 00, 00, 00 *** Warning - spi_flash_probe() failed, using default environment =>
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 September 22, 2017 09:35AM |
Registered: 8 years ago Posts: 310 |
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 September 22, 2017 04:53PM |
Admin Registered: 14 years ago Posts: 19,290 |
Quote
6. And add fw_env.config to your stock OS. And then reference your saved current_envs.txt in step 2 to restore box specific info in u-boot envs.
a. Add fw_env.config to your stock OS.
echo "/dev/mtd0 0x00000 0x10000 0x10000" > /etc/fw_env.config
b. Modify envs and also setup netconsole. Replace xx below with your box specific settings.
/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'
Quote
This is the official released version for HP Thin Client T5325 U-Boot-2015.10-tld-2.
Download U-boot at Dropbox
uboot.2015.10-tld-2.t5325.bodhi.tar
md5
ac89dbd287c5a7e9d10410756dbadedf
sha256
ab5543a28db6c0c05815c5ab829a727d042b09cabe2cc7799b72aae40d86dcf5
There are 2 files in the tarball
uboot.2015.10-tld-2.t5325.mtd0.kwb
uboot.2014.07-tld-3.environment.64K.img
Kamal
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 September 23, 2017 02:52AM |
setenv mainlineLinux 'no' setenv debian8usb 'usb start;ext2load usb 0:1 0x800000 /uImage;setenv bootargs $(debian8usb_bootargs);bootm 0x800000' setenv debian8usb_bootargs 'console=ttyS0,115200n8 console=tty0 video=xgifb root=/dev/sda2 rw' setenv debian8ide 'ide reset;ext2load ide 0:1 0x800000 /uImage;setenv bootargs $(debian8ide_bootargs);bootm 0x800000' setenv debian8ide_bootargs 'console=ttyS0,115200n8 console=tty0 video=xgifb root=/dev/sda2 rw' setenv bootcmd 'setenv mainlineLinux yes;run debian8usb;run debian8ide;setenv mainlineLinux no;run thinpro'
setenv debian9usb 'usb start;ext2load usb 0:1 0x800000 /uImage;ext2load usb 0:1 0x01100000 /uInitrd;setenv bootargs $(debian9usb_bootargs);bootm 0x800000 0x01100000' setenv debian9usb_bootargs 'console=ttyS0,115200n8 console=tty0 video=xgifb root=/dev/sda2 rw'
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 September 23, 2017 03:42AM |
Admin Registered: 14 years ago Posts: 19,290 |
Kamal
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 September 23, 2017 08:31AM |
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 September 25, 2017 05:08AM |
Admin Registered: 14 years ago Posts: 19,290 |
Re: HP T5325 Thin Client U-Boot-2016.05-tld-1 November 01, 2017 10:31PM |
Admin Registered: 14 years ago Posts: 19,290 |
Re: HP T5325 Thin Client U-Boot-2017.07-tld-1 November 05, 2017 04:59PM |
Admin Registered: 14 years ago Posts: 19,290 |
Re: HP T5325 Thin Client U-Boot-2017.07-tld-1 November 29, 2017 05:36AM |
Registered: 10 years ago Posts: 1,037 |
Re: HP T5325 Thin Client U-Boot-2017.07-tld-1 November 29, 2017 01:37PM |
Admin Registered: 14 years ago Posts: 19,290 |
Re: HP T5325 Thin Client U-Boot-2017.07-tld-1 November 30, 2017 05:09AM |
Registered: 10 years ago Posts: 1,037 |
Re: HP T5325 Thin Client U-Boot-2017.07-tld-1 November 30, 2017 05:45AM |
Admin Registered: 14 years ago Posts: 19,290 |
Re: HP T5325 Thin Client U-Boot-2017.07-tld-1 December 23, 2017 12:06PM |
Registered: 7 years ago Posts: 85 |
Re: HP T5325 Thin Client U-Boot-2017.07-tld-1 December 24, 2017 05:17AM |
Admin Registered: 14 years ago Posts: 19,290 |
> flash_unlock: error!: could not unlock device: > /dev/mtd0 > > error 95 (Operation not supported) >> Any ideas what may be causing it?
Re: HP T5325 Thin Client U-Boot-2017.07-tld-1 December 24, 2017 05:42AM |
Registered: 7 years ago Posts: 85 |
Re: HP T5325 Thin Client U-Boot-2017.07-tld-1 December 24, 2017 05:51AM |
Registered: 7 years ago Posts: 85 |
U-Boot 2016.05-tld-1 (Jun 12 2016 - 14:06:08 -0700) HP Thin 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 PHY reset timed out 88E1116 Initialized on egiga0 T5325> setenv bootargs_usb 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10' T5325> setenv load_usb 'usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1 0x1100000 /boot/uInitrd' T5325> setenv bootcmd_usb 'setenv bootargs $(bootargs_usb); run load_usb; bootm 0x800000 0x1100000' T5325> setenv bootcmd 'run bootcmd_usb; reset' T5325> setenv bootargs_usb 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' T5325> boot starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found 3821592 bytes read in 381 ms (9.6 MiB/s) 7245696 bytes read in 437 ms (15.8 MiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.12.1-kirkwood-tld-1 Created: 2017-07-20 8:11:24 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3821528 Bytes = 3.6 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.12.1-kirkwood-tld-1 Created: 2017-07-24 0:18:23 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7245632 Bytes = 6.9 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Error: unrecognized/unsupported machine ID (r1 = 0x00000b1e). Available machine support: ID (hex) NAME ffffffff Generic DT based system ffffffff Marvell Kirkwood (Flattened Device Tree) Please check your kernel config and/or bootloader.
Re: HP T5325 Thin Client U-Boot-2017.07-tld-1 December 24, 2017 05:58AM |
Admin Registered: 14 years ago Posts: 19,290 |
Re: HP T5325 Thin Client U-Boot-2017.07-tld-1 December 24, 2017 05:59AM |
Registered: 7 years ago Posts: 85 |
Re: HP T5325 Thin Client U-Boot-2017.07-tld-1 December 24, 2017 11:49PM |
Admin Registered: 14 years ago Posts: 19,290 |
U-Boot 2016.05-tld-1 (Jun 12 2016 - 14:06:08 -0700) HP Thin 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 PHY reset timed out 88E1116 Initialized on egiga0
printenv
Re: HP T5325 Thin Client U-Boot-2017.07-tld-1 December 25, 2017 09:46AM |
Registered: 7 years ago Posts: 85 |
root@debian64:/home/kalehrl# kwboot -t -B 115200 /dev/ttyUSB0 -b /home/kalehrl/uboot.2017.07-tld-1.t5325.mtd0.kwb -p Sending boot message. Please reboot the target...\ Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 3 % [......................................................................] 5 % [......................................................................] 6 % [......................................................................] 8 % [......................................................................] 10 % [......................................................................] 11 % [......................................................................] 13 % [......................................................................] 15 % [......................................................................] 17 % [......................................................................] 18 % [......................................................................] 20 % [......................................................................] 22 % [......................................................................] 23 % [......................................................................] 25 % [......................................................................] 27 % [......................................................................] 29 % [......................................................................] 30 % [......................................................................] 32 % [......................................................................] 34 % [......................................................................] 35 % [......................................................................] 37 % [......................................................................] 39 % [......................................................................] 41 % [......................................................................] 42 % [......................................................................] 44 % [......................................................................] 46 % [......................................................................] 47 % [......................................................................] 49 % [......................................................................] 51 % [......................................................................] 53 % [......................................................................] 54 % [......................................................................] 56 % [......................................................................] 58 % [......................................................................] 59 % [......................................................................] 61 % [......................................................................] 63 % [......................................................................] 64 % [......................................................................] 66 % [......................................................................] 68 % [......................................................................] 70 % [......................................................................] 71 % [......................................................................] 73 % [......................................................................] 75 % [......................................................................] 76 % [......................................................................] 78 % [......................................................................] 80 % [......................................................................] 82 % [......................................................................] 83 % [......................................................................] 85 % [......................................................................] 87 % [......................................................................] 88 % [......................................................................] 90 % [......................................................................] 92 % [......................................................................] 94 % [......................................................................] 95 % [......................................................................] 97 % [......................................................................] 99 % [....................................] [Type Ctrl-\ + c to quit] U-Boot 2017.07-tld-1 (Nov 01 2017 - 00:58:19 -0700) HP Thin Client T5325 SoC: Kirkwood 88F6281_A1 SPI: ready DRAM: 512 MiB WARNING: Caches not enabled MMC: SF: Detected mx25l8005 with page size 256 Bytes, erase size 64 KiB, total 1 MiB In: serial Out: serial Err: serial Net: egiga0 88E3016 Initialized on egiga0 T5325> printenv arch=sandbox baudrate=115200 board=sandbox board_name=sandbox boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr} boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf boot_net_pci_enum=pci enum boot_net_usb_start=usb start boot_prefixes=/ /boot/ boot_script_dhcp=boot.scr.uimg boot_scripts=boot.scr.uimg boot.scr boot_targets=host1 host0 bootcmd_host0=setenv devnum 0; run host_boot bootcmd_host1=setenv devnum 1; run host_boot bootdelay=2 bootm_size=0x10000000 cpu=sandbox distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done eth1addr=00:00:11:22:33:45 eth3addr=00:00:11:22:33:46 eth5addr=00:00:11:22:33:47 ethact=egiga0 ethaddr=F4:CE:46:23:F6:83 fdt_addr_r=0xc00000 host_boot=if host dev ${devnum}; then setenv devtype host; run scan_dev_for_boot_part; fi ipaddr=1.2.3.4 kernel_addr_r=0x1000000 pxefile_addr_r=0x2000 ramdisk_addr_r=0x2000000 scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done; scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done scriptaddr=0x1000 stderr=serial stdin=serial stdout=serial usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi Environment size: 2099/65532 bytes T5325>
U-Boot 2016.05-tld-1 (Jun 12 2016 - 14:06:08 -0700) HP Thin 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 PHY reset timed out 88E1116 Initialized on egiga0 T5325> printenv arch=sandbox baudrate=115200 board=sandbox board_name=sandbox boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr} boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}extlinux/extlinux.conf boot_net_pci_enum=pci enum boot_net_usb_start=usb start boot_prefixes=/ /boot/ boot_script_dhcp=boot.scr.uimg boot_scripts=boot.scr.uimg boot.scr boot_targets=host1 host0 bootcmd_host0=setenv devnum 0; run host_boot bootcmd_host1=setenv devnum 1; run host_boot bootdelay=2 bootm_size=0x10000000 cpu=sandbox distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done eth1addr=00:00:11:22:33:45 eth3addr=00:00:11:22:33:46 eth5addr=00:00:11:22:33:47 ethact=egiga0 ethaddr=F4:CE:46:23:F6:83 fdt_addr_r=0xc00000 host_boot=if host dev ${devnum}; then setenv devtype host; run scan_dev_for_boot_part; fi ipaddr=1.2.3.4 kernel_addr_r=0x1000000 pxefile_addr_r=0x2000 ramdisk_addr_r=0x2000000 scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done; scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}extlinux/extlinux.conf; then echo Found ${prefix}extlinux/extlinux.conf; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done scriptaddr=0x1000 stderr=serial stdin=serial stdout=serial usb_boot=usb start; if usb dev ${devnum}; then setenv devtype usb; run scan_dev_for_boot_part; fi Environment size: 2099/65532 bytes T5325>
Re: HP T5325 Thin Client U-Boot-2017.07-tld-1 December 25, 2017 10:38AM |
Admin Registered: 14 years ago Posts: 19,290 |
Quote
5. Flash u-boot default envs to mtd0.
cd /tmp/sdb1/boot
flash_unlock /dev/mtd0
flashcp -v uboot.2016.05-tld-1.environment.64K.img /dev/mtd0
Expected Output
Erasing blocks: 1/1 (100%)
Writing data: 64k/64k (100%)
Verifying data: 64k/64k (100%)
If there is any error, stop here and post for help in recovery
dtb_file=/boot/dts/kirkwood-pogoplug_v4.dtb
dtb_file=/boot/dts/kirkwood-t5325.dtb
Re: HP T5325 Thin Client U-Boot-2017.07-tld-1 December 25, 2017 02:42PM |
Registered: 7 years ago Posts: 85 |
root@debian64:/home/kalehrl# kwboot -t -B 115200 /dev/ttyUSB0 -b /home/kalehrl/uboot.2017.07-tld-1.t5325.mtd0.kwb -p Sending boot message. Please reboot the target.../ Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 3 % [......................................................................] 5 % [......................................................................] 6 % [......................................................................] 8 % [......................................................................] 10 % [......................................................................] 11 % [......................................................................] 13 % [......................................................................] 15 % [......................................................................] 17 % [......................................................................] 18 % [......................................................................] 20 % [......................................................................] 22 % [......................................................................] 23 % [......................................................................] 25 % [......................................................................] 27 % [......................................................................] 29 % [......................................................................] 30 % [......................................................................] 32 % [......................................................................] 34 % [......................................................................] 35 % [......................................................................] 37 % [......................................................................] 39 % [......................................................................] 41 % [......................................................................] 42 % [......................................................................] 44 % [......................................................................] 46 % [......................................................................] 47 % [......................................................................] 49 % [......................................................................] 51 % [......................................................................] 53 % [......................................................................] 54 % [......................................................................] 56 % [......................................................................] 58 % [......................................................................] 59 % [......................................................................] 61 % [......................................................................] 63 % [......................................................................] 64 % [......................................................................] 66 % [......................................................................] 68 % [......................................................................] 70 % [......................................................................] 71 % [......................................................................] 73 % [......................................................................] 75 % [......................................................................] 76 % [......................................................................] 78 % [......................................................................] 80 % [......................................................................] 82 % [......................................................................] 83 % [......................................................................] 85 % [......................................................................] 87 % [......................................................................] 88 % [......................................................................] 90 % [......................................................................] 92 % [......................................................................] 94 % [......................................................................] 95 % [......................................................................] 97 % [......................................................................] 99 % [....................................] [Type Ctrl-\ + c to quit] U-Boot 2017.07-tld-1 (Nov 01 2017 - 00:58:19 -0700) HP Thin Client T5325 SoC: Kirkwood 88F6281_A1 SPI: ready DRAM: 512 MiB WARNING: Caches not enabled MMC: SF: Detected mx25l8005 with page size 256 Bytes, erase size 64 KiB, total 1 MiB In: serial Out: serial Err: serial Net: egiga0 88E3016 Initialized on egiga0 T5325>
Re: HP T5325 Thin Client U-Boot-2017.07-tld-1 December 25, 2017 10:46PM |
Admin Registered: 14 years ago Posts: 19,290 |
Re: HP T5325 Thin Client U-Boot-2017.07-tld-1 December 26, 2017 02:49AM |
Registered: 7 years ago Posts: 85 |
HP Thin Client T5325 SoC: Kirkwood 88F6281_A1 SPI: ready DRAM: 512 MiB WARNING: Caches not enabled MMC: SF: Detected mx25l8005 with page size 256 Bytes, erase size 64 KiB, total 1 MiB In: serial Out: serial Err: serial Net: egiga0 88E3016 Initialized on egiga0 T5325>and there is no need to interrupt the u-boot because it immediately stops at T5325> prompt.
Re: HP T5325 Thin Client U-Boot-2017.07-tld-1 December 26, 2017 08:28AM |
Admin Registered: 14 years ago Posts: 19,290 |