OpenOCD Support For S3C2410A Flash 2007-03-01

Heres another long overdue but quick update.

My order for a Embest SBC2410-III single board computer arrivied in about a week from China. The board looks very clean and the CPU should be fast enough for my plans, though I would like it to have more RAM.

The CPU is a S3C2410A from SAMSUNG which has an ARM920T core. The board was supplied with a basic Linux environment and 2.4.18 kernel version on the flash, but I want to use a more recent Linux environment and kernel version. So now I need to setup a suitable cross development environment and tools.

One of the first steps was to setup the cross compiler and environment, for this I used a set of scripts called crosstool. I will need to revisit this because I'm not sure if a ran it correctly. The compiler can then be used to create a suitable bootloader image.

The bootloader image will be loaded into flash using Open On-Chip Debugger software and a Amontec JTAGkey-Tiny a JTAG hardware device.

The OpenOCD doesn't support S3C2410A's flash memory controller or flash memory (K9F1208). So I've submitted the following patch which adds suitable support. To suitable config file for use of the S3C2410A with a JTAGkey-Tiny is:

telnet_port 4444
gdb_port 3333

interface ft2232
jtag_speed 0
ft2232_vid_pid 0x0403 0xcff8
ft2232_layout "jtagkey"

reset_config trst_and_srst
jtag_device 4 0x1 0xf 0xe

daemon_startup attach
target arm920t little reset_run 0 arm920t
run_and_halt_time 0 5000

flash bank s3c2410a 0 0 0 0 0

For a bootloader I'm going to use U-Boot, this produces an image that can be loaded on the boards flash. The SBC2410-III isn't currently supported by U-Boot so I'll have to add support for that board.