SlideShare ist ein Scribd-Unternehmen logo
1 von 20
uclinux based ARM cortex
board(LPC1788)
Block Diagram
What basically a embedded system
is?

Embedded systems
are computers that
is built into
Devices e.g


Contents



LPC1788



The data on the card



Serial Console



Basics of boot loader U-Boot



Boot from SD



Booting via TFTP server



Recompile uCLinux
Specification





Data at a Glance:
ARM7 CPU LPC1788 (ARM7TDMI-S, little
endian).
3.5 inch T FT-called RM with back light and
touchscreen



(320x240 pixels)



MP3 decoder



64 MB SDRAM



512 KB on-chip flash



Location for SD / MMC card.
DB-9 Connector(UART)


The 9-pin D-sub connector series is as
FOLLOWS:



1 - Frame ground (N / U)



2 - Rx Data



3 - Tx Data



4 - DTR



5 - Signal Ground



6 - DSR
u-boot
->The Universal Boot Loader, is a GPL'ed cross-platform boot
loader shepherded by project leader Wolfgang Denk.
→?U-Boot supports for hundreds of embedded boards and a wide
variety of CPUs including PowerPC, ARM, MIPS, NIOS, and x86
...etc.
->You can easily configure U-Boot to strike the right balance
between a rich feature set and a small binary footprint.
->Using U-Boot to take care of the low-level board initializations,
allowing you to focus on the core of your embedded application.
->If the need arises, however, you have the source code, and can
add support for new hardware or add a special feature in U-
u-boot


Boot loader :Das U-Boot (U-Boot).



U-boot has the ability to communicate via serial port to the host development

platform.


users commits serial console ̊ which

communicates with 115200 bps, 8 data bits, no parity.


Connect the serial port and start e.g Kermit or mini com.



example:



micocom -B 115200 / dev/ttyUSB0



U-Boot has a timeout for ̊ 3 seconds as Standard.



Press any key before that to enter u-boot prompt .



All Settings SETTINGS including timeout stored in u-boot variables.



Type printenv to show all enviornment variable.


b o o t a r g s=r o o t =/d e v / ram i n i t r d
=0xa0800000 , 4 0 0 0 k c o n s o l e=t t y S 0 ,
1 1 5 2 0 0 N8



bootcmd=r u n u s b b o o t



b o o t d e l a y =3



b a u d r a t e =115200





t f t p b o o t=t f t p b o o t a0008000 l i n u x . b i
n ; t f t p b o o t a1800000 r o m f s . b i n ; go
a0008000
n a n d b o o t=nand r e a d 0 x a 0 0 0 8 0 0 0 0
U-boot prompt
U-Boot 2010.03-linux-cortexm-1.3.0 (Dec 06 2011
- 17:19:37)
CPU : LPC178x/7x series (Cortex-M3)
Freqs:
SYSTICK=108MHz,EMCCLK=54MHz,PCLK=54
MHz
Board: EA-LPC1788 rev 1
DRAM: 32 MB
Flash: 4 MB
*** Warning - bad CRC, using default environment
TFTP SERVER











tftpboot [load address] [[hostIPaddr:] boot
filename] loads a file(boot file) from a tftp server with the
boot name specified to memory address.
example:
tftpboot 0xa0008000 192.168.0.1 :/ linuxinstall/olimex/vmlinux.bin
go addr [arg ...] - k r is available on ̊ memory
address.
example:
TFTP SERVER


run was [...] - K R commands in the variable
var.



example:



The variable tftp boot controller FOLLOWS:








tftpboot 0xa0800000 192.168.0.1 :/ linuxinstall/olimex/romfs 5.img
tftpboot 0xa0008000
192.168.0.1 :/ linux-install/olimex/vmlinux.bin;
go a0008000
run tftp boot
Uclinux Compilation





FOLLOWS describes how to compile the
uClinux...
(busybox, kernel, etc).
The complete package is linux-cortexm1.6.0.tar.bz.



Unatar it to /opt



cd /opt



Type tar -xvf linux-cortexm-1.6.0.tar.bz.




