[LEDE-DEV] [PATCH v2 0/2] zynq: convert to new image build code
Jo-Philipp Wich
jo at mein.io
Mon Aug 8 02:52:43 PDT 2016
Since 9945a1dca5bb6bc522393f7583baf3a64df6ce11
"build: remove cpio.gz and tar.gz from regular filesystem types" the Zynq
target is failing to generate images on the build server and aborts with the
following error:
mkimage: Can't open .../zynq-zc702-rootfs.cpio.gz: No such file or directory
Take the opportunity to port the entire image building to new style image code
in order to allow for parallelization and sharing of buildsteps with other
targets.
Also fix the maintainer email address in the target Makefile while we're at it.
After the changes to the image building code, the following artefacts will be
generated in the output directory:
$ ls -l bin/targets/zynq/generic/
total 21M
-rw-r--r-- 1 jow jow 5.0M Jul 28 13:39 lede-zynq-zc702-fit.itb
-rw-r--r-- 1 jow jow 1.5M Jul 28 13:39 lede-zynq-zc702-rootfs.tar.gz
-rw-r--r-- 1 jow jow 1.5M Jul 28 13:39 lede-zynq-zc702-uramdisk.image.gz
-rw-r--r-- 1 jow jow 5.0M Jul 28 13:39 lede-zynq-zed-fit.itb
-rw-r--r-- 1 jow jow 1.5M Jul 28 13:39 lede-zynq-zed-uramdisk.image.gz
-rw-r--r-- 1 jow jow 5.0M Jul 28 13:39 lede-zynq-zybo-fit.itb
-rw-r--r-- 1 jow jow 1.5M Jul 28 13:39 lede-zynq-zybo-uramdisk.image.gz
-rw-r--r-- 1 jow jow 436 Jul 28 13:39 md5sums
-rw-r--r-- 1 jow jow 801 Jul 28 13:39 sha256sums
Changes since v1:
* (Pre-)Build DTB as part of the kernel image to ensure that it is
available in the Image Builder
* Drop legacy device profiles in favor to the new style inline ones
* Use the new $(IMAGE_KERNEL) and $(IMAGE_ROOTFS) helper variables
Jo-Philipp Wich (2):
zynq: convert to new image build code
zynq: fix maintainer email address
target/linux/zynq/Makefile | 4 +-
target/linux/zynq/image/Makefile | 86 ++++++++++++++++---------------------
target/linux/zynq/profiles/zc702.mk | 16 -------
target/linux/zynq/profiles/zed.mk | 16 -------
target/linux/zynq/profiles/zybo.mk | 16 -------
5 files changed, 40 insertions(+), 98 deletions(-)
delete mode 100644 target/linux/zynq/profiles/zc702.mk
delete mode 100644 target/linux/zynq/profiles/zed.mk
delete mode 100644 target/linux/zynq/profiles/zybo.mk
--
2.8.1
More information about the Lede-dev
mailing list