Home
Samsung S3 User's Manual
Contents
1. Installation Manual for UBI S3C6410 May 09 2008 Preliminary REV 1 00 S3C6410 INSTALLATION MANUAL UBI UNSORTED BLOCK IMAGE V1 0 Important Notice The information in this publication has been carefully checked and is believed to be entirely accurate at the time of publication Samsung assumes no responsibility however for possible errors or omissions or for any consequences resulting from the use of the information contained herein Samsung reserves the right to make changes in its products or product specifications with the intent to improve function or design at any time and without notice and is not required to update this documentation to reflect such changes This publication does not convey to a purchaser of semiconductor devices described herein any license under the patent rights of Samsung or others Samsung makes no warranty representation or guarantee regarding the suitability of its products for any particular purpose nor does Samsung assume any liability arising out of the application or use of any product or circuit and specifically disclaims any and all liability including without limitation any consequential or incidental damages S3C6410 RISC Microprocessor Installation Manual for Unsorted Block Image Copyright 2007 2008 Samsung Electronics Co Ltd All rights reserved No part of this publication may be reproduced stored in a retrieval system or transmitted in any form or by any means
2. Cancel 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 UBI Volume If you want to create UBI volume in another MTD partition input number of partition If you success insert UBI module ubi ko you can see ubi information Preliminary product information describe products that are in development for which full characterization data and associated errata are not yet available eer nee Specifications and information herein are subject to change without notice 12 S3C6410 INSTALLATION MANUAL UBI UNSORTED BLOCK IMAGES V1 0 Lr amsung tmp l insmod ubi ko mtd 3 UBI empty MTD device detected UBI create volume table copy 1 UBI create volume table copy 2 UBI attached mtd3 to ubil UBI MTD device name File system MTD device size 14 MiB UBI physical eraseblock size 16384 bytes 16 kis ogical eraseblock size 15360 bytes iI number of good PEBs iI number of bad PEBS iI smallest flash Io unit E I VID header offset 512 Caligned 512 data offset UBI max allowed volumes 3C UBI wear leveling threshold 4096 UBI number of internal volumes 1 UBI number of user volumes n UBI available PEBSs 385 UBI total number of reserved PEBS 11 UBI number of PEBS reserved for bad PEB handling 8 UBI maxs
3. electric or mechanical by photocopying recording or otherwise without the prior written consent of Samsung Electronics Co Ltd Samsung Electronics Co Ltd San 24 Nongseo Dong Giheung Gu Yongin City Gyeonggi Do Korea 446 711 Home Page http www samsungsemi com E Mail mobilesol cs samsung com Printed in the Republic of Korea ELECTRONICS Typical parameters can and do vary in different applications All 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 create a situation where personal injury or death may occur Should the Buyer purchase or use a Samsung product for any such unintended or unauthorized application the Buyer shall indemnify and hold Samsung and its officers employees subsidiaries affiliates and distributors harmless against all claims costs damages expenses and reasonable attorney fees arising out of either directly or indirectly any claim of personal injury or death that may be associated with such unintended or unauthorized use even if such claim alleges that Samsung was negligent regarding the design or manufacture of said product P
4. e without notice 10 S3C6410 INSTALLATION MANUAL UBI UNSORTED BLOCK IMAGES V1 0 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 Preliminary product information describe products that are in development for which full characterization data and associated errata are not yet available eer nee Specifications and information herein are subject to change without notice 11 S3C6410 INSTALLATION MANUAL UBI UNSORTED BLOCK IMAGES V1 0 3 Test In this Chapter you will understand how to test UBI in you system 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 root samsung tmpj rz selected clock c0347a54 pclk quot 35 calc 115740 rz waiting to receive Starting zmodem transfer Press Ctrl C to cancel Select Files to Send using 2modem B ubi ore E debug c E io o misc c debug h E kapi c E misc o E eba c Es kapi o E scan c lE eba o led Kconfig E scan h gluebi c E Kconfig debug E scan o E io c E Makefile E ubi ko All Files Files to send T Upload files as ASCII OK
5. ecesuccsseceseecaeccasceeues ononon onneen 13 3 4 MOUNT JEPS2 oriana ine 14 Preliminary product information describe products that are in development for which full characterization data and associated errata are not yet available eer nee Specifications and information herein are subject to change without notice S3C6410 INSTALLATION MANUAL UBI UNSORTED BLOCK IMAGES V1 0 Figures FIGURE UBVMTD INTEGRATION een ee ee eS ee eee me ern E ere 6 PLURES NC Ree Schacter cc 8 FIGURE 3 MEMORY TECHNOLOGY DEVICES silla 8 FIGURE UBI UNSORTEDBEOCKIMAGES lla 9 De I E UD ess esc ces wc tetas herein pes oo rst os cies osteo se AE ae See esse TA A 9 FIGURE 6 SELECT EMULATE MTD DEVICES Lala aaa 10 FIGURE 7 SAVING NEW KERNEL CONFIGURATION cccccsccsscssccsccesccescesccesccsseuscesseessesccesseusseuscesseusseeccesseussensees 10 Preliminary product information describe products that are in development for which full characterization data and associated errata are not yet available eer nee Specifications and information herein are subject to change without notice S3C6410 INSTALLATION MANUAL UBI UNSORTED BLOCK IMAGES V1 0 1 Introduction 1 1 Purpose Ubi is general purpose flash management 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 wil
6. excluded lt M gt module lt gt module capable Code maturity level options gt General setup gt Loadable module support gt Block layer gt System Type gt Bus support gt Kernel Features gt Boot options gt Floating point emulation gt Userspace binary formats gt Power Management options gt Networking gt Device Drivers _ gt File systems gt Profiling support gt Kernel hacking gt Security options gt Cryptographic options gt Library routines gt Load an Alternate Configuration File Save an Alternate Configuration File lt Exit gt lt Help gt FIGURE 2 Device Drivers Select Memory Technology Devices MTD LINUX KE CE VELOT EL onTigqu Device Drivers Arrow keys navigate the menu lt Enter gt selects submenus gt Highlighted letters are hotkeys Pressing lt Y gt includes lt N gt excludes lt M gt modularizes features Press lt Esc gt lt Esc gt to exit lt gt for Help lt gt for Search Legend built in excluded lt M gt module lt gt module capable Generic Driver Options gt Connector unified userspace lt gt kernelspace linker gt E Memory Technology Devices MTD gt Parallel port support gt Plug and Play support gt Block devices gt ATA ATAPI MFM RLL support gt SCSI device support gt Serial ATA prod and Parallel ATA experimental dri
7. l 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 Management Wear leveling across the device s Logical to Physical block mapping e Volume information storage e Device information Filesystems Blockdevices NAND Support NOR Support nAnmmn NOR Flash FIGURE 1 UBI MTD Integration Preliminary product information describe products that are in development for which full characterization data and associated errata are not yet available eer nee Specifications and information herein are subject to change without notice S3C6410 INSTALLATION MANUAL UBI UNSORTED BLOCK IMAGES V1 0 2 Kernel Compilation 2 1 Root file System Make sure you have 2 6 compliant versions of insmod rmmod and Ismod At least you have 2 6 compliant versions of insmod 2 2 Kernel Compile In this chapter you will understand the initial steps for Installing S3C BSP on Linux operating system Kernel source is compressed by the name of s3c linux 2 6 21 tar bz2 Extract this bz2 file by executing the following command After extracting the kernel tarball file s3c linux 2 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 c
8. line partition table parsing lt gt ARM Firmware Suite partition parsing User Modules And Translation Layers lt gt Direct char device access to MTD devices Common interface to block layer for MID translation layers lt gt Caching block device access to MTD devices gt FTL Flash Translation Layer support gt NFTL NAND Flash Translation Layer support gt INFTL Inverse NAND Flash Translation Layer support gt Resident Flash Disk Flash Translation Layer support gt NAND SSFDC SmartMedia read only translation layer RAM ROM Flash chip drivers gt Mapping drivers for chip access gt Self contained MTD device drivers gt NAND Flash Device Drivers gt OneNAND Flash Device Drivers gt g UBI Unsorted block images lt Exit gt lt Help gt FIGURE 4 UBI Unsorted Block Images Select Enable UBI to Module Type 10 Utd t 1L n UBI Unsorted block images Arrow keys navigate the menu lt Enter gt selects submenus gt Highlighted letters are hotkeys Pressing lt Y gt includes lt N gt excludes lt M gt modularizes features Press lt Esc gt lt Esc gt to exit lt gt for Help lt gt for Search Legend built in excluded lt M gt module lt gt module capable lt g gt Enable UBI 4096 UBI wear leveling threshold NEW 1 Percentage of reserved eraseblocks for bad eraseblocks handling NEW Emulate MTD devices NEW UBI debugging o
9. mean erase counter 00 UBI background thread ubi_bgtod started PID 939 root samsung tmp l 3 3 Create UBI Volume Now Make a UBI Volume in MTD partition First of all make sysfs 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 Volume name is Storage and device node is ubi0 If you want to know other option you can see by input command ubimkvol h root samsung tmp j ubimkvol s 10245780 N storage d 0 UBI Yolume s node is rdev ubi0 UBI Volume make 15 Success And you want to confirm result you can see proc file system root samsung tmp cat proc mta dev size erasesize name mtda Boot loader mtdl 00064000 Kernel mtd Root Cramfs mtg3 File System mtd4 g09c9000 G0003c00 storage Preliminary product information describe products that are in development for which full characterization data and associated errata are not yet available eer nee Specifications and information herein are subject to change without notice S3C6410 INSTALLATION MANUAL UBI UNSORTED BLOCK IMAGES V1 0 3 4 M
10. ount jffs2 Finally you want to read and write in UBI Volume system is mounted temporary directory to dev mtdblock4 rootesamsung tmp mount t jffs2z fdev mtdblock4 mnt 0 loop JFFS2 write buffering enabled buffer 512 erasesize 15360 Preliminary product information describe products that are in development for which full characterization data and associated errata are not yet available eer nee Specifications and information herein are subject to change without notice 14
11. ptions UBI debugging NEW Select lt Exit gt lt Help gt FIGURE 5 Enable UBI 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 ELECTRONICS S3C6410 INSTALLATION MANUAL UBI UNSORTED BLOCK IMAGES V1 0 Select Emulate MTD devices Arrow keys navigate the menu lt Enter gt selects submenus gt Highlighted letters are hotkeys Pressing lt v gt includes lt N gt excludes lt M gt modularizes features Press lt Esc gt lt Esc gt to exit lt gt for Help lt gt for Search Legend built in excluded lt m gt module lt gt module capable lt M gt Enable UBI 4096 UBI wear leveling threshold 1 ercentage of reserved eraseblocks for bad eraseblocks handling ied E UBI debugging options BI debugging FIGURE 6 Select Emulate MTD Devices Finally select Exit and then Yes to save your new kernel configuration Do you wish to save your new kernel configuration ESC lt ESC gt to continue Y lt Wo gt FIGURE 7 Saving New Kernel configuration 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 chang
12. reliminary 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 2 S3C6410 INSTALLATION MANUAL UBI UNSORTED BLOCK IMAGES V1 0 Revision History NOTE Revised parts are written in blue Preliminary product information describe products that are in development for which full characterization data and associated errata are not yet available eer nee Specifications and information herein are subject to change without notice 3 S3C6410 INSTALLATION MANUAL UBI UNSORTED BLOCK IMAGES V1 0 CONTENTS t SNTRODUCTION iii cec cos ecaeossecnes E S 6 1 1 PURPO Ernia 6 1 2 OR eects a ssn ca sess esses erg te cme cscs eee esac ia 6 2 KERNEL COMPILATION eeseeseeseoseoseocccccccsceseoscccsececcecceccessoseoscecccsceseeseosecsccccessoseoseosecseoseoseosseeseoseose 7 2 1 ROOT RIE Y TE n 7 2 2 ERNIE C OMET Eoee e ale E 7 3 REST E E A E E 12 3 1 DOWNLOAD UBI KO ccccccccsscsscccesccesccessccssccesscescessscescceseceacececaccesscsssccsscesecsaecesscesaccesecesscescceseceaeceacenseeseeeacesnes 12 3 2 LOAD UBI MODULE c ccccccscccscccecccessccscccescsesccssccesccessecessccecascesccssscsscceesecssecessecucceacceaeccsscceseccaeceacececeaseeneeeecenss 12 3 3 CREATE UBI VOLUME c cccccecccesccesccccsccesccescccssccescecscccsccescececesscessecsusceaccesseesccsesecsa
13. ross_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 can load default configuration file that is composed with values optimized to target board In Kernel default configuration files are located in s3c linux 2 6 21 directory Load configuration file executing following command Configuration file can be found at the directory of s3c linux 2 6 21 arch arm configs You should use this board specific default configuration file for the SMDK board you are working on For SMDK6410 board root localhost s3c linux 2 6 21 make smdk6410mtd_defconfig Then type as follows root localhost s3c linux 2 6 21 make menuconfig Preliminary product information describe products that are in development for which full characterization data and associated errata are not yet available eer nee Specifications and information herein are subject to change without notice S3C6410 INSTALLATION MANUAL UBI UNSORTED BLOCK IMAGES V1 0 Select Device Drivers from the Linux Kernel Configuration Linux Kernel Configuration Arrow keys navigate the menu lt Enter gt selects submenus gt Highlighted letters are hotkeys Pressing lt Y gt includes lt N gt excludes lt M gt modularizes features Press lt Esc gt lt Esc gt to exit lt gt for Help lt gt for Search Legend built in
14. vers gt Multi device support RAID and LVM gt Fusion MPT device support gt IEEE 1394 FireWire support gt 120 device support gt Network device support gt ISDN subsystem gt Input device support gt Character devices gt 12C support gt SPI support gt Dallas s l wire bus gt Hardware Monitoring support gt L3 support gt Misc devices gt ARIS lt Exit gt lt Help gt FIGURE 3 Memory Technology Devices 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 ELECTRONICS S3C6410 INSTALLATION MANUAL UBI UNSORTED BLOCK IMAGES V1 0 Select UBI Unsorted block images Memory Technology Devices MTD Arrow keys navigate the menu lt Enter gt selects submenus gt Highlighted letters are hotkeys Pressing lt Y gt includes lt N gt excludes lt M gt modularizes features Press lt Esc gt lt Esc gt to exit lt gt for Help lt gt for Search Legend built in excluded lt M gt module lt gt module capable lt gt MID concatenating support MID partitioning support lt gt RedBoot partition table parsing 1 Location of RedBoot partition table Include unallocated flash regions i Force read only for RedBoot system images Command
Download Pdf Manuals
Related Search
Related Contents
Motorola TCR1000 Two-Way Radio User Manual Philips 107S63 User's Manual LaCie LaCinema Premier 1TB livret pédagogique.indd MDGSMI (user manual) 取扱説明書 - ソニー製品情報 it Istruzioni d`installazione e d`uso Elettropompe Il progetto Peper Park 16 DEZEMBRO 2009_REV RENE_VOL 10_N 3_2009 Copyright © All rights reserved.
Failed to retrieve file