SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Downloaden Sie, um offline zu lesen
Introduction of
OMAP4 Booting Sequence
                Jiahe Jou, 2012/09/13
Revisions
  DATE       AUTHOR               DESCRIPTION

2012/09/13   Jiahe Jou   Draft.
Outlines
●   Booting Types
●   Booting Overview
●   Before Booting
●   Peripheral Booting
●   Memory Booting
●   Memory Map
●   Make A Bootable SD Card
●   OMAP Bootloader Overview
Booting Types
● To start a initialization software(bootstrap)
● Peripheral Booting
   ○ UART
   ○ USB
● Memory Booting
   ○ XIP(eXecution In Place)
     ■ NOR
   ○ Non-XIP
     ■ MMC(eMMC)
     ■ SD(eSD)
     ■ NAND
Booting Types
● sys_boot[5:0]
● Peripheral Preferred Booting
  ○ 0b0xxxxx
● Memory Preferred Booting
  ○ 0b1xxxxx
   sys_boot[5:0]     1st     2nd    3rd      4th

     0b010110       USB      UART   MMC1   MMC2(1)

     0b110110      MMC2(1)   USB    UART    MMC1
Booting Overview
    ROM code
      start
                           Booting


   Start up and
   configuration
                          Copying or
                                                  Image
                           download
                                        Yes      execution
                          successful?

   Setup booting                  No
    device list     No                        Failed or returned

                            More
                           devices
                           in list?               Wait for
                                                   reset
   Select device
    from the list
                    Yes
Booting Overview
Booting

                       Yes                Permanent                No
                                           device?


                             Yes
               CH                  Copy and
            present?               excute CH                            Download Image


           No

                             No                              Yes
             Is XIP                 Copy to      Copy and
                                                                           CH sent?
            device?                  RAM         excute CH


          Yes                                                                    No




                                           Image
                                          execution
Before Booting
● Start up and configuration
   ○ Reading SYSBOOT pins
   ○ Software booting configuration
● Setup booting device list
   ○ sys_boot[5:0]
   ○ Redefined by software booting configuration
● Select device from list
   ○ Select a device to start booting procedure
Before Booting
● Software booting configuration structure
  ○ Store in SAR RAM memory
  ○ PUBLIC_SW_BOOT_CFG_ADDR(0x4A326A00)
    ■ Be 0 if cold reset
    ■ Address of configuration structure on else
● Software booting configuration
  ○ Device booting list
  ○ Clock setting
  ○ Time-out mechanism of peripheral booting
Peripheral Booting
● Types
  ○ UART
  ○ USB
● Download a flash loader(Pre-flashing)
● Initial flash memories
● Update firmware
Peripheral Booting
                                                            Transfered
   Peipheral                                                             Successed
    Booting

                                                                   Time-out
                                   Transfer Phase


    UART           USB
     or
    USB

                                             Synchronized


                    USB
               Initialization
                                                            Time-out
                                Synchronization Phase                     Failed

 UART              UART
               Initialization
Peripheral Booting
Synchronization Phase of USB




                               USB enumeration
   3s time-out

                                 Get ASIC ID



                                   ASIC ID



                               Booting message
   3s time-out
Peripheral Booting
Synchronization Phase of UART




                                   ASIC ID


                                  Get ASIC ID



                                   ASIC ID



                                Booting message
300ms time-out
Peripheral Booting
Transfer Phase




                 Image size
1min time-out




                   Image
1min time-out
Peripheral Booting
● ASIC ID structure
  ○   Items, number of sub-blocks
  ○   ID sub-block, device identification
  ○   Checksum sub-block, CRC(not for UART)
  ○   3 reserved sub-blocks
● Booting message
  ○   Peripheral booting, 0xF0030002
  ○   Change device, 0xF003xx06
  ○   Next device, 0xFFFFFFFF
  ○   Memory booting, Others
      ■ Get ASIC ID, 0xF003 0003
Memory Booting
● Types
  ○ XIP(eXecution In Place)
    ■ NOR
  ○ Non-XIP
    ■ MMC(eMMC)
    ■ SD(eSD)
● Code shadowing for Non-XIP
  ○ Copying code to RAM
