Manuals/Neo FreeRunner/ru

From Openmoko

(Difference between revisions)
Jump to: navigation, search
Line 235: Line 235:
 
====Appendex====
 
====Appendex====
 
Если вы хотите узнать больше о FreeRunner, вы можете получить более подробную информацию по следующим темам:
 
Если вы хотите узнать больше о FreeRunner, вы можете получить более подробную информацию по следующим темам:
* [[GTA02 Openness/ru]]
+
* [[GTA02 Openness/ru|Открытость]]
 
* [[Neo FreeRunner]]
 
* [[Neo FreeRunner]]
 
* [[Neo FreeRunner GTA02 Hardware]]
 
* [[Neo FreeRunner GTA02 Hardware]]

Revision as of 12:38, 2 July 2008



Спасибо за покупку этого выпуска Neo FreeRunner для разработчика. Смартфон Neo FreeRunner - это второе поколение аппаратной платформы, на которой работает Openmoko. Данное руководство поможет вам получить сведения о вашем Neo FreeRunner и начать его использовать.

Упаковка Neo FreeRunner


Содержание

Circle2.gif Что в коробке
Circle2.gif Получение представления о Neo FreeRunner
Circle2.gif Включение Neo FreeRunner
Circle2.gif Flashing Neo FreeRunner
Circle2.gif Присоединение к Neo FreeRunner по USB сети.


Что в коробке

Inside package
Circle2.gif Neo FreeRunner
Circle2.gif Стилус
Circle2.gif Батарея
Circle2.gif Зарядное устройство
Circle2.gif Кабель USB
Circle2.gif Карта microSD 512MB

Получение представления о Neo FreeRunner

AUX Button and phone jack(слева на право)
Кнопка питания, USB внешняя GPS антенна (слева на право)
AUX Back side with battery
Установка SIM карты и SD карты
Крышка снимается с этой стороны
Открыта

Включение Neo FreeRunner

Вы можете запустить ваш Neo FreeRunner следующими способами:

Circle2.gif Вы можете загрузить образ Openmoko непосредственно.
Circle2.gif Старт U-Boot посредством NAND Flash.
Circle2.gif Старт U-Boot посредством NOR Flash.

Эти способы позволят вам обновить ядро и корневую файловую систему.

Загрузка образа Openmoko

Menu2.jpg

Нажмите и держите кнопку Питание (около 8 секунд) пока не появится заставка Openmoko. теперь можете отпустить кнопку Питание, и Neo FreeRunner продолжит загрузку Образа Openmoko.


Log in U-Boot in NAND Flash

Menu7.jpg

Нажмите и удерживайте кнопку Питание, а затем нажмите и удерживайте кнопку AUX (около 5~8 секунд). Вы увидите меню загрузки для NAND Flash. Нажмайте AUX для выбора вариантов, кнопка Питание выполнить.

Log in U-Boot in NOR Flash

Menu6.jpg

