Documente Academic
Documente Profesional
Documente Cultură
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
Agenda
Roadmap
Features
of i.Mx51 Processor
i.MX51 Website
i.MX51 EVK
Linux BSP release packages
Installing and Building LTIB (Exercise 1)
NFS on i.Mx51 (Exercise 2)
Creating a hello world application from scratch (Exercise 3)
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
Cortex A8
Open VG 1.1
OpenGL ES 2.0
Security
i.MX513
i.MX357
Associated
PMIC:
MC13783
OpenGL ES 1.1 3D
i.MX31L
ARM9
D1 Video Encode
D1 Video Encode
i.MX27L
i.MX258
Security
Associated
PMIC:
MC34704B
Next Gen
i.MX257
ARM926, 400MHz
Ethernet, mDDR
Touchscreen
CAN x 2
i.MX253
In Development
i.MX512
i.MX27
Open VG 1.1
i.MX353
i.MX31
ARM11
Next Gen
i.MX515
ARM926, 400MHz
Ethernet, DDR2
USB Phy x 2
2009
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
i.MX233
ARM926, 450MHz
Touchscreen
Integrated PM, Audio
2010
2011
TM
Low Power (Audio < 18 mW system, HD720 Video < 250 mW)
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
Other
120
TI
100
Qualcomm
18M
17M
18M
Freescale
MU 80
Smartbook
140
21M
x86
65M
40
20
Netbook
60
2008
2009
2010
2011
2012
2013
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
Smartbooks
eBooks
Portable Media Player
Media Phone/Terminal
Digital Photo Frame
High-End Appliances
Digital Signage
Printers
Infotainment Systems
Navigation
Telematics
Instrument Cluster
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
The i.MX51 family of processors runs on the powerful ARM Cortex-A8 core at speeds up to 800 MHz, which allows for roughly 2 MIPS
per MHz. In addition, the i.MX51 processor offers flexible memory support for mDDR, SDRAM, SLC/MLC NAND, popular lower-cost
DDR2, a NEONTM co-processor and VFPU. The high performance of the i.MX51 family of processors enables life-like video and 3-D
graphics reproduction and quick response times needed for advanced user interfaces and sophisticated video processing - the
building blocks to power the next great applications.
Integration
The i.MX51 products integrates five engines including the ARM Cortex-A8 processor, Open VGTM, OpenGL-ES, D1 video
encode/HD720 decode and ARM NEON technology. Depending on the intended application, different engines are enabled to
achieve maximum performance/power ratios for each application space. This exceptional integration simplifies and shortens design
time.
The i.MX51 delivers extreme performance and low power consumption, helping developers design products that meet todays
demands for energy efficiency. Advanced power management features used throughout the i.MX51 processor enable a rich suite of
multimedia features and peripherals while maintaining minimal system power consumption in both active and low-power modes, which
provides device end-users with long, long play times for hours of work or entertainment use.
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
System
Control
Cortex
Cortex A8
A8
ARM-based
ARM-based CPU
CPU
ARM-based CPU
800 MHz performance
SIMD/Neon
Timers
Memory
Open OS execution
Web browsing
Vector Floating
Point Unit
Voice recognition
Connectivity
Video
Processing Unit
Image
Processing Unit
Security
2D
Graphics
3D
Graphics
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
System
Control
Cortex A8
ARM-based CPU
Neon/SIMD DSP
Audio and speech codecs
Neon/SIMD
Neon/SIMD
Timers
Memory
Vector Floating
Point Unit
Image processing
Video
Processing Unit
Image
Processing Unit
Security
2D
Graphics
3D
Graphics
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
System
Control
Cortex A8
ARM-based CPU
Vector FP DSP
Acoustic echo
cancellation
SIMD/Neon
Noise suppression
Timers
Memory
Vector Floating
Point
Point Unit
Unit
Connectivity
Video
Processing Unit
Image
Processing Unit
Security
2D
Graphics
3D
Graphics
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
10
TM
10
System
Control
Cortex A8
ARM-based CPU
SIMD/Neon
Multi-standard video
playback/record
Video telephony
Timers
Memory
Vector Floating
Point Unit
Video transcoding
Connectivity
Video
Video
Processing
Processing Unit
Unit
Image
Processing Unit
Security
2D
Graphics
3D
Graphics
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
11
TM
11
System
Control
Timers
Memory
Cortex A8
ARM-based CPU
SIMD/Neon
Image processing
routines like scaling,
rotation and postprocessing
Vector Floating
Point Unit
Connectivity
Video
Processing Unit
Photo editing
Multiple display output
Multiple camera input
Image
Image
Processing
Processing Unit
Unit
Security
2D
Graphics
3D
Graphics
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
12
TM
12
System
Control
Cortex A8
ARM-based CPU
2D Graphics
SIMD/Neon
Timers
Memory
Vector Floating
Point Unit
Connectivity
Video
Processing Unit
Image
Processing Unit
Security
2D
2D
Graphics
Graphics
3D
Graphics
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
13
Open VG support
VG accelerated web
browsing (both Flash lite/
silverlight and page render)
Map display with both 3D
and VG views
Enhanced Music and
album visualization
X window system
acceleration
Ebook PDF
TM
13
System
Control
Cortex A8
ARM-based CPU
3D Graphics
OpenGL ES support
SIMD/Neon
Timers
Memory
Advanced UI
Flash 10 acceleration
Vector Floating
Point Unit
3D navigation
Connectivity
Video
Processing Unit
Gaming
Excellent Youtube
experience
Image
Processing Unit
Security
2D
Graphics
3D
3D
Graphics
Graphics
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
14
TM
14
System
Control
Cortex A8
ARM-based CPU
Security
Hardware security
accelerators
SIMD/Neon
Secure boot
Timers
Memory
Vector Floating
Point Unit
Connectivity
Video
Processing Unit
Image
Processing Unit
Security
Security
2D
Graphics
Tamper detection
Secure financial
transactions
3D
Graphics
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
15
Cryptographic
accelerators
TM
15
i.MX512
i.MX513
i.MX514
i.MX515
i.MX516
Target Markets
Consumer, Industrial
Automotive
Automotive
Target
Segments
Factory Automation
(Ethernet)
HMI
Portable/Tethered
Printers
Medical devices
Ebooks
IP Camera
Media Phones
Digital Signage
HMI (home
appliances, etc)
Medical devices
Navigation
Advanced HMI
Instrument
Cluster
Telematics
Smartbook
Mobile internet devices
PMPs
Secure Devices
Advanced HMI
High-end PDAs
Infotainment
Rear Seat
Entertainment
Core
Cortex-A8
Cortex-A8
Cortex-A8
Cortex-A8
Cortex-A8
CPU Speed
Up to 600 MHz
Up to 600 MHz
DDR2
Integrated USB Phys
Integrated Ethernet
Vector Floating Point
HD 720 TV-Out
i.MX512 +
HW Video Codec:
Multi-format D1 video
encode & multi-format
HD720 decode
i.MX512 +
OpenGL ES 2.0
3D accelerator
OpenVG 1.1
graphics
accelerator
Security: Sahara
v4 & Trust Zone
i.MX513 +
OpenGL ES 2.0 3D
accelerator
OpenVG 1.1 graphics
accelerator
Security: Sahara v4 &
Trust Zone
i.MX514 +
HW Video Codec:
Multi-format D1
video encode &
multi-format
HD720 decode
0.8mm 529BGA
0.5mm 527BGA
0.8mm 529BGA
0.5mm 527BGA
0.8mm 529BGA
0.5mm 527BGA
0.8mm 529BGA
0.5mm 527BGA
0.8mm 529BGA
0.5mm 527BGA
Key Differences
Package
Positioning
Video supported
Automotive support
for graphics and
security
10KU
Suggested
Disty Resale
2010
OS
Linux, WinCE,
RTOS
General
Availability
Consumer: Now
Industrial: May 2010
Consumer: Now
Industrial: May 2010
April 2010
Consumer: Now
Industrial: May 2010
April 2010
Because of an order from the United States International Trade Commission, BGA-packaged product lines and part numbers indicated here currently are not
available from Freescale for import or sale in the United States prior to September 2010: i.MX51 0.5 mm pitch packages
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
16
Specifications:
CPU:
Process:
Core Voltage:
Package:
Temp Range:
i.MX51
System
Control
Secure JTAG
Power Mgmt
PLL x 3
Clock Reset
ARM CortexTM-A8
Fast IrDA
32KB
32KB
256KB
i-cache d-cache L2-cache
HS MMC/SDIO x4
Neon
Available Parts
Availability:
Market:
Sample:
Production:
I2C x3
Multimedia
Watch Dog
HW Video Codecs
ROM 32KB
RAM 128KB
HD720 TV-Out
GPIO
Display Controller
Keypad
Ethernet
Sahara v4
SCC v2
ATA-6
OpenVG1.1
Memory
TrustZone
1-Wire
OpenGL ES 2.0
Inversion / Rotation
Image Enhancement
Camera
SRTC
eFUSES
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
UART x3
SSI/I2S x3
PWM x2
RTIC
ETM
Timer x3
Security
CSPI HS x2 / LS x1
Vector Floating
Point Unit
Timers
Connectivity
CPU Platform
Smart DMA
TM
17
Multimedia *
Encode D1 30fps (MPEG4 SP, H.264 BP, MJPEG)
Decode HD720 30fps (MPEG2 MP, MPEG4 ASP, H.264 HP,
VC-1 AP, DivX, RV10)
Graphics OpenVG1.1, OpenGL ES 2.0 @ 27M Tri/sec
TV Encoder Component, Composite or S-Video out at 720p
Camera
Camera sensor I/F (x2)
Up to 8Mpixel @ 15fps, Up 133Mpixel/sec
Resizing, Inversion, Rotation
Color Space conversion, video/graphics combining
Display
Up to WXGA display - 24 bit @ 60fps
Secondary Display Support
* Dependent on processor
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
Connectivity
High speed USB OTG w/ embedded Phy, Host HS x3
MobileDDR, DDR2 (Up to 200MHz bus speed )
SLC/MLC NAND Flash 8/16-bit, NAND/NOR
High speed MMC\SDIO, UART, I2C, SPI
ATA-6
3.3V support on HD, SDIO, and SIM I/F
Ethernet controller
Security *
TrustZone
AES, DES/3DES, SHA-1, SHA-224, SHA-256
Run time integrity checker (RTICv3)
Secure High Assurance Boot
Security Controller (SCC), including Secure RAM and
Security Monitor
Random Number Generator Accelerator (RNGA)
Secure JTAG Controller (with electrical fuses)
Secure real-time clock
Universal Unique Identification
Tamper Detection
Power Management
Advanced power management (DVFS)
State retention power gating
Multiple independent clock and power domains
TM
18
SoC
65nm technology
Mix of Low Power (low leakage) and General Purpose (high performance) transistors
Allows high performing CPU with minimal SoC power consumption
Hardware acceleration of all performance intensive multimedia tasks independent of CPU
Peripheral VDD
CPU Core
(SRPG)
switch
Memory VDD
L1 Cache
L2 Cache
PLL1-3
PLL VDD
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
VPU
(PG1)
Peripherals
Core VDD
GPUv2
(PG2)
IPUv3
(PG4)
SRTC
SRTC VDD
TM
19
i.MX51 Graphics
Native
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
20
Part Numbers
MC13892JVK 7x7 mm
MC13892JVL 12x12 mm
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
12 LDO
Li Charging
1 boost, 5V, adaptive
Processor Cores REGULATORS
Wall / USB
Split Pwr
14 LDOs
SD Card
Protection
Domains
Peripherals
Main
batt & coincell chgrs, GP ADC
Coincell
Charger
Ext Memory
SRTC, etc
Coulomb
Counter
WLED
backlight drivers
I/O (main/aux, keypad)
BACKLIGHT
DRIVERS
Serial LEDs
28V Adaptive Boost
Main Display
Aux / Flashlight
Keypad
AUDIO
3 banksSUBSYSTEM
RGB drivers w/ funlights
13bit ADC (8/16KHz)
5V BOOST
13bit
voice DAC;BIAS
16bit&stereo DAC
10 BIT
GPADC
LED DRIVERS
SWITCHER
Class
AB handset
spkr & loudspkr amps
REFERENCES
Charging
Monitoring
Red Green Blue
USB OTG Supply
Trimmed
Bandgap
General
Purpose
Charger
Sign of Life
1 handset mic, 1 headset mic
RGB
Phone/music headset support
& (Rx/Tx
CONTROL
INTERFACE
USB path audio
+ stereo playback)
SPI, SSI
POWER
USB
OTG
full
speed
/
low
speed,
CONTROL
LOGIC
TOUCH SCREEN
State
Machine
UART,
carkit
INTERFACE
32KHz crystal oscillator
MC13892
32.768kHz
PROCESSOR LOGIC
INTERFACING
Xtal Oscilator
RTC
CONTROL
INTERFACE
SPI /I2C
TM
21
Features
Advantage
Benefit
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
22
Board
size =
5 x 5
MCIMX51EVKJ
www.freeescale.com/imx51evk
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
23
LCD module
MCIMX51LCD
$250 Resale
CPT 7 WVGA with resistive
touch screen
i.MX51
Expansion Board
MCIMX51EXP
$200 Resale
Features
CMOS Camera
TV out
Keypad
UART
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
24
VGA
SATA HDD
WiFi
3G
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
25
Smartbook
Phone / Smartphone
(4 - 7 LCD)
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
26
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
27
i.MX51 Information
http://www.freescale.com/webapp/sps/site/taxonomy.jsp?code=IMX51_FAMILY
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
28
i.MX51 IC Document
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX515&fpsp=1
&tab=Documentation_Tab
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
29
i.MX51 EVK(Babbage)
i.MX51 EVK(Babbage)
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX515
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
30
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
31
LVDS
Connector-1
UART
5VDC Jack
Resistive Touch
Header
Display Expansion
Header
Ethernet
Power Measurement
Header
USB-OTG
V2IP Headphone
MMC/SD-2
Stereo Headphone
Mini-PCIe
Reset
Power
On/Off
Expansion Header
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
32
LVDS Con-2
JTAG
Connector
SATA HDD
Connector
SIM Card
connector
Mic conn.
Speaker Conn.
SD/MMC-1
USB Camera conn.
PS-2 TP
connector
Key-board connector
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
33
https://www.freescale.com/security/public/login.LoginActionController.sp
2. Input your email address and choose your login password and then
press Next to continue:
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
34
Linux
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
BSP
TM
35
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
36
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
37
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
38
LTIB
Boot loader sources (redboot) and toolchain
Kernel and driver sources (kernel.org code + FSL patches)
User space packages
Compiler/Linker and friends (GNU ARM, currently 4.1.2 eABI/VFP)
Documentation (L2.6.28_4.5.1_SDK_Aug2009_docs.tar.gz)
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
39
BSP License
(MESH)
driver
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
40
Install
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
41
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
42
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
43
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
44
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
45
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
46
Commands
User
name william
Password - william
Username root
Password- Freescale123
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
47
LTIB instruction
Stands
is
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
48
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
49
sharing)
K-scope (Code editing in Linux)
Meld (file/directory comparison tool)
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
50
bison
g++
gettext
libbeecrypt6
libglib2.0-dev
libncurses5-dev
librpm4.4
m4
patch
rpm
tcl
tcl8.4
zlib1g-dev
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
51
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
52
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
53
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
54
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
55
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
56
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
57
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
58
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
59
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
60
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
61
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
62
configuration
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
63
LTIB Tips
LTIB help
./ltib help
To switch to a different board, enter the following command
./ltib selectype
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
64
TM
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
Target Board
Bootloader
Bootloader
Kernel
Kernel
File System :
Kernel Modules
Kernel Modules
Shared Libraries
Applications
Miscellaneous system files
File system
Target Memory
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
66
BOOTLOADERS
Target Board
Bootloader
Kernel
File system
Common bootloaders
ColdFire Colilo, u-boot, dBUG
Power Architecture u-boot
ARM blob, redboot, u-boot
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
67
KERNEL
Target Board
Bootloader
Kernel
devices (drivers)
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
68
KERNEL MODULES
Target Board
Bootloader
Kernel
Kernel Modules
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
File System
TM
69
FILE SYSTEM
Target Board
Bootloader
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
File system
TM
70
Linux Host PC
NFS Server
Exports
Target File
System
Target Board
Bootloader
Mount
Kernel
TM
71
Target Board
Target File
System
loaded into
RAM
Bootloader
Co
py
to
RA
M
Kernel
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
72
Target Board
Bootloader
Kernel
JFFS2
File system
written to flash)
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
73
Target Board
Bootloader
GLIBC - UCLIBC
Kernel
Shared Libraries
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
File System
TM
74
Target Board
Bootloader
Kernel
Shared Libraries
File System
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
75
TM
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
Target Board
Bootloader
Bootloader
Initializes board
Loads and starts kernel
Kernel
Kernel
Continued board initialization
Mounts file system
Starts an application called init
Kernel Modules
File System
File system
TM
77
LTIB
Kernel and RFS Configuration
TM
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
LTIB
Philosophy
Freescale GNU/Linux Target Image
It
provides
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
79
LTIB
Philosophy
LTIB
Standard
More
LTIB
cross compiler
boot loader sources
kernel sources
kernel configuration
top level config file ... main.lkc
BSP config file ... defconfig
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
80
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
81
TM
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
83
contain :
Tools
LTIB
Toolchain
Toolchains
Compilers/Linkers
Source Code
Source Code
Bootloaders (most)
Kernel and drivers
Applications
Deployment
Deployment
Automated or instructions
Documentation
Documentation
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
84
GNU
Toolchains
GNU
Toolchain
GNU
Toolchains
Compilers
Compilers
GCC
G++
Libraries
GLIBC
libstdc++
Match to target system libs
Libraries
Binutils
ld (linker)
as (assembler)
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
Binutils
TM
85
Support Limitations
Engineering is 100% engaged in current road map to facilitate new silicon
Bugs are verified and accepted
Fixes/Patches are worked into future revs of the specific BSP
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
86
Boot from SD
It is a quite common use case, especially useful for demo and test. Put all (bootloader, kernel
and root file system) into a removable SD card and boot board from SD card.
No matter which method you will use, the 1st thing you need do is to program the bootloader into
the board (SPI Nor, NAND or SD).
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
87
meaning
typical value
Note
console
console=ttymxc0, 115200
init
init=/init or noinitrd
ip
ip=none, dhcp
or static_ip_address
mem
mem=456M
nfsroot
rootfs=ip_address:/opt/nfsroot
root
root=/dev/nfs
or
root=/dev/mmcblk0p1
rootfstype
rootfstype=ext2,ext3 or jffs2
video
video=mxcfb:1024x76816M@60
wvga
wvga
calibration
calibration
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
88
Adding rootdelay
Mounting
may fail.
Ans: this issue might be related to the timing of rootfs storage. Adding
rootdelay=5 command option in kernel boot parameter. It can
ensure additional time is reserved for storage initialization before
mounting the rootfs. Or, slow down the DRAM clock by redboot
command.
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
89
Commands
Cp zImage to /tftpboot
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
90
m shell
Mkdir hello
Cd hello
Vi hello.c
Gcc hello.c o hello
Exit
Copy the hello executable from hello folder to rootfs
./hello
Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are
the property of their respective owners. Freescale Semiconductor, Inc. 2007.
TM
91
TM