Cd linux-cortexm-1.6.0 .
Activate all the toolchains and enviornment variable by
using predefiened script ACTIVATE.sh.



Go to projects directory and go inside any project.



Then type make clone new = projectname .



Now type cd .. & cd projectname.



Now type make kmenuconfig utility to configure kernel and
make bmenuconfig to configure busybox.
Kernel compilation


Select all the required things by using
Busybox compilation
->Busybox helps in selecting all the binary shell
commands.
Make




After selecting all the option just type make .
It will produce the projectname.uImage kernel compilation file in the
same directory.



Rename it to uImage and copy it to sd card.



Command to copy

cp /opt/linux-cortexm-1.6.0/projects/projectname/UImage.
/media/sdcard.


Then put the sd card in sd card slot.



It will boot the linux kernel by the help of u-boot.
Embedded Linux System Setup for ARM Cortex-M3 LPC1788 Board
Embedded Linux System Setup for ARM Cortex-M3 LPC1788 Board

Weitere ähnliche Inhalte

Was ist angesagt?

Raspberry Pi I/O控制與感測器讀取
Raspberry Pi I/O控制與感測器讀取Raspberry Pi I/O控制與感測器讀取
Raspberry Pi I/O控制與感測器讀取艾鍗科技
 
最後の楽園の開発をちょこっとだけ手伝った話
最後の楽園の開発をちょこっとだけ手伝った話最後の楽園の開発をちょこっとだけ手伝った話
最後の楽園の開発をちょこっとだけ手伝った話nullnilaki
 
Installation of windows 7 || how to boot pendrive or cd/dvd
Installation of windows 7 || how to boot pendrive or cd/dvdInstallation of windows 7 || how to boot pendrive or cd/dvd
Installation of windows 7 || how to boot pendrive or cd/dvdgourav kottawar
 
Development platform virtualization using qemu
Development platform virtualization using qemuDevelopment platform virtualization using qemu
Development platform virtualization using qemuPremjith Achemveettil
 
Simple Sheet for resource calculation of openstack compute node
Simple Sheet for resource calculation of openstack compute nodeSimple Sheet for resource calculation of openstack compute node
Simple Sheet for resource calculation of openstack compute nodeAsmaa Ibrahim
 
Terminals and Shells
Terminals and ShellsTerminals and Shells
Terminals and ShellsHoffman Lab
 
Comp 129 final exam 100% correct answers
Comp 129 final exam 100% correct answersComp 129 final exam 100% correct answers
Comp 129 final exam 100% correct answersProfessorLance
 
Determine 64 or 32 bit unix kernel and hw
Determine  64 or 32 bit unix kernel and hwDetermine  64 or 32 bit unix kernel and hw
Determine 64 or 32 bit unix kernel and hwMuqthiyar Pasha
 
Forcefully unmount a linux disk partition
Forcefully unmount a linux disk partitionForcefully unmount a linux disk partition
Forcefully unmount a linux disk partitionMuqthiyar Pasha
 
Tiny ML for spark Fun Edge
Tiny ML for spark Fun EdgeTiny ML for spark Fun Edge
Tiny ML for spark Fun Edge艾鍗科技
 
Programming OpenRISC on Altera De0_nano
Programming OpenRISC on Altera De0_nanoProgramming OpenRISC on Altera De0_nano
Programming OpenRISC on Altera De0_nanoYi-Chiao
 

Was ist angesagt? (20)

Raspberry Pi I/O控制與感測器讀取
Raspberry Pi I/O控制與感測器讀取Raspberry Pi I/O控制與感測器讀取
Raspberry Pi I/O控制與感測器讀取
 
最後の楽園の開発をちょこっとだけ手伝った話
最後の楽園の開発をちょこっとだけ手伝った話最後の楽園の開発をちょこっとだけ手伝った話
最後の楽園の開発をちょこっとだけ手伝った話
 
My First F-Stack
My First F-StackMy First F-Stack
My First F-Stack
 
Installation of windows 7 || how to boot pendrive or cd/dvd
Installation of windows 7 || how to boot pendrive or cd/dvdInstallation of windows 7 || how to boot pendrive or cd/dvd
Installation of windows 7 || how to boot pendrive or cd/dvd
 
Windows XP Professional Installation
Windows XP Professional  InstallationWindows XP Professional  Installation
Windows XP Professional Installation
 
Development platform virtualization using qemu
Development platform virtualization using qemuDevelopment platform virtualization using qemu
Development platform virtualization using qemu
 
Windows 7 installation ppt
Windows 7 installation pptWindows 7 installation ppt
Windows 7 installation ppt
 
Simple Sheet for resource calculation of openstack compute node
Simple Sheet for resource calculation of openstack compute nodeSimple Sheet for resource calculation of openstack compute node
Simple Sheet for resource calculation of openstack compute node
 
Project1
Project1Project1
Project1
 
Log
LogLog
Log
 
Terminals and Shells
Terminals and ShellsTerminals and Shells
Terminals and Shells
 
Low-level Accesses
Low-level AccessesLow-level Accesses
Low-level Accesses
 
Comp 129 final exam 100% correct answers
Comp 129 final exam 100% correct answersComp 129 final exam 100% correct answers
Comp 129 final exam 100% correct answers
 
Determine 64 or 32 bit unix kernel and hw
Determine  64 or 32 bit unix kernel and hwDetermine  64 or 32 bit unix kernel and hw
Determine 64 or 32 bit unix kernel and hw
 
Forcefully unmount a linux disk partition
Forcefully unmount a linux disk partitionForcefully unmount a linux disk partition
Forcefully unmount a linux disk partition
 
Unix Ramblings
Unix RamblingsUnix Ramblings
Unix Ramblings
 
Tiny ML for spark Fun Edge
Tiny ML for spark Fun EdgeTiny ML for spark Fun Edge
Tiny ML for spark Fun Edge
 
Jslinux
JslinuxJslinux
Jslinux
 
Programming OpenRISC on Altera De0_nano
Programming OpenRISC on Altera De0_nanoProgramming OpenRISC on Altera De0_nano
Programming OpenRISC on Altera De0_nano
 
Vimrc
VimrcVimrc
Vimrc
 

Andere mochten auch

Quickboot on i.MX6
Quickboot on i.MX6Quickboot on i.MX6
Quickboot on i.MX6Gary Bisson
 
TI TechDays 2010: swiftBoot
TI TechDays 2010: swiftBootTI TechDays 2010: swiftBoot
TI TechDays 2010: swiftBootandrewmurraympc
 
ELC-E 2010: The Right Approach to Minimal Boot Times
ELC-E 2010: The Right Approach to Minimal Boot TimesELC-E 2010: The Right Approach to Minimal Boot Times
ELC-E 2010: The Right Approach to Minimal Boot Timesandrewmurraympc
 
TDC2016SP - Trilha Linux Embarcado
TDC2016SP - Trilha Linux EmbarcadoTDC2016SP - Trilha Linux Embarcado
TDC2016SP - Trilha Linux Embarcadotdc-globalcode
 
U-Boot presentation 2013
U-Boot presentation  2013U-Boot presentation  2013
U-Boot presentation 2013Wave Digitech
 
Linux Systems Performance 2016
Linux Systems Performance 2016Linux Systems Performance 2016
Linux Systems Performance 2016Brendan Gregg
 

Andere mochten auch (7)

Quickboot on i.MX6
Quickboot on i.MX6Quickboot on i.MX6
Quickboot on i.MX6
 
TI TechDays 2010: swiftBoot
TI TechDays 2010: swiftBootTI TechDays 2010: swiftBoot
TI TechDays 2010: swiftBoot
 
Embedded Linux
Embedded LinuxEmbedded Linux
Embedded Linux
 
ELC-E 2010: The Right Approach to Minimal Boot Times
ELC-E 2010: The Right Approach to Minimal Boot TimesELC-E 2010: The Right Approach to Minimal Boot Times
ELC-E 2010: The Right Approach to Minimal Boot Times
 