Press and hold AUX button, then press and hold Power button. Release AUX button. You can see BOOT MENU for NOR Flash. ( This options usually used for developer. If you can't log in NAND , you can log in U-Boot in NOR Flash. )

NOTE: There are six options you can choose when you log in NOR Flash.

1. Загрузка

2. Загрузка с MicroSD

3. Set console to USB

4. Set console to Serial

5. Сброс

6. Выключение



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: Openmoko software team build images daily. If you want to use the newest image, you can download image from daily build. But we recommend you download the most stable image from http://downloads.openmoko.org/releases/Freerunner/. Images here has been tested by test team.


Step1. Download DFU-until

You can download the flashing tool from: http://downloads.openmoko.org/releases/Freerunner/dfu-util

On the GNU/Linux host, you you can use folloing command download U-Boot utility.

wget http://downloads.openmoko.org/releases/Freerunner/dfu-util

Step 2. Flashing Kernel

You can download 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
Log in Neo FressRunner in NOR Flash, connect your Neo with Linux Host via USB cable

Before you execute the command , please log in Neo FreeRunner in NOR Flash . Neo FreeRunner needs to boot into U-Boot when flashing.

Then connect your Neo with Linux Host via USB cable. Press Enter execute the command.When flashing succeeds

status(0) = No error condition is present
Done!

NOTE: The meaning of parameter you spcified:

-a --alt alt Specify the altsetting of the DFU interface by name or by number
-R --reset Issue USB Reset signalling once we're finished
-D --download file Write firmware from<file> into device


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

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

Appendex

Если вы хотите узнать больше о FreeRunner, вы можете получить более подробную информацию по следующим темам:

Views
Personal tools



Спасибо за покупку этого выпуска Neo FreeRunner для разработчика. Смартфон Neo FreeRunner - это второе поколение аппаратной платформы, на которой работает Openmoko. Данное руководство поможет вам получить сведения о вашем Neo FreeRunner и начать его использовать.

Упаковка Neo FreeRunner


Содержание

Circle2.gif Что в коробке
Circle2.gif Получение представления о Neo FreeRunner
Circle2.gif Включение Neo FreeRunner
Circle2.gif Flashing Neo FreeRunner
Circle2.gif Присоединение к Neo FreeRunner по USB сети.


Что в коробке

Inside package
Circle2.gif Neo FreeRunner
Circle2.gif Стилус
Circle2.gif Батарея
Circle2.gif Зарядное устройство
Circle2.gif Кабель USB
Circle2.gif Карта microSD 512MB

Получение представления о Neo FreeRunner

AUX Button and phone jack(слева на право)
Кнопка питания, USB внешняя GPS антенна (слева на право)
AUX Back side with battery
Установка SIM карты и SD карты
Крышка снимается с этой стороны
Открыта

Включение Neo FreeRunner

Вы можете запустить ваш Neo FreeRunner следующими способами:

Circle2.gif Вы можете загрузить образ Openmoko непосредственно.
Circle2.gif Старт U-Boot посредством NAND Flash.
Circle2.gif Старт U-Boot посредством NOR Flash.

Эти способы позволят вам обновить ядро и корневую файловую систему.

Загрузка образа Openmoko

Menu2.jpg

Нажмите и держите кнопку Питание (около 8 секунд) пока не появится заставка Openmoko. теперь можете отпустить кнопку Питание, и Neo FreeRunner продолжит загрузку Образа Openmoko.


Log in U-Boot in NAND Flash

Menu7.jpg

Нажмите и удерживайте кнопку Питание, а затем нажмите и удерживайте кнопку AUX (около 5~8 секунд). Вы увидите меню загрузки для NAND Flash. Нажмайте AUX для выбора вариантов, кнопка Питание выполнить.

Log in U-Boot in NOR Flash

Menu6.jpg

Press and hold AUX button, then press and hold Power button. Release AUX button. You can see BOOT MENU for NOR Flash. ( This options usually used for developer. If you can't log in NAND , you can log in U-Boot in NOR Flash. )

NOTE: There are six options you can choose when you log in NOR Flash.

1. Загрузка

2. Загрузка с MicroSD

3. Set console to USB

4. Set console to Serial

5. Сброс

6. Выключение



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: Openmoko software team build images daily. If you want to use the newest image, you can download image from daily build. But we recommend you download the most stable image from http://downloads.openmoko.org/releases/Freerunner/. Images here has been tested by test team.


Step1. Download DFU-until

You can download the flashing tool from: http://downloads.openmoko.org/releases/Freerunner/dfu-util

On the GNU/Linux host, you you can use folloing command download U-Boot utility.

wget http://downloads.openmoko.org/releases/Freerunner/dfu-util

Step 2. Flashing Kernel

You can download 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
Log in Neo FressRunner in NOR Flash, connect your Neo with Linux Host via USB cable

Before you execute the command , please log in Neo FreeRunner in NOR Flash . Neo FreeRunner needs to boot into U-Boot when flashing.

Then connect your Neo with Linux Host via USB cable. Press Enter execute the command.When flashing succeeds

status(0) = No error condition is present
Done!

NOTE: The meaning of parameter you spcified:

-a --alt alt Specify the altsetting of the DFU interface by name or by number
-R --reset Issue USB Reset signalling once we're finished
-D --download file Write firmware from<file> into device


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

Edit /etc/network/interfaces

auto usb0
iface usb0 inet static
address 192.168.0.200
netmask 255.255.255.0

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

Appendex

Если вы хотите узнать больше о FreeRunner, вы можете получить более подробную информацию по следующим темам:

Tools