Memory Booting



                          Yes
  Memory         Is XIP         Execute
  Booting         dev?           image




            No




            Copy image
              to RAM
Memory Booting
SD/MMC Booting




                  Find and get
                                        Successed
                   booting file
  Initilization


                         No




  Configure                       Yes
                    Is raw
 card address                           Get raw data
                    mode?
    (RCA)
Memory Booting
● SDMMCx interfaces
  ○ SDMMC1(SDCard)
    ■ Raw
    ■ File system
  ○ SDMMC2(eMMC)
    ■ Raw
● Avoid boot time penalty
Memory Booting
● Raw
  ○ Read image directly from sectors
  ○ Four consecutive location, offset 128KB
    ■ 0x00000(bytes)
    ■ 0x20000
    ■ 0x40000
    ■ 0x60000
● File system(FAT16, FAT32)
  ○ Read image from a booting file
  ○ SDMMC1 only
  ○ File name must be "MLO"
Memory Map




             48KB
Make A Bootable SD Card
● http://code.google.com/p/beagleboard/wiki/LinuxBootDiskFormat
● Tool
    ○ fdisk
    ○ mkfs
● Procedure
    ○ Step 1. Prepre a SD card
    ○ Step 2. Delete all partitions
    ○ Step 3. Configure SD card
      ■ Heads, sectors, cylinders
    ○ Step 4. Create a FAT32 partition
    ○ Step 5. Mark it as bootable
OMAP Bootloader Overview
● http://omappedia.org/wiki/Bootloader_Project
● Two stages
    ○ x-loader
    ○ u-boot



ROM code          x-loader            u-boot     Linux kernel




                 1st stage         2nd stage
End

Weitere ähnliche Inhalte

Was ist angesagt?

Uboot startup sequence
Uboot startup sequenceUboot startup sequence
Uboot startup sequence
Houcheng Lin
 
6 stages of linux boot process
6 stages of linux boot process6 stages of linux boot process
6 stages of linux boot process
Hari Shankar
 
U boot porting guide for SoC
U boot porting guide for SoCU boot porting guide for SoC
U boot porting guide for SoC
Macpaul Lin
 
Android Boot Time Optimization
Android Boot Time OptimizationAndroid Boot Time Optimization
Android Boot Time Optimization
Kan-Ru Chen
 

Was ist angesagt? (20)

System Booting Process overview
System Booting Process overviewSystem Booting Process overview
System Booting Process overview
 
Linux Booting Steps
Linux Booting StepsLinux Booting Steps
Linux Booting Steps
 
Uboot startup sequence
Uboot startup sequenceUboot startup sequence
Uboot startup sequence
 
U-Boot presentation 2013
U-Boot presentation  2013U-Boot presentation  2013
U-Boot presentation 2013
 
Making your own bootloader
Making your own bootloaderMaking your own bootloader
Making your own bootloader
 
6 stages of linux boot process
6 stages of linux boot process6 stages of linux boot process
6 stages of linux boot process
 
Linux Kernel Booting Process (1) - For NLKB
Linux Kernel Booting Process (1) - For NLKBLinux Kernel Booting Process (1) - For NLKB
Linux Kernel Booting Process (1) - For NLKB
 
U boot porting guide for SoC
U boot porting guide for SoCU boot porting guide for SoC
U boot porting guide for SoC
 
Building
BuildingBuilding
Building
 
U-Boot Porting on New Hardware
U-Boot Porting on New HardwareU-Boot Porting on New Hardware
U-Boot Porting on New Hardware
 
Embedding Linux On The Encore Simputer
Embedding Linux On The Encore SimputerEmbedding Linux On The Encore Simputer
Embedding Linux On The Encore Simputer
 
Booting & shut down,
Booting & shut down,Booting & shut down,
Booting & shut down,
 
What is Bootloader???
What is Bootloader???What is Bootloader???
What is Bootloader???
 
Linux Kernel Module - For NLKB
Linux Kernel Module - For NLKBLinux Kernel Module - For NLKB
Linux Kernel Module - For NLKB
 
Ch 2
Ch 2Ch 2
Ch 2
 
Android Boot Time Optimization
Android Boot Time OptimizationAndroid Boot Time Optimization
Android Boot Time Optimization
 
