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

Jason Wu jason.wu.misc at gmail.com
Thu Jul 28 07:55:41 PDT 2016



On 29/07/2016 12:01 AM, Jo-Philipp Wich wrote:
> 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
I think the problem is that you need to make sure the 
CONFIG_TARGET_ROOTFS_CPIOGZ is enabled.
>
> 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.
I could potentially do the testing sometime next week.

Best regards,

Jason
>
> 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(-)
>



More information about the Lede-dev mailing list