Sjf2410-linux
From Openmoko
Contents |
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
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à |