BaseAddress = 0x80008000|gEmbeddedTokenSpaceGuid.PcdEmbeddedFdBaseAddress #The base address of the FLASH Device.
Size = 0x00080000|gEmbeddedTokenSpaceGuid.PcdEmbeddedFdSize #The size in bytes of the FLASH Device
ErasePolarity = 1
-BlockSize = 0x40
-NumBlocks = 0x2000
+BlockSize = 0x1
+NumBlocks = 0x80000
################################################################################
#
# RegionType <FV, DATA, or FILE>
#
################################################################################
-
+!if $(EDK2_SECOND_STAGE_BOOTOLADER) == 1
+0x00000000|0x00080000
+!else
# 512 bytes of configuration header & 8 bytes of image header
0x00000000|0x00000208
0x00000208|0x0007FDF8
+!endif
gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize
FV = FVMAIN_COMPACT
################################################################################
[FV.FvMain]
-BlockSize = 0x40
+BlockSize = 0x1
NumBlocks = 0 # This FV gets compressed so make it just big enough
FvAlignment = 8 # FV alignment and FV attributes setting.
ERASE_POLARITY = 1
#NOTE: Open source EHCI stack doesn't work on Beagleboard.
#NOTE: UsbBus and UsbMassStorage don't work using iPhond SDK tool chain.
-## INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
-## INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
-## INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
-
- INF AppleCommonPkg/Bus/Pci/EhciDxe/Ehci.inf
- INF AppleCommonPkg/Bus/Usb/UsbBotDxe/UsbBot.inf
- INF AppleCommonPkg/Bus/Usb/UsbCbiDxe/Cbi0/UsbCbi0.inf
- INF AppleCommonPkg/Bus/Usb/UsbCbiDxe/Cbi1/UsbCbi1.inf
- INF AppleCommonPkg/Bus/Usb/UsbBusDxe/UsbBus.inf
- INF AppleCommonPkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorage.inf
+ INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
+ INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
+ INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
#
# UEFI application (Shell Embedded Boot Loader)
#
INF EmbeddedPkg/Ebl/Ebl.inf
-
#
# Bds
#
- INF BeagleBoardPkg/Bds/Bds.inf
+ INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
+ INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
+ INF ArmPlatformPkg/Bds/Bds.inf