Getting Started with your Neo FreeRunner
From Openmoko
(→Log in U-Boot in NOR Flash: Grammar plus mention this is used when flashing,) |
m (→Log into U-Boot in NAND Flash: Consistency) |
||
Line 82: | Line 82: | ||
− | ====Log | + | ====Log into U-Boot in NAND Flash==== |
<div align-center> | <div align-center> | ||
Line 94: | Line 94: | ||
</td></tr></table> | </td></tr></table> | ||
</div> | </div> | ||
+ | |||
====Log into U-Boot in NOR Flash==== | ====Log into U-Boot in NOR Flash==== | ||
Revision as of 16:25, 2 July 2008
Languages: |
English • العربية • Български • Česky • Dansk • Deutsch • Esperanto • Eesti • Español • فارسی • Suomi • Français • עברית • Magyar • Italiano • 한국어 • Nederlands • Norsk (bokmål) • Polski • Português • Română • Русский • Svenska • Slovenčina • Українська • 中文(中国大陆) • 中文(台灣) • Euskara • Català |
Thank you for purchasing this Developer release of Neo FreeRunner. The Neo FreeRunner phone is the second hardware platform to take advantage of Openmoko. This guide will help you get to know your Neo FreeRunner and how to start using your Neo FreeRunner. |
---|
Contents |
What Is In The Box
Getting To Know Neo FreeRunner
Turning On Neo FreeRunner
You can boot your Neo FreeRunner in following ways:
- Boot into U-Boot via NAND Flash.
These ways allows you to update the kernel and root filesystem.
Log in Openmoko Image
Press and hold Power button (about 8 seconds) until Openmoko splash screen turns up. You may now release the Power button, and Neo FreeRunner will continue to boot into Openmoko Image. |
Log into U-Boot in NAND Flash
Press and hold Power button, then press and hold AUX button (about 5~8 seconds ). You can see BOOT MENU for NAND Flash. Press AUX to select the options, Power to execute. |
Log into U-Boot in NOR Flash
Press and hold AUX button, then press and hold Power button. Release AUX button. You can see BOOT MENU for NOR Flash. (This option is usually used by developers or when flashing the FreeRunner. Also, if you can't log into U-Boot in NAND, then you can log into U-Boot in NOR Flash.) |
NOTE: There are six options you can choose when you log into NOR Flash.
1. Boot 3. Set console to USB 4. Set console to Serial 5. Reset 6. Power off
|
Flashing Neo FreeRunner
As Openmoko development continues, Openmoko regularly releases updated versions of the Openmoko root filesystem, the kernel, and the U-Boot. These may be programmed into the Flash memory of Neo FreeRunner. You can use the USB cable and Openmoko provided tool to flash Neo FreeRunner.
NOTE: The Openmoko software team builds images daily. If you want to use the latest images, you can download the image from the daily build, but we recommend you download the most stable image from http://downloads.openmoko.org/releases/Freerunner/. Images here have been tested by the test team. |
Step1. Download DFU-util
You can download the flashing tool from: http://downloads.openmoko.org/releases/Freerunner/dfu-util
On the GNU/Linux host, you you can use following command to download dfu-util:
wget http://downloads.openmoko.org/releases/Freerunner/dfu-util
Step 2. Flashing Kernel
You can download the kernel from http://downloads.openmoko.org/releases/Freerunner/
Type in the following command in the terminal of a GNU/Linux host.
./dfu-util -a (partion name) -R -D (download image file name)
ex:
./dfu-util -a kernel -R -D uImage-2.6.24+svnr4082-r4055-r3-neo1973.bin
NOTE: The meaning of parameter you spcified:
-a --alt alt Specify the altsetting of the DFU interface by name or by number |
Step 3. Flashing Root Filesystem
You can download the root filesystem from : http://downloads.openmoko.org/releases/Freerunner/
Type in the following command in the terminal of a GNU/Linux host.
./dfu-util -a rootfs -R -D openmoko-devel-image-fic-gta02.jffs2
When flashing succeeds
status(0) = No error condition is present
Done!
Connect To Neo FreeRunner By USB Networking
Connect Neo FreeRunner to Linux host with USB cable. For OS X please refer to MacOS_X. After booting into Openmoko image, there will be a new interface, usb0, in your Linux host.
Manual Method
Type in the following command in the terminal of a GNU/Linux host.
ifconfig usb0 192.168.0.200 netmask 255.255.255.0 ssh root@192.168.0.202
Press Enter to pass the password.
Automatic Method
- Debian and derivatives (Ubuntu, Sidux etc.)
Edit /etc/network/interfaces
auto usb0 iface usb0 inet static address 192.168.0.200 netmask 255.255.255.0
- Gentoo
Edit /etc/conf.d/net
config_usb0="192.168.0.200/24"
Restart the networking service and type in the following command in the terminal of GNU/Linux host.
ssh root@192.168.0.202
Press Enter to pass the password.
Making things even more automatic
If you don't want to remember the IP number of your phone you can create an alias by adding the following line to your /etc/hosts:
192.168.0.202 openmoko
Now it should immediately be possible to connect your phone using the following command line:
ssh root@openmoko
Appendix
If you want to know more about FreeRunner, you can get more information in following topics: