Notices


Reply
Thread Tools
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#321
Originally Posted by braveally View Post
ok, so i did everything and I think it worked. I see the 513MB on the device memory so what happens when i install programs now, will the be put on the external memory card? i don't see anything there now. just looking for a way to confirm success. I don't have a lot of juice after the flash so i won't install anything until i get home. Thanks for everyone who replied and helped me out. I started the process last night around 10pm and was up until 3am to now 5:30 the next day. It was a great learning experience on working with linux command line.
some disk utility progs may help.

DiskUsage, gpe-filemanager: from www.gronmayer.com/it.
emelfm2, forget where it came from, try google it and dl the .deb file for installation.

post back if questions,


bun
 
Posts: 110 | Thanked: 12 times | Joined on Oct 2007 @ Cambridge, UK
#322
mmm, I'm almost there... can anyone help, please?

n800 OS2008.

Carried out all the steps with no problems. I get the bootmenu, and can boot into flash as normal.

Performed an " ./nupgrade.sh wipe" on my newly partitioned external 8GB SD. Went well, ended:
...
/home/user/bin/tar: .: implausibly old time stamp 1970-01-01 01:00:00
Committing updates and Unmounting filesystems
Done

but when I select the second partition on "External SD card, partition 2, ext3", from the bootmenu, it says:

Boot from mmc12 failed, booting from flash

Here's my partition table; did I get it wrong?

Nokia-N800-50-2:~# sfdisk -l /dev/mmcblk1

Disk /dev/mmcblk1: 249296 cylinders, 4 heads, 16 sectors/track
Units = cylinders of 32768 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/mmcblk1p1 0+ 232911 232912- 7453183+ b W95 FAT32
/dev/mmcblk1p2 232912 249295 16384 524288 83 Linux
/dev/mmcblk1p3 0 - 0 0 0 Empty
/dev/mmcblk1p4 0 - 0 0 0 Empty

Nokia-N800-50-2:~# dumpe2fs -h /dev/mmcblk1p2
dumpe2fs 1.40.3 (05-Dec-2007)
Filesystem volume name: Sardine
Last mounted on: <not available>
Filesystem UUID: c59a9e84-b7a7-4160-8942-f7a7b9ff4d32
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: resize_inode dir_index filetype sparse_super
Filesystem flags: unsigned directory hash
Default mount options: (none)
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux

Also, perhaps oddly, I'm unable to manually mount it:

Nokia-N800-50-2:~# mount -r /dev/mmcblk1p2 /mnt
mount: mounting /dev/mmcblk1p2 on /mnt failed
Nokia-N800-50-2:~# mount -r -t ext2 /dev/mmcblk1p2 /mnt
mount: mounting /dev/mmcblk1p2 on /mnt failed


any ideas, please? thanks much...
 
Posts: 110 | Thanked: 12 times | Joined on Oct 2007 @ Cambridge, UK
#323
oh, and:

Nokia-N800-50-2:/home/user/bin# fsck -f /dev/mmcblk1p2
fsck 1.40.3 (05-Dec-2007)
e2fsck 1.40.3 (05-Dec-2007)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 3A: Optimizing directories
Pass 4: Checking reference counts
Pass 5: Checking group summary information

Sardine: ***** FILE SYSTEM WAS MODIFIED *****
Sardine: 20482/131072 files (0.6% non-contiguous), 298412/524288 blocks
 
Posts: 110 | Thanked: 12 times | Joined on Oct 2007 @ Cambridge, UK
#324
just realised that /mnt isn't empty, so that was a foolish attempt, but it wasn't the problem:

Nokia-N800-50-2:/home/user/bin# mkdir /mnt2
Nokia-N800-50-2:/home/user/bin# mount -r /dev/mmcblk1p2 /mnt2
mount: mounting /dev/mmcblk1p2 on /mnt2 failed
Nokia-N800-50-2:/home/user/bin# mount | grep mnt2
Nokia-N800-50-2:/home/user/bin# mount -r -t ext2 /dev/mmcblk1p2 /mnt2
mount: mounting /dev/mmcblk1p2 on /mnt2 failed
 
Posts: 110 | Thanked: 12 times | Joined on Oct 2007 @ Cambridge, UK
#325
ah, I am an idiot

all working now. the two issues were:

o nupgrade.sh defaults to ext2, but bootmenu.conf defaults to ext3. I changed the latter to ext2, and it now boots fine.

