Sjf2410-linux/ru

From Openmoko

Revision as of 20:55, 14 September 2008 by Kempelen (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Основное

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).

Объектный код

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

Исходный код

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

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

Для записи образа 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' как номер блока.

Пример

$ 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

Основное

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).

Объектный код

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

Исходный код

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

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

Для записи образа 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' как номер блока.

Пример

$ 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