background image

 

 

 

 

  

Linux 5.10 Yocto SDK 

V2.1 

17/25 

 

© MicroSys Electronics GmbH 2022 

 

 

 

 

This will create the build directory and setup the required environment (after you 
have scrolled through a long license and accepted the EULA). 

$ bitbake microsys-image-networking

   

The above command will build everything (U-Boot, kernel, root filesystem) and may 
take several tens of minutes depending how powerful your host machine is (for the 
very first build, this can take several hours). Note that your Linux machine needs 
an internet connection for the above command. 

Assuming the build is successful, you should see some text similar to the output 
below: 

 .  .  .  .  .  .  .  .      

meta-openstack-swift-deploy  

meta-cloud-services = 
"HEAD:d8bc0d92d0f741e2ea1e6d3d9bc6b7a091d03cfb" 

meta-security     = "HEAD:f9367e71f923fc7d2fb600208e2b97535ea41777" 

meta-microsys     = "<unknown>:<unknown>" 

 

NOTE: Preparing RunQueue 

NOTE: Checking sstate mirror object availability (for 11 objects) 

NOTE: Executing SetScene Tasks 

NOTE: Executing RunQueue Tasks 

NOTE: Tasks Summary: Attempted 3054 tasks of which 2957 didn't need 
to be rerun and all succeeded. 

[user@localhost build_mpxls1043]$ 

 

 

 

The exact output may vary, depending on the version of Yocto in use. 

 

Since your build was successful, you will see the resulting images if you change to 
the following directory: 

[user@localhost mpxls10xx]$ cd ~/yocto-
sdk/build_mpxls10xx/tmp/deploy/images/mpxls10xx 

The Image Tree Binary file will have a name similar to: 

fitImage.itb 

The kernel and root filesystem are the same for all MPX modules supported by this 
SDK; only U-Boot and the Device Trees are different between the modules.  

Yocto will also generate a complete SD card image which can be copied directly 
onto an SD card inserted in the Linux host with the following command: 

Summary of Contents for Linux 5.10 Yocto SDK

Page 1: ...Linux 5 10 Yocto SDK User Manual V 2 2...

Page 2: ...AIP LX2160A 2 Prerequisites 2 1 1 Host Machine Requirements To operate the board you will need a host machine with the following capabilities an Ethernet interface to connect to the SBC either directl...

Page 3: ...d as the boot media Insert the SD card provided into ST1 The board comes pre configured to boot correctly on arrival by default from SD card Connect the mini USB cable to ST5 Connect an Ethernet cable...

Page 4: ...nt 3 2 CRX08 Make sure that switch SW5 1 is ON and SW5 2 is ON This is the factory default and selects the SD card as the boot media Insert the SD card provided into ST31 The board comes pre configure...

Page 5: ...DISCONNECT THE UNIT FROM POWER AND CHECK FOR FAULTS 4 1 Boot Procedure When power is supplied the system will boot into U Boot The factory default settings configure U Boot to boot straight into Linu...

Page 6: ...ronment variables setenv ipaddr 192 168 1 22 set environment variable imi print header information for application image reset reboot the board boot boot OS in our case Linux Note that the U Boot envi...

Page 7: ...he Linux is not configured to use DHCP therefore no IP address will have been assigned To see the Ethernet interfaces enter root mpxls10xx ifconfig a The SBC LS1046A and SBC LS1088A will show 4 Ethern...

Page 8: ...d line tool used to configure the FMan to perform the desired parse classify distribute function for a given application The FMC needs to be invoked to improve receive performance on the Ethernet inte...

Page 9: ...card contains a complete U Boot Linux kernel and root filesystem whereas only U Boot is programmed in the SPI Flash and also in NAND on the MPX LS1043A The default images for each boot media are prov...

Page 10: ...35 kernel This version uses TF A in stead of PPA as used in the previous release For a detailed explanation of the changes it is recommended to read NXP s LSDK 21 08 documentation https www nxp com d...

Page 11: ...013 495020 sd 4 0 0 2 sdd Write Protect is off 118013 495023 sd 4 0 0 2 sdd Mode Sense 43 00 00 08 118013 499008 sd 4 0 0 2 sdd No Caching mode page found 118013 499011 sd 4 0 0 2 sdd Assuming drive c...

Page 12: ...mat the filesystem this command will take 4 or 5 secs to complete user input is not required mkfs ext2 dev sdd1 mke2fs 1 42 9 28 Dec 2013 Filesystem label OS type Linux Block size 4096 log 2 Fragment...

Page 13: ...2 seek 18432 dd if iram_Type_A_LS1021a_r1 0 bin of dev sdd bs 512 seek 18944 For the LS1088A processor use dd if bl2_sd pbl of dev sdd bs 512 seek 8 dd if fip_uboot bin of dev sdd bs 512 seek 2048 dd...

Page 14: ...has been completely deleted or corrupted meaning there is no U Boot output when you power on the board then you will need to boot into U Boot from one of the other boot media in order to restore the...

Page 15: ...make changes to U Boot or the Linux kernel which will be the case if you want to modify U Boot and Linux for your own carrier board To be able to rebuild the Linux kernel you will need to have a Linu...

Page 16: ...ilding the BSP To be able to build everything you will need to have internet access from your host machine since the scripts need to fetch packages from the git repositaries Make sure you are in the d...

Page 17: ...e2b97535ea41777 meta microsys unknown unknown NOTE Preparing RunQueue NOTE Checking sstate mirror object availability for 11 objects NOTE Executing SetScene Tasks NOTE Executing RunQueue Tasks NOTE Ta...

Page 18: ...Layer Before you start modifying recipes it is best to create your own layer which will contain your changes 1 If not already done go to the build directory of the machine and call SOURCE_THIS This c...

Page 19: ...layer called workspace which contains the Linux sources as a GIT repository The sources can be found in the directory workspace sources linux qoriq Note if you have done this step before for example...

Page 20: ...es into meta mylayer If you plan to make more modifications to Linux it s better not to delete the source tree from the workspace directory Keep it Note If you think that you are done with all of your...

Page 21: ...rectory which needs to be sourced from each terminal where you want to invoke the cross com piler cd tmp source environment setup aarch64 fsl linux unset LDFLAGS 6 5 Hailo Benchmarking Please follow t...

Page 22: ...Linux 5 10 Yocto SDK V2 1 22 25 MicroSys Electronics GmbH 2022 hailortcli scan Hailo PCIe Devices Device BDF 0000 01 00 0 Device BDF 0001 01 00 0...

Page 23: ...vide the product name and version for which you wish to obtain the corresponding source code and your contact details so that we can coordinate the terms and cost of shipment with you The source code...

Page 24: ...2 DPL Data Path Layout Needed for DPAA2 DTB Device Tree Blob The binary representation of device trees FMan Frame Manager A DPAA hardware block FSL Freescale were acquired by NXP Semiconductors in Dec...

Page 25: ...0 1 Initial Release for 4 14 kernel 2018 09 11 0 2 Minor improvements 2018 12 19 0 3 Added comments on FMC 2021 10 11 1 0 Update to LSDK 20 12 2021 11 18 2 0 Update to LSDK 21 08 and added support fo...

Reviews: