padding of large 16-32GB images [Was: Re: [PATCH 2/5] build: image: Add pad-to and pad-rootfs-squashfs helpers]
Nishant Sharma
codemarauder at gmail.com
Tue Apr 2 08:23:25 PDT 2024
Hi Petr,
On 01/04/24 15:58, Petr Štetiar wrote:
>> dd: memory exhausted by input buffer of size 16642998272 bytes (16 GiB)
>
> can you check https://patchwork.ozlabs.org/project/openwrt/patch/20240401102511.495791-1-ynezz@true.cz/ ? Thanks!
Thanks a lot for the fix.
I tested it by building a 16GB squashfs EFI image for x86_64 on a host
with just 8GB of RAM and build was successful without any errors.
But, it takes a lot of time (around 20 minutes) writing this image to
the device, which I suspect is due to padding. Earlier, it used to take
less than 2 minutes.
Is it possible to get "CONFIG_TARGET_IMAGES_PAD" back or some other
switch that can be flipped to disable padding for images?
Regards,
Nishant
More information about the openwrt-devel
mailing list