Sjf2410-linux/ru

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(New page: == General == You can use this as one method to un-brick your Neo1973, in case your bootloader has been corrupted. sjf2410-linux is a linux-enabled version of the sjf2410 tool. It ...)
 
m (Category: -Software (non-openmoko), +Flashing Openmoko)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
== General ==
+
== Основное ==
 
You can use this as one method to un-brick your [[Neo1973]], in case your bootloader has been corrupted.
 
You can use this as one method to un-brick your [[Neo1973]], in case your bootloader has been corrupted.
  
sjf2410-linux is a linux-enabled version of the sjf2410 tool.   
+
sjf2410-linux это linux-версия sjf2410 tool.   
  
It allows you to use a [[wiggler]] compatible JTAG Probe to program NAND and NOR flash attached to the S3C2410 (In the [[Neo1973]], we only use NAND flash).
+
It allows you to use a [[wiggler]] compatible JTAG Probe to program NAND and NOR flash attached to the S3C2410 (В [[Neo1973]], мы используем только NAND flash).
  
== Object Code ==
+
== Объектный код ==
The latest release can be found at https://buildhost.openmoko.org/tmp/gta01/deploy/images/sjf2410
+
Последний релиз может быть получен из https://buildhost.openmoko.org/tmp/gta01/deploy/images/sjf2410
  
== Source Code ==
+
== Исходный код ==
The current sources are kept in https://svn.openmoko.org/trunk/src/host/sjf2410-linux/
+
Текущий исходный код расположен https://svn.openmoko.org/trunk/src/host/sjf2410-linux/
  
== Usage ==
+
== Использование ==
  
=== To flash a u-boot image into NAND flash ===
+
=== Для записи образа u-boot в NAND flash ===
  
 
basically you have to start the program with option '-f' to specify the file you want to flash.
 
basically you have to start the program with option '-f' to specify the file you want to flash.
Line 20: Line 20:
 
Then, verify that it actually detects the S3C2419 CPU.
 
Then, verify that it actually detects the S3C2419 CPU.
  
In the Main Menu, select '0' for 'K9S1208 prog'. In the prog menu, select '0' for 'K9S1208 Program' and then '0' as the block number.
+
В главном меню, выберите '0' для 'K9S1208 prog'. в меню prog выберите '0' для 'K9S1208 Program' и тогда '0' как номер блока.
  
==== Example ====
+
==== Пример ====
 
<pre>
 
<pre>
 
$ sjf2410 -f ~/u-boot_nand-gta01bv2-20070104112711.bin
 
$ sjf2410 -f ~/u-boot_nand-gta01bv2-20070104112711.bin
Line 66: Line 66:
 
{{Languages|Sjf2410-linux}}
 
{{Languages|Sjf2410-linux}}
  
[[Category:Software (non openmoko)]]
+
[[Category:Flashing Openmoko]]

Latest revision as of 21:55, 14 September 2008

Contents

[edit] Основное

You can use this as one method to un-brick your Neo1973, in case your bootloader has been corrupted.

sjf2410-linux это linux-версия sjf2410 tool.

It allows you to use a wiggler compatible JTAG Probe to program NAND and NOR flash attached to the S3C2410 (В Neo1973, мы используем только NAND flash).

[edit] Объектный код

Последний релиз может быть получен из https://buildhost.openmoko.org/tmp/gta01/deploy/images/sjf2410

[edit] Исходный код

Текущий исходный код расположен https://svn.openmoko.org/trunk/src/host/sjf2410-linux/

[edit] Использование

[edit] Для записи образа u-boot в NAND flash

basically you have to start the program with option '-f' to specify the file you want to flash.

Then, verify that it actually detects the S3C2419 CPU.

В главном меню, выберите '0' для 'K9S1208 prog'. в меню prog выберите '0' для 'K9S1208 Program' и тогда '0' как номер блока.

[edit] Пример