TDC2016SP - Trilha Linux Embarcado
TDC2016SP - Trilha Linux EmbarcadoTDC2016SP - Trilha Linux Embarcado
TDC2016SP - Trilha Linux Embarcado
 
U-Boot presentation 2013
U-Boot presentation  2013U-Boot presentation  2013
U-Boot presentation 2013
 
Linux Systems Performance 2016
Linux Systems Performance 2016Linux Systems Performance 2016
Linux Systems Performance 2016
 

Ähnlich wie Embedded Linux System Setup for ARM Cortex-M3 LPC1788 Board

Open Enea Linux workshop at the Embedded Conference Scandinavia 2014
Open Enea Linux workshop at the Embedded Conference Scandinavia 2014Open Enea Linux workshop at the Embedded Conference Scandinavia 2014
Open Enea Linux workshop at the Embedded Conference Scandinavia 2014EneaSoftware
 
U-Boot Porting on New Hardware
U-Boot Porting on New HardwareU-Boot Porting on New Hardware
U-Boot Porting on New HardwareRuggedBoardGroup
 
U Boot or Universal Bootloader
U Boot or Universal BootloaderU Boot or Universal Bootloader
U Boot or Universal BootloaderSatpal Parmar
 
建構嵌入式Linux系統於SD Card
建構嵌入式Linux系統於SD Card建構嵌入式Linux系統於SD Card
建構嵌入式Linux系統於SD Card艾鍗科技
 
Bootstrap process of u boot (NDS32 RISC CPU)
Bootstrap process of u boot (NDS32 RISC CPU)Bootstrap process of u boot (NDS32 RISC CPU)
Bootstrap process of u boot (NDS32 RISC CPU)Macpaul Lin
 
DPDK & Layer 4 Packet Processing
DPDK & Layer 4 Packet ProcessingDPDK & Layer 4 Packet Processing
DPDK & Layer 4 Packet ProcessingMichelle Holley
 
Let's trace Linux Lernel with KGDB @ COSCUP 2021
Let's trace Linux Lernel with KGDB @ COSCUP 2021Let's trace Linux Lernel with KGDB @ COSCUP 2021
Let's trace Linux Lernel with KGDB @ COSCUP 2021Jian-Hong Pan
 
Id. 01 router (computing)
Id. 01 router (computing)Id. 01 router (computing)
Id. 01 router (computing)Rawa KirKuKi
 
LCU14 302- How to port OP-TEE to another platform
LCU14 302- How to port OP-TEE to another platformLCU14 302- How to port OP-TEE to another platform
LCU14 302- How to port OP-TEE to another platformLinaro
 
Embedded Recipes 2019 - Introduction to JTAG debugging
Embedded Recipes 2019 - Introduction to JTAG debuggingEmbedded Recipes 2019 - Introduction to JTAG debugging
Embedded Recipes 2019 - Introduction to JTAG debuggingAnne Nicolas
 
Raspberry Pi tutorial
Raspberry Pi tutorialRaspberry Pi tutorial
Raspberry Pi tutorial艾鍗科技
 
Ccna cheat sheet
Ccna cheat sheetCcna cheat sheet
Ccna cheat sheetaromal4frnz
 
AIX Advanced Administration Knowledge Share
AIX Advanced Administration Knowledge ShareAIX Advanced Administration Knowledge Share
AIX Advanced Administration Knowledge Share.Gastón. .Bx.
 
Hardware Discovery Commands
Hardware Discovery CommandsHardware Discovery Commands
Hardware Discovery CommandsKevin OBrien
 
05 module managing your network enviornment
05  module managing your network enviornment05  module managing your network enviornment
05 module managing your network enviornmentAsif
 

Ähnlich wie Embedded Linux System Setup for ARM Cortex-M3 LPC1788 Board (20)

Open Enea Linux workshop at the Embedded Conference Scandinavia 2014
Open Enea Linux workshop at the Embedded Conference Scandinavia 2014Open Enea Linux workshop at the Embedded Conference Scandinavia 2014
Open Enea Linux workshop at the Embedded Conference Scandinavia 2014
 
