diff options
| author | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 14:29:42 +0200 |
|---|---|---|
| committer | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 14:29:42 +0200 |
| commit | 99ac0639fff61cbdcfe58668eb9b0083d624504f (patch) | |
| tree | f9142a48899bace9dda4f48c80e9a6f4b123c504 /README | |
| download | meta-xilinx-99ac0639fff61cbdcfe58668eb9b0083d624504f.tar.gz | |
initial commit for Enea Linux 4.0
Migrated from the internal git server on the daisy-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'README')
| -rw-r--r-- | README | 94 |
1 files changed, 94 insertions, 0 deletions
| @@ -0,0 +1,94 @@ | |||
| 1 | meta-xilinx | ||
| 2 | =========== | ||
| 3 | |||
| 4 | This layer provides Official support for Xilinx MicroBlaze and Zynq | ||
| 5 | architectures as well as evaluation boards. | ||
| 6 | |||
| 7 | Supported Boards/Machines | ||
| 8 | ========================= | ||
| 9 | |||
| 10 | Boards Supported by this layer (Please refer to the associate .conf for more | ||
| 11 | information): | ||
| 12 | * Xilinx KC705 Embedded TRD (MicroBlaze) | ||
| 13 | * Xilinx ZC702 (Zynq) | ||
| 14 | * Avnet/Digilent ZedBoard (Zynq) | ||
| 15 | |||
| 16 | Additional information on the MicroBlaze or Zynq architectures can be found at: | ||
| 17 | http://www.xilinx.com/support/index.htm | ||
| 18 | |||
| 19 | Patches | ||
| 20 | ======= | ||
| 21 | |||
| 22 | Please submit any patches for this layer to: meta-xilinx@lists.yoctoproject.org. | ||
| 23 | |||
| 24 | Please see the MAINTAINERS file for more details. | ||
| 25 | |||
| 26 | Dependencies | ||
| 27 | ============ | ||
| 28 | |||
| 29 | This layer depends on: | ||
| 30 | |||
| 31 | URI: git://git.openembedded.org/bitbake | ||
| 32 | |||
| 33 | URI: git://git.openembedded.org/openembedded-core | ||
| 34 | layers: meta | ||
| 35 | |||
| 36 | Build Instructions | ||
| 37 | ================== | ||
| 38 | |||
| 39 | The following instructions require a Poky installation (or equivalent). | ||
| 40 | |||
| 41 | Initialize a build using the 'oe-init-build-env' script in Poky. Once | ||
| 42 | initialized configure bblayers.conf by adding the 'meta-xilinx' layer. e.g.: | ||
| 43 | |||
| 44 | BBLAYERS ?= " \ | ||
| 45 | <path to layer>/oe-core/meta \ | ||
| 46 | <path to layer>/meta-xilinx \ | ||
| 47 | " | ||
| 48 | |||
| 49 | To build a specific target BSP configure the associated machine in local.conf: | ||
| 50 | |||
| 51 | MACHINE ?= "zc702-zynq7" | ||
| 52 | |||
| 53 | Build the target file system image using bitbake: | ||
| 54 | |||
| 55 | $ bitbake core-image-minimal | ||
| 56 | |||
| 57 | Build additional targets, including U-Boot: | ||
| 58 | |||
| 59 | $ bitbake u-boot-xlnx | ||
| 60 | |||
| 61 | Once complete the images for the target machine will be available in the output | ||
| 62 | directory 'tmp/deploy/images'. | ||
| 63 | |||
| 64 | Images generated: | ||
| 65 | * core-image-minimal-<machine name>.tar.gz (rootfs tar+GZIP) | ||
| 66 | * core-image-minimal-<machine name>.cpio (rootfs in CPIO format) | ||
| 67 | * core-image-minimal-<machine name>.ext2.gz.u-boot (rootfs in EXT2+GZIP, u-boot wrapped format) | ||
| 68 | * u-boot.elf (U-Boot ELF) | ||
| 69 | * For Zynq: | ||
| 70 | * uImage (Linux Kernel binary, in u-boot wrapped format) | ||
| 71 | * uImage-<machine name>.dtb (DTB for target machine) | ||
| 72 | * For MicroBlaze: | ||
| 73 | * linux.bin.ub (Linux Kernel binary, in u-boot wrapped format) | ||
| 74 | * linux.bin.ub-<machine name>.dtb (DTB for target machine) | ||
| 75 | |||
| 76 | Booting | ||
| 77 | ======= | ||
| 78 | |||
| 79 | Please see the associated README file for each avaliable boot method in the | ||
| 80 | 'docs/BOOT.*' files of this layer. | ||
| 81 | |||
| 82 | Configuring External Toolchain | ||
| 83 | ============================== | ||
| 84 | |||
| 85 | In order to build with an external toolchain some additional configuration must | ||
| 86 | be set in the build environments local.conf. First configure the use of an | ||
| 87 | external toolchain, including the location to the toolchain: | ||
| 88 | |||
| 89 | TCMODE = "external-xilinx" | ||
| 90 | EXTERNAL_TOOLCHAIN = "<path to toolchain>" | ||
| 91 | |||
| 92 | WARNING: There is a known issue with the MicroBlaze Linux toolchain provided by | ||
| 93 | XSDK 2013.3 where certain shift instructions are not generated correctly, avoid | ||
| 94 | using this toolchain. Use the newer XSDK 2013.4 or PetaLinux 2013.10 toolchains. | ||
