maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Competitors (https://talk.maemo.org/forumdisplay.php?f=4)
-   -   Install operating system on the microSD (OpenMoko Neo FreeRunner) (https://talk.maemo.org/showthread.php?t=101118)

Kalatti 2020-10-10 22:44

Install operating system on the microSD (OpenMoko Neo FreeRunner)
 
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

Kalatti 2020-10-10 23:01

Re: Install operating system on the microSD (OpenMoko Neo FreeRunner)
 
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

Kalatti 2020-10-10 23:34

Re: Install operating system on the microSD (OpenMoko Neo FreeRunner)
 
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

Kalatti 2020-10-11 00:06

Re: Install operating system on the microSD (OpenMoko Neo FreeRunner)
 
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

Kalatti 2020-10-11 00:16

Re: Install operating system on the microSD (OpenMoko Neo FreeRunner)
 
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)

Kalatti 2020-10-11 00:17

Re: Install operating system on the microSD (OpenMoko Neo FreeRunner)
 
@Halftux

Can you help me?

Kalatti 2020-10-11 00:25

Re: Install operating system on the microSD (OpenMoko Neo FreeRunner)
 
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.

Kalatti 2020-10-11 00:27

Re: Install operating system on the microSD (OpenMoko Neo FreeRunner)
 
I bought 1 and 2 GB microSD (not microSDHC) online. Will that solve the problem?

Kalatti 2020-10-20 17:28

Re: Install operating system on the microSD (OpenMoko Neo FreeRunner)
 
Quote:

Originally Posted by Kalatti (Post 1569655)
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.

Kalatti 2020-10-20 17:51

Re: Install operating system on the microSD (OpenMoko Neo FreeRunner)
 
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


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

vBulletin® Version 3.8.8