[meta-swupdate] image_types_zchunk breaks build

68 views
Skip to first unread message

Cameron McQuinn

unread,
Feb 26, 2024, 7:49:59 PM2/26/24
to swupdate
I am trying to build a zchunk image using OE4T/tegra-demo-distro, sbabic/swupdate, and Trellis-Logic/meta-swupdate-boards/tree/master%2Btegra but the build fails at the do_image_ext4 step:

| DEBUG: Executing mkfs.ext4 -F -i 4096 -b 4096 -O ^metadata_csum_seed /home/cmcquinn/Code/tegra-demo-distro-oe4t/build/tmp/work/jetson_xavier_nx_devkit_emmc-oe4t-linux/demo-image-base/1.0-r0/deploy-demo-image-base-image-complete/demo-image-base-jetson-xavier-nx-devkit-emmc-20240227003545.rootfs.ext4 -d /home/cmcquinn/Code/tegra-demo-distro-oe4t/build/tmp/work/jetson_xavier_nx_devkit_emmc-oe4t-linux/demo-image-base/1.0-r0/rootfs
| mke2fs 1.46.5 (30-Dec-2021)
| Discarding device blocks: done          
| Creating filesystem with 1835008 4k blocks and 1835008 inodes
| Filesystem UUID: dc3d5702-4ffc-498e-9390-d3e7062be0d6
| Superblock backups stored on blocks:
|       32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
|
| Allocating group tables: done
| Writing inode tables: done
| Creating journal (16384 blocks): done
| Copying files into the device: done
| Writing superblocks and filesystem accounting information: done
|
|
|         4006 inodes used (0.22%, out of 1835008)
|            4 non-contiguous files (0.1%)
|            5 non-contiguous directories (0.1%)
|              # of inodes with ind/dind/tind blocks: 0/0/0
|              Extent depth histogram: 3476/5
|       321300 blocks used (17.51%, out of 1835008)
|            0 bad blocks
|            1 large file
|
|         3065 regular files
|          413 directories
|            0 character device files
|            0 block device files
|            0 fifos
|            7 links
|          519 symbolic links (517 fast symbolic links)
|            0 sockets
| ------------
|         4004 files
| Unable to read from input file
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/cmcquinn/Code/tegra-demo-distro-oe4t/layers/meta-tegrademo/recipes-demo/images/demo-image-base.bb:do_image_ext4) failed with exit code '1'

Full log is attached for readability.

How do I fix this?

Thanks,
Cameron McQuinn
log.do_image_ext4.2966558

Stefano Babic

unread,
Feb 28, 2024, 3:18:17 AM2/28/24
to Cameron McQuinn, swupdate
Hi Camero,

On 27.02.24 01:49, Cameron McQuinn wrote:
> I am trying to build a zchunk image using OE4T/tegra-demo-distro
> <https://github.com/OE4T/tegra-demo-distro.git>, sbabic/swupdate, and
> Trellis-Logic/meta-swupdate-boards/tree/master%2Btegra
> <https://github.com/Trellis-Logic/meta-swupdate-boards/tree/master%2Btegra> but the build fails at the do_image_ext4 step:

meta-swupdate-boards is thought to show some examples, but it is not
needed to be added to the own project.
There is nothing indicating that the issue is inside meta-swupdate.
Creation of ZCK is done before running do_image, so the issue is
somewhere else.

Best regards,
Stefano Babic

>
> Thanks,
> Cameron McQuinn
>
> --
> You received this message because you are subscribed to the Google
> Groups "swupdate" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to swupdate+u...@googlegroups.com
> <mailto:swupdate+u...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/swupdate/1962e045-d728-4f4f-b75b-ce2cd1abe92bn%40googlegroups.com <https://groups.google.com/d/msgid/swupdate/1962e045-d728-4f4f-b75b-ce2cd1abe92bn%40googlegroups.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages