SlideShare a Scribd company logo
Submit Search
Upload
BeagleBone Black Booting Process
Report
Share
S
SysPlay eLearning Academy for You
SysPlay eLearning Academy for You
Follow
•
7 likes
•
18,295 views
1
of
29
BeagleBone Black Booting Process
•
7 likes
•
18,295 views
Report
Share
Technology
Booting Process of BeagleBone Black
Read more
S
SysPlay eLearning Academy for You
SysPlay eLearning Academy for You
Follow
Recommended
BeagleBone Black Bootloaders by
BeagleBone Black Bootloaders
SysPlay eLearning Academy for You
4.6K views
•
24 slides
Bootloaders by
Bootloaders
Anil Kumar Pugalia
10K views
•
19 slides
BeagleBoard-xM Booting Process by
BeagleBoard-xM Booting Process
SysPlay eLearning Academy for You
3.8K views
•
25 slides
Linux Porting by
Linux Porting
Anil Kumar Pugalia
17.5K views
•
29 slides
U-Boot - An universal bootloader by
U-Boot - An universal bootloader
Emertxe Information Technologies Pvt Ltd
3K views
•
46 slides
LCU13: An Introduction to ARM Trusted Firmware by
LCU13: An Introduction to ARM Trusted Firmware
Linaro
30.4K views
•
26 slides
More Related Content
What's hot
Linux watchdog timer by
Linux watchdog timer
RajKumar Rampelli
3K views
•
7 slides
Basics of boot-loader by
Basics of boot-loader
iamumr
8.3K views
•
13 slides
Jagan Teki - U-boot from scratch by
Jagan Teki - U-boot from scratch
linuxlab_conf
708 views
•
90 slides
USB Drivers by
USB Drivers
Anil Kumar Pugalia
42.9K views
•
31 slides
I2C Drivers by
I2C Drivers
SysPlay eLearning Academy for You
28.8K views
•
28 slides
BeagleBone Black Bootloaders by
BeagleBone Black Bootloaders
SysPlay eLearning Academy for You
4K views
•
27 slides
What's hot
(20)
Linux watchdog timer by RajKumar Rampelli
Linux watchdog timer
RajKumar Rampelli
•
3K views
Basics of boot-loader by iamumr
Basics of boot-loader
iamumr
•
8.3K views
Jagan Teki - U-boot from scratch by linuxlab_conf
Jagan Teki - U-boot from scratch
linuxlab_conf
•
708 views
USB Drivers by Anil Kumar Pugalia
USB Drivers
Anil Kumar Pugalia
•
42.9K views
I2C Drivers by SysPlay eLearning Academy for You
I2C Drivers
SysPlay eLearning Academy for You
•
28.8K views
BeagleBone Black Bootloaders by SysPlay eLearning Academy for You
BeagleBone Black Bootloaders
SysPlay eLearning Academy for You
•
4K views
U-Boot presentation 2013 by Wave Digitech
U-Boot presentation 2013
Wave Digitech
•
18.7K views
Trusted firmware deep_dive_v1.0_ by Linaro
Trusted firmware deep_dive_v1.0_
Linaro
•
10K views
SFO15-TR9: PSCI, ACPI (and UEFI to boot) by Linaro
SFO15-TR9: PSCI, ACPI (and UEFI to boot)
Linaro
•
3.4K views
Linux Internals - Part II by Emertxe Information Technologies Pvt Ltd
Linux Internals - Part II
Emertxe Information Technologies Pvt Ltd
•
4K views
Uboot startup sequence by Houcheng Lin
Uboot startup sequence
Houcheng Lin
•
33.7K views
U Boot or Universal Bootloader by Satpal Parmar
U Boot or Universal Bootloader
Satpal Parmar
•
21.1K views
XPDS16: Porting Xen on ARM to a new SOC - Julien Grall, ARM by The Linux Foundation
XPDS16: Porting Xen on ARM to a new SOC - Julien Grall, ARM
The Linux Foundation
•
2.3K views
linux device driver by Rahul Batra
linux device driver
Rahul Batra
•
11.4K views
PCI Drivers by Anil Kumar Pugalia
PCI Drivers
Anil Kumar Pugalia
•
44.5K views
Bootloaders (U-Boot) by Omkar Rane
Bootloaders (U-Boot)
Omkar Rane
•
635 views
Board support package_on_linux by Vandana Salve
Board support package_on_linux
Vandana Salve
•
6.9K views
U boot porting guide for SoC by Macpaul Lin
U boot porting guide for SoC
Macpaul Lin
•
11.9K views
LAS16-402: ARM Trusted Firmware – from Enterprise to Embedded by Linaro
LAS16-402: ARM Trusted Firmware – from Enterprise to Embedded
Linaro
•
3.4K views
Embedded_Linux_Booting by Rashila Rr
Embedded_Linux_Booting
Rashila Rr
•
513 views
Similar to BeagleBone Black Booting Process
BeagleBoard-xM Bootloaders by
BeagleBoard-xM Bootloaders
SysPlay eLearning Academy for You
7.3K views
•
17 slides
U-Boot Porting on New Hardware by
U-Boot Porting on New Hardware
RuggedBoardGroup
2K views
•
31 slides
Armboot process zeelogic by
Armboot process zeelogic
Aleem Shariff
2.3K views
•
22 slides
Raspberry Pi tutorial by
Raspberry Pi tutorial
艾鍗科技
2.4K views
•
33 slides
ChromePad - Chromium OS for ThinkPad by
ChromePad - Chromium OS for ThinkPad
AndrewWright224
375 views
•
156 slides
ChromePad - Chromium OS ThinkPad X220 by
ChromePad - Chromium OS ThinkPad X220
AndrewWright224
1.8K views
•
116 slides
Similar to BeagleBone Black Booting Process
(20)
BeagleBoard-xM Bootloaders by SysPlay eLearning Academy for You
BeagleBoard-xM Bootloaders
SysPlay eLearning Academy for You
•
7.3K views
U-Boot Porting on New Hardware by RuggedBoardGroup
U-Boot Porting on New Hardware
RuggedBoardGroup
•
2K views
Armboot process zeelogic by Aleem Shariff
Armboot process zeelogic
Aleem Shariff
•
2.3K views
Raspberry Pi tutorial by 艾鍗科技
Raspberry Pi tutorial
艾鍗科技
•
2.4K views
ChromePad - Chromium OS for ThinkPad by AndrewWright224
ChromePad - Chromium OS for ThinkPad
AndrewWright224
•
375 views
ChromePad - Chromium OS ThinkPad X220 by AndrewWright224
ChromePad - Chromium OS ThinkPad X220
AndrewWright224
•
1.8K views
建構嵌入式Linux系統於SD Card by 艾鍗科技
建構嵌入式Linux系統於SD Card
艾鍗科技
•
5.9K views
5. boot process by Marian Marinov
5. boot process
Marian Marinov
•
8.2K views
Linux Kernel Overview by Anil Kumar Pugalia
Linux Kernel Overview
Anil Kumar Pugalia
•
26.7K views
Block Drivers by Anil Kumar Pugalia
Block Drivers
Anil Kumar Pugalia
•
38.4K views
Hypervisor and VDI security by Denis Gundarev
Hypervisor and VDI security
Denis Gundarev
•
2.8K views
Grub2 Booting Process by Mike Wang
Grub2 Booting Process
Mike Wang
•
5.5K views
Getting started with LinuxBoot Firmware on AArch64 Server by Naohiro Tamura
Getting started with LinuxBoot Firmware on AArch64 Server
Naohiro Tamura
•
54 views
my Windows 7 info by isky guard
my Windows 7 info
isky guard
•
2.1K views
Embedded Linux BSP Training (Intro) by RuggedBoardGroup
Embedded Linux BSP Training (Intro)
RuggedBoardGroup
•
777 views
File000124 by Desmond Devendran
File000124
Desmond Devendran
•
640 views
Tkos secure boot_lecture_20190605 by benavrhm
Tkos secure boot_lecture_20190605
benavrhm
•
74 views
C C N A Day2 by darulquthni
C C N A Day2
darulquthni
•
1.8K views
Kernel Debugging & Profiling by Anil Kumar Pugalia
Kernel Debugging & Profiling
Anil Kumar Pugalia
•
6K views
Linux Booting Process by Rishabh5121993
Linux Booting Process
Rishabh5121993
•
410 views
More from SysPlay eLearning Academy for You
Linux Internals Part - 3 by
Linux Internals Part - 3
SysPlay eLearning Academy for You
121 views
•
52 slides
Linux Internals Part - 2 by
Linux Internals Part - 2
SysPlay eLearning Academy for You
62 views
•
57 slides
Linux Internals Part - 1 by
Linux Internals Part - 1
SysPlay eLearning Academy for You
93 views
•
70 slides
Kernel Timing Management by
Kernel Timing Management
SysPlay eLearning Academy for You
3.1K views
•
29 slides
Understanding the BBB by
Understanding the BBB
SysPlay eLearning Academy for You
9.5K views
•
10 slides
POSIX Threads by
POSIX Threads
SysPlay eLearning Academy for You
4.1K views
•
21 slides
More from SysPlay eLearning Academy for You
(15)
Linux Internals Part - 3 by SysPlay eLearning Academy for You
Linux Internals Part - 3
SysPlay eLearning Academy for You
•
121 views
Linux Internals Part - 2 by SysPlay eLearning Academy for You
Linux Internals Part - 2
SysPlay eLearning Academy for You
•
62 views
Linux Internals Part - 1 by SysPlay eLearning Academy for You
Linux Internals Part - 1
SysPlay eLearning Academy for You
•
93 views
Kernel Timing Management by SysPlay eLearning Academy for You
Kernel Timing Management
SysPlay eLearning Academy for You
•
3.1K views
Understanding the BBB by SysPlay eLearning Academy for You
Understanding the BBB
SysPlay eLearning Academy for You
•
9.5K views
POSIX Threads by SysPlay eLearning Academy for You
POSIX Threads
SysPlay eLearning Academy for You
•
4.1K views
Linux DMA Engine by SysPlay eLearning Academy for You
Linux DMA Engine
SysPlay eLearning Academy for You
•
6.1K views
Cache Management by SysPlay eLearning Academy for You
Cache Management
SysPlay eLearning Academy for You
•
1.9K views
SPI Drivers by SysPlay eLearning Academy for You
SPI Drivers
SysPlay eLearning Academy for You
•
10.2K views
Introduction to BeagleBone Black by SysPlay eLearning Academy for You
Introduction to BeagleBone Black
SysPlay eLearning Academy for You
•
8.2K views
Introduction to BeagleBoard-xM by SysPlay eLearning Academy for You
Introduction to BeagleBoard-xM
SysPlay eLearning Academy for You
•
3.2K views
Platform Drivers by SysPlay eLearning Academy for You
Platform Drivers
SysPlay eLearning Academy for You
•
17.5K views
Serial Drivers by SysPlay eLearning Academy for You
Serial Drivers
SysPlay eLearning Academy for You
•
17.1K views
SPI Drivers by SysPlay eLearning Academy for You
SPI Drivers
SysPlay eLearning Academy for You
•
13.2K views
Linux System by SysPlay eLearning Academy for You
Linux System
SysPlay eLearning Academy for You
•
854 views
Recently uploaded
.conf Go 2023 - Data analysis as a routine by
.conf Go 2023 - Data analysis as a routine
Splunk
93 views
•
12 slides
Voice Logger - Telephony Integration Solution at Aegis by
Voice Logger - Telephony Integration Solution at Aegis
Nirmal Sharma
17 views
•
1 slide
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen... by
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
NUS-ISS
28 views
•
70 slides
AI: mind, matter, meaning, metaphors, being, becoming, life values by
AI: mind, matter, meaning, metaphors, being, becoming, life values
Twain Liu 刘秋艳
35 views
•
16 slides
handbook for web 3 adoption.pdf by
handbook for web 3 adoption.pdf
Liveplex
19 views
•
16 slides
PharoJS - Zürich Smalltalk Group Meetup November 2023 by
PharoJS - Zürich Smalltalk Group Meetup November 2023
Noury Bouraqadi
120 views
•
17 slides
Recently uploaded
(20)
.conf Go 2023 - Data analysis as a routine by Splunk
.conf Go 2023 - Data analysis as a routine
Splunk
•
93 views
Voice Logger - Telephony Integration Solution at Aegis by Nirmal Sharma
Voice Logger - Telephony Integration Solution at Aegis
Nirmal Sharma
•
17 views
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen... by NUS-ISS
Upskilling the Evolving Workforce with Digital Fluency for Tomorrow's Challen...
NUS-ISS
•
28 views
AI: mind, matter, meaning, metaphors, being, becoming, life values by Twain Liu 刘秋艳
AI: mind, matter, meaning, metaphors, being, becoming, life values
Twain Liu 刘秋艳
•
35 views
handbook for web 3 adoption.pdf by Liveplex
handbook for web 3 adoption.pdf
Liveplex
•
19 views
PharoJS - Zürich Smalltalk Group Meetup November 2023 by Noury Bouraqadi
PharoJS - Zürich Smalltalk Group Meetup November 2023
Noury Bouraqadi
•
120 views
SAP Automation Using Bar Code and FIORI.pdf by Virendra Rai, PMP
SAP Automation Using Bar Code and FIORI.pdf
Virendra Rai, PMP
•
19 views
Igniting Next Level Productivity with AI-Infused Data Integration Workflows by Safe Software
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Safe Software
•
225 views
Data-centric AI and the convergence of data and model engineering:opportunit... by Paolo Missier
Data-centric AI and the convergence of data and model engineering:opportunit...
Paolo Missier
•
34 views
Black and White Modern Science Presentation.pptx by maryamkhalid2916
Black and White Modern Science Presentation.pptx
maryamkhalid2916
•
14 views
Five Things You SHOULD Know About Postman by Postman
Five Things You SHOULD Know About Postman
Postman
•
27 views
Future of Learning - Khoong Chan Meng by NUS-ISS
Future of Learning - Khoong Chan Meng
NUS-ISS
•
33 views
[2023] Putting the R! in R&D.pdf by Eleanor McHugh
[2023] Putting the R! in R&D.pdf
Eleanor McHugh
•
38 views
Understanding GenAI/LLM and What is Google Offering - Felix Goh by NUS-ISS
Understanding GenAI/LLM and What is Google Offering - Felix Goh
NUS-ISS
•
41 views
AMAZON PRODUCT RESEARCH.pdf by JerikkLaureta
AMAZON PRODUCT RESEARCH.pdf
JerikkLaureta
•
15 views
Future of Learning - Yap Aye Wee.pdf by NUS-ISS
Future of Learning - Yap Aye Wee.pdf
NUS-ISS
•
41 views
Empathic Computing: Delivering the Potential of the Metaverse by Mark Billinghurst
Empathic Computing: Delivering the Potential of the Metaverse
Mark Billinghurst
•
470 views
Tunable Laser (1).pptx by Hajira Mahmood
Tunable Laser (1).pptx
Hajira Mahmood
•
23 views
20231123_Camunda Meetup Vienna.pdf by Phactum Softwareentwicklung GmbH
20231123_Camunda Meetup Vienna.pdf
Phactum Softwareentwicklung GmbH
•
28 views
Web Dev - 1 PPT.pdf by gdsczhcet
Web Dev - 1 PPT.pdf
gdsczhcet
•
55 views
BeagleBone Black Booting Process
1.
© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. BeagleBone Black Booting Process
2.
2© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. What to Expect? PC Booting Process Beagle Booting Process Booting through SD Card Partitioning & Creating Root Filesystem W's of Bootloaders U-Boot Serial Booting Adding the command in U-Boot
3.
3© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. PC Booting Process Power-Up / Reset Operation BIOS (POST) Primary Bootloader (446 Bytes) Primary Bootloader (446 Bytes) 0XAA55 Partition Table (64 Bytes) GRUB/LILO (Kernel Loader) Kernel Initrd Init (User Space App.) System Startup Stage 1 Bootloader Stage 2 Bootloader KernelStage 2 Bootloader User Space
4.
4© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. BBB Memory Organization DDR 512MB ROM Internal RAM 128KB SOC BeagleBone Black 0x80000000 0x40200000 0x402F0400 EMMC 4GB Ext. MMC
5.
5© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. General Booting of BeagleBoard Image under “CC BY-SA 3.0 US” from http://omappedia.org/wiki/Bootloader_Project
6.
6© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. BBB Images ROM Code X-loader SOC BeagleBone Black ROM Internal RAM DDR u-boot bbb.dtb uImage Ramdisk/initrd (Ramdisk Boot)
7.
7© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. AM335x Processor Boot Modes Memory Booting NAND, NOR, MMC Peripheral Booting USB, UART, Ethernet The Order / Sequence is determined by The set of GPIO configuration pins called SYSBOOT pins (5 pins)
8.
8© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Beagle Booting Process (SD Card) ROM code loads x-loader (MLO) Performs External DRAM configuration X-loader loads u-boot Default location is /media/mmcblkp01/u-boot.bin U-boot executes default environment/commands Default location is /mmcblkp01/uEnv.txt Commands load the Kernel Default location is /media/mmcblkop2/boot/uImage Kernel reads root file system
9.
9© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Board Bring Up Spoil the board Delete u-boot.img, uImage and user.txt Get the u-boot.img and user.txt Change the ipaddr in user.txt Reboot the board Press the user button until countdown This will boot the board with ramdisk Re-partition the card Create 3 partitions and filesystem on them Restore the required images Get MLO, u-boot.img, uEnv.txt and am335x-boneblack.dtb Get the RootFs.xz in second partition and untar the same
10.
10© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Recovering the Board Copy the user.txt and u-boot.img tftp -g <serverip> -r u-boot_bringup.img -l u-boot.img tftp -g <serverip> -r user.txt -l user.txt Change the ip address in user.txt Delete the kernel - /boot/zImage Delete the Root Filesystem Reboot the system
11.
11© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. SD Card Partitioning fdisk /dev/mmcblk0 Create a windows partition of 116MB Make it bootable Create two primary Linux partitions of sizes 3GB and 1GB approx
12.
12© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Creating & Filling the Filesystem Create the Filesystem of type Fat 32 on first partition mkfs.vfat -F 32 /dev/mmcblk0p1 -n boot Create the Filesystem of type ext2 on Second and third partitions mke2fs -L FirstRootFs /dev/mmcblk0p2 mke2fs -L SecondRootFs /dev/mmcblk0p3 Fill the filesystem with contents tftp -g 192.168.20.181 -r RootFs.xz tar -zxvf RootFs.xz Copy u-boot_bringup.img, user.txt and uEnv.txt in vfat partition tftp -g <server_ip> -r u-boot_bringup.img -l u-boot.img tftp -g <server_ip> -r user.txt tftp -g <server_ip> -r uEnv.txt tftp -g <server_ip> -r am335x-boneblack.dtb
13.
13© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Board Bring up Hands On Delete all the contents of External SD card Get the MLO, u-boot.img, user.txt Press the boot switch to change the booting sequence Kernel boots with ramdisk Re-partition the card and create the filesystem(vfat on first partition and Ext2 on other two) Get the MLO, u-boot.img, am335x-boneblack.dtb, uEnv.txt and user.txt in first partition Get the Root Filesystem in second partition
14.
14© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. What is a Bootloader? Also, referred to as boot monitor, is a small piece of software that executes soon after powering up a system Simply, a loader (program), which boots up (starts) the system A Customized Program started by Controller's Internal Code in Embedded Systems, Or External Pre-programmed Code (like BIOS) in Desktops
15.
15© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Tasks of a Bootloader Initialization Tasks Memory Setup & Initialization System Peripheral Initialization for the kernel Actual Task Load the RAM-based File System, like initrd, initramfs, ... Load the Kernel with proper arguments Jump to the start of the Kernel Additional Tasks Multiple Kernel Boots
16.
16© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Design of Bootloaders As Bootloader is started by a fixed code It needs to be placed at a hard-coded location Hard-coded locations are not big enough for the complete code (/ logic / tasks) of the bootloader Hence, it is typically split into 2 portions Stage 1 – Small enough to load Stage 2 from our desired location Stage 2 – The actual bootloader we want to have
17.
17© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Bootloader Comparisons On Desktops Initialization Tasks are done by BIOS Bootloader is to just Boot the Kernel On Embedded Systems All needs to be done by the Bootloader But in an optimized way Hence, the 2 bootloaders are Quite different from each other Later being more board dependent & constrained
18.
18© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Stage 2 Bootloader Flavours Prevalent Desktop Bootloaders LILO GRUB SYSLINUX loadlin Coreboot (Earlier called LinuxBIOS) Popular Embedded System Bootloaders BootLoader Object (BLOB) Redboot U-Boot
19.
19© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Check Name the Stage 1 & Stage 2 bootloaders Desktops Embedded Systems
20.
20© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. U-Boot
21.
21© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. W's of U-Boot Universal Bootloader (U-Boot) An Open Source Bootloader With minimal changes, can be ported for any board GRUB/LILO Designed with x-86 in mind Huge in Size Needs to be changed drastically for porting on other architecture
22.
22© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. U-Boot Source Tree arch – Architecture dependent Code board – Board dependent Code common – Environment & Command Line Code doc – Documentation drivers – Device specific Drivers fs – File System support Code include – Headers lib – Compression, Encryption related Code net – Minimal Network Stack tools – U-Boot Utilities (mkimage is here)
23.
23© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. U-Boot Hands-on Stopping at the U-Boot Help - “?” Commands Booting: bootp, bootm, boot, ... NOR Flash: erase, cp, protect, … NAND Flash: nand Miscellaneous: reset, ... ... Environment Variables printenv setenv saveenv
24.
24© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Booting through the Serial Boot ROM can load any binary x-loader image into the internal SRAM of 109K For Serial Boot, A simple ID is written out of the serial port If host responds within that short window of time The ROM reads from serial port Transfers the data to the internal SRAM Control is passed to the start of the SRAM.
25.
25© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. BBB Serial Booting ROM Code X-loader SOC ROM Internal RAM DDR u-boot bbb.dtb uImage Ramdisk/initrd (Ramdisk Boot) X-Loader u-boot
26.
26© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. U-Boot Compiling Preparing the Makefile Setup CROSS_COMPILE for cross compilation Or, invoke make with these options Configuring for a particular board make <board>_config Compiling for the configured board make (Output would be u-boot.img) Cleaning up make clean
27.
27© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Adding the Command in U-Boot Create the file cmd_<file>.c Fill the Macro 'U_BOOT_CMD()' name: the name of the command maxargs: the maximum number of arguments this function takes command: func pointer (*cmd)(struct cmd_tbl_s *, int, int, char *[]) usage: Short Description help: Long description Add the entry into common/Makefile COBJS-$(CONFIG_CMD_<NAME>) += cmd_<file>.o Include the macro CONFIG_CMD_<NAME> in board.h file
28.
28© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. What all have learnt? PC Booting Process Beagle Booting Process Booting through SD Card Partitioning & Creating Root Filesystem W's of Bootloaders U-Boot Serial Booting Adding the command in U-Boot
29.
29© 2015-17 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Any Queries?