by rstepanov » Fri Sep 27, 2013 8:50 pm
Just in case somebody else is thinking of playing with t5325 I will put my progress here. Since t5325 has so small internal storage rootfs now lives on btrfs filesystem. This change allows to put almost twice as much data on the internal storage with compression turned on:
$this->bbcode_second_pass_code('', '
[root@t5325 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 449M 223M 223M 50% /
dev 249M 0 249M 0% /dev
run 250M 340K 250M 1% /run
tmpfs 250M 0 250M 0% /dev/shm
tmpfs 250M 0 250M 0% /sys/fs/cgroup
tmpfs 250M 0 250M 0% /tmp
/dev/sda1 15M 6.0M 7.8M 44% /boot
[root@t5325 ~]# mount | grep btrfs
/dev/sda2 on / type btrfs (rw,noatime,compress=zlib,noacl,space_cache)
')
uBoot environment changes:
$this->bbcode_second_pass_code('', '
btrfs_bootargs=console=ttyS0,115200 root=/dev/sda2 rw video=xgifb rootflags=subvol=__active,compress,noatime
btrfs_loadimage=ext2load ide 0:1 0x800000 /uImage ; ext2load ide 0:1 0x1100000 /uInitrd
thinpro=ide reset; wol; setenv bootargs $(btrfs_bootargs); run btrfs_loadimage; bootm 0x800000 0x1100000
usb_bootargs=console=ttyS0,115200 root=/dev/sdb1 rw rootwait video=xgifb
usbboot=setenv bootargs $(usb_bootargs); run bootusb; bootm 0x800000
bootusb=usb start; ext2load usb 0:1 0x800000 /boot/uImage
bootcmd=run thinpro
mainlineLinux=yes
arcNumber=2846
')
HP t5325, thinking of RPi