Booting
BootingBooting
Booting
 
Linux Booting Process
Linux Booting ProcessLinux Booting Process
Linux Booting Process
 
Linux Porting
Linux PortingLinux Porting
Linux Porting
 
Linux Device Driver parallelism using SMP and Kernel Pre-emption
Linux Device Driver parallelism using SMP and Kernel Pre-emptionLinux Device Driver parallelism using SMP and Kernel Pre-emption
Linux Device Driver parallelism using SMP and Kernel Pre-emption
 

Andere mochten auch

Integrate gitolite with mantis
Integrate gitolite with mantisIntegrate gitolite with mantis
Integrate gitolite with mantis
Johnson Chou
 
Algorithm Final Presentation
Algorithm Final PresentationAlgorithm Final Presentation
Algorithm Final Presentation
Johnson Chou
 
Apu presentation
Apu presentationApu presentation
Apu presentation
clhatfield
 
Arro capabilities lean revised 2010
Arro capabilities   lean revised 2010Arro capabilities   lean revised 2010
Arro capabilities lean revised 2010
fileserve
 
Luat thue thu nhap ca nhan 2007
Luat thue thu nhap ca nhan 2007Luat thue thu nhap ca nhan 2007
Luat thue thu nhap ca nhan 2007
Tiggy Ng
 
Camping og facebook_til_download
Camping og facebook_til_downloadCamping og facebook_til_download
Camping og facebook_til_download
Rasmus Hamann
 

Andere mochten auch (20)

OmapBootSequence
OmapBootSequenceOmapBootSequence
OmapBootSequence
 
Booting and Start-up Sequence
Booting and Start-up SequenceBooting and Start-up Sequence
Booting and Start-up Sequence
 
boot
bootboot
boot
 
Wallander - Becka
Wallander - BeckaWallander - Becka
Wallander - Becka
 
General Catalog GFS Indonesia
General Catalog GFS IndonesiaGeneral Catalog GFS Indonesia
General Catalog GFS Indonesia
 
READING 2
READING 2READING 2
READING 2
 
Integrate gitolite with mantis
Integrate gitolite with mantisIntegrate gitolite with mantis
Integrate gitolite with mantis
 
Showdonttell
ShowdonttellShowdonttell
Showdonttell
 
Algorithm Final Presentation
Algorithm Final PresentationAlgorithm Final Presentation
Algorithm Final Presentation
 
пдд азербайджана
пдд азербайджанапдд азербайджана
пдд азербайджана
 
Apu presentation
Apu presentationApu presentation
Apu presentation
 
Reading
ReadingReading
Reading
 
видеокамера сони
видеокамера сонивидеокамера сони
видеокамера сони
 
Membangun Nasionalisme melalui Upacara Bendera - Universitas Katolik Parahyan...
Membangun Nasionalisme melalui Upacara Bendera - Universitas Katolik Parahyan...Membangun Nasionalisme melalui Upacara Bendera - Universitas Katolik Parahyan...
Membangun Nasionalisme melalui Upacara Bendera - Universitas Katolik Parahyan...
 
Nokia n9 ug_ru
Nokia n9 ug_ruNokia n9 ug_ru
Nokia n9 ug_ru
 
Quotationsanddialogue 2014
Quotationsanddialogue 2014Quotationsanddialogue 2014
Quotationsanddialogue 2014
 
Nicholas John Spykman
Nicholas John SpykmanNicholas John Spykman
Nicholas John Spykman
 
Arro capabilities lean revised 2010
Arro capabilities   lean revised 2010Arro capabilities   lean revised 2010
Arro capabilities lean revised 2010
 
Luat thue thu nhap ca nhan 2007
Luat thue thu nhap ca nhan 2007Luat thue thu nhap ca nhan 2007
Luat thue thu nhap ca nhan 2007
 
Camping og facebook_til_download
Camping og facebook_til_downloadCamping og facebook_til_download
Camping og facebook_til_download
 

Ähnlich wie Introduction of omap4 booting sequence

Delivering a secure and fast boot experience with uefi
Delivering a secure and fast boot experience with uefiDelivering a secure and fast boot experience with uefi
Delivering a secure and fast boot experience with uefi
Scientia Groups
 
