Overview This document describes the steps that are required to build a Yocto compatible Linux kernel for AXM5516 simulation, from github. The build produces a kernel image, a root file system, and kernel header files to allow the building of loadable modules.

Instructions 1. Create a build directory, and set and environment variable, YOCTO, to the full path.

1 2 3

$ mkdir $ cd $ export YOCTO=`pwd` 1. Setup the Yocto base (Poky) environment Note: Please specify the http and https proxy, if required.

1 2 3 4 5 6 7 8

$ $ $ $ $ $ $ $

cd $YOCTO git clone git://git.yoctoproject.org/poky.git cd poky git checkout danny git clone https://github.com/lsigithub/lsi_axxia_yocto_extras.git mv lsi_axxia_yocto_extras meta-lsi cd meta-lsi git checkout lsi_axxia_linux_7.8.1.2

1. Clone the Yocto linux kernel

1 2

$ cd $YOCTO $ git clone https://github.com/lsigithub/lsi_axxia_yocto_public.git

This step will take a while. When complete, you should end up with a $YOCTO/lsi_axxia_yocto_public directory. 1. Create the build directory

1 2

$ cd $YOCTO $ source poky/oe-init-build-env lsisim

This creates a new build directory lsisim, and automatically puts you into this directory. 1. Edit the conf/bblayers.conf file

1 2

$ pwd (you should be at $YOCTO/lsisim) $ vi conf/bblayers.conf

Edit BBLAYERS as follows. Use the value of $YOCTO instead of $YOCTO. BBLAYERS ?= " \ $YOCTO/poky/m eta \ $YOCTO/poky/m eta-yocto \ $YOCTO/poky/m eta-yocto-bsp \ $YOCTO/poky/m eta-lsi \ " 1. Edit the conf/local.conf file:

$ vi conf/local.conf Make sure the following are set. BB_NUMBER_THREADS = "4" PARALLEL_MAKE = "-j 4" MACHINE = "lsisim " IMAGE_FSTYPES += "ext2" PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-custom " Other optional settings for saving disk space and build time: DL_DIR = "//downloads" SSTATE_DIR = "//sstate-cache" 1. Start the build

$ bitbake core-image-minimal 1. After the build completes, the rootfs (ext2) will be in the following. $YOCTO/lsisim/tmp/deploy/images/core-image-minimal-lsisim.ext2 2. To create the Linux image required by ASE, and the kernel header file archive, do the following. 1. mkdir $YOCTO/axm5516-sim-headers 2. cd $YOCTO/lsisim/tmp/work/lsisim-poky-linux-gnueabi/linux-yocto-custom3.4.28+git1+973494766d7ca2401e3138f28b6257a5b899cf1d-r0/linux-lsisim-standard-build 3. tar chzf - . | ( cd $YOCTO/axm5516-sim-headers && tar xzvf - ) The Linux image for the ASE is archived in $YOCTO/axm5516-sim-headers/arch/arm/boot/linux.img.tar.bz2

Overview Instructions - GitHub

The build produces a kernel image, a root file system, and kernel header ... git1+973494766d7ca2401e3138f28b6257a5b899cf1d-r0/linux-lsisim-standard-build.

35KB Sizes 4 Downloads 316 Views

Recommend Documents

Overview Instructions - GitHub
With U-Boot as the boot loader, the above need to be put into a format that U-Boot understands. The following describes using the FIT format (see doc/uImage.

Mendel90 Kit Instructions - GitHub
Jul 27, 2012 - 01/10/13 Updated remaining assembly views for black screws and red ...... Start by printing a paper template from the pdf drawing y_heatshield.pdf. ...... thick then you might want to re-slice the Android STL with the PLA 0.2mm.

Monolase - Instructions - GitHub
STUFF. For any questions, comments, bugs, or feature requests contact me at [email protected] Patch can be downloaded at my webpage:.

Overview Instruction - GitHub
IMAGE_FSTYPES += "ext2". PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-custom". Other optional settings for saving disk space and build time:.

BreedR Overview - GitHub
6 0 56. 72. 0. 55 1. 14 13. 4.775. 9 0 55. 73. 0. 22 1. 8. 13. 19.099 12 0 22. 74. 0 .... Predicted genetic values vs. ...... Plus some more specific metagene functions:.

Instructions for using FALCON - GitHub
Jul 11, 2014 - College of Life and Environmental Sciences, University of Exeter, ... used in FALCON is also available (see FALCON_Manuscript.pdf. ). ... couraged to read the accompanying technical document to learn ... GitHub is an online repository

Overview Local Builds and Modifications - GitHub
restore "u-boot-spl.bin" binary S:0x20000000 set var $pc ... restore "parameters" binary S:0x2003f000 ... It is possible to use the data path instead of the FEMAC.

Makerspace RFID Lock Management Overview - GitHub
python manage.py loaddata rfid_lock_management/fixtures/initial.json. Run the Django development server. $ python manage.py runserver ... microcontroller (Arduino) that connects to the RFID scanner and operates the locking mechanism. Simulating authe