QT2410/zh cn

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Create QT2410/zh_cn for future editing.)
 
(Undo revision 49667 by MinhHaDuong (Talk))
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 +
Armzone QT2410
 +
 +
The armzone.com qt2410 is a 90% compatible chinese remake of Samsungs SMDK2410.  Unfortunately it's only 90% compatible, not 100% - and those 10% difference are only marginally documented.
 +
 +
== 概述 ==
 +
 +
QT2410包含主板(Mainboard)和核心板(Kernel board). 核心板通过一个144脚的SDRAM插座插入主板.
 +
 +
== Boot Selection ==
 +
 +
QT2410有一个位于主板的512k字节的NOR flash(SST39VF400A)和一个位于核心板的64MB NAND flash (Samsung K9F1208U0B).核心板有一个小开关来决定是从NAND flash启动还是从NOR flash 启动.
 +
 +
== USB Downloader in NOR ==
 +
 +
NOR flash预置了"S3C2410X USB Downloader ver 0.2"的小程序,这个程序监听usb设备端口等待下载程序。下载完程序后,跳到刚刚下载的代码处运行。
 +
 +
原装的QT2410附带一些bogus的windows程序来向板子下程序.  [[User:HaraldWelte]]已经写了叫做[[s3c2410_boot_usb]]的程序在Linux主机上同USB downloader交互。
 +
 +
== JTAG flashing ==
 +
 +
NAND和NOR flash可以通过JTAG烧写。这是万不得已的方法,因为它极其耗时间。Samsung / Armzone附带了windows下的烧写工具,叫做sjf2410,
 +
[[User:HaraldWelte]]移植了一个linux版的,叫做[[sjf2410-linux]]。使用它,你可以重新烧写[[Bootloader]]到NAND,万一什么奇怪的事情发生的话
 +
 +
== Memory Layout ==
 +
 +
=== NAND ===
 +
The 64MB NAND Flash is partitioned as follows:
 +
 +
0x00000000: u-boot, 196kByte (can shrink later, lots of debug code)
 +
0x00030000: u-boot environment, 16kByte (cannot shrink, 16k erase size of NAND)
 +
0x00034000: kernel, 2MB (0x200000 bytes)
 +
0x00234000: initrd, 4MB (0x400000 bytes)
 +
0x00634000: jffs2, 59,184kB (0x39cc000 bytes)
 +
0x03ffffff: end
 +
 +
=== Physical ===
 +
 +
0x00000000: [[S3C2410 Steppingstone]]
 +
0x19000300: CS8900A Ethernet
 +
0x30000000: SDRAM start
 +
0x30000100: Arm-Tag "ATAG" structure passing from bootloader to kernel
 +
0x30008000: Default load address for decompressed kernel
 +
0x32000000: Default load address for compressed kernel u-boot image
 +
0x33d00000: Default frame buffer start address
 +
0x33d4b000: Default frame buffer end address (240x320, 16bpp)
 +
0x33f5f000: MALLOC_BASE of u-boot
 +
0x33f80000: TEXT_BASE of u-boot
 +
0x33ffffff: End of RAM
 
{{Languages|QT2410}}
 
{{Languages|QT2410}}
 +
 +
 +
[[Category:Development Board/zh cn]]

Latest revision as of 12:36, 25 August 2008

Armzone QT2410

The armzone.com qt2410 is a 90% compatible chinese remake of Samsungs SMDK2410. Unfortunately it's only 90% compatible, not 100% - and those 10% difference are only marginally documented.

Contents

[edit] 概述

QT2410包含主板(Mainboard)和核心板(Kernel board). 核心板通过一个144脚的SDRAM插座插入主板.

[edit] Boot Selection

QT2410有一个位于主板的512k字节的NOR flash(SST39VF400A)和一个位于核心板的64MB NAND flash (Samsung K9F1208U0B).核心板有一个小开关来决定是从NAND flash启动还是从NOR flash 启动.

[edit] USB Downloader in NOR

NOR flash预置了"S3C2410X USB Downloader ver 0.2"的小程序,这个程序监听usb设备端口等待下载程序。下载完程序后,跳到刚刚下载的代码处运行。

原装的QT2410附带一些bogus的windows程序来向板子下程序. User:HaraldWelte已经写了叫做s3c2410_boot_usb的程序在Linux主机上同USB downloader交互。

[edit] JTAG flashing

NAND和NOR flash可以通过JTAG烧写。这是万不得已的方法,因为它极其耗时间。Samsung / Armzone附带了windows下的烧写工具,叫做sjf2410, User:HaraldWelte移植了一个linux版的,叫做sjf2410-linux。使用它,你可以重新烧写Bootloader到NAND,万一什么奇怪的事情发生的话

[edit] Memory Layout

[edit] NAND

The 64MB NAND Flash is partitioned as follows:

0x00000000: u-boot, 196kByte (can shrink later, lots of debug code)
0x00030000: u-boot environment, 16kByte (cannot shrink, 16k erase size of NAND)
0x00034000: kernel, 2MB (0x200000 bytes)
0x00234000: initrd, 4MB (0x400000 bytes)
0x00634000: jffs2, 59,184kB (0x39cc000 bytes)
0x03ffffff: end

[edit] Physical

0x00000000: S3C2410 Steppingstone
0x19000300: CS8900A Ethernet
0x30000000: SDRAM start
0x30000100: Arm-Tag "ATAG" structure passing from bootloader to kernel
0x30008000: Default load address for decompressed kernel
0x32000000: Default load address for compressed kernel u-boot image
0x33d00000: Default frame buffer start address
0x33d4b000: Default frame buffer end address (240x320, 16bpp)
0x33f5f000: MALLOC_BASE of u-boot
0x33f80000: TEXT_BASE of u-boot
0x33ffffff: End of RAM
Personal tools