Delivering a secure and fast boot experience with uefi
Delivering a secure and fast boot experience with uefiDelivering a secure and fast boot experience with uefi
Delivering a secure and fast boot experience with uefi
Norman Mayes
 
BIOS__Power-On-Self-Test.pptx
BIOS__Power-On-Self-Test.pptxBIOS__Power-On-Self-Test.pptx
BIOS__Power-On-Self-Test.pptx
SamiWhoo
 

Ähnlich wie Introduction of omap4 booting sequence (20)

Когда предрелизный не только софт
Когда предрелизный не только софтКогда предрелизный не только софт
Когда предрелизный не только софт
 
BOOTABLE OPERATING SYSTEM
BOOTABLE OPERATING SYSTEMBOOTABLE OPERATING SYSTEM
BOOTABLE OPERATING SYSTEM
 
ACPI and FreeBSD (Part 1)
ACPI and FreeBSD (Part 1)ACPI and FreeBSD (Part 1)
ACPI and FreeBSD (Part 1)
 
File000124
File000124File000124
File000124
 
Windows 8 Client Part 1 "The OS internals for IT-Pro's"
Windows 8 Client Part 1 "The OS internals for IT-Pro's"Windows 8 Client Part 1 "The OS internals for IT-Pro's"
Windows 8 Client Part 1 "The OS internals for IT-Pro's"
 
U Boot or Universal Bootloader
U Boot or Universal BootloaderU Boot or Universal Bootloader
U Boot or Universal Bootloader
 
Introduction to Modern U-Boot
Introduction to Modern U-BootIntroduction to Modern U-Boot
Introduction to Modern U-Boot
 
Delivering a secure and fast boot experience with uefi
Delivering a secure and fast boot experience with uefiDelivering a secure and fast boot experience with uefi
Delivering a secure and fast boot experience with uefi
 
Delivering a secure and fast boot experience with uefi
Delivering a secure and fast boot experience with uefiDelivering a secure and fast boot experience with uefi
Delivering a secure and fast boot experience with uefi
 
bios.docx
bios.docxbios.docx
bios.docx
 
Project ACRN Device Passthrough Introduction
Project ACRN Device Passthrough IntroductionProject ACRN Device Passthrough Introduction
Project ACRN Device Passthrough Introduction
 
Booting
BootingBooting
Booting
 
Booting
BootingBooting
Booting
 
Io sys
Io sysIo sys
Io sys
 
BOOTING.ppt
BOOTING.pptBOOTING.ppt
BOOTING.ppt
 
BIOS__Power-On-Self-Test.pptx
BIOS__Power-On-Self-Test.pptxBIOS__Power-On-Self-Test.pptx
BIOS__Power-On-Self-Test.pptx
 
MANUAL-BIOS 2
MANUAL-BIOS 2MANUAL-BIOS 2
MANUAL-BIOS 2
 
Bios, processorand motherboard
Bios, processorand  motherboardBios, processorand  motherboard
Bios, processorand motherboard
 
建構嵌入式Linux系統於SD Card
建構嵌入式Linux系統於SD Card建構嵌入式Linux系統於SD Card
建構嵌入式Linux系統於SD Card
 
boot from lan
boot from lanboot from lan
boot from lan
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+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@
 

Kürzlich hochgeladen (20)

Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 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...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
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 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...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 

