Active Topics

 


Reply
Thread Tools
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#11
Originally Posted by twonk View Post
ah, now I have to show my ignorance! I can chroot /mnt/initfs but dont know how to try to mount mmcblk0p2 while there.
Code:
chroot /mnt/initfs
insmod /lib/modules/2.6.21-omap1/mbcache.ko
insmod /lib/modules/2.6.21-omap1/ext2.ko
mount -t ext2 /dev/mmcblk0p2 /mnt/new_root
ls -l /mnt/new_root
umount /mnt/new_root
exit
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 

The Following User Says Thank You to fanoush For This Useful Post:
Posts: 4 | Thanked: 1 time | Joined on Jan 2008
#12
here's the xterm output:

Nokia-N800-50-2:/# insmod /lib/modules/2.6.21-omap1/mbcache.ko
insmod: cannot insert `/lib/modules/2.6.21-omap1/mbcache.ko': File exists (-1): File exists
Nokia-N800-50-2:/# insmod /lib/modules/2.6.21-omap1/ext2.ko
insmod: cannot insert `/lib/modules/2.6.21-omap1/ext2.ko': File exists (-1): File exists
Nokia-N800-50-2:/# mount -t ext2 /dev/mmcblk0p2 /mnt/new_root
Nokia-N800-50-2:/# ls -l /mnt/new_root
drwxr-xr-x 2 root root 4096 Dec 11 15:41 bin
drwxr-xr-x 2 root root 4096 Dec 11 15:26 boot
drwxr-xr-x 2 root root 4096 Dec 11 15:26 cdrom
drwxr-xr-x 3 root root 4096 Jan 1 1970 dev
drwxr-xr-x 66 root root 4096 Jan 9 17:05 etc
drwxr-xr-x 2 root root 4096 Dec 11 15:26 floppy
drwxr-xr-x 3 root root 4096 Dec 11 15:41 home
drwxr-xr-x 2 root root 4096 Dec 11 15:26 initrd
drwxr-xr-x 6 root root 4096 Jan 9 17:05 lib
drwx------ 2 root root 16384 Jan 17 17:02 lost+found
drwxr-xr-x 5 root root 4096 Dec 19 11:32 media
drwxr-xr-x 3 root root 4096 Jan 1 1970 mnt
drwxr-xr-x 2 root root 4096 Dec 11 15:26 opt
drwxr-xr-x 2 root root 4096 Dec 11 15:26 proc
drwxr-xr-x 3 root root 4096 Dec 18 21:10 root
drwxr-xr-x 2 root root 4096 Jan 9 17:05 sbin
drwxr-xr-x 2 root root 4096 Dec 11 15:26 srv
drwxr-xr-x 2 root root 4096 Dec 11 15:26 sys
drwxr-xr-x 6 root root 4096 Jan 16 18:56 tar-temp
drwxrwxrwt 2 root root 4096 Dec 11 15:26 tmp
drwxr-xr-x 14 root root 4096 Dec 11 15:33 usr
drwxr-xr-x 12 root root 4096 Jan 1 1970 var
Nokia-N800-50-2:/# umount /mnt/new_root
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#13
Looks normal to me.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 
Posts: 4 | Thanked: 1 time | Joined on Jan 2008
#14
An update...

partitioned and formatted the card over USB from a linux PC, then on the n800 copied the OS over to the card. Results are the same, unable to boot from the mmc.

Also tried partitioning the card with a ~4GB fat32 partition as mmcblk0p1 and the other ~12GB ext2 partition as mmcblk0p2. This also failed to boot.

Thanks,
Andy
 

The Following User Says Thank You to twonk For This Useful Post:
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#15
Not quite sure why, so far the two posts are both using 'ghost' to ghost copy a working OS to a 8G SD card, i.e., there is no report, so far, that the tablet able to clone 2008Os on an 8G card.


bun
 
Posts: 678 | Thanked: 197 times | Joined on Jul 2007 @ San Jose CA
#16
 
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#17
Did you also copy image from a working mmc? So far, I have to say, not a soul has done it, i.e., using the tablet to clone 2008Os onto the Mmc/SD card. If somebody has done it, please post. I, myself, has not been able to do it.



bun
 
Posts: 16 | Thanked: 1 time | Joined on Jun 2007
#18
Originally Posted by bunanson View Post
Did you also copy image from a working mmc? So far, I have to say, not a soul has done it, i.e., using the tablet to clone 2008Os onto the Mmc/SD card. If somebody has done it, please post. I, myself, has not been able to do it.



bun
OK, instead of doing an image copy of my 4 gb flash, I followed the instructions from here:

http://maemo.org/community/wiki/howt...from_mmc_card/

They worked just fine.

Here is my sfdisk output:

Disk /dev/mmcblk0: 246224 cylinders, 4 heads, 16 sectors/track
Old situation:
Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/mmcblk0p1 1 184668 184668 5909376 6 FAT16
/dev/mmcblk0p2 184669 246223 61555 1969760 83 Linux
/dev/mmcblk0p3 0+ 0 1- 31+ 83 Linux
/dev/mmcblk0p4 0 - 0 0 0 Empty
Input in the following format; absent fields get a default value.
<start> <size> <type [E,S,L,X,hex]> <bootable [-,*]> <c,h,s> <c,h,s>
Usually you only need to specify <start> and <size> (and perhaps <type>).

/dev/mmcblk0p1 :

and here is the output of df:


Nokia-N800-50-2:~# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/mmcblk0p2 2048 1912 136 93% /mnt/initfs
none 512 88 424 17% /mnt/initfs/tmp
/dev/mmcblk0p2 1938800 298220 1542092 16% /
none 512 88 424 17% /tmp
none 1024 20 1004 2% /dev
tmpfs 1024 0 1024 0% /dev/shm
/dev/mmcblk0p1 5897840 4 5897836 0% /media/mmc2

I am using the Transcend Class 6 8gb SDHC

I partitioned the card according to the link on the above page.

I did update my kernel from this page, but wouldn't think that it would have made any difference, but you never know.

http://intr.overt.org/blog/?p=65

Update:

I neglected to mention, that I used the tar program that came with OS2008 instead of downloadng GNUTAR as per the instructions. Also, after copying the root files to the mmc card, I always do a 'sync' to make sure the file system buffers are flushed to the device before unmounting the partition. I noticed that writes to these 8gb transcends are very slow and tar returns to the command prompt while the data is still being written to the card. sync doesn't return to the command prompt until the fs buffers are empty.

Last edited by spjndizzy; 2008-01-24 at 12:47.
 
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#19
Originally Posted by spjndizzy View Post
OK, instead of doing an image copy of my 4 gb flash, I followed the instructions from here:

http://maemo.org/community/wiki/howt...from_mmc_card/

...........
I did update my kernel from this page, but wouldn't think that it would have made any difference, but you never know.

http://intr.overt.org/blog/?p=65
I am afraid to say, the last part is key! Can you tell me how you flash with Langdale's kernel, without a scratchbox? I anit got a scratchbox.

I have done exactly the same as yours, except the Langdale's part. Unless my SD card is defective, I think update the kernel maybe the key.


TIA,

bun
 
Posts: 16 | Thanked: 1 time | Joined on Jun 2007
#20
Just like updating the firmware with flasher, you connect the usb cable to the N800 with power off and the external power supply disconnected.

Type this,

sudo ./flasher-3.0-static -f -k mmc-kernel-2.2008.50.bin

and plugin the eternal power supply.
 
Reply


 
Forum Jump


All times are GMT. The time now is 03:58.