U-Boot Porting on New Hardware
U-Boot Porting on New HardwareU-Boot Porting on New Hardware
U-Boot Porting on New Hardware
 
CCNA CheatSheet
CCNA CheatSheetCCNA CheatSheet
CCNA CheatSheet
 
U Boot or Universal Bootloader
U Boot or Universal BootloaderU Boot or Universal Bootloader
U Boot or Universal Bootloader
 
建構嵌入式Linux系統於SD Card
建構嵌入式Linux系統於SD Card建構嵌入式Linux系統於SD Card
建構嵌入式Linux系統於SD Card
 
Bootstrap process of u boot (NDS32 RISC CPU)
Bootstrap process of u boot (NDS32 RISC CPU)Bootstrap process of u boot (NDS32 RISC CPU)
Bootstrap process of u boot (NDS32 RISC CPU)
 
DPDK & Layer 4 Packet Processing
DPDK & Layer 4 Packet ProcessingDPDK & Layer 4 Packet Processing
DPDK & Layer 4 Packet Processing
 
Let's trace Linux Lernel with KGDB @ COSCUP 2021
Let's trace Linux Lernel with KGDB @ COSCUP 2021Let's trace Linux Lernel with KGDB @ COSCUP 2021
Let's trace Linux Lernel with KGDB @ COSCUP 2021
 
Id. 01 router (computing)
Id. 01 router (computing)Id. 01 router (computing)
Id. 01 router (computing)
 
LCU14 302- How to port OP-TEE to another platform
LCU14 302- How to port OP-TEE to another platformLCU14 302- How to port OP-TEE to another platform
LCU14 302- How to port OP-TEE to another platform
 
Embedded Recipes 2019 - Introduction to JTAG debugging
Embedded Recipes 2019 - Introduction to JTAG debuggingEmbedded Recipes 2019 - Introduction to JTAG debugging
Embedded Recipes 2019 - Introduction to JTAG debugging
 
Raspberry Pi tutorial
Raspberry Pi tutorialRaspberry Pi tutorial
Raspberry Pi tutorial
 
Ccna cheat sheet
Ccna cheat sheetCcna cheat sheet
Ccna cheat sheet
 
Cisco CCENT Cram Notes
Cisco CCENT Cram NotesCisco CCENT Cram Notes
Cisco CCENT Cram Notes
 
Solaris
SolarisSolaris
Solaris
 
Presentation
PresentationPresentation
Presentation
 
unit-2.pptx
unit-2.pptxunit-2.pptx
unit-2.pptx
 
AIX Advanced Administration Knowledge Share
AIX Advanced Administration Knowledge ShareAIX Advanced Administration Knowledge Share
AIX Advanced Administration Knowledge Share
 
Hardware Discovery Commands
Hardware Discovery CommandsHardware Discovery Commands
Hardware Discovery Commands
 
05 module managing your network enviornment
05  module managing your network enviornment05  module managing your network enviornment
05 module managing your network enviornment
 

Kürzlich hochgeladen

Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 

Kürzlich hochgeladen (20)

Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 

