background image

S3C6410 INSTALLATION MANUAL UBI(UNSORTED BLOCK IMAGES)  V1.0 

 

 

 

5

 

 

Preliminary product information describe products that are in development, 
for which full characterization data and associated errata are not yet available. 

Specifications and information herein are subject to change without notice.

 

 

Figures 

FIGURE

 

1

 

UBI/MTD

 

I

NTEGRATION

 ....................................................................................................................... 6

 

FIGURE

 

2

 

D

EVICE 

D

RIVERS

 ................................................................................................................................... 8

 

FIGURE

 

3

 

M

EMORY 

T

ECHNOLOGY 

D

EVICES

 ......................................................................................................... 8

 

FIGURE

 

4

 

UBI

 

 

U

NSORTED 

B

LOCK 

I

MAGES

 ......................................................................................................... 9

 

FIGURE

 

5

 

E

NABLE 

UBI ......................................................................................................................................... 9

 

FIGURE

 

6

 

S

ELECT 

“E

MULATE 

MTD

 

D

EVICES

” ....................................................................................................  10

 

FIGURE

 

7

 

S

AVING 

N

EW 

K

ERNEL CONFIGURATION

 .............................................................................................. 10

 

 

 

Содержание S3C6410

Страница 1: ...1 Installation Manual for UBI S3C6410 May 09 2008 Preliminary REV 1 00 ...

Страница 2: ...l operating parameters including Typicals must be validated for each customer application by the customer s technical experts Samsung products are not designed intended or authorized for use as components in systems intended for surgical implant into the body for other applications intended to support or sustain life or for any other application in which the failure of the Samsung product could cr...

Страница 3: ... development for which full characterization data and associated errata are not yet available Specifications and information herein are subject to change without notice Revision History Revision No Description of Change Refer to Author s Date 1 00 Master Copy Jongpill Lee May 09 2008 NOTE Revised parts are written in blue ...

Страница 4: ...cterization data and associated errata are not yet available Specifications and information herein are subject to change without notice CONTENTS 1 INTRODUCTION 6 1 1 PURPOSE 6 1 2 OVERVIEW 6 2 KERNEL COMPILATION 7 2 1 ROOT FILE SYSTEM 7 2 2 KERNEL COMPILE 7 3 TEST 12 3 1 DOWNLOAD UBI KO 12 3 2 LOAD UBI MODULE 12 3 3 CREATE UBI VOLUME 13 3 4 MOUNT JFFS2 14 ...

Страница 5: ... data and associated errata are not yet available Specifications and information herein are subject to change without notice Figures FIGURE 1 UBI MTD INTEGRATION 6 FIGURE 2 DEVICE DRIVERS 8 FIGURE 3 MEMORY TECHNOLOGY DEVICES 8 FIGURE 4 UBI UNSORTED BLOCK IMAGES 9 FIGURE 5 ENABLE UBI 9 FIGURE 6 SELECT EMULATE MTD DEVICES 10 FIGURE 7 SAVING NEW KERNEL CONFIGURATION 10 ...

Страница 6: ...gement layer which has similar functionality as the Logical Volume Manager The basic idea is that the UBI layer provides the management for multiple logical volumes which can contain either static data or dynamic contents e g file systems This guide will explain the initial steps for Installing UBI Unsorted Block Image and how to compile Linux Kernel 1 2 Overview UBI Supports as follows Bad Block ...

Страница 7: ... 6 21 directory will be generated Go to s3c linux 2 6 21 directory and edit cross_compile file root localhost test tar jxvf s3c linux 2 6 21 tar bz2 root localhost test cd s3c linux 2 6 21 root localhost s3c linux 2 6 21 vi cross_compile Here edit your cross compiler path on first line depending on your environment in our case cross compiler path is usr local arm release 4 0 3 bin arm linux You ca...

Страница 8: ...n development for which full characterization data and associated errata are not yet available Specifications and information herein are subject to change without notice Select Device Drivers from the Linux Kernel Configuration FIGURE 2 Device Drivers Select Memory Technology Devices MTD FIGURE 3 Memory Technology Devices ...

Страница 9: ...ducts that are in development for which full characterization data and associated errata are not yet available Specifications and information herein are subject to change without notice Select UBI Unsorted block images FIGURE 4 UBI Unsorted Block Images Select Enable UBI to Module Type FIGURE 5 Enable UBI ...

Страница 10: ...ent for which full characterization data and associated errata are not yet available Specifications and information herein are subject to change without notice Select Emulate MTD devices FIGURE 6 Select Emulate MTD Devices Finally select Exit and then Yes to save your new kernel configuration FIGURE 7 Saving New Kernel configuration ...

Страница 11: ...d errata are not yet available Specifications and information herein are subject to change without notice Execute the following commands on your host PC the Kernel image will be created in s3c linux 2 6 21 arch arm boot directory by the name of zImage Also UBI Module will be created in s3c linux 2 6 21 drivers mtd ubi directory by the name of ubi ko root localhost s3c linux 2 6 21 make ...

Страница 12: ...tem 3 1 Download ubi ko First you have to download ubi ko device module file that is created by make command You can this device module in linux drivers mtd ubi ubi ko 3 2 Load UBI Module Next Insert UBI Module ubi ko which is download from your host with insmod command Input command as following root Samsung tmp insmod ubi ko mtd 3 In this command mtd 3 is a MTD partition what you want to create ...

Страница 13: ...sfs directory and mount sysfs to sysfs directory root Samsung tmp mount sysfs sysfs sysfs root Samsung tmp mount t sysfs sysfs sysfs You need ubimkvol application which is to make ubi volume Download ubimkvol application And Excute ubimkvol as following command root Samsung tmp ubimkvol s 10245780 N Storage d 0 This Command is make UBI Volume in MTD partition Volume size is 10245780 bytes and Volu...

Страница 14: ...oducts that are in development for which full characterization data and associated errata are not yet available Specifications and information herein are subject to change without notice 3 4 Mount jffs2 Finally you want to read and write in UBI Volume system is mounted temporary directory to dev mtdblock4 ...

Отзывы: