Suche senden
Hochladen
BeagleBone Black Bootloaders
âą
0 gefÀllt mir
âą
4,043 views
S
SysPlay eLearning Academy for You
Folgen
BeagleBone Black Bootloaders
Weniger lesen
Mehr lesen
Technologie
Diashow-Anzeige
Melden
Teilen
Diashow-Anzeige
Melden
Teilen
1 von 27
Empfohlen
Linux Porting
Linux Porting
Anil Kumar Pugalia
Â
Bootloaders
Bootloaders
Anil Kumar Pugalia
Â
BeagleBone Black Booting Process
BeagleBone Black Booting Process
SysPlay eLearning Academy for You
Â
I2C Drivers
I2C Drivers
SysPlay eLearning Academy for You
Â
U-Boot Porting on New Hardware
U-Boot Porting on New Hardware
RuggedBoardGroup
Â
BeagleBone Black Bootloaders
BeagleBone Black Bootloaders
SysPlay eLearning Academy for You
Â
PCI Drivers
PCI Drivers
Anil Kumar Pugalia
Â
Uboot startup sequence
Uboot startup sequence
Houcheng Lin
Â
Empfohlen
Linux Porting
Linux Porting
Anil Kumar Pugalia
Â
Bootloaders
Bootloaders
Anil Kumar Pugalia
Â
BeagleBone Black Booting Process
BeagleBone Black Booting Process
SysPlay eLearning Academy for You
Â
I2C Drivers
I2C Drivers
SysPlay eLearning Academy for You
Â
U-Boot Porting on New Hardware
U-Boot Porting on New Hardware
RuggedBoardGroup
Â
BeagleBone Black Bootloaders
BeagleBone Black Bootloaders
SysPlay eLearning Academy for You
Â
PCI Drivers
PCI Drivers
Anil Kumar Pugalia
Â
Uboot startup sequence
Uboot startup sequence
Houcheng Lin
Â
Jagan Teki - U-boot from scratch
Jagan Teki - U-boot from scratch
linuxlab_conf
Â
U boot porting guide for SoC
U boot porting guide for SoC
Macpaul Lin
Â
I2c drivers
I2c drivers
pradeep_tewani
Â
Embedded_Linux_Booting
Embedded_Linux_Booting
Rashila Rr
Â
U-Boot presentation 2013
U-Boot presentation 2013
Wave Digitech
Â
Spi drivers
Spi drivers
pradeep_tewani
Â
Bootstrap process of u boot (NDS32 RISC CPU)
Bootstrap process of u boot (NDS32 RISC CPU)
Macpaul Lin
Â
SPI Drivers
SPI Drivers
SysPlay eLearning Academy for You
Â
Embedded linux network device driver development
Embedded linux network device driver development
Amr Ali (ISTQB CTAL Full, CSM, ITIL Foundation)
Â
Introduction to Modern U-Boot
Introduction to Modern U-Boot
GlobalLogic Ukraine
Â
Linux Kernel Booting Process (1) - For NLKB
Linux Kernel Booting Process (1) - For NLKB
shimosawa
Â
U-Boot - An universal bootloader
U-Boot - An universal bootloader
Emertxe Information Technologies Pvt Ltd
Â
Introduction to Linux Drivers
Introduction to Linux Drivers
Anil Kumar Pugalia
Â
U Boot or Universal Bootloader
U Boot or Universal Bootloader
Satpal Parmar
Â
Linux device drivers
Linux device drivers
Emertxe Information Technologies Pvt Ltd
Â
Board Bringup
Board Bringup
Anil Kumar Pugalia
Â
Platform Drivers
Platform Drivers
SysPlay eLearning Academy for You
Â
Arm device tree and linux device drivers
Arm device tree and linux device drivers
Houcheng Lin
Â
Bootloaders (U-Boot)
Bootloaders (U-Boot)
Omkar Rane
Â
BeagleBoard-xM Booting Process
BeagleBoard-xM Booting Process
SysPlay eLearning Academy for You
Â
BeagleBoard-xM Bootloaders
BeagleBoard-xM Bootloaders
SysPlay eLearning Academy for You
Â
Ch4 v70 system_configuration_en
Ch4 v70 system_configuration_en
confidencial
Â
Weitere Àhnliche Inhalte
Was ist angesagt?
Jagan Teki - U-boot from scratch
Jagan Teki - U-boot from scratch
linuxlab_conf
Â
U boot porting guide for SoC
U boot porting guide for SoC
Macpaul Lin
Â
I2c drivers
I2c drivers
pradeep_tewani
Â
Embedded_Linux_Booting
Embedded_Linux_Booting
Rashila Rr
Â
U-Boot presentation 2013
U-Boot presentation 2013
Wave Digitech
Â
Spi drivers
Spi drivers
pradeep_tewani
Â
Bootstrap process of u boot (NDS32 RISC CPU)
Bootstrap process of u boot (NDS32 RISC CPU)
Macpaul Lin
Â
SPI Drivers
SPI Drivers
SysPlay eLearning Academy for You
Â
Embedded linux network device driver development
Embedded linux network device driver development
Amr Ali (ISTQB CTAL Full, CSM, ITIL Foundation)
Â
Introduction to Modern U-Boot
Introduction to Modern U-Boot
GlobalLogic Ukraine
Â
Linux Kernel Booting Process (1) - For NLKB
Linux Kernel Booting Process (1) - For NLKB
shimosawa
Â
U-Boot - An universal bootloader
U-Boot - An universal bootloader
Emertxe Information Technologies Pvt Ltd
Â
Introduction to Linux Drivers
Introduction to Linux Drivers
Anil Kumar Pugalia
Â
U Boot or Universal Bootloader
U Boot or Universal Bootloader
Satpal Parmar
Â
Linux device drivers
Linux device drivers
Emertxe Information Technologies Pvt Ltd
Â
Board Bringup
Board Bringup
Anil Kumar Pugalia
Â
Platform Drivers
Platform Drivers
SysPlay eLearning Academy for You
Â
Arm device tree and linux device drivers
Arm device tree and linux device drivers
Houcheng Lin
Â
Bootloaders (U-Boot)
Bootloaders (U-Boot)
Omkar Rane
Â
BeagleBoard-xM Booting Process
BeagleBoard-xM Booting Process
SysPlay eLearning Academy for You
Â
Was ist angesagt?
(20)
Jagan Teki - U-boot from scratch
Jagan Teki - U-boot from scratch
Â
U boot porting guide for SoC
U boot porting guide for SoC
Â
I2c drivers
I2c drivers
Â
Embedded_Linux_Booting
Embedded_Linux_Booting
Â
U-Boot presentation 2013
U-Boot presentation 2013
Â
Spi drivers
Spi drivers
Â
Bootstrap process of u boot (NDS32 RISC CPU)
Bootstrap process of u boot (NDS32 RISC CPU)
Â
SPI Drivers
SPI Drivers
Â
Embedded linux network device driver development
Embedded linux network device driver development
Â
Introduction to Modern U-Boot
Introduction to Modern U-Boot
Â
Linux Kernel Booting Process (1) - For NLKB
Linux Kernel Booting Process (1) - For NLKB
Â
U-Boot - An universal bootloader
U-Boot - An universal bootloader
Â
Introduction to Linux Drivers
Introduction to Linux Drivers
Â
U Boot or Universal Bootloader
U Boot or Universal Bootloader
Â
Linux device drivers
Linux device drivers
Â
Board Bringup
Board Bringup
Â
Platform Drivers
Platform Drivers
Â
Arm device tree and linux device drivers
Arm device tree and linux device drivers
Â
Bootloaders (U-Boot)
Bootloaders (U-Boot)
Â
BeagleBoard-xM Booting Process
BeagleBoard-xM Booting Process
Â
Ăhnlich wie BeagleBone Black Bootloaders
BeagleBoard-xM Bootloaders
BeagleBoard-xM Bootloaders
SysPlay eLearning Academy for You
Â
Ch4 v70 system_configuration_en
Ch4 v70 system_configuration_en
confidencial
Â
Raspberry Pi tutorial
Raspberry Pi tutorial
èŸéç§æ
Â
PowerAI Deep Dive ( key points )
PowerAI Deep Dive ( key points )
Paulo Sergio Lemes Queiroz
Â
SPI Drivers
SPI Drivers
SysPlay eLearning Academy for You
Â
my Windows 7 info
my Windows 7 info
isky guard
Â
ć»șæ§ć”ć „ćŒLinux系由æŒSD Card
ć»șæ§ć”ć „ćŒLinux系由æŒSD Card
èŸéç§æ
Â
Armboot process zeelogic
Armboot process zeelogic
Aleem Shariff
Â
Motherboard
Motherboard
BarojReal
Â
101 1.1 hardware settings
101 1.1 hardware settings
AcĂĄcio Oliveira
Â
The Motherboard Parts and their Function
The Motherboard Parts and their Function
JosephGallego4
Â
Understanding the BBB
Understanding the BBB
SysPlay eLearning Academy for You
Â
ChromePad - Chromium OS ThinkPad X220
ChromePad - Chromium OS ThinkPad X220
AndrewWright224
Â
ChromePad - Chromium OS for ThinkPad
ChromePad - Chromium OS for ThinkPad
AndrewWright224
Â
Hypervisor and VDI security
Hypervisor and VDI security
Denis Gundarev
Â
Aplus essentials-exam-cram
Aplus essentials-exam-cram
Peter Sonko
Â
Study on Android Emulator
Study on Android Emulator
Samael Wang
Â
BlueHat v17 || Betraying the BIOS: Where the Guardians of the BIOS are Failing
BlueHat v17 || Betraying the BIOS: Where the Guardians of the BIOS are Failing
BlueHat Security Conference
Â
Embedded Linux BSP Training (Intro)
Embedded Linux BSP Training (Intro)
RuggedBoardGroup
Â
Low-level Accesses
Low-level Accesses
Anil Kumar Pugalia
Â
Ăhnlich wie BeagleBone Black Bootloaders
(20)
BeagleBoard-xM Bootloaders
BeagleBoard-xM Bootloaders
Â
Ch4 v70 system_configuration_en
Ch4 v70 system_configuration_en
Â
Raspberry Pi tutorial
Raspberry Pi tutorial
Â
PowerAI Deep Dive ( key points )
PowerAI Deep Dive ( key points )
Â
SPI Drivers
SPI Drivers
Â
my Windows 7 info
my Windows 7 info
Â
ć»șæ§ć”ć „ćŒLinux系由æŒSD Card
ć»șæ§ć”ć „ćŒLinux系由æŒSD Card
Â
Armboot process zeelogic
Armboot process zeelogic
Â
Motherboard
Motherboard
Â
101 1.1 hardware settings
101 1.1 hardware settings
Â
The Motherboard Parts and their Function
The Motherboard Parts and their Function
Â
Understanding the BBB
Understanding the BBB
Â
ChromePad - Chromium OS ThinkPad X220
ChromePad - Chromium OS ThinkPad X220
Â
ChromePad - Chromium OS for ThinkPad
ChromePad - Chromium OS for ThinkPad
Â
Hypervisor and VDI security
Hypervisor and VDI security
Â
Aplus essentials-exam-cram
Aplus essentials-exam-cram
Â
Study on Android Emulator
Study on Android Emulator
Â
BlueHat v17 || Betraying the BIOS: Where the Guardians of the BIOS are Failing
BlueHat v17 || Betraying the BIOS: Where the Guardians of the BIOS are Failing
Â
Embedded Linux BSP Training (Intro)
Embedded Linux BSP Training (Intro)
Â
Low-level Accesses
Low-level Accesses
Â
Mehr von SysPlay eLearning Academy for You
Linux Internals Part - 3
Linux Internals Part - 3
SysPlay eLearning Academy for You
Â
Linux Internals Part - 2
Linux Internals Part - 2
SysPlay eLearning Academy for You
Â
Linux Internals Part - 1
Linux Internals Part - 1
SysPlay eLearning Academy for You
Â
Kernel Timing Management
Kernel Timing Management
SysPlay eLearning Academy for You
Â
POSIX Threads
POSIX Threads
SysPlay eLearning Academy for You
Â
Linux DMA Engine
Linux DMA Engine
SysPlay eLearning Academy for You
Â
Cache Management
Cache Management
SysPlay eLearning Academy for You
Â
Introduction to BeagleBone Black
Introduction to BeagleBone Black
SysPlay eLearning Academy for You
Â
Introduction to BeagleBoard-xM
Introduction to BeagleBoard-xM
SysPlay eLearning Academy for You
Â
Serial Drivers
Serial Drivers
SysPlay eLearning Academy for You
Â
Linux System
Linux System
SysPlay eLearning Academy for You
Â
Mehr von SysPlay eLearning Academy for You
(11)
Linux Internals Part - 3
Linux Internals Part - 3
Â
Linux Internals Part - 2
Linux Internals Part - 2
Â
Linux Internals Part - 1
Linux Internals Part - 1
Â
Kernel Timing Management
Kernel Timing Management
Â
POSIX Threads
POSIX Threads
Â
Linux DMA Engine
Linux DMA Engine
Â
Cache Management
Cache Management
Â
Introduction to BeagleBone Black
Introduction to BeagleBone Black
Â
Introduction to BeagleBoard-xM
Introduction to BeagleBoard-xM
Â
Serial Drivers
Serial Drivers
Â
Linux System
Linux System
Â
KĂŒrzlich hochgeladen
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
The Digital Insurer
Â
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
jfdjdjcjdnsjd
Â
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
Â
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
apidays
Â
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(âïž+971_581248768%)**%*]'#abortion pills for sale in dubai@
Â
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Juan lago vĂĄzquez
Â
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Drew Madelung
Â
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
Â
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
wesley chun
Â
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
Â
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Principled Technologies
Â
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Remote DBA Services
Â
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Edi Saputra
Â
đŹ The future of MySQL is Postgres đ
đŹ The future of MySQL is Postgres đ
RTylerCroy
Â
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Khushali Kathiriya
Â
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
MIND CTI
Â
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel AraĂșjo
Â
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
Â
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
apidays
Â
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
Â
KĂŒrzlich hochgeladen
(20)
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
Â
presentation ICT roal in 21st century education
presentation ICT roal in 21st century education
Â
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Â
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Â
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
Â
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Â
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Â
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Â
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
Â
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Â
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Â
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
Â
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Â
đŹ The future of MySQL is Postgres đ
đŹ The future of MySQL is Postgres đ
Â
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
Â
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
Â
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Â
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Â
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
Â
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Â
BeagleBone Black Bootloaders
1.
© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. BeagleBone Black Bootloaders
2.
2© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. What to Expect? BBB Memory Organization Beagle Booting Process W's of X-Loader BSP in X-Loader W's of U-Boot BSP in U-Boot
3.
3© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. BBB Memory Organization DDR 512MB ROM Internal RAM 64KB SOC BeagleBone Black 0x800000 00 0x402000 00 0x402F0400 EMMC 4GB Ext. MMC
4.
4© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. General Booting of BeagleBoard ROM Code Internal ROM X-Loader Internal SRAM Internal ROM U-Boot External DDR Kernel External DDR
5.
5© 2015-18 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)
6.
6© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. X-Loader
7.
7© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. W's of X-Loader First stage bootloader for Beagle Board Derived from u-boot â the second stage bootloader Named as MLO (Memory Loader) in filesystem. Runs in an internal SRAM Loads the second stage bootloader i.e. U- Boot
8.
8© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Let's Get Down to Source Code
9.
9© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. X-Loader Code Flow cpu/armv7/start.S reset() Disable IRQ & FIQ. Switch to supervisor mode Low Level Initialization cpu_init_cp15() Invalidate and disable Instruction & data Cache Disable MMU cpu/armv7/lowlevel_i nit.S lowlevel_init() arm/lib/crt0.S _main() C Runtime setup arm/lib/spl.c board_init_f() Early Board Setup Clear BSS and jump to board_init_r() Common/spl/spl.c board_init_r() Load the u-boot
10.
10© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. X-Loader for BBB Board configuration include/configs/am335x_evm.h CPU dependent code arch/arm/cpu/armv7/*.c arch/arm/cpu/armv7/lowlevel_init.S arch/arm/lib/crt0.S arch/arm/cpu/armv7/am33x/board.c arch/arm/lib/spl.c Board dependent code Board/ti/am335x/board.* Board independent code common/spl/spl.c
11.
11© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. X-loader Hands on On which pin is the LED connected? How is it connected â Active high/Active low? Pin muxing/Direction Registers to manipulate the LED
12.
12© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. X-loader Hands on... Schematic (BBB SRM) On which pin is the LED connected? How is it connected - Active high/Active low? Datasheet (TRM of AM33XX) Pin muxing / Direction Registers to manipulate the LED
13.
13© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. U-Boot
14.
14© 2015-18 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
15.
15© 2015-18 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)
16.
16© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. U-Boot Initialization Details Bootloader starts its execution from flash /RAM Hardware Diagnostics, like POST, ⊠Configuring the CPU speed, MMU setting, etc Memory setup & initialization Setting up interfacing ports like serial, VGA, ⊠Sets up the address of the boot parameters
17.
17© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Let's Get Down to Source Code
18.
18© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. U-Boot Code Flow cpu/armv7/start.S reset() Disable IRQ & FIQ. Switch to supervisor mode Low Level Initialization cpu_init_cp15() Invalidate and disable Instruction & data Cache Disable MMU cpu/armv7/lowlevel_i nit.S lowlevel_init() arm/lib/crt0.S _main() C Runtime setup arm/lib/board.c board_init_f() Early Board Setup Calculate Addresses (SP, Dest, GD) for Relocation Call the board initialization functions Arch/arm/lib/reloc ate.S relocate_code() General Relocation arm/lib/crt0.S _main() Clear BSS, Setup GD and jump to board_init_r() arm/lib/board.c board_init_r() Final Board Setup Board/it/am335x/board.c board_init() Board specific device setup env_relocate() Setup Environment common/main.c main_loop() Boot the kernel or give out the u-boot shell
19.
19© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Let's Check What is the starting point of u-boot? Where is the address of the Environmental Variables set? Where is RAM initialized? Which file is the interface between the architecture dependent code & board dependent code? Where is serial initialized? From where is the kernel invoked? And what are the parameters passed to the kernel? Where is default environment defined? where is the board dependent file for BBB? Where is the configuration file for BBB? Where is the architecture number set? Where is the pin multiplexing done? From where does the boot delay comes?
20.
20© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. U-Boot BSP Board configuration include/configs/am335x_evm.h CPU dependent code arch/arm/cpu/armv7/*.c arch/arm/cpu/armv7/lowlevel_init.S arch/arm/lib/crt0.S arch/arm/lib/relocate.S arch/arm/cpu/armv7/am33x/board.c arch/arm/lib/board.c Board dependent code Board/ti/am335x/board.* Board independent code common/* driver, fs, common(cmd, flash, env..)
21.
21© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. U-Boot Configuration Creating a configuration file for the board Adding a Kconfig file in 'board/<vendor>/<board> with below info: Architecture CPU Board Vendor (May be NULL) SoC (May be NULL)
22.
22© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. U-Boot Configuration Output Configuration files for use in C Sources include/generated/autoconf.h spl/include/generated/autoconf.h (For SPL) include/config.h include/configs/<board>.h Configuration files for Makefile include/config/auto.conf spl/include/config/auto.conf (For SPL) include/autoconf.mk
23.
23© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. U-Boot Porting Implies adding a new Board to U-Boot That entails Adding board specific code at the right places Adding the new board directory under board/ with Makefile Initialization Code for the Board Kconfig file Adding the new board header under include/configs/ with Configuration for the Board
24.
24© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. U-Boot Porting Hands On Add the configuration file .h in include/configs Add the Kconfig file at board/<vendor>/<soc>/ Modify the arch/arm/Kconfig to add the menu item for the board and source the board dependent Kconfig file Add the board dependent file at board/<vendor>/<soc>/ Modify the path for linker script at include/configs/<config_name.h> In the linker script, add the path for built_in.o for the board. Add the defconfig file in configs folder. Add atleast CONFIG_ARM and CONFIG_TARGET_<BOARD>
25.
25© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Env in I2C eeprom Configure for Env is in eeprom I2C EEPROM Slave Address Env offset in eeprom Page write delay Page write bits
26.
26© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. What all have learnt? BBB Memory Organization Beagle Booting Process W's of X-Loader BSP in X-Loader W's of U-Boot BSP in U-Boot
27.
27© 2015-18 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Any Queries?