Embedded Linux System Setup for ARM Cortex-M3 LPC1788 Board

  • 1. uclinux based ARM cortex board(LPC1788)
  • 3. What basically a embedded system is? Embedded systems are computers that is built into Devices e.g 
  • 4. Contents  LPC1788  The data on the card  Serial Console  Basics of boot loader U-Boot  Boot from SD  Booting via TFTP server  Recompile uCLinux
  • 5. Specification    Data at a Glance: ARM7 CPU LPC1788 (ARM7TDMI-S, little endian). 3.5 inch T FT-called RM with back light and touchscreen  (320x240 pixels)  MP3 decoder  64 MB SDRAM  512 KB on-chip flash  Location for SD / MMC card.
  • 6.
  • 7. DB-9 Connector(UART)  The 9-pin D-sub connector series is as FOLLOWS:  1 - Frame ground (N / U)  2 - Rx Data  3 - Tx Data  4 - DTR  5 - Signal Ground  6 - DSR
  • 8. u-boot ->The Universal Boot Loader, is a GPL'ed cross-platform boot loader shepherded by project leader Wolfgang Denk. →?U-Boot supports for hundreds of embedded boards and a wide variety of CPUs including PowerPC, ARM, MIPS, NIOS, and x86 ...etc. ->You can easily configure U-Boot to strike the right balance between a rich feature set and a small binary footprint. ->Using U-Boot to take care of the low-level board initializations, allowing you to focus on the core of your embedded application. ->If the need arises, however, you have the source code, and can add support for new hardware or add a special feature in U-
  • 9. u-boot  Boot loader :Das U-Boot (U-Boot).  U-boot has the ability to communicate via serial port to the host development platform.  users commits serial console ̊ which communicates with 115200 bps, 8 data bits, no parity.  Connect the serial port and start e.g Kermit or mini com.  example:  micocom -B 115200 / dev/ttyUSB0  U-Boot has a timeout for ̊ 3 seconds as Standard.  Press any key before that to enter u-boot prompt .  All Settings SETTINGS including timeout stored in u-boot variables.  Type printenv to show all enviornment variable.
  • 10.  b o o t a r g s=r o o t =/d e v / ram i n i t r d =0xa0800000 , 4 0 0 0 k c o n s o l e=t t y S 0 , 1 1 5 2 0 0 N8  bootcmd=r u n u s b b o o t  b o o t d e l a y =3  b a u d r a t e =115200   t f t p b o o t=t f t p b o o t a0008000 l i n u x . b i n ; t f t p b o o t a1800000 r o m f s . b i n ; go a0008000 n a n d b o o t=nand r e a d 0 x a 0 0 0 8 0 0 0 0
  • 11. U-boot prompt U-Boot 2010.03-linux-cortexm-1.3.0 (Dec 06 2011 - 17:19:37) CPU : LPC178x/7x series (Cortex-M3) Freqs: SYSTICK=108MHz,EMCCLK=54MHz,PCLK=54 MHz Board: EA-LPC1788 rev 1 DRAM: 32 MB Flash: 4 MB *** Warning - bad CRC, using default environment
  • 12. TFTP SERVER       tftpboot [load address] [[hostIPaddr:] boot filename] loads a file(boot file) from a tftp server with the boot name specified to memory address. example: tftpboot 0xa0008000 192.168.0.1 :/ linuxinstall/olimex/vmlinux.bin go addr [arg ...] - k r is available on ̊ memory address. example:
  • 13. TFTP SERVER  run was [...] - K R commands in the variable var.  example:  The variable tftp boot controller FOLLOWS:     tftpboot 0xa0800000 192.168.0.1 :/ linuxinstall/olimex/romfs 5.img tftpboot 0xa0008000 192.168.0.1 :/ linux-install/olimex/vmlinux.bin; go a0008000 run tftp boot
  • 14. Uclinux Compilation    FOLLOWS describes how to compile the uClinux... (busybox, kernel, etc). The complete package is linux-cortexm1.6.0.tar.bz.  Unatar it to /opt  cd /opt  Type tar -xvf linux-cortexm-1.6.0.tar.bz.
  • 15.   Cd linux-cortexm-1.6.0 . Activate all the toolchains and enviornment variable by using predefiened script ACTIVATE.sh.  Go to projects directory and go inside any project.  Then type make clone new = projectname .  Now type cd .. & cd projectname.  Now type make kmenuconfig utility to configure kernel and make bmenuconfig to configure busybox.
  • 16. Kernel compilation  Select all the required things by using
  • 17. Busybox compilation ->Busybox helps in selecting all the binary shell commands.
  • 18. Make   After selecting all the option just type make . It will produce the projectname.uImage kernel compilation file in the same directory.  Rename it to uImage and copy it to sd card.  Command to copy cp /opt/linux-cortexm-1.6.0/projects/projectname/UImage. /media/sdcard.  Then put the sd card in sd card slot.  It will boot the linux kernel by the help of u-boot.