<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
arne anka wrote:
<blockquote
cite="midop.ughm7vdy41evsb@slm-wxp-770.sprachwiss.uni-hamburg.de"
type="cite">
<blockquote type="cite">
<pre wrap="">" Warning : unable to open an initial console "
" Kernel panic - not syncing : no init found .try passing init= option
to kernel"
</pre>
</blockquote>
<pre wrap=""><!---->
what file systesm did you use on these partitions and how did you proceed
exactly when installing?
_______________________________________________
support mailing list
<a class="moz-txt-link-abbreviated" href="mailto:support@lists.openmoko.org">support@lists.openmoko.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openmoko.org/mailman/listinfo/support">https://lists.openmoko.org/mailman/listinfo/support</a>
</pre>
</blockquote>
Hi,<br>
<br>
I have used vfat for first partition and ext3 for the second
partition. <br>
<br>
This is the procedure i have followed for installing qtopia on
sdcard.<br>
<br>
My Host PC has FC 9.<br>
<br>
1) connected to Neo freerunner by SSH<br>
<br>
<span class="mw-headline"> 2) Partitioned SD card :<br>
</span>fdisk /dev/mmcblk0<span class="mw-headline"> <br>
<br>
</span> created a 8 mb partition for kernel and another one for
the rootfs which took up <br>
all the remaining space<span class="mw-headline"> <br>
</span><br>
<pre> Command (m for help): d
Selected partition 1
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-983, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-983, default 983): +8M
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (18-983, default 18):
Using default value 18
Last cylinder or +size or +sizeM or +sizeK (18-983, default 983):
Using default value 983
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
fdisk: WARNING: rereading partition table failed, kernel still uses old table: Device or resource busy </pre>
<span class="mw-headline">3) Got an fdisk warning so umounted :<br>
</span> <br>
umount /dev/mmcblk0p1<span class="mw-headline"> <br>
<br>
redone the step2 again.No error second time.<br>
<br>
4)Formatted the SDcard :<br>
</span> <br>
for first partition.<br>
<br>
a) mkfs.vfat /dev/mmcblk0p1<br>
<span class="mw-headline"><br>
for second partition.<br>
<br>
b)</span>mkfs.ext3 /dev/mmcblk0p2<br>
<span class="mw-headline"><br>
5)Mounted the sdcard:<br>
<br>
</span>mount /dev/mmcblk0p1 /media/card<br>
mkdir /media/card/boot<br>
<br>
mkdir /media/mmcblk0p2<br>
mount /dev/mmcblk0p2 /media/mmcblk0p2<br>
<br>
<span class="mw-headline">6)unpacked qtopia:<br>
<br>
got this two files :<br>
</span>
<ol>
<li>uImage-2.6.24+git18+9c058ff0d2641df3c36fc3300acb72078d2c41d4-r0-om-gta02.bin
</li>
<li>qtopia-4.3.2-gta02-rootfs-07172049.jffs2 </li>
</ol>
7)Mounted the rootfs on loopback device:<br>
<br>
export loop=$(losetup -f)<br>
losetup $loop <rootfs.jffs2><br>
modprobe block2mtd block2mtd=$loop,131072<br>
modprobe jffs2<br>
modprobe mtdblock<br>
mkdir mntpnt <br>
mount -t jffs2 -o ro /dev/mtdblock0 mntpnt<span class="mw-headline">
<br>
<br>
<br>
8)created compressed tarball.<br>
<br>
</span>tar czf qtopia-4.3.2-gta02-rootfs-07172049.tar.gz -c mntpnt<br>
<br>
9)Transfer this compressed tarball to the second partition of the
MicroSD that is mounted <br>
on the FreeRunner:<br>
<br>
scp qtopia-4.3.2-gta02-rootfs-07172049.tar.gz
<a class="moz-txt-link-abbreviated" href="mailto:root@192.168.0.202:/media/mmcblk0p2/">root@192.168.0.202:/media/mmcblk0p2/</a><br>
<br>
10)Unpack the rootfilesystem:<br>
<br>
cd /media/mmcblk0p2<br>
tar xzf qtopia-4.3.2-gta02-rootfs-07172049.tar.gz rm <br>
qtopia-4.3.2-gta02-rootfs-07172049.tar.gz<br>
rm -f /media/mmcblk0p2/boot/*<br>
<br>
11) Installed kernel.<br>
<br>
mv
uImage-2.6.24+git18+9c058ff0d2641df3c36fc3300acb72078d2c41d4-r0-om-gta02.bin
uImage.bin<br>
scp uImage.bin <a class="moz-txt-link-abbreviated" href="mailto:root@192.168.0.202:/media/card/boot/">root@192.168.0.202:/media/card/boot/</a><br>
<br>
scp uImage.bin <a class="moz-txt-link-abbreviated" href="mailto:root@192.168.0.202:/media/card/">root@192.168.0.202:/media/card/</a><br>
<br>
12)shutdown and boot in qtopia.<br>
<br>
Booted from Sdcard<br>
<br>
Now when kernel is booting .It's giving kernel panic.<br>
<br>
Regards<br>
Syed Yaqoob Ali<br>
<br>
<br>
<br>
<span class="mw-headline"></span>
</body>
</html>