144937214SPrabhakar KushwahaOverview 244937214SPrabhakar Kushwaha-------- 344937214SPrabhakar KushwahaThe LS2080A Reference Design (RDB) is a high-performance computing, 49ae836cdSPriyanka Jainevaluation, and development platform that supports the QorIQ LS2080A, LS2088A 544937214SPrabhakar KushwahaLayerscape Architecture processor. 644937214SPrabhakar Kushwaha 73049a583SPriyanka JainThe LS2081A Reference Design (RDB) is a high-performance computing, 83049a583SPriyanka Jainevaluation, and development platform that supports the QorIQ LS2081A 93049a583SPriyanka JainLayerscape Architecture processor.More details in below sections 103049a583SPriyanka Jain 113049a583SPriyanka JainLS2080A, LS2088A, LS2081A SoC Overview 123049a583SPriyanka Jain-------------------------------------- 139ae836cdSPriyanka JainPlease refer arch/arm/cpu/armv8/fsl-layerscape/doc/README.soc for LS2080A, 143049a583SPriyanka JainLS2081A, LS2088A SoC overview. 1544937214SPrabhakar Kushwaha 1644937214SPrabhakar Kushwaha LS2080ARDB board Overview 1744937214SPrabhakar Kushwaha ----------------------- 1844937214SPrabhakar Kushwaha - SERDES Connections, 16 lanes supporting: 1944937214SPrabhakar Kushwaha - PCI Express - 3.0 2044937214SPrabhakar Kushwaha - SATA 3.0 2144937214SPrabhakar Kushwaha - XFI 2244937214SPrabhakar Kushwaha - DDR Controller 2344937214SPrabhakar Kushwaha - Two ports of 72-bits (8-bits ECC) DDR4. Each port supports four 2444937214SPrabhakar Kushwaha chip-selects and two DIMM connectors. Support is up to 2133MT/s. 2544937214SPrabhakar Kushwaha - One port of 40-bits (8-bits ECC) DDR4 which supports four chip-selects 2644937214SPrabhakar Kushwaha and two DIMM connectors. Support is up to 1600MT/s. 2744937214SPrabhakar Kushwaha -IFC/Local Bus 2844937214SPrabhakar Kushwaha - IFC rev. 2.0 implementation supporting Little Endian connection scheme. 2944937214SPrabhakar Kushwaha - 128 MB NOR flash 16-bit data bus 3044937214SPrabhakar Kushwaha - One 2 GB NAND flash with ECC support 3144937214SPrabhakar Kushwaha - CPLD connection 3244937214SPrabhakar Kushwaha - USB 3.0 3344937214SPrabhakar Kushwaha - Two high speed USB 3.0 ports 3444937214SPrabhakar Kushwaha - First USB 3.0 port configured as Host with Type-A connector 3544937214SPrabhakar Kushwaha - Second USB 3.0 port configured as OTG with micro-AB connector 3644937214SPrabhakar Kushwaha - SDHC adapter 3744937214SPrabhakar Kushwaha - SD Card Rev 2.0 and Rev 3.0 3844937214SPrabhakar Kushwaha - DSPI 3944937214SPrabhakar Kushwaha - 128 MB high-speed flash Memory for boot code and storage (up to 108MHz) 4044937214SPrabhakar Kushwaha - 4 I2C controllers 4144937214SPrabhakar Kushwaha - Two SATA onboard connectors 4244937214SPrabhakar Kushwaha - UART 4344937214SPrabhakar Kushwaha - ARM JTAG support 4444937214SPrabhakar Kushwaha 453049a583SPriyanka Jain LS2081ARDB board Overview 463049a583SPriyanka Jain ------------------------- 473049a583SPriyanka Jain LS2081ARDB board is similar to LS2080ARDB board 483049a583SPriyanka Jain with few differences like 493049a583SPriyanka Jain - Hosts LS2081A SoC 503049a583SPriyanka Jain - Default boot source is QSPI-boot 513049a583SPriyanka Jain - Does not have IFC interface 523049a583SPriyanka Jain - RTC and QSPI flash devices are different 533049a583SPriyanka Jain - Provides QIXIS access via I2C 543049a583SPriyanka Jain 5544937214SPrabhakar KushwahaMemory map from core's view 5644937214SPrabhakar Kushwaha---------------------------- 5744937214SPrabhakar Kushwaha0x00_0000_0000 .. 0x00_000F_FFFF Boot Rom 5844937214SPrabhakar Kushwaha0x00_0100_0000 .. 0x00_0FFF_FFFF CCSR 5944937214SPrabhakar Kushwaha0x00_1800_0000 .. 0x00_181F_FFFF OCRAM 6089a168f7SPriyanka Jain0x00_2000_0000 .. 0x00_2FFF_FFFF QSPI region #1 6144937214SPrabhakar Kushwaha0x00_3000_0000 .. 0x00_3FFF_FFFF IFC region #1 6244937214SPrabhakar Kushwaha0x00_8000_0000 .. 0x00_FFFF_FFFF DDR region #1 6344937214SPrabhakar Kushwaha0x05_1000_0000 .. 0x05_FFFF_FFFF IFC region #2 6444937214SPrabhakar Kushwaha0x80_8000_0000 .. 0xFF_FFFF_FFFF DDR region #2 6544937214SPrabhakar Kushwaha 66a187559eSBin MengOther addresses are either reserved, or not used directly by U-Boot. 6744937214SPrabhakar KushwahaThis list should be updated when more addresses are used. 6844937214SPrabhakar Kushwaha 6944937214SPrabhakar KushwahaIFC region map from core's view 7044937214SPrabhakar Kushwaha------------------------------- 7144937214SPrabhakar KushwahaDuring boot i.e. IFC Region #1:- 7244937214SPrabhakar Kushwaha 0x30000000 - 0x37ffffff : 128MB : NOR flash 7344937214SPrabhakar Kushwaha 0x3C000000 - 0x40000000 : 64MB : CPLD 7444937214SPrabhakar Kushwaha 7544937214SPrabhakar KushwahaAfter relocate to DDR i.e. IFC Region #2:- 7644937214SPrabhakar Kushwaha 0x5_1000_0000..0x5_1fff_ffff Memory Hole 7744937214SPrabhakar Kushwaha 0x5_2000_0000..0x5_3fff_ffff IFC CSx (CPLD, NAND and others 512MB) 7844937214SPrabhakar Kushwaha 0x5_4000_0000..0x5_7fff_ffff ASIC or others 1GB 7944937214SPrabhakar Kushwaha 0x5_8000_0000..0x5_bfff_ffff IFC CS0 1GB (NOR/Promjet) 8044937214SPrabhakar Kushwaha 0x5_C000_0000..0x5_ffff_ffff IFC CS1 1GB (NOR/Promjet) 8144937214SPrabhakar Kushwaha 8244937214SPrabhakar KushwahaBooting Options 8344937214SPrabhakar Kushwaha--------------- 8444937214SPrabhakar Kushwahaa) NOR boot 8544937214SPrabhakar Kushwahab) NAND boot 8689a168f7SPriyanka Jainc) QSPI boot 8789a168f7SPriyanka Jain 88f5bf23d8SSantan KumarMemory map for NOR boot 89f5bf23d8SSantan Kumar------------------------- 90f5bf23d8SSantan KumarImage Flash Offset 91f5bf23d8SSantan KumarRCW+PBI 0x00000000 92f5bf23d8SSantan KumarBoot firmware (U-Boot) 0x00100000 93f5bf23d8SSantan KumarBoot firmware Environment 0x00300000 94f5bf23d8SSantan KumarPPA firmware 0x00400000 95*7676074aSUdit AgarwalSecure Headers 0x00600000 96f5bf23d8SSantan KumarCortina PHY firmware 0x00980000 97f5bf23d8SSantan KumarDPAA2 MC 0x00A00000 98f5bf23d8SSantan KumarDPAA2 DPL 0x00D00000 99f5bf23d8SSantan KumarDPAA2 DPC 0x00E00000 100f5bf23d8SSantan KumarKernel.itb 0x01000000 101f5bf23d8SSantan Kumar 10289a168f7SPriyanka Jaincfg_rcw_src switches needs to be changed for booting from different option. 10389a168f7SPriyanka JainRefer to board documentation for correct switch setting. 10489a168f7SPriyanka Jain 10589a168f7SPriyanka JainQSPI boot details 10689a168f7SPriyanka Jain=================== 10789a168f7SPriyanka JainSupported only for 10889a168f7SPriyanka Jain LS2088ARDB RevF board with LS2088A SoC. 10989a168f7SPriyanka Jain 11089a168f7SPriyanka JainImages needs to be copied to QSPI flash 11189a168f7SPriyanka Jainas per memory map given below. 11289a168f7SPriyanka Jain 11389a168f7SPriyanka JainMemory map for QSPI flash 11489a168f7SPriyanka Jain------------------------- 11589a168f7SPriyanka JainImage Flash Offset 11689a168f7SPriyanka JainRCW+PBI 0x00000000 11789a168f7SPriyanka JainBoot firmware (U-Boot) 0x00100000 11889a168f7SPriyanka JainBoot firmware Environment 0x00300000 11989a168f7SPriyanka JainPPA firmware 0x00400000 12089a168f7SPriyanka JainCortina PHY firmware 0x00980000 12189a168f7SPriyanka JainDPAA2 MC 0x00A00000 12289a168f7SPriyanka JainDPAA2 DPL 0x00D00000 12389a168f7SPriyanka JainDPAA2 DPC 0x00E00000 12489a168f7SPriyanka JainKernel.itb 0x01000000 12544937214SPrabhakar Kushwaha 12644937214SPrabhakar KushwahaBooting Linux flavors which do not support 48-bit VA (< Linux 3.18) 12744937214SPrabhakar Kushwaha------------------------------------------------------------------- 12844937214SPrabhakar KushwahaOne needs to use appropriate bootargs to boot Linux flavors which do 12944937214SPrabhakar Kushwahanot support 48-bit VA (for e.g. < Linux 3.18) by appending mem=2048M, as shown 13044937214SPrabhakar Kushwahabelow: 13144937214SPrabhakar Kushwaha 13244937214SPrabhakar Kushwaha=> setenv bootargs 'console=ttyS1,115200 root=/dev/ram 13344937214SPrabhakar Kushwaha earlycon=uart8250,mmio,0x21c0600,115200 default_hugepagesz=2m hugepagesz=2m 13444937214SPrabhakar Kushwaha hugepages=16 mem=2048M' 13544937214SPrabhakar Kushwaha 136