Hendrik
Re: Install readonly embdebian on NAND September 01, 2010 01:04PM |
Re: Install readonly embdebian on NAND September 01, 2010 01:39PM |
Admin Registered: 14 years ago Posts: 304 |
Hendrik
Re: Install readonly embdebian on NAND September 01, 2010 01:56PM |
Hendrik
Re: Install readonly embdebian on NAND September 01, 2010 03:57PM |
flash_eraseall /dev/mtd3 ubiformat /dev/mtd3 -y ubiattach /dev/ubi_ctrl -m 3 ubimkvol /dev/ubi0 -m -N rootfsResult:
root@debian:~# flash_eraseall /dev/mtd3 flash_eraseall: /dev/mtd3: No such file or directory root@debian:~# flash_eraseall /dev/mtd3 flash_eraseall: /dev/mtd3: No such file or directory
Re: Install readonly embdebian on NAND September 01, 2010 09:50PM |
Registered: 14 years ago Posts: 107 |
Hendrik
Re: Install readonly embdebian on NAND September 02, 2010 01:35AM |
Jeffrey
Re: Install readonly embdebian on NAND September 06, 2010 01:45PM |
Re: Install readonly embdebian on NAND September 07, 2010 08:52PM |
Registered: 14 years ago Posts: 74 |
Hendrik
Re: Install readonly embdebian on NAND September 08, 2010 12:10PM |
modprobe aufs mkdir /mnt/test1 touch /mnt/test1/oneFile mkdir /mnt/test2 mkdir /mnt/unified mount none /mnt/unified -t aufs -o br:/mnt/test2=rw:/mnt/test1=ro cd /mnt/unified ls touch secondFile ls /mnt/test1 ls /mnt/test2
Hendrik
Re: Install readonly embdebian on NAND September 08, 2010 03:33PM |
RayK
Re: Install readonly embdebian on NAND September 08, 2010 11:30PM |
ItsMee
Re: Install readonly embdebian on NAND September 10, 2010 07:45PM |
root@debian:/temp# mount -t ubifs ubi0:rootfs /tmp/ubifs mount: unknown filesystem type 'ubifs'
Setting up linux-image-2.6.32-dockstar (1.1) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 75.) debconf: falling back to frontend: Readline
Connecting to jeff.doozan.com (69.163.187.226:80) kernel.deb 100% |************************************************************************************************************************************************************************************| 16925k 00:00:00 ETA Selecting previously deselected package linux-image-2.6.32-dockstar. (Reading database ... 5997 files and directories currently installed.) Unpacking linux-image-2.6.32-dockstar (from /tmp/kernel.deb) ... Done. Setting up linux-image-2.6.32-dockstar (1.1) ... Hmm. There is a symbolic link /lib/modules/2.6.32-dockstar/build However, I can not read it: No such file or directory Therefore, I am deleting /lib/modules/2.6.32-dockstar/build Hmm. The package shipped with a symbolic link /lib/modules/2.6.32-dockstar/source However, I can not read the target: No such file or directory Therefore, I am deleting /lib/modules/2.6.32-dockstar/source Running depmod. Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-dockstar /boot/vmlinuz-2.6.32-dockstar update-initramfs: Generating /boot/initrd.img-2.6.32-dockstar df: Warning: cannot read table of mounted file systems: No such file or directory warning: can't open /etc/mtab: No such file or directory warning: can't open /etc/mtab: No such file or directory Connecting to ftp.us.debian.org (204.152.191.39:80)
Re: Install readonly embdebian on NAND September 11, 2010 01:39PM |
Registered: 13 years ago Posts: 17 |
ItsMee
Re: Install readonly embdebian on NAND September 12, 2010 03:24AM |
root@DockStar:~# mount -t ubifs ubi0:rootfs /tmp/ubifs mount: unknown filesystem type 'ubifs' root@DockStar:~# uname -a Linux DockStar 2.6.35.4-dockstar #3 PREEMPT Sun Aug 29 14:13:39 CEST 2010 armv5tel GNU/Linux
ItsMee
Re: Install readonly embdebian on NAND September 12, 2010 03:33AM |
root@DockStar:/lib/modules/2.6.35.4-dockstar# cat modules.builtin |grep ubi kernel/fs/ubifs/ubifs.ko kernel/drivers/mtd/ubi/ubi.ko kernel/net/ipv4/tcp_cubic.ko
root@DockStar:/lib/modules# ll total 20 drwxr-xr-x 4 root root 4096 Sep 12 08:16 . drwxr-xr-x 9 root root 8192 Sep 10 23:58 .. drwxr-xr-x 4 root root 4096 Sep 11 20:16 2.6.32-dockstar drwxr-xr-x 3 root root 4096 Sep 12 08:29 2.6.35.4-dockstar root@DockStar:/lib/modules# find ./ |wc -l 2305 root@DockStar:/lib/modules# find ./ |grep -i ubi ./2.6.32-dockstar/kernel/crypto/anubis.ko
Re: Install readonly embdebian on NAND September 13, 2010 11:31AM |
Registered: 14 years ago Posts: 74 |
Hendrik
Re: Install readonly embdebian on NAND September 14, 2010 10:22AM |
Re: Install readonly embdebian on NAND September 14, 2010 03:50PM |
Registered: 13 years ago Posts: 17 |
markus
Re: Install readonly embdebian on NAND September 14, 2010 04:49PM |
Hendrik
Re: Install readonly embdebian on NAND September 15, 2010 01:30AM |
Re: Install readonly embdebian on NAND September 15, 2010 12:13PM |
Registered: 13 years ago Posts: 8 |
Re: Install readonly embdebian on NAND September 15, 2010 02:36PM |
Registered: 13 years ago Posts: 8 |
Re: Install readonly embdebian on NAND September 15, 2010 06:06PM |
Registered: 14 years ago Posts: 107 |
$ df -h / Filesystem Size Used Avail Use% Mounted on ubi0:root 232M 59M 173M 26% /The ubifs file system has a fair amount of overhead. You can read the gory details here. And here is a comparison between ubifs and jffs2.
Re: Install readonly embdebian on NAND September 15, 2010 08:34PM |
Registered: 13 years ago Posts: 8 |
Re: Howto: Install readonly emdebian on NAND September 15, 2010 10:09PM |
Registered: 13 years ago Posts: 17 |
lukasd
Re: Howto: Install readonly emdebian on NAND September 20, 2010 05:59PM |
Help Re Corrupted U-boot Environment? September 26, 2010 04:59AM |
Registered: 13 years ago Posts: 17 |
Re: Help Re Corrupted U-boot Environment? September 26, 2010 02:25PM |
Registered: 13 years ago Posts: 31 |
Re: Help Re Corrupted U-boot Environment? September 26, 2010 06:24PM |
Registered: 13 years ago Posts: 17 |
Re: Help Re Corrupted U-boot Environment? September 27, 2010 07:31AM |
Registered: 14 years ago Posts: 107 |