[Buildroot] [PATCH] configs/ordeidc2: increase image size to 256M
Yann E. MORIN
yann.morin.1998 at free.fr
Sat Sep 11 09:27:13 UTC 2021
Dagg, All,
On 2021-09-11 11:42 +0300, Dagg Stompler spake thusly:
> following Commit 9f127cc4, the resulting image is bigger than possible.
I fail to see how commit 9f127cc4 can be the culprit:
9f127cc4 utils/getdeveloperlib.py: explicitly set devs document encoding
> so BR2_TARGET_ROOTFS_EXT2_SIZE set to 256M is required.
The default is 60M; bumping to 256M is surely a big jump. Can't we
settle for something smaller, like 128M?
Also, note that the default is 60M, as we consider a 64M SDCard, and
thus some space is reserved at the begining for the boot blobs; see
board/hardkernel/odroidc2/genimage.cfg
And as a consequence, the size of the SDCard must also be updated in
board/hardkernel/odroidc2/genimage.cfg.
So, maybe:
- update board/hardkernel/odroidc2/genimage.cfg from 64M to 128M
- update BR2_TARGET_ROOTFS_EXT2_SIZE to 124M
Regards,
Yann E. MORIN.
> Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/1575071376
>
> Signed-off-by: Dagg Stompler <daggs at gmx.com>
> ---
> configs/odroidc2_defconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/configs/odroidc2_defconfig b/configs/odroidc2_defconfig
> index 5f97fc3dd8..daa818e036 100644
> --- a/configs/odroidc2_defconfig
> +++ b/configs/odroidc2_defconfig
> @@ -10,6 +10,7 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttyAML0"
> BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y
> BR2_TARGET_ROOTFS_EXT2=y
> BR2_TARGET_ROOTFS_EXT2_4=y
> +BR2_TARGET_ROOTFS_EXT2_SIZE="256M"
> BR2_ROOTFS_OVERLAY="board/hardkernel/odroidc2/rootfs_overlay"
> BR2_ROOTFS_POST_IMAGE_SCRIPT="board/hardkernel/odroidc2/post-image.sh"
>
> --
> 2.33.0
>
> _______________________________________________
> buildroot mailing list
> buildroot at lists.buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list