Poky manual: Difference between revisions

From ElphelWiki
Jump to navigation Jump to search
Oleg (talk | contribs)
No edit summary
Oleg (talk | contribs)
No edit summary
Line 1: Line 1:
==<font color="blue">Description</font>==
* Building embedded Linux image for Zynq ARMv7 platform - Elphel 10393 board
==<font color="blue">About</font>==
==<font color="blue">About</font>==


* Building Linux images for Zynq platform - ARMv7
* Yocto Poky revision = 2.0
* Host OS = Kubuntu 14.04.3 LTS x64


* Yocto Poky revision = 2.0
==<font color="blue">Required packages</font>==
* Host OS Kubuntu 14.04.3 LTS x64
* Found in [http://www.yoctoproject.org/docs/2.0/mega-manual/mega-manual.html Yocto Project mega-manual]
 
==<font color="blue">Output files</font>==
Found in the poky's deploy directory: '''poky/build/tmp/deploy/images/'''
 
These names are listed as they appear in the u-boot configuration header file - actual output files have different names:
* '''boot.bin'''+('''u-boot-dtb.img''') - u-boot as the first stage bootloader = Secondary Program Loader that boots '''u-boot-dtb.img'''
<font style='color:rgba(200,200,200,1)'>
* '''devicetree.dtb''' - device tree with described interfaces, zynq registers, interrupts and drivers
* '''uImage''' - kernel, drivers
* '''uramdisk.image.gz''' - applications
</font>
Copy them on the micro SD card (FAT partition) > run '''boot''' once in the u-boot command line.
 
==<font color="blue">Boot options</font>==
a. Auto unpacking the root file system image to RAM when booting.
 
Check u-boot default environment variables when building the bootloader.
 
Keep '''uramdisk.image.gz''' along with all the other files on the FAT partition of (micro)SD card.

Revision as of 21:39, 22 January 2016

Description

  • Building embedded Linux image for Zynq ARMv7 platform - Elphel 10393 board

About

  • Yocto Poky revision = 2.0
  • Host OS = Kubuntu 14.04.3 LTS x64

Required packages

Output files

Found in the poky's deploy directory: poky/build/tmp/deploy/images/

These names are listed as they appear in the u-boot configuration header file - actual output files have different names:

  • boot.bin+(u-boot-dtb.img) - u-boot as the first stage bootloader = Secondary Program Loader that boots u-boot-dtb.img

  • devicetree.dtb - device tree with described interfaces, zynq registers, interrupts and drivers
  • uImage - kernel, drivers
  • uramdisk.image.gz - applications

Copy them on the micro SD card (FAT partition) > run boot once in the u-boot command line.

Boot options

a. Auto unpacking the root file system image to RAM when booting.

Check u-boot default environment variables when building the bootloader.

Keep uramdisk.image.gz along with all the other files on the FAT partition of (micro)SD card.