summaryrefslogtreecommitdiffstats
path: root/import-layers
Commit message (Collapse)AuthorAgeFilesLines
* import-layers: add howto for updating subtreesPatrick Williams2017-02-281-0/+44
| | | | | Change-Id: I11a15a796da5095a4c1cc086b07f37ca408318ed Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* kernel-fitimage: Use compressed ramdisks in FIT images if availableRick Altherr2017-01-251-4/+30
| | | | | | | | | | | | | | | kernel-fitimage:fitimage_assemble() was calling copy_initramfs from kernel.bbclass which decompresses the initramfs cpio. Assume that if INITRAMFS_FSTYPES includes a compressed cpio, that is what it desired in the FIT image. (From OE-Core rev: 842ad404b36e00c89f615a3f7db4a2d30062effa) Change-Id: I4a6d9ca0a35e73933650321eb17b57d91634cd6e Signed-off-by: Rick Altherr <raltherr@google.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 4aa6644f92975ded908ef99cf313466e0845e071)
* kernel-fitimage.bbclass: Don't assume KERNEL_IMAGETYPE == fitImageNathan Rossi2017-01-251-4/+4
| | | | | | | | | | | | | | | | | The name of the output image for a fitImage that contains a ramdisk should match the same as for the fitImage that does not contain a ramdisk. As such it should not be assumed that KERNEL_IMAGETYPE is "fitImage". This change explicitly sets the name of the output ramdisk/initramfs to start with fitImage as does the non-ramdisk output. (From OE-Core rev: 81caed2b7071ffc9ed8077d7d76952f2a2a4713d) Change-Id: I13d03a9c8739df9ddb48cb46d073472c75b7b508 Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Rick Altherr <raltherr@google.com> (cherry picked from commit 4c88512843de6d1e9de6f56efe63d8b27b0957f2)
* kernel-fitimage.bbclass: Allow unset load/entry addresses for ramdisksNathan Rossi2017-01-251-2/+11
| | | | | | | | | | | | | | | Allow the load and entry addresses to remain unset if the UBOOT_RD_* variables are also unset for ramdisk entries in the image tree. This allows for U-Boot to decide dynamically where to load the ramdisk. (From OE-Core rev: 941b6ce3b297ed83f1c05dd76bfeefbf93482e6f) Change-Id: I2c9fc1044080148bd6d4e955e732eced87855b5e Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Rick Altherr <raltherr@google.com> (cherry picked from commit 492ee05c657790c9a1961d6727d7f6205f5c03af)
* kernel-fitimage: add initramfs supportGeorge McCollister2017-01-111-82/+172
| | | | | | | | | | | | | | | | | | | | | | If INITRAMFS_IMAGE is set, build an additional fitImage containing the initramfs. Copy the additional fitImage and the source (*.its) file, used to create it to DEPLOYDIR. The fitImage containing the initramfs must be built before do_deploy and after do_install to avoid circular dependencies. UBOOT_RD_LOADADDRESS - Specifies the load address used by u-boot for the initramfs. UBOOT_RD_ENTRYPOINT - Specifies the entry point used by u-boot for the initramfs. (From OE-Core rev: b406a89935f148779569fa3770776e009dd51f13) Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ec755d2524fcbd9dfded23a576f25c990d405a6c) Change-Id: I2a544c58ef66b0f0af21a8b1f9aa5dfb8ec0a043 Signed-off-by: Rick Altherr <raltherr@google.com>
* kernel: fitimage: support device tree compiler optionsYannick Gicquel2017-01-111-1/+7
| | | | | | | | | | | | | | | | | This introduces a new variable to set the device tree compiler options while calling mkimage ('-D' option). By default, this variable is not set but it can be defined in a configuration file, as following example: UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb -p 2000" (From OE-Core rev: 9a3f541da305c75418c2eec75ade902717a01b69) Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cb565d5b4009432be2d10568aa07367ca7912770) Change-Id: I65b0fe78c515089069fd94c34548fa45195830b4 Signed-off-by: Rick Altherr <raltherr@google.com>
* kernel-fitimage.bbclass: do_assemble_fitimage(): cd to $BAndrew Bradford2016-11-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | Prior to assembling the fitimage, ensure that $B is the cwd due to bitbake commit 67a7b8b021badc17d8fdf447c250e79d291e75f7 "build: don't use $B as the default cwd for functions". Without this change, do_assemble_fitimage() fails like: Log data follows: | DEBUG: Executing shell function do_assemble_fitimage | arm-ka-linux-gnueabi-objcopy: 'vmlinux': No such file | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_assemble_fitimage (From OE-Core rev: 42d50e8f5f3a98e50a0f50473ebc83dc6347b634) Change-Id: I810ffe67f5edad12064cfab17bd72f2b8e1b5191 Signed-off-by: Andrew Bradford <andrew.bradford@kodakalaris.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Rick Altherr <raltherr@google.com>
* kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one timeHe Zhe2016-11-046-107/+223
| | | | | | | | | | | | | | | Add KERNEL_IMAGETYPES to support building packaging and installing multi types of kernel images, such as zImage uImage, at one time. KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE work as before. (From OE-Core rev: 849b67b2e4820564b5e5c9bd4bb293c44351c5f3) Change-Id: I23e413e3c950f6daed923c69b882993a214dd49c Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Rick Altherr <raltherr@google.com>
* util-linux: Disable bfs supportPatrick Williams2016-09-171-1/+1
| | | | | | | | | | | | | Disable building of mkfs.bfs, which is used to create BFS file-systems used by SCO UnixWare. This is highly unlikely to be utilized and there are otherwise no references to 'bfs' throughout the rest of the tree. (From OE-Core rev: 3226d89ff743c223181fda90f605c7579337941a) Change-Id: I8364516484357814f5083c75d32842bf05a409c6 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Disable minix support.Patrick Williams2016-09-171-5/+4
| | | | | | | | | | | | | | | | Disable building of {mkfs,fsck}.minix, which are used to support minix file-systems. Minix predates Linux and support for its file-systems is unlikely to be needed. No recipes otherwise reference minix, except in patches to autotools configuration scripts, so there should be no impact to other recipes. (From OE-Core rev: fc66762d7c112fb798c2444dd902ce03baf975c4) Change-Id: I34bbe34df30283a458dd2ba014fc69cd25fdc307 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Squashed 'import-layers/meta-raspberrypi/' content from commit 2745399Patrick Williams2016-08-22115-0/+11175
| | | | | | | Change-Id: I8a89d81813dea98209d089ef500a403ea4da5d9d git-subtree-dir: import-layers/meta-raspberrypi git-subtree-split: 2745399f75d7564fcc586d0365ff73be47849d0e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Squashed 'import-layers/meta-openembedded/' content from commit 247b126Patrick Williams2016-08-222990-0/+192783
| | | | | | | Change-Id: I40827e9ce5fba63f1cca2a0be44976ae8383b4c0 git-subtree-dir: import-layers/meta-openembedded git-subtree-split: 247b1267bbe95719cd4877d2d3cfbaf2a2f4865a Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Squashed 'import-layers/meta-virtualization/' content from commit c4a1711Patrick Williams2016-08-22185-0/+10491
| | | | | | | Change-Id: I42132e4f0aef12ec265e74d95f489a6409e22f46 git-subtree-dir: import-layers/meta-virtualization git-subtree-split: c4a1711dd31659b027c70c07e4ef6da98591ac95 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* yocto-poky: Move to import-layers subdirPatrick Williams2016-08-225308-0/+632856
We are going to import additional layers, so create a subdir to hold all of the layers that we import with git-subtree. Change-Id: I6f732153a22be8ca663035c518837e3cc5ec0799 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
OpenPOWER on IntegriCloud