qtopia - kernel panic
syed yaqoob ali
yaqoobali007 at gmail.com
Wed Aug 27 06:17:58 CEST 2008
Yorick Moko wrote:
> On Tue, Aug 26, 2008 at 2:56 PM, syed yaqoob ali <yaqoobali007 at gmail.com> wrote:
>
>> 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
>> support at lists.openmoko.org
>> https://lists.openmoko.org/mailman/listinfo/support
>>
>>
>> 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
>> root at 192.168.0.202:/media/mmcblk0p2/
>>
>> 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 root at 192.168.0.202:/media/card/boot/
>>
>> scp uImage.bin root at 192.168.0.202:/media/card/
>>
>> 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
>> support at lists.openmoko.org
>> https://lists.openmoko.org/mailman/listinfo/support
>>
>>
>>
>
> 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
> support at lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/support
>
How do i edit the u-boot entry for booting fat + ext3 ? Can someone
pls provide the procedure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/support/attachments/20080827/63716f82/attachment.htm
More information about the support
mailing list