Re: Haret won't boot up from SD card ... again

From: avinash <avinash.sridhar_at_thomson.net>
Date: Thu, 27 Oct 2005 09:58:01 -0400

hi ,
The problem with mine seemed to be a mount point issue and /dev devices not
being created. I am pasting the original thread on how i got it was suggest
to get it to work.

Hope that helps

-avinash.

-------------------------------------------------------------------------------
Orignal Message Follows
-----------------------------------------------------------------------------------
Hi ,
Thanks for the pointer. Opie booted great ! All I did was to add the /dev
files with mknod, I dint add anything in the linuxrc file since it looked
like it was trying to mount the SD card on /dev/mmc/*.

Thanks for your help.

Avinash

-----Original Message-----
From: hx4700-port-bounces_at_handhelds.org
[mailto:hx4700-port-bounces_at_handhelds.org] On Behalf Of Michal Wróbel
Sent: Thursday, September 01, 2005 3:23 AM
To: hx4700-port_at_handhelds.org
Subject: Re: [Hx4700-port] SD card Haret

Sridhar Avinash napisal(a):

> Hello,
> I have a hx4705 . Ive downloaded the hx4700.zip file and copied all the
> files onto my 512mb . Haret seems to boot with the SDG logo on the top
> left and then it hangs after
> cardmgr:exiting
>
>
Hi,
There is a problem with mmc block devices - they don't exist in initrd
file. You have to create them manually:

# mv initrd initrd.gz
# gunzip initrd.gz
# mount -o loop initrd /mnt/initrd
# mknod /mnt/initrd//dev/mmcblk0 b 254 0
# mknod /mnt/initrd/dev/mmcblk0p1 b 254 1

I've also changed a little bit /mnt/initrd/linuxrc file:

if [ -e /dev/mmcblk0p1 ]; then
       # mount SDCF filesystem
       if ! mount -t vfat -o rw /dev/mmcblk0p1 /mnt/mmc; then
               echo "Failed to mount SD filesystem."
       fi
       if [ -e /mnt/mmc/rootfs.img ]; then
               ROOTFS=/mnt/mmc/rootfs.img
               echo "Mounted SD filesystem."
       fi
fi

When you finish changes:

# umount /mnt/initrd
# gzip initrd
# mv initrd.gz initrd

Now you can try booting with Haret from your SD card.

Good luck ;)

As I've seen SDG is not supporting files for Haret. Am I right? Maybe
someone could patch that old Haret initrd file?

Cheers,
Michal Wrobel
Received on Thu Oct 27 2005 - 10:03:54 EDT

This archive was generated by hypermail 2.2.0 : Thu Oct 27 2005 - 10:04:01 EDT