blob: 72a51f3cc85c81dde5993d80255dfd526f9628f5 [file] [log] [blame]
Paul Beesleyf3653a62019-05-22 11:22:44 +01001NXP QorIQ® LS1043A
2==================
Jiafei Pan46367ad2018-03-02 07:23:30 +00003
4The QorIQ® LS1043A processor is NXP's first quad-core, 64-bit Arm®-based
5processor for embedded networking. The LS1023A (two core version) and the
6LS1043A (four core version) deliver greater than 10 Gbps of performance
7in a flexible I/O package supporting fanless designs. This SoC is a
8purpose-built solution for small-form-factor networking and industrial
9applications with BOM optimizations for economic low layer PCB, lower cost
10power supply and single clock design. The new 0.9V versions of the LS1043A
11and LS1023A deliver addition power savings for applications such as Wireless
12LAN and to Power over Ethernet systems.
13
14LS1043ARDB Specification:
15-------------------------
16Memory 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
23Ethernet:
24 * XFI 10G port
25 * QSGMII with 4x 1G ports
26 * Two RGMII ports
27
28PCIe:
29 * PCIe2 (Lanes C) to mini-PCIe slot
30 * PCIe3 (Lanes D) to PCIe slot
31
32USB 3.0: two super speed USB 3.0 type A ports
33
34UART: supports two UARTs up to 115200 bps for console
35
36More information are listed in `ls1043`_.
37
38Boot Sequence
Paul Beesleyf3653a62019-05-22 11:22:44 +010039-------------
Jiafei Pan46367ad2018-03-02 07:23:30 +000040
41
42Bootrom --> 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
46How to build
Paul Beesleyf3653a62019-05-22 11:22:44 +010047------------
Jiafei Pan46367ad2018-03-02 07:23:30 +000048
49Build Procedure
Paul Beesleyf3653a62019-05-22 11:22:44 +010050~~~~~~~~~~~~~~~
Jiafei Pan46367ad2018-03-02 07:23:30 +000051
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 Dykesef3a4562020-01-08 20:37:18 +000062 CROSS_COMPILE=aarch64-linux-gnu- make PLAT=ls1043 bl1
Jiafei Pan46367ad2018-03-02 07:23:30 +000063
64 Build fip:
65
66 .. code:: shell
67
Mark Dykesef3a4562020-01-08 20:37:18 +000068 CROSS_COMPILE=aarch64-linux-gnu- make PLAT=ls1043 fip \
Jiafei Pan46367ad2018-03-02 07:23:30 +000069 BL33=u-boot.bin NEED_BL32=yes BL32=tee.bin SPD=opteed
70
71Deploy TF-A Images
Paul Beesleyf3653a62019-05-22 11:22:44 +010072~~~~~~~~~~~~~~~~~~
Jiafei Pan46367ad2018-03-02 07:23:30 +000073
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