[LEDE-DEV] [RFC 0/2] zynq: rework image build code

Jo-Philipp Wich jo at mein.io
Thu Jul 28 07:01:07 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

I would appreciate if someone with a Zynq board could runtime test the
resulting image files in order to verify that they're working properly.

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 ++++++++++++++++++----------------------
 2 files changed, 40 insertions(+), 50 deletions(-)

-- 
2.1.4




More information about the Lede-dev mailing list