Paul Beesley | f3653a6 | 2019-05-22 11:22:44 +0100 | [diff] [blame] | 1 | NXP QorIQ® LS1043A |
| 2 | ================== |
Jiafei Pan | 46367ad | 2018-03-02 07:23:30 +0000 | [diff] [blame] | 3 | |
| 4 | The QorIQ® LS1043A processor is NXP's first quad-core, 64-bit Arm®-based |
| 5 | processor for embedded networking. The LS1023A (two core version) and the |
| 6 | LS1043A (four core version) deliver greater than 10 Gbps of performance |
| 7 | in a flexible I/O package supporting fanless designs. This SoC is a |
| 8 | purpose-built solution for small-form-factor networking and industrial |
| 9 | applications with BOM optimizations for economic low layer PCB, lower cost |
| 10 | power supply and single clock design. The new 0.9V versions of the LS1043A |
| 11 | and LS1023A deliver addition power savings for applications such as Wireless |
| 12 | LAN and to Power over Ethernet systems. |
| 13 | |
| 14 | LS1043ARDB Specification: |
| 15 | ------------------------- |
| 16 | Memory subsystem: |
| 17 | * 2GByte DDR4 SDRAM (32bit bus) |
| 18 | * 128 Mbyte NOR flash single-chip memory |
| 19 | * 512 Mbyte NAND flash |
| 20 | * 16 Mbyte high-speed SPI flash |
| 21 | * SD connector to interface with the SD memory card |
| 22 | |
| 23 | Ethernet: |
| 24 | * XFI 10G port |
| 25 | * QSGMII with 4x 1G ports |
| 26 | * Two RGMII ports |
| 27 | |
| 28 | PCIe: |
| 29 | * PCIe2 (Lanes C) to mini-PCIe slot |
| 30 | * PCIe3 (Lanes D) to PCIe slot |
| 31 | |
| 32 | USB 3.0: two super speed USB 3.0 type A ports |
| 33 | |
| 34 | UART: supports two UARTs up to 115200 bps for console |
| 35 | |
| 36 | More information are listed in `ls1043`_. |
| 37 | |
| 38 | Boot Sequence |
Paul Beesley | f3653a6 | 2019-05-22 11:22:44 +0100 | [diff] [blame] | 39 | ------------- |
Jiafei Pan | 46367ad | 2018-03-02 07:23:30 +0000 | [diff] [blame] | 40 | |
| 41 | |
| 42 | Bootrom --> TF-A BL1 --> TF-A BL2 --> TF-A BL1 --> TF-A BL31 |
| 43 | --> BL32(Tee OS) --> TF-A BL31 --> BL33(u-boot) --> Linux kernel |
| 44 | |
| 45 | |
| 46 | How to build |
Paul Beesley | f3653a6 | 2019-05-22 11:22:44 +0100 | [diff] [blame] | 47 | ------------ |
Jiafei Pan | 46367ad | 2018-03-02 07:23:30 +0000 | [diff] [blame] | 48 | |
| 49 | Build Procedure |
Paul Beesley | f3653a6 | 2019-05-22 11:22:44 +0100 | [diff] [blame] | 50 | ~~~~~~~~~~~~~~~ |
Jiafei Pan | 46367ad | 2018-03-02 07:23:30 +0000 | [diff] [blame] | 51 | |
| 52 | - Prepare AARCH64 toolchain. |
| 53 | |
| 54 | - Build u-boot and OPTee firstly, and get binary images: u-boot.bin and tee.bin |
| 55 | |
| 56 | - Build TF-A for Nor boot |
| 57 | |
| 58 | Build bl1: |
| 59 | |
| 60 | .. code:: shell |
| 61 | |
Mark Dykes | ef3a456 | 2020-01-08 20:37:18 +0000 | [diff] [blame] | 62 | CROSS_COMPILE=aarch64-linux-gnu- make PLAT=ls1043 bl1 |
Jiafei Pan | 46367ad | 2018-03-02 07:23:30 +0000 | [diff] [blame] | 63 | |
| 64 | Build fip: |
| 65 | |
| 66 | .. code:: shell |
| 67 | |
Mark Dykes | ef3a456 | 2020-01-08 20:37:18 +0000 | [diff] [blame] | 68 | CROSS_COMPILE=aarch64-linux-gnu- make PLAT=ls1043 fip \ |
Jiafei Pan | 46367ad | 2018-03-02 07:23:30 +0000 | [diff] [blame] | 69 | BL33=u-boot.bin NEED_BL32=yes BL32=tee.bin SPD=opteed |
| 70 | |
| 71 | Deploy TF-A Images |
Paul Beesley | f3653a6 | 2019-05-22 11:22:44 +0100 | [diff] [blame] | 72 | ~~~~~~~~~~~~~~~~~~ |
Jiafei Pan | 46367ad | 2018-03-02 07:23:30 +0000 | [diff] [blame] | 73 | |
| 74 | - Deploy TF-A images on Nor flash Alt Bank. |
| 75 | |
| 76 | .. code:: shell |
| 77 | |
| 78 | => tftp 82000000 bl1.bin |
| 79 | => pro off all;era 64100000 +$filesize;cp.b 82000000 64100000 $filesize |
| 80 | |
| 81 | => tftp 82000000 fip.bin |
| 82 | => pro off all;era 64120000 +$filesize;cp.b 82000000 64120000 $filesize |
| 83 | |
| 84 | Then change to Alt bank and boot up TF-A: |
| 85 | |
| 86 | .. code:: shell |
| 87 | |
| 88 | => cpld reset altbank |
| 89 | |
| 90 | |
| 91 | .. _ls1043: https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/qoriq-layerscape-arm-processors/qoriq-layerscape-1043a-and-1023a-multicore-communications-processors:LS1043A?lang_cd=en |