1NXP QorIQ® LS1043A
2==================
3
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
39-------------
40
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
47------------
48
49Build Procedure
50~~~~~~~~~~~~~~~
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
62       CROSS_COMPILE=aarch64-linux-gnu- make PLAT=ls1043 bl1
63
64   Build fip:
65
66   .. code:: shell
67
68       CROSS_COMPILE=aarch64-linux-gnu- make PLAT=ls1043 fip \
69       BL33=u-boot.bin NEED_BL32=yes BL32=tee.bin SPD=opteed
70
71Deploy TF-A Images
72~~~~~~~~~~~~~~~~~~
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
92