SlideShare a Scribd company logo
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.
Uclinux
Uclinux

More Related Content

What's hot

Raspberry Pi I/O控制與感測器讀取
Raspberry Pi I/O控制與感測器讀取Raspberry Pi I/O控制與感測器讀取
Raspberry Pi I/O控制與感測器讀取
艾鍗科技
 
最後の楽園の開発をちょこっとだけ手伝った話
最後の楽園の開発をちょこっとだけ手伝った話最後の楽園の開発をちょこっとだけ手伝った話
最後の楽園の開発をちょこっとだけ手伝った話
nullnilaki
 
My First F-Stack
My First F-StackMy First F-Stack
My First F-Stack
Naoto MATSUMOTO
 
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
gourav kottawar
 
Windows XP Professional Installation
Windows XP Professional  InstallationWindows XP Professional  Installation
Windows XP Professional Installation
Nagarajan Kamalakannan
 
Development platform virtualization using qemu
Development platform virtualization using qemuDevelopment platform virtualization using qemu
Development platform virtualization using qemu
Premjith Achemveettil
 
Windows 7 installation ppt
Windows 7 installation pptWindows 7 installation ppt
Windows 7 installation ppt
Nagarajan Kamalakannan
 
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
Asmaa Ibrahim
 
Project1
Project1Project1
Project1
Surya Bheri
 
Log
LogLog
Terminals and Shells
Terminals and ShellsTerminals and Shells
Terminals and Shells
Hoffman Lab
 
Low-level Accesses
Low-level AccessesLow-level Accesses
Low-level Accesses
Anil Kumar Pugalia
 
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
ProfessorLance
 
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
Muqthiyar Pasha
 
Forcefully unmount a linux disk partition
Forcefully unmount a linux disk partitionForcefully unmount a linux disk partition
Forcefully unmount a linux disk partition
Muqthiyar Pasha
 
Unix Ramblings
Unix RamblingsUnix Ramblings
Unix Ramblings
Bill Miller
 
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
Hiro Yoshioka
 
Programming OpenRISC on Altera De0_nano
Programming OpenRISC on Altera De0_nanoProgramming OpenRISC on Altera De0_nano
Programming OpenRISC on Altera De0_nano
Yi-Chiao
 
Vimrc
VimrcVimrc
Vimrc
Ted Hsu
 

What's hot (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
 

Viewers also liked

Quickboot on i.MX6
Quickboot on i.MX6Quickboot on i.MX6
Quickboot on i.MX6
Gary Bisson
 
TI TechDays 2010: swiftBoot
TI TechDays 2010: swiftBootTI TechDays 2010: swiftBoot
TI TechDays 2010: swiftBoot
andrewmurraympc
 
Embedded Linux
Embedded LinuxEmbedded Linux
Embedded Linux
Quotient Technology Inc.
 
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
andrewmurraympc
 
TDC2016SP - Trilha Linux Embarcado
TDC2016SP - Trilha Linux EmbarcadoTDC2016SP - Trilha Linux Embarcado
TDC2016SP - Trilha Linux Embarcado
tdc-globalcode
 
U-Boot presentation 2013
U-Boot presentation  2013U-Boot presentation  2013
U-Boot presentation 2013
Wave Digitech
 
Linux Systems Performance 2016
Linux Systems Performance 2016Linux Systems Performance 2016
Linux Systems Performance 2016
Brendan Gregg
 

Viewers also liked (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
 

Similar to Uclinux

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
EneaSoftware
 
U-Boot Porting on New Hardware
U-Boot Porting on New HardwareU-Boot Porting on New Hardware
U-Boot Porting on New Hardware
RuggedBoardGroup
 
CCNA CheatSheet
CCNA CheatSheetCCNA CheatSheet
CCNA CheatSheet
Eng. Emad Al-Atoum
 
U Boot or Universal Bootloader
U Boot or Universal BootloaderU Boot or Universal Bootloader
U Boot or Universal Bootloader
Satpal 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 Processing
Michelle 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 2021
Jian-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 platform
Linaro
 
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
Anne Nicolas
 
Raspberry Pi tutorial
Raspberry Pi tutorialRaspberry Pi tutorial
Raspberry Pi tutorial
艾鍗科技
 
Ccna cheat sheet
Ccna cheat sheetCcna cheat sheet
Ccna cheat sheet
aromal4frnz
 
Cisco CCENT Cram Notes
Cisco CCENT Cram NotesCisco CCENT Cram Notes
Cisco CCENT Cram Notes
Vijayanand Yadla
 
Solaris
SolarisSolaris
Presentation
PresentationPresentation
Presentation
Abhijit Das
 
unit-2.pptx
unit-2.pptxunit-2.pptx
unit-2.pptx
KanchanThory
 
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 Commands
Kevin OBrien
 
05 module managing your network enviornment
05  module managing your network enviornment05  module managing your network enviornment
05 module managing your network enviornment
Asif
 

Similar to Uclinux (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
 

Recently uploaded

Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)
nitinpv4ai
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
nitinpv4ai
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
Iris Thiele Isip-Tan
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Henry Hollis
 
Observational Learning
Observational Learning Observational Learning
Observational Learning
sanamushtaq922
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
 
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
ImMuslim
 
How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17
Celine George
 
220711130083 SUBHASHREE RAKSHIT Internet resources for social science
220711130083 SUBHASHREE RAKSHIT  Internet resources for social science220711130083 SUBHASHREE RAKSHIT  Internet resources for social science
220711130083 SUBHASHREE RAKSHIT Internet resources for social science
Kalna College
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
zuzanka
 
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
TechSoup
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
EduSkills OECD
 
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
Payaamvohra1
 
Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.
IsmaelVazquez38
 
BPSC-105 important questions for june term end exam
BPSC-105 important questions for june term end examBPSC-105 important questions for june term end exam
BPSC-105 important questions for june term end exam
sonukumargpnirsadhan
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
PsychoTech Services
 
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxxSimple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
RandolphRadicy
 
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptxContiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Kalna College
 

Recently uploaded (20)

Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
 
Educational Technology in the Health Sciences
Educational Technology in the Health SciencesEducational Technology in the Health Sciences
Educational Technology in the Health Sciences
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
 
Observational Learning
Observational Learning Observational Learning
Observational Learning
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
 
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
 
How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17
 
220711130083 SUBHASHREE RAKSHIT Internet resources for social science
220711130083 SUBHASHREE RAKSHIT  Internet resources for social science220711130083 SUBHASHREE RAKSHIT  Internet resources for social science
220711130083 SUBHASHREE RAKSHIT Internet resources for social science
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
 
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
 
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
NIPER 2024 MEMORY BASED QUESTIONS.ANSWERS TO NIPER 2024 QUESTIONS.NIPER JEE 2...
 
Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.Bossa N’ Roll Records by Ismael Vazquez.
Bossa N’ Roll Records by Ismael Vazquez.
 
BPSC-105 important questions for june term end exam
BPSC-105 important questions for june term end examBPSC-105 important questions for june term end exam
BPSC-105 important questions for june term end exam
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
 
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxxSimple-Present-Tense xxxxxxxxxxxxxxxxxxx
Simple-Present-Tense xxxxxxxxxxxxxxxxxxx
 
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptxContiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptx
 

Uclinux

  • 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.