o I couldn't mount the (otherwise fine) partition, as the ext2 kernel module wasn't loaded at that time.

thanks for all the useful posts that made this so easy (user error aside)
 
Posts: 110 | Thanked: 12 times | Joined on Oct 2007 @ Cambridge, UK
#326
at the risk of annoying everyone with yet another post...

I'm interested to compare the amounts of space used by the two filesystems (original jffs2 versus cloned ext2):

Nokia-N800-50-2:~# df -k
Filesystem 1k-blocks Used Available Use% Mounted on

original:
/dev/mtdblock4 257536 176744 80792 69% /

cloned:
/dev/mmcblk1p2 507748 281846 199688 59% /

so jffs2 is giving me on average a 1.6 compression factor, meaning my original free space of 79MB might have given me around 126MB of usable app space.

So my double sized (1/2 GB) ext2 partition is only giving me an extra 116MB of space. Interesting.

I'll shut up now.

Last edited by cdmackay; 2008-03-06 at 01:57. Reason: typos
 
Posts: 7 | Thanked: 1 time | Joined on Dec 2007
#327
Ok I've read all the posts...ummm How many Megs of flash ram on the N800 do I need available for a successfull install? I've only 28 Mb available am I going to have to dump a lot of appsto get to xxMB or is this only going to work work with a fresh flash of OS2008?
TIA lorez1
 
Posts: 678 | Thanked: 197 times | Joined on Jul 2007 @ San Jose CA
#328
Originally Posted by lorez1 View Post
Ok I've read all the posts...ummm How many Megs of flash ram on the N800 do I need available for a successfull install? I've only 28 Mb available am I going to have to dump a lot of appsto get to xxMB or is this only going to work work with a fresh flash of OS2008?
TIA lorez1
24MB is a plenty for tar to run! If you can run a decent app then I think you can make a successful installation.
 
iliaden's Avatar
Posts: 267 | Thanked: 50 times | Joined on Feb 2008 @ Montreal, Canada
#329
hey,

I know this is a repost, but I still have no answer. Maybe i'll be luckier on this thread...

anyways, the question is:
Is there a way to copy the flash boot from mmc and reflash it on the ROM?

Of course, I understand that the entire boot from mmc must be <256mb, and I have had some "hints"

The idea of creating a file (.jffs2 / .ext2) and then reflashing it with nandwrite sounds OK; I would just need more concise guidelines

The idea of a direct tar after mounting both /dev/mtdblock4 and /dev/mmcblk*p* (bootable) sounds less promising since I don't understand from which boot i'd have to do this.

If anyone has any clue, please be concise since I am not quite familiar with the syntax.

Thank you.

Ilia

P.S. If you are wondering, I have played TOO MUCH with the card boot, and it would take weeks to get the flash boot to the same (perfect...) state as is my mmc boot right now.
 
Posts: 1,950 | Thanked: 1,170 times | Joined on Jan 2008 @ Seattle, USA
#330
Is there an ideal state for the SDHC card to be in when you first start on this process (i.e., doing the steps of Post #1 on this thread)? That is, is it best when you first insert the mmc for it to be

(a) formatted by the Panasonic SD formatter and left in that state?
(b) formatted on a PC using the Windows format tool to make it Fat32? or
(c) formatted within the NIT with the File Manager's format option?

If (d) would be something one does on a Linux machine, that's not an option for me.

I've managed this cloning once before, but the system went haywire (wouldn't load MicroB and wouldn't install or uninstall anything), so now I'm doing it again. I think I may have had a corrupt file somewhere in the system.

But on this round, I've tried many times, but every time I can't get past the partitioning and formatting. Often, I get the partition1 formatted to DOS, and then I reboot and when I go to partition2 for mke2fs, the Tablet tells me I have a corrupt or unformatted card (or sometimes, at this point something else goes wrong).

If it matters, the card is a SanDisk Extreme III 8GB. It is not the same card that I previously used for a boot mmc. It's brand new (or was!).
__________________
.
. .

Help Save This Forum
for N8x0/Diablo Users! Register and Vote for Solution #1 on this Brainstorm. (The Solution will let you see New Posts with any threads you choose -- like the N900 and Maemo5/Fremantle threads -- filtered out.) (To understand the Solution better, see these posts #17, #18, and #19.)

Last edited by GeraldKo; 2008-03-30 at 04:34.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:59.