文件名称:
S5PV210_iROM_ApplicationNote_Preliminary.pdf
开发工具:
文件大小: 701kb
下载次数: 0
上传时间: 2019-10-06
详细说明:S5PV210_iROM_ApplicationNote_Preliminary.pdf S5PV210S5PV210 ROM APPLICATION NOTE REV.3
Samsung Confidential
Revision History
Revision no
Description of Change
Refer to
Author(s)
Date
0.00
Initial release for review
sw baik
May20,2009
Adding boot device option
0.10
Changing boot code copy method
K kim
SEP26.2009
0.20
Revised Figure 1, Figure 2
K i kim
NO∨19.2009
Update boot flow
0.30
Adding ERROR Handling
kj kim
NOV23,2009
NOTE: Revised parts are written in blue.
AMSUN
Preliminary product information describe products that are in development,
for which full characterization data and associated errata are not yet available
ELECTRONICS
Specifications and information herein are subject to change without notice
3
S5PV210 ROM APPLICATION NOTE REV.3
Samsung Confidential
Table of contents
1 Overview
1日1日日B重1四
1.1 H/W Feature
1.2 Feature
11画面国面面
1.3 Advantage of iROM booting
5566
1.4 Circuit Design Check Point
2 Operation
7
2.1 Operating Sequence
2.2 iROM(BLO) boot-up sequence(Refer 2.3V210 boot-up diagram
678g
2.3 V210 boot-up diagram
2. 4 iROM 2nd boot-up sequence when 1 boot fail
10
2.4.1∪ aRt boot mode.
2.42 usB boot mode
12
2.5 Memory Map……
2.6 Global variable
14
2.7 Device Copy Function
14
2.8 Boot Block Assignment Guide
19
2. 9 Header information data for Boot Code description
.20
2. 10 Making checksum example code.
21
2.11 Clock Confiquration
3 Boot configuration
22
4 Feature of the rom boot mode
23
5 ERROR HANDLING
..24
6 Hardware Guide
26
6. 1 Power connection reference of eMMC booting
26
AMSUN
Preliminary product information describe products that are in development,
for which full characterization data and associated errata are not yet available
ELECTRONICS
Specifications and information herein are subject to change without notice
S5PV210 ROM APPLICATION NOTE REV.3
Samsung Confidential
1 Overview
This chapter explains overall scheme of internal ROM(IROM)boot with memory devices such as Samsung
MoviNAND/iNand, MMC/SD Card, pure Nand eMMC, eSSD, UART and UsB boot with iROM is supported
In S5PV210, iROM boot releases retention lo(resets 1O)when it wakes up for recognizing Boot Device
by OM pin. Refer section 1.4
1.1 H/W Feature
To use IROM boot loader, several hardware features are required
S5PV210X microprocessor based on Cortex A8
64KB Internal ROM (IROM)
96KB Internal sram
General Sdram and controller
4/8 Bit High Speed SD/MMC Controller
4-bit sd/4-bit mmc /4 or8-bit eMMc
Nand flash controller
●○ neNad Controller(AUD|)
● essd Controller
UART/USB contorller
1.2 Feature
●○ neNad Boot(Mux/ Demux)
Nand Boot(with H/ 8/16-Bit ECC)
MMC Boot (MMC Specification 4.3 compatible including eMMC
eSSD Boot
●UART/ USB Boot
Secure boot mode support
Verify Integrity of Bootloader for all boot-up devices except for UART/USB boot
To support secure boot mode, Security key value should be written in S5PV210
If no key is written in S5PV210, It is non-secure boot mode
Otherwise It's secure boot mode. To do that, Samsung should write security key in manufacture step
● Second boot support
When 1 boot mode fails, SD/MMC boot will be tried through SD/MMC channel 2 with 4-bit data
AMSUN
Preliminary product information describe products that are in development,
for which full characterization data and associated errata are not yet available
ELECTRONICS
Specifications and information herein are subject to change without notice
5
S5PV210 ROM APPLICATION NOTE REV.3
Samsung Confidential
1.3 Advantage of iROM booting
1. Reduce bom cost
= In iROM booting with Movinand/iNAND/MMC/eMMC Card, eSSD. System can be booted without booting
rom
So. There is no need other booting rom device(like nor flash)
2. Improve the Read Disturbance
> In iROM booting with nand flash, S5PV210 can support 8/16-bit H/ ECC
All nand boot can be supported 8-bit H/ ECC
But, 16-bit ECC is supported only one type of Nand which is 4KB 5cycle
3. Reduce the production cost(Option)
= You can program boot device memory using other boot device
-= SO. There is no need Gang programmer
1.4 Circuit Design Check Point
(1 To select iROM boot device OM pins are used. (Refer 3 Boot configuration)
( 2) All of boot memory device of V210 have a SD/MMC second boot using MMc channel 2
3 OneNand boot-XmOCSn4NFCSn2/ONANDXL CSnO signal should be used for boot
(BL1 code should be include checksum data in the start of BL1 binary Refer section 2. 9)
4 Nand boot-XmOCSn2/NFCSnO signal should be used for boot
(BL1 code should be include checksum data in the start of BL1 binary Refer section 2.9)
5 SD/MMC/eMMC boot-MMC Channel 0 is used for first boot. And channel 2 is used for Second boot
(BL1 code should be include checksum data in start of bl1 binary Refer section 2. 9)
6 UART boot- UART Channel port 2 is used for boot
AMSUN
Preliminary product information describe products that are in development,
for which full characterization data and associated errata are not yet available
ELECTRONICS
Specifications and information herein are subject to change without notice
6
S5PV210 ROM APPLICATION NOTE REV.3
Samsung Confidential
2 Operation
2. 1 Operating sequence
S5PV210
SDRAM
Cortex A8
⑤
SDRAM
controller
BL1
BL2
Booting Device
Interna
(MMC/OneNand/
SRAM(96KB
Nand /eSSD/NOR)
NOR Fash
Controller
BL2
essD
IROM (BLO)
Os
Controller
HS-MMC
BL1
(64KB)
Controller
OneNand
Controller
Controller
n case ol
OM E iROM Boot
OneNand /SD/MMC/eMMC
/NAND/essD/NOR
Figure 1. Overall boot-up diagram
BL1/BL2: It can be variable size copied from boot device to internal SRAM area
bL1 max size is 16KB, bl2 max, size is 80KB
iROM can do initial boot up: initialize system clock, device specific controller and booting device
(2) iROM boot codes can load boot-loader to SRAM. the boot-loader is called BL1
then iROM verify integrity of BL1 in case of secure boot mode
3) BL1 will be executed BL1 will load remained boot loader which is called bl2 on the sram
then BL1 verify integrity of bl2 in case of secure boot mode
4 BL2 will be executed: BL2 initialize DRAm controller then load os data to SDRAM
5) Finally, jump to start address of S. that will make good environment to use system
AMSUN
Preliminary product information describe products that are in development,
for which full characterization data and associated errata are not yet available
ELECTRONICS
Specifications and information herein are subject to change without notice
S5PV210 ROM APPLICATION NOTE REV.3
Samsung Confidential
2.2 iROM(BLO) boot-up sequence(Refer 2.3 V210 boot-up diagram)
1. Disable the Watch-Dog Time
2. nitialize the instruction cache
3. Initialize the stack region(see "memory map"on chap 2.5)
4. Initialize the heap region (see"memory map"on chap 2.5)
5. Initialize the Block Device Copy Function. (see " Device Copy Function"on chap 2.7)
6. Initialize the PLL and Set system clock. (see"clock configuration"on chap 2. 11)
7. Copy the bL 1 to the internal SRAM region(see Device Copy Function"on chap 2.7)
8. Verify the checksum of bL1
If checksum fails, iROM will try the second boot up. SD/MMC channel 2)
9. Check if it is secure-boot mode or not
If the security key value is written in S5PV210, It's secure-boot mode
If it is secure-boot mode, verify the integrity of bL1
10. Jump to the start address of BL1
AMSUN
Preliminary product information describe products that are in development,
for which full characterization data and associated errata are not yet available
ELECTRONICS
Specifications and information herein are subject to change without notice
8
S5PV210 ROM APPLICATION NOTE REV.3
Samsung Confidential
2.3 V210 boot-up diagram
iROM
IROM Start
BL1
From irom
DRAM
Jumb tb bl1
From bl2
Disable watchdog
Cache initialization
wakeUp status=.Yes
Deep Stop(ISRAM
WakeUp status
retention)
Jump to中2
Deepldle‖l
OS code start
retention)∠
N
Stack and variable
BL2 loading
initialization
Set Clock Devider
Secure Boot 2 No
Set Lock Time
Start PLL(MPS value)
Yes
Set source clock
BL2 Integrit
OK
OM pin
oot stop
YYes
Go to bl2
One NOR SD UART.
eSSD NAND NAND Flash MMC USB
BL2
From bl1
NoChecksum
OK
wakeUp status= Yes
Go to
Deepldl
2nd boot
Deep Stop(IsRAM
Jump to dram
Read eF
DRAM in itialization
Secure Boot
OS loading to DRAM
No
BL1 Integr
OK?
Boot stop
Yes
Go to dram
Go to bL 1
Figure 2. v210 boot-up diagram
AMSUN
Preliminary product information describe products that are in development,
for which full characterization data and associated errata are not yet available
ELECTRONICS
Specifications and information herein are subject to change without notice
9
S5PV210 ROM APPLICATION NOTE REV.3
Samsung Confidential
2.4 iROM 2nd boot-up sequence when 1 boot fail
iRoM Start
1st boot
Check boot mode
mmm:mmmm
〔 Read M pin
UART boot
2st boot
Uart boot
BL1 load
from 1 st boot d
USB boot
UART boot ok?
Yes
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.