the first partition mmcblk0p1 which mounts to /media/card was initially intended for the kernel, so it was a small partition
mmcblk0p2 was the big one, but it could have been setup any size.
Try mounting it,   mount /dev/mmcblk0p2 /media/mmcblk0p2
Or you could wipe it all and create whatever you want. (dont forget it backup what you want)

Currently my sdcard has two partitions, one isn't used so there's really just one partition involved. The partition is ext3, i copy the .tar.gz SHR image to the partition and extract it. Then all i have to do is rename boot/uImage to /boot/uimage (since my uboot env is set for that).
Reboot and it boots up fine.

Note1: i'm using uboot, if you're using Qi im not sure how that works.
Note2: I have a GTA01 so there could be a few differences. However I think the same applies.

Ben.

On 6/04/2010 11:32 a.m., Kai-Martin wrote:
Hi.
I have a 512 MB SD card installed on my freerunner and SHR running
from flash.

df tells me:
/-------------------------
r...@om-gta02 ~ $ df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root               246.6M    134.4M    112.2M  54% /
none                     59.1M    184.0K     58.9M   0% /dev
shmfs                    59.1M         0     59.1M   0% /dev/shm
tmpfs                    59.1M      3.2M     55.9M   5% /var/volatile
tmpfs                    59.1M         0     59.1M   0% /dev/shm
tmpfs                    59.1M         0     59.1M   0% /media/ram
/dev/mmcblk0p1            7.6M      3.8M      3.8M  51% /media/card
volatile                 59.1M      3.2M     55.9M   5% /var/volatile
\--------------------------

This output puzzles me:

I understand that /dev/root is flash memory.
"Volatile" sounds like RAM to me. There is supposed to be 128 MB of
RAM, which more or less fits the sum of /var/volatile and /media/ram

How come, /var/volatile and /dev/shm are mentioned twice?
What filesystem is "none"?

Why is the size of /media/card only 7.6 MB?
If I look at the aprtition table of /dev/mmcblk0p1 with cfdisk, I see
three partitions. A little one (FAT16, /dev/mmcblk0p1) and two larger
245 MB (ext2, /dev/mmcblk0p2 and free space) partitions. This must
have been by the pre-owner of my freerunner. There is no data by me
on the card. I'd have no problem with nuking it and do mkfs from
scratch.

What is the recommended card set-up for SHR? All in one one set-up?
FAT? ext2? ext3?

---<)kaimartin(>---
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to