Reply
Thread Tools
Posts: 150 | Thanked: 222 times | Joined on Aug 2017 @ Spain
#1
Hi, I have been trying to change the Neo FreeRunner's operating system using the traditional method (USB). However, my mobile seems to have something wrong, since the computer has never detected the mobile via USB in any way:

- Operating system started (Android 1.5).
- NOR uBoot.

I think my only option is to try running an OS from the microSD. The system I want is (OM 2009):

https://downloads.openmoko.org/distr...NeoFreerunner/

I have found this guide, but it is very difficult for me:

http://wiki.openmoko.org/wiki/Bootin...re_the_SD_card
 

The Following User Says Thank You to Kalatti For This Useful Post:
Posts: 150 | Thanked: 222 times | Joined on Aug 2017 @ Spain
#2
I have put the microSD into a USB adapter. It is the following unit:

/dev/sdd1 (I have found out with the command "df -h")

I run:

umount /dev/sdd

sudo fdisk /dev/sdd

d (my memory had no partitions, so I didn't need it)

n

p

1

Enter

+8M

Y

t

6

n

p

2

Enter

Enter

w

Last edited by Kalatti; 2020-10-10 at 23:24.
 

The Following User Says Thank You to Kalatti For This Useful Post:
Posts: 150 | Thanked: 222 times | Joined on Aug 2017 @ Spain
#3
umount /dev/sdd1

sudo mkfs.vfat /dev/sdd1

umount /dev/sdd2

sudo mkfs.ext2 /dev/sdd2

Do not use the following command, if the partition is formatted in ext3 it is not recognized by the phone:

sudo mkfs.ext3 /dev/sdd2

Last edited by Kalatti; 2020-10-20 at 17:37.
 

The Following User Says Thank You to Kalatti For This Useful Post:
Posts: 150 | Thanked: 222 times | Joined on Aug 2017 @ Spain
#4
sudo mount /dev/sdd2 /mnt/moko (the moko folder didn't exist, so I created it with the nautilus GUI)

Then I copied the fso-paroli-image-om-gta02.tar.gz file to /mnt /moko. I renamed the file to rootfs.tar.gz

The following command is required to unzip the TAR.GZ file in /mnt/moko:

tar -C /mnt/moko/ -xzvf rootfs.tar.gz (open the terminal from the window the file is in)


sudo mount /dev/sdd1 /mnt/mokokernel (the mokokernel folder didn't exist, so I created it with the nautilus GUI)

Then I copied the uImage-2.6.28-stable+gitr0+f19f259d3c1afde8eae53983fd19f61831927 413-r3-om-gta02.bin file to /mnt /mokokernel. I renamed the file to uImage.bin.

cp uImage.bin /mnt/mokokernel/uImage.bin (open the terminal from the window the file is in)

sudo umount /mnt/moko

sudo umount /mnt/mokokernel

sudo sync

Last edited by Kalatti; 2020-10-20 at 17:24.
 

The Following User Says Thank You to Kalatti For This Useful Post:
Posts: 150 | Thanked: 222 times | Joined on Aug 2017 @ Spain
#5
I have had no luck (I have run the microSD from NOR uBoot). Error:

[21474539.175000] power_suply battery: driver failed to report 'health' property
[21474544.195000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block (179,2)
 

The Following User Says Thank You to Kalatti For This Useful Post:
Posts: 150 | Thanked: 222 times | Joined on Aug 2017 @ Spain
#6
@Halftux

Can you help me?
 

The Following User Says Thank You to Kalatti For This Useful Post:
Posts: 150 | Thanked: 222 times | Joined on Aug 2017 @ Spain
#7
My memory is a 16GB SanDisk Ultra microSDHC. Could it be that the problem is that it is an SDHC?

My U-Boot data:

U-Boot 1.3.2-moko12 (May 9 2008 - 10:28:48)

I read this on the OpenMoko Wiki:


Boot from SDHC NOTE: the following text was written for the Neo1973. SDHC and SD should both work in a FreeRunner if you have u-boot from 2008-07-23 or later. As SDHC is not supported in older u-boot versions you can't use the Booting from SD guide.
 

The Following User Says Thank You to Kalatti For This Useful Post:
Posts: 150 | Thanked: 222 times | Joined on Aug 2017 @ Spain
#8
I bought 1 and 2 GB microSD (not microSDHC) online. Will that solve the problem?
 

The Following User Says Thank You to Kalatti For This Useful Post:
Posts: 150 | Thanked: 222 times | Joined on Aug 2017 @ Spain
#9
Originally Posted by Kalatti View Post
sudo mount /dev/sdd2 /mnt/moko (the moko folder didn't exist, so I created it with the nautilus GUI)

Then I copied the fso-paroli-image-om-gta02.tar.gz file to /mnt /moko. I renamed the file to rootfs.tar.gz

The following command is required to unzip the TAR.GZ file in /mnt/moko:

tar -C /mnt/moko/ -xzvf rootfs.tar.gz (open the terminal from the window the file is in)


sudo mount /dev/sdd1 /mnt/mokokernel (the mokokernel folder didn't exist, so I created it with the nautilus GUI)

Then I copied the uImage-2.6.28-stable+gitr0+f19f259d3c1afde8eae53983fd19f61831927 413-r3-om-gta02.bin file to /mnt /mokokernel. I renamed the file to uImage.bin.

cp uImage.bin /mnt/mokokernel/uImage.bin (open the terminal from the window the file is in)

sudo umount /mnt/moko

sudo umount /mnt/mokokernel

sudo sync
I have fixed major bugs I made in the quoted message. Also now I use a 2GB microSD (not microSDHC).

Something I have advanced, but it still does not work.
 

The Following User Says Thank You to Kalatti For This Useful Post:
Posts: 150 | Thanked: 222 times | Joined on Aug 2017 @ Spain
#10
I have done it! It seems that the contents of the microSD have been executed without failures. Now it shows a black screen with the following text:

INIT: version 2.86 booting
INIT: Entering runlevel: 5

Angstrom

The Openmoko Distribution -- powered by Angstrom (none) tty1

openmoko -20090601 (none) tty1

(none) login:

And after a while it shows the following message:

INIT: id "S" respawning too fast: disabled for 5 minutes
 

The Following User Says Thank You to Kalatti For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 20:13.