Page 1
TrustBox BSP user guide Description This technical reference document serves as a guide on how to build and use the BSP for the Scalys TrustBox.
Page 2
Introduction This document serves as a technical reference document on how to build the Board Support Package (BSP) for the Scalys TrustBox. It is meant to supplement the available documentation already provided by NXP[ , ]. The TrustBox features a QorIQ LS A processor[ ] that contains a single Arm Cortex-A core.
-a <accountname> docker sudo service docker restart Make sure to logout once to apply the changes to your user. . Clone bsp-lsdk repository from the Scalys github page to your working directory: git clone https://github.com/Scalys/bsp-lsdk.git . Switch to the release branch: cd bsp-lsdk &&...
NXP guide[ ] to get more details on how to accomplish this. In this section we will show how to build a Linux kernel in a stand-alone fashion. Start by cloning the correct Linux kernel repository (with the appropriate branch) from the Scalys github page. For this example we take the kernel used in the...
Namely an external QSPI ash device and an internal hardcoded source. The TrustBox by default selects the QSPI device as the source. The is a set of 6 bytes, which de ne how the LS A and its interfaces are con gured.
The exbuild build system supports the command to build a U-boot image, starting from this version it is available for the TrustBox machine: flex-builder -c uboot -m trustbox -b qspi The corresponding binary can be found at build/ rmware/u-boot/trustbox/. Standalone U-boot build Download the Scalys U-boot repository: git clone https://github.com/Scalys/u-boot-qoriq.git -b trustbox-1903 &&...
BSP User guide www.scalys.com TrustBox ash con guration Primary ash partitioning The primary NOR ash has been partitioned into the following functional parts: u-boot Partition containing the PBL (RCW + PBI) at x and U-boot bootloader starting from the offset...
Installing and updating images Flashing/updating the RFS on the SD card By default the TrustBox will attempt to boot the Linux kernel from an SD card. Without modi cation it requires the rst partition to be formatted into a ext lesystem.
<variable> command. Recovering from the rescue ash The primary ash memory data may become corrupted during usage. The TrustBox therefore includes a back-up U-boot image on a read-only rescue ash memory, that may be used to write correct data onto the primary ash memory . To boot from this rescue ash the following two steps should be performed: .
TrustBox with a static IP in the address range of your dedicated network port on your host PC. To do this we can add the following lines in the ’/etc/network/interfaces’ le:...
Why doesn’t my TrustBox produce any output data on the serial interface? Firstly make sure you have the correct power supply for the TrustBox, or else it might not boot fully. Even though the green power LED is lit it might not be enough for all the interfaces on the TrustBox.
Page 19
Note that the LSDK kernel expects a valid ppa rmware to be available to boot succesfully. You can generate a default LS A ppa binary in the LSDK exbuild environment using: flex-builder -c ppa-generic -m trustbox You can then nd the binary under build/ rmware/ppa/soc-ls /ppa.itb, which may be pro- grammed in the primary ash under U-boot.
Need help?
Do you have a question about the TrustBox and is the answer not in the manual?
Questions and answers