Need help? Write to us contact@example.com

Please, enable Compare.
  1. Home
  2. Knowledge Base
  3. Yocto on SMARC
  4. TI Sitara AM437X
  5. Building Processor SDK 04.01.00.06 Yocto Morty BSP Distribution

Building Processor SDK 04.01.00.06 Yocto Morty BSP Distribution


http://arago-project.org/git/projects/oe-layersetup.git
http://arago-project.org/git/projects/tisdk-build-scripts.git

Overview of the meta-embedian Yocto Layer


Notes on meta-embedian layer content

This folder contains the machine definitions for for the smarct437x platform and backup repository in Embedian. These select the associated kernel, kernel config, u-boot, u-boot config, and tar.bz2 image settings.

This folder contains recipes used to build DAS U-boot for smarct437x platform.

This folder remove telnetd from busybox for all Embedian’s platform.  

These recipes are used to create the final target images for the devices. When you run Bitbake one of these recipes would be specified. For example, to build the root file system for the smarct437x platform:

Contains the recipes needed to build for all Embedian’s platform Linux kernels.

Setting Up the Tools and Build Environment

















Building the Target Platforms




You may want to build programs that aren’t installed into a root file system so you can make them available via a feed site (described below.) To do this you can build the package directly and then build the package named package-index to add the new package to the feed site.



This folder contains the binary images for the root file system and the Embedian SMARC-T437X specific version of the am437x SDK. Specifically the images are: 

This is u-boot binary file for SMARC-T437X.

The “Stage 1 SPI NOR flash Boot Loader” for SMARC-T437X.  Its purpose is load the Stage 2 Boot Loader (u-boot.img).

The kernel zImage for SMARC-T437X.  

The device tree binary file for SMARC-T437X

Embedian root file system images for software development on Embedian’s SMARC-T437X platforms.

This folder contains all the packages used to construct the root file system images. They are in opkg format (similar format to Debian packages) and can be dynamically installed on the target platform via a properly  constructed feed file. Here is an example of the feed file (named base-feeds.conf) that is used internally at Embedian to install upgrades onto a smarct437x platform without reflashing the file system:



A database of all licenses used in all packages built for the system.

The installer for ARM toolchain that was created for the target platform. In Embedian’s case that means that the headers for the Boost libraries are baked into the tools. (Generate by meta-toolchain-smarc-tisdk image)

Setup SD Card















If on-module SPI NOR Flash is not empty

The MLO.byteswap and u-boot.img is pre-installed in SPI NOR flash at factory default. SMARC-T4378 is designed to always boot u-boot from SPI NOR flash and to load zImage and root file systems based on the setting of BOOT_SEL. If users need to fuse their own u-boot or perform u-boot upgrade. This section will instruct you how to do that.

build/arago-tmp-external-linaro-toolchain/deploy/images/smarct437x


To write MLO.byteswap and u-boot.img to the SPI NOR flash.

Stop at U-Boot command prompt (Press any key when booting up). Copy and Paste the following script under u-boot command prompt. 

U-Boot Command Prompt


Notes


If on-module SPI NOR Flash is empty

build/arago-tmp-external-linaro-toolchain/deploy/images/smarct437x

Notes


~/uEnv.txt

~/


build/arago-tmp-external-linaro-toolchain/deploy/images/smarct437x


build/arago-tmp-external-linaro-toolchain/deploy/images/smarct437x


build/arago-tmp-external-linaro-toolchain/deploy/images/smarct437x

Notes



Feed Packages









Writing Bitbake Recipes







WORKDIR is located at ${OETREE}/build/arago-tmp-external-linaro-toolchain/work/armv7ahf-neon-linux-gnueabi/<package name and version for most packages. If the package is machine-specific (rather than generic for the armv8a architecture), it may be located in the smarct437x-linux-gnueabi subdirectory depending on your hardware (this applies to kernel packages, images, etc).







build/arago-tmp-external-linaro-toolchain/deploy/images/smarct437x


~/uEnv.txt


build/arago-tmp-external-linaro-toolchain/deploy/images/smarct437x



build/arago-tmp-external-linaro-toolchain/deploy/images/smarct437x























Was this article helpful?