Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 January 30, 2016 07:25PM |
Registered: 10 years ago Posts: 1,037 |
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 January 30, 2016 07:27PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 January 30, 2016 07:48PM |
Registered: 10 years ago Posts: 1,037 |
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 11, 2016 05:05PM |
Registered: 9 years ago Posts: 454 |
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 13, 2016 05:15PM |
Registered: 9 years ago Posts: 298 |
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 15, 2016 05:06AM |
Registered: 10 years ago Posts: 1,037 |
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 15, 2016 05:41AM |
Registered: 9 years ago Posts: 298 |
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 15, 2016 01:58PM |
Registered: 10 years ago Posts: 1,037 |
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 25, 2016 03:47AM |
Admin Registered: 13 years ago Posts: 18,898 |
cv
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 25, 2016 01:55PM |
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 25, 2016 02:46PM |
Admin Registered: 13 years ago Posts: 18,898 |
cv
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 25, 2016 02:53PM |
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 25, 2016 03:28PM |
Registered: 9 years ago Posts: 298 |
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 25, 2016 03:36PM |
Admin Registered: 13 years ago Posts: 18,898 |
./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2015.10-tld-1.sheevaplug.mtd0.kwb -p
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 25, 2016 03:40PM |
Admin Registered: 13 years ago Posts: 18,898 |
Quote
Updated 24 Feb 2015:
This rootfs is the first Debian jessie rootfs in my Kirkwood kernel/rootfs release series, and to keep in sync with kernel Linux-3.18.5-kirkwood-tld-1.
Quote
4. Create uImage with embedded DTB for booting with older u-boots (2012 or earlier).
Note that this instruction use kernel 4.4, replace it with 3.18.5 if booting the new 3.18.5 rootfs.
Generate the uImage with DTB embedded inside:
cd /media/sdb1/boot cp -a zImage-4.4.0-kirkwood-tld-1 zImage.fdt cat dts/kirkwood-t5325.dtb >> zImage.fdt mv uImage uImage.orig mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.4.0-kirkwood-tld-1 -d zImage.fdt uImage sync
setenv bootargs_usb 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10' setenv load_usb 'usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1 0x1100000 /boot/uInitrd' setenv bootcmd_usb 'setenv bootargs $(bootargs_usb); run load_usb; bootm 0x800000 0x1100000 setenv bootcmd 'run bootcmd_usb; run thinpro' boot
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 25, 2016 04:25PM |
Registered: 9 years ago Posts: 298 |
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 25, 2016 04:46PM |
Admin Registered: 13 years ago Posts: 18,898 |
Cv
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 26, 2016 05:02AM |
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 26, 2016 05:44AM |
Registered: 9 years ago Posts: 298 |
CV
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 26, 2016 09:47AM |
CV
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 26, 2016 10:25AM |
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd... 1225 (klogd) . ok Debian GNU/Linux 8 debian ttyS0 debian login: root Password: Last login: Fri Feb 19 20:08:26 PST 2016 from 192.168.0.100 on pts/0 Linux debian 4.4.0-kirkwood-tld-1 #1 PREEMPT Mon Jan 25 20:35:24 PST 2016 armv5tel The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. 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 root@debian:~# free -h total used free shared buffers cached Mem: 498M 48M 450M 272K 5.1M 23M -/+ buffers/cache: 19M 478M Swap: 0B 0B 0B root@debian:~# df -h Filesystem Size Used Avail Use% Mounted on udev 10M 0 10M 0% /dev tmpfs 50M 144K 50M 1% /run /dev/sdb1 3.7G 394M 3.1G 12% / tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 100M 0 100M 0% /run/shm tmpfs 250M 0 250M 0% /tmp root@debian:~#
cv
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 26, 2016 10:31AM |
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 root@debian:~#
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 26, 2016 02:49PM |
Admin Registered: 13 years ago Posts: 18,898 |
Quote
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
Quote
Warning: Bad CRC, using default environment
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 26, 2016 02:59PM |
Admin Registered: 13 years ago Posts: 18,898 |
printenv help
setenv bootargs_usb 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10' setenv load_usb 'usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1 0x1100000 /boot/uInitrd' setenv bootcmd_usb 'setenv bootargs $(bootargs_usb); run load_usb; bootm 0x800000 0x1100000 setenv bootcmd 'run bootcmd_usb; run thinpro' boot
cat /etc/fw_env.config cat /proc/mtd ls -l /dev/mtd* mtdinfo -a
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 26, 2016 04:30PM |
Registered: 8 years ago Posts: 31 |
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 26, 2016 05:15PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 26, 2016 08:55PM |
Registered: 8 years ago Posts: 31 |
root@debian:~# mtdinfo -a Count of MTD devices: 1 Present MTD devices: mtd0 Sysfs interface supported: yes mtd0 Name: spi0.0 Type: nor Eraseblock size: 65536 bytes, 64.0 KiB Amount of eraseblocks: 16 (1048576 bytes, 1024.0 KiB) Minimum input/output unit size: 1 byte Sub-page size: 1 byte Character device major/minor: 90:0 Bad blocks are allowed: false Device is writable: true root@debian:~#
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 26, 2016 09:33PM |
Registered: 8 years ago Posts: 31 |
root@debian:~# cat /etc/fw_env.config # MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd0 0xc0000 0x20000 0x20000 root@debian:~# cat /proc/mtd dev: size erasesize name mtd0: 00100000 00010000 "spi0.0" root@debian:~# ls -l /dev/mtd* crw------- 1 root root 90, 0 Feb 26 14:23 [0m[01;33m/dev/mtd0[0m crw------- 1 root root 90, 1 Feb 26 14:23 [01;33m/dev/mtd0ro[0m brw-rw---- 1 root disk 31, 0 Feb 26 14:23 [01;33m/dev/mtdblock0[0m root@debian:~#
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 26, 2016 09:35PM |
Admin Registered: 13 years ago Posts: 18,898 |
# MTD device name Device offset Env. size Flash sector size Number of sectors # # HP T5325 Thin Client /dev/mtd0 0xc0000 0x10000 0x10000
fw_printenv
Re: HP T5325 Thin Client Debian : Project on Hold 30-01-2016 February 27, 2016 01:41AM |
Registered: 8 years ago Posts: 31 |
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/mtd0 0xc0000 0x1000 0x10000 root@debian:~# fw_printenv baudrate=115200 loads_echo=0 rootpath=/mnt/ARM_FS/ run_diag=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 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: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 ethact=egiga0 ethaddr=f4:ce:46:24:94:de gatewayip=10.4.50.5 netmask=255.255.255.0 ipaddr=10.4.50.38 serverip=10.4.50.5 bootdelay=1 in_mfg=no thinpro=ide reset; ext2load ide 0:1 0x200000 /boot/uImage; wol; setenv bootargs $(thinpro_bootargs); bootm 0x200000 boot_initrd= 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 bootargs_usb=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 load_usb=usb start; ext2load usb 0:1 0x800000 /boot/uImage; ext2load usb 0:1 0x1100000 /boot/uInitrd bootcmd_usb=setenv bootargs $(bootargs_usb); run load_usb; bootm 0x800000 0x1100000 bootcmd=run bootcmd_usb; run thinpro root@debian:~#