$ sjf2410 -f ~/u-boot_nand-gta01bv2-20070104112711.bin
+------------------------------------+
|     SEC JTAG FLASH(SJF) v 0.4hmw1  |
|     (S3C2410X & SMDK2410 B/D)      |
+------------------------------------+
Usage: SJF /f:<filename> /d=<delay>
ERROR: unknown option /s is detected.
ID32=0x0032409d
> S3C2410X(ID=0x0032409d) is detected.

[SJF Main Menu]
 0:K9S1208 prog     1:28F128J3A prog   2:AM29LV800 Prog   3:Memory Rd/Wr    
 4:Exit            
Select the function to test:0

[K9S1208 NAND Flash JTAG Programmer]
K9S1208 is detected. ID=0xec76
 0:K9S1208 Program      1:K9S1208 Pr BlkPage   2:K9S1208 Read Flash   3:Exit                
Select the function to test :0

[SMC(K9S1208V0M) NAND Flash Writing Program]

Source size:0h~28c8fh

Available target block number: 0~4095
Input target block number:0
target start block number     =0
target size        (0x4000*n) =0x2c000
STATUS:Epppppppppppppppppppppppppppppppp
Epppppppppppppppppppppppppppppppp
Epppppppppppppppppppppppppppppppp
Epppppppppppppppppppppppppppppppp
Epppppppppppppppppppppppppppppppp
Epppppppppppppppppppppppppppppppp
Epppppppppppppppppppppppppppppppp
Epppppppppppppppppppppppppppppppp
Epppppppppppppppppppppppppppppppp
Epppppppppppppppppppppppppppppppp

Personal tools

General

You can use this as one method to un-brick your Neo1973, in case your bootloader has been corrupted.

sjf2410-linux is a linux-enabled version of the sjf2410 tool.

It allows you to use a wiggler compatible JTAG Probe to program NAND and NOR flash attached to the S3C2410 (In the Neo1973, we only use NAND flash).

Object Code

The latest release can be found at https://buildhost.openmoko.org/tmp/gta01/deploy/images/sjf2410

Source Code

The current sources are kept in https://svn.openmoko.org/trunk/src/host/sjf2410-linux/

Usage

To flash a u-boot image into NAND flash

basically you have to start the program with option '-f' to specify the file you want to flash.

Then, verify that it actually detects the S3C2419 CPU.

In the Main Menu, select '0' for 'K9S1208 prog'. In the prog menu, select '0' for 'K9S1208 Program' and then '0' as the block number.

Example

$ sjf2410 -f ~/u-boot_nand-gta01bv2-20070104112711.bin
+------------------------------------+
|     SEC JTAG FLASH(SJF) v 0.4hmw1  |
|     (S3C2410X & SMDK2410 B/D)      |
+------------------------------------+
Usage: SJF /f:<filename> /d=<delay>
ERROR: unknown option /s is detected.
ID32=0x0032409d
> S3C2410X(ID=0x0032409d) is detected.

[SJF Main Menu]
 0:K9S1208 prog     1:28F128J3A prog   2:AM29LV800 Prog   3:Memory Rd/Wr    
 4:Exit            
Select the function to test:0

[K9S1208 NAND Flash JTAG Programmer]
K9S1208 is detected. ID=0xec76
 0:K9S1208 Program      1:K9S1208 Pr BlkPage   2:K9S1208 Read Flash   3:Exit                
Select the function to test :0

[SMC(K9S1208V0M) NAND Flash Writing Program]

Source size:0h~28c8fh

Available target block number: 0~4095
Input target block number:0
target start block number     =0
target size        (0x4000*n) =0x2c000
STATUS:Epppppppppppppppppppppppppppppppp
Epppppppppppppppppppppppppppppppp
Epppppppppppppppppppppppppppppppp
Epppppppppppppppppppppppppppppppp
Epppppppppppppppppppppppppppppppp
Epppppppppppppppppppppppppppppppp
Epppppppppppppppppppppppppppppppp
Epppppppppppppppppppppppppppppppp
Epppppppppppppppppppppppppppppppp
Epppppppppppppppppppppppppppppppp