<!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">
rakshat hooja wrote:
<blockquote
cite="mid69a2e4550808262149nbcba030y569dbd646eca76@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
<br>
<div class="gmail_quote">On Wed, Aug 27, 2008 at 9:47 AM, syed yaqoob
ali <span dir="ltr"><<a href="mailto:yaqoobali007@gmail.com">yaqoobali007@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
<div>
<div class="Wj3C7c">Yorick Moko wrote:
<blockquote
cite="http://mid26fea52c0808260607q6f695415u2c744d0f8da1762d@mail.gmail.com"
type="cite">
<pre>On Tue, Aug 26, 2008 at 2:56 PM, syed yaqoob ali <a
href="mailto:yaqoobali007@gmail.com" target="_blank"><yaqoobali007@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre>arne anka wrote:
" Warning : unable to open an initial console "
" Kernel panic - not syncing : no init found .try passing init= option
to kernel"
what file systesm did you use on these partitions and how did you proceed
exactly when installing?
_______________________________________________
support mailing list
<a href="mailto:support@lists.openmoko.org" target="_blank">support@lists.openmoko.org</a>
<a href="https://lists.openmoko.org/mailman/listinfo/support"
target="_blank">https://lists.openmoko.org/mailman/listinfo/support</a>
Hi,
I have used vfat for first partition and ext3 for the second partition.
This is the procedure i have followed for installing qtopia on sdcard.
My Host PC has FC 9.
1) connected to Neo freerunner by SSH
2) Partitioned SD card :
fdisk /dev/mmcblk0
created a 8 mb partition for kernel and another one for the rootfs
which took up
all the remaining space
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
3) Got an fdisk warning so umounted :
umount /dev/mmcblk0p1
redone the step2 again.No error second time.
4)Formatted the SDcard :
for first partition.
a) mkfs.vfat /dev/mmcblk0p1
for second partition.
b)mkfs.ext3 /dev/mmcblk0p2
5)Mounted the sdcard:
mount /dev/mmcblk0p1 /media/card
mkdir /media/card/boot
mkdir /media/mmcblk0p2
mount /dev/mmcblk0p2 /media/mmcblk0p2
6)unpacked qtopia:
got this two files :
uImage-2.6.24+git18+9c058ff0d2641df3c36fc3300acb72078d2c41d4-r0-om-gta02.bin
qtopia-4.3.2-gta02-rootfs-07172049.jffs2
7)Mounted the rootfs on loopback device:
export loop=$(losetup -f)
losetup $loop <rootfs.jffs2>
modprobe block2mtd block2mtd=$loop,131072
modprobe jffs2
modprobe mtdblock
mkdir mntpnt
mount -t jffs2 -o ro /dev/mtdblock0 mntpnt
8)created compressed tarball.
tar czf qtopia-4.3.2-gta02-rootfs-07172049.tar.gz -c mntpnt
9)Transfer this compressed tarball to the second partition of the MicroSD
that is mounted
on the FreeRunner:
scp qtopia-4.3.2-gta02-rootfs-07172049.tar.gz
<a href="mailto:root@192.168.0.202:/media/mmcblk0p2/" target="_blank">root@192.168.0.202:/media/mmcblk0p2/</a>
10)Unpack the rootfilesystem:
cd /media/mmcblk0p2
tar xzf qtopia-4.3.2-gta02-rootfs-07172049.tar.gz rm
qtopia-4.3.2-gta02-rootfs-07172049.tar.gz
rm -f /media/mmcblk0p2/boot/*
11) Installed kernel.
mv
uImage-2.6.24+git18+9c058ff0d2641df3c36fc3300acb72078d2c41d4-r0-om-gta02.bin
uImage.bin
scp uImage.bin <a href="mailto:root@192.168.0.202:/media/card/boot/"
target="_blank">root@192.168.0.202:/media/card/boot/</a>
scp uImage.bin <a href="mailto:root@192.168.0.202:/media/card/"
target="_blank">root@192.168.0.202:/media/card/</a>
12)shutdown and boot in qtopia.
Booted from Sdcard
Now when kernel is booting .It's giving kernel panic.
Regards
Syed Yaqoob Ali
_______________________________________________
support mailing list
<a href="mailto:support@lists.openmoko.org" target="_blank">support@lists.openmoko.org</a>
<a href="https://lists.openmoko.org/mailman/listinfo/support"
target="_blank">https://lists.openmoko.org/mailman/listinfo/support</a>
</pre>
</blockquote>
<pre>As far as I know: whan you want to boot fat + ext3 you need to edit u-boot entry
fat + ext2 works straight out of the box (after updating u-boot)
_______________________________________________
support mailing list
<a href="mailto:support@lists.openmoko.org" target="_blank">support@lists.openmoko.org</a>
<a href="https://lists.openmoko.org/mailman/listinfo/support"
target="_blank">https://lists.openmoko.org/mailman/listinfo/support</a>
</pre>
</blockquote>
</div>
</div>
How do i edit the u-boot entry for booting fat + ext3 ? Can someone
pls provide the procedure.<br>
<br>
</div>
</blockquote>
<div><br>
<br>
Have you tried the procedure on this wiki page<br>
<br>
<a
href="http://wiki.openmoko.org/wiki/Booting_from_SD#Add_uboot_boot_entry">http://wiki.openmoko.org/wiki/Booting_from_SD#Add_uboot_boot_entry</a><br>
<br>
Rakshat <br>
</div>
</div>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
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>
I am trying to boot into the NAND uboot menu. But when i am selecting
the set console to usb .It is returining back to the same menu
again.Not getting uboot prompt.<br>
<br>
<br>
<br>
</body>
</html>