Overview This README captures the steps that are required to build Yocto compatible Linux kernel, from github. The Linux build will include a kernel image, linux.img, the full image with symbols, vmlinux, and the address of labels, System.map, as well as a root file system rootfs.ext2. It will also include the kernel header files to allow the building of loadable modules. Use the following instructions to build everything in axm5516-sim.
Instruction 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 9 10
$ $ $ $ $ $ $ $ $ $
cd $YOCTO mkdir Yocto 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.1
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_INSTALL_append += "openssh tcl perl" 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-custom-rt3.4.28+git1+eb15727b3e29216d11d7b409b62da4dc62374cdc-r0/linux-lsisim-standard-build 3. tar chzf - . | ( cd ~/Yocto/axm5516-sim-headers && tar xzvf - ) 4. cd $YOCTO/axm5516-sim-headers 5. export PATH=$YOCTO/lsisim/tmp/sysroots/i686-linux x86_64-linux/usr/bin/armv7a-vfp-neon-poky-linuxgnueabi:$PATH 6. export CROSS_COMPILE=arm-poky-linux-gnueabi7. export ARCH=arm 8. cd arch/arm/boot/fmboot 9. make The Linux image for the ASE is linux.img
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.
The build produces a kernel image, a root file system, and kernel header ... git1+973494766d7ca2401e3138f28b6257a5b899cf1d-r0/linux-lsisim-standard-build.
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.
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
... of this technique in New. Zealand. We are personally committed to ensuring best-practice use of these toilets. so get in touch if you have any questions. But ultimately it is up to you to make sure. your toilet system operates effectively and saf