Introduction of omap4 booting sequence

  • 1. Introduction of OMAP4 Booting Sequence Jiahe Jou, 2012/09/13
  • 2. Revisions DATE AUTHOR DESCRIPTION 2012/09/13 Jiahe Jou Draft.
  • 3. Outlines ● Booting Types ● Booting Overview ● Before Booting ● Peripheral Booting ● Memory Booting ● Memory Map ● Make A Bootable SD Card ● OMAP Bootloader Overview
  • 4. Booting Types ● To start a initialization software(bootstrap) ● Peripheral Booting ○ UART ○ USB ● Memory Booting ○ XIP(eXecution In Place) ■ NOR ○ Non-XIP ■ MMC(eMMC) ■ SD(eSD) ■ NAND
  • 5. Booting Types ● sys_boot[5:0] ● Peripheral Preferred Booting ○ 0b0xxxxx ● Memory Preferred Booting ○ 0b1xxxxx sys_boot[5:0] 1st 2nd 3rd 4th 0b010110 USB UART MMC1 MMC2(1) 0b110110 MMC2(1) USB UART MMC1
  • 6. Booting Overview ROM code start Booting Start up and configuration Copying or Image download Yes execution successful? Setup booting No device list No Failed or returned More devices in list? Wait for reset Select device from the list Yes
  • 7. Booting Overview Booting Yes Permanent No device? Yes CH Copy and present? excute CH Download Image No No Yes Is XIP Copy to Copy and CH sent? device? RAM excute CH Yes No Image execution
  • 8. Before Booting ● Start up and configuration ○ Reading SYSBOOT pins ○ Software booting configuration ● Setup booting device list ○ sys_boot[5:0] ○ Redefined by software booting configuration ● Select device from list ○ Select a device to start booting procedure
  • 9. Before Booting ● Software booting configuration structure ○ Store in SAR RAM memory ○ PUBLIC_SW_BOOT_CFG_ADDR(0x4A326A00) ■ Be 0 if cold reset ■ Address of configuration structure on else ● Software booting configuration ○ Device booting list ○ Clock setting ○ Time-out mechanism of peripheral booting
  • 10. Peripheral Booting ● Types ○ UART ○ USB ● Download a flash loader(Pre-flashing) ● Initial flash memories ● Update firmware
  • 11. Peripheral Booting Transfered Peipheral Successed Booting Time-out Transfer Phase UART USB or USB Synchronized USB Initialization Time-out Synchronization Phase Failed UART UART Initialization
  • 12. Peripheral Booting Synchronization Phase of USB USB enumeration 3s time-out Get ASIC ID ASIC ID Booting message 3s time-out
  • 13. Peripheral Booting Synchronization Phase of UART ASIC ID Get ASIC ID ASIC ID Booting message 300ms time-out
  • 14. Peripheral Booting Transfer Phase Image size 1min time-out Image 1min time-out
  • 15. Peripheral Booting ● ASIC ID structure ○ Items, number of sub-blocks ○ ID sub-block, device identification ○ Checksum sub-block, CRC(not for UART) ○ 3 reserved sub-blocks ● Booting message ○ Peripheral booting, 0xF0030002 ○ Change device, 0xF003xx06 ○ Next device, 0xFFFFFFFF ○ Memory booting, Others ■ Get ASIC ID, 0xF003 0003
  • 16. Memory Booting ● Types ○ XIP(eXecution In Place) ■ NOR ○ Non-XIP ■ MMC(eMMC) ■ SD(eSD) ● Code shadowing for Non-XIP ○ Copying code to RAM
  • 17. Memory Booting Yes Memory Is XIP Execute Booting dev? image No Copy image to RAM
  • 18. Memory Booting SD/MMC Booting Find and get Successed booting file Initilization No Configure Yes Is raw card address Get raw data mode? (RCA)
  • 19. Memory Booting ● SDMMCx interfaces ○ SDMMC1(SDCard) ■ Raw ■ File system ○ SDMMC2(eMMC) ■ Raw ● Avoid boot time penalty
  • 20. Memory Booting ● Raw ○ Read image directly from sectors ○ Four consecutive location, offset 128KB ■ 0x00000(bytes) ■ 0x20000 ■ 0x40000 ■ 0x60000 ● File system(FAT16, FAT32) ○ Read image from a booting file ○ SDMMC1 only ○ File name must be "MLO"
  • 21. Memory Map 48KB
  • 22. Make A Bootable SD Card ● http://code.google.com/p/beagleboard/wiki/LinuxBootDiskFormat ● Tool ○ fdisk ○ mkfs ● Procedure ○ Step 1. Prepre a SD card ○ Step 2. Delete all partitions ○ Step 3. Configure SD card ■ Heads, sectors, cylinders ○ Step 4. Create a FAT32 partition ○ Step 5. Mark it as bootable
  • 23. OMAP Bootloader Overview ● http://omappedia.org/wiki/Bootloader_Project ● Two stages ○ x-loader ○ u-boot ROM code x-loader u-boot Linux kernel 1st stage 2nd stage
  • 24. End