* genericarm64: core-image-initramfs-boot-1.0-r0 do_image_cpio: The initramfs size 370958(K) exceeds INITRAMFS_MAXSIZE: 350000(K)
@ 2026-12-04 10:23 Robert P. J. Day
2026-12-04 11:26 ` [yocto] " Mikko Rapeli
0 siblings, 1 reply; 7+ messages in thread
From: Robert P. J. Day @ 2026-12-04 10:23 UTC (permalink / raw)
To: Yocto discussion list
on my debian 13 system, building from scratch a genericarm64
core-image-minimal and got that error message. sure enough, in
genericarm64.conf, there is the line:
INITRAMFS_MAXSIZE = "350000"
it seem awkward that that machine configuration sets that variable not
large enough to even handle building for a core-image-minimal. should
that value be increased in the machine configuration file?
rday
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [yocto] genericarm64: core-image-initramfs-boot-1.0-r0 do_image_cpio: The initramfs size 370958(K) exceeds INITRAMFS_MAXSIZE: 350000(K)
2026-12-04 10:23 genericarm64: core-image-initramfs-boot-1.0-r0 do_image_cpio: The initramfs size 370958(K) exceeds INITRAMFS_MAXSIZE: 350000(K) Robert P. J. Day
@ 2026-12-04 11:26 ` Mikko Rapeli
2026-12-04 11:32 ` Robert P. J. Day
0 siblings, 1 reply; 7+ messages in thread
From: Mikko Rapeli @ 2026-12-04 11:26 UTC (permalink / raw)
To: yocto, rpjday
Hi,
On Fri, Dec 04, 2026 at 05:23:51AM -0500, Robert P. J. Day via yocto wrote:
>
> on my debian 13 system, building from scratch a genericarm64
> core-image-minimal and got that error message. sure enough, in
> genericarm64.conf, there is the line:
>
> INITRAMFS_MAXSIZE = "350000"
>
> it seem awkward that that machine configuration sets that variable not
> large enough to even handle building for a core-image-minimal. should
> that value be increased in the machine configuration file?
This is actually not the core-image-minimal but the cire-image-initramfs-boot initrd
restriction. We have automation building genericarm64 from master branch and also testing
it on target HW but we have not seen this issue.
What could be different in your environment? Something drastic in kernel config or
additional dependencies which get pulled into initramfs rootfs too?
Cheers,
-Mikko
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [yocto] genericarm64: core-image-initramfs-boot-1.0-r0 do_image_cpio: The initramfs size 370958(K) exceeds INITRAMFS_MAXSIZE: 350000(K)
2026-12-04 11:26 ` [yocto] " Mikko Rapeli
@ 2026-12-04 11:32 ` Robert P. J. Day
2026-12-04 11:44 ` Mikko Rapeli
0 siblings, 1 reply; 7+ messages in thread
From: Robert P. J. Day @ 2026-12-04 11:32 UTC (permalink / raw)
To: yocto, mikko.rapeli
On Fri, 4 Dec 2026, Mikko Rapeli via yocto wrote:
> Hi,
>
> On Fri, Dec 04, 2026 at 05:23:51AM -0500, Robert P. J. Day via yocto wrote:
> >
> > on my debian 13 system, building from scratch a genericarm64
> > core-image-minimal and got that error message. sure enough, in
> > genericarm64.conf, there is the line:
> >
> > INITRAMFS_MAXSIZE = "350000"
> >
> > it seem awkward that that machine configuration sets that variable not
> > large enough to even handle building for a core-image-minimal. should
> > that value be increased in the machine configuration file?
>
> This is actually not the core-image-minimal but the
> cire-image-initramfs-boot initrd restriction. We have automation
> building genericarm64 from master branch and also testing it on
> target HW but we have not seen this issue.
>
> What could be different in your environment? Something drastic in
> kernel config or additional dependencies which get pulled into
> initramfs rootfs too?
i'm looking into that now. AFAICT, i'm trying to build a stock
core-image-minimal with genericarm64, i don't think i'm selecting
anything out of the ordinary. i certainly haven't added (to my
knowledge) anything related to the initramfs-boot. i did select:
INIT_MANAGER = "systemd"
but that should not have made a difference, correct? i will keep
looking. i am open to suggestions.
rday
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [yocto] genericarm64: core-image-initramfs-boot-1.0-r0 do_image_cpio: The initramfs size 370958(K) exceeds INITRAMFS_MAXSIZE: 350000(K)
2026-12-04 11:32 ` Robert P. J. Day
@ 2026-12-04 11:44 ` Mikko Rapeli
2026-12-04 16:04 ` Robert P. J. Day
2026-12-04 19:26 ` Robert P. J. Day
0 siblings, 2 replies; 7+ messages in thread
From: Mikko Rapeli @ 2026-12-04 11:44 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: yocto
Hi,
On Fri, Dec 04, 2026 at 06:32:08AM -0500, Robert P. J. Day wrote:
> On Fri, 4 Dec 2026, Mikko Rapeli via yocto wrote:
> > On Fri, Dec 04, 2026 at 05:23:51AM -0500, Robert P. J. Day via yocto wrote:
> > >
> > > on my debian 13 system, building from scratch a genericarm64
> > > core-image-minimal and got that error message. sure enough, in
> > > genericarm64.conf, there is the line:
> > >
> > > INITRAMFS_MAXSIZE = "350000"
> > >
> > > it seem awkward that that machine configuration sets that variable not
> > > large enough to even handle building for a core-image-minimal. should
> > > that value be increased in the machine configuration file?
> >
> > This is actually not the core-image-minimal but the
> > cire-image-initramfs-boot initrd restriction. We have automation
> > building genericarm64 from master branch and also testing it on
> > target HW but we have not seen this issue.
> >
> > What could be different in your environment? Something drastic in
> > kernel config or additional dependencies which get pulled into
> > initramfs rootfs too?
>
> i'm looking into that now. AFAICT, i'm trying to build a stock
> core-image-minimal with genericarm64, i don't think i'm selecting
> anything out of the ordinary. i certainly haven't added (to my
> knowledge) anything related to the initramfs-boot. i did select:
>
> INIT_MANAGER = "systemd"
>
> but that should not have made a difference, correct? i will keep
> looking. i am open to suggestions.
That should not have such huge impact. poky-altcfg is using this
and builds fine upstream.
Something else in your build config is maybe changing
MACHINE_EXTRA_RRECOMMENDS or runtime dependencies of other
SW components to bring in more stuff.
You can also check via buildhistory what gets pulled in
and why.
Cheers,
-Mikko
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [yocto] genericarm64: core-image-initramfs-boot-1.0-r0 do_image_cpio: The initramfs size 370958(K) exceeds INITRAMFS_MAXSIZE: 350000(K)
2026-12-04 11:44 ` Mikko Rapeli
@ 2026-12-04 16:04 ` Robert P. J. Day
2026-12-04 19:26 ` Robert P. J. Day
1 sibling, 0 replies; 7+ messages in thread
From: Robert P. J. Day @ 2026-12-04 16:04 UTC (permalink / raw)
To: yocto, mikko.rapeli
On Fri, 4 Dec 2026, Mikko Rapeli via yocto wrote:
> Hi,
>
> On Fri, Dec 04, 2026 at 06:32:08AM -0500, Robert P. J. Day wrote:
> > On Fri, 4 Dec 2026, Mikko Rapeli via yocto wrote:
> > > On Fri, Dec 04, 2026 at 05:23:51AM -0500, Robert P. J. Day via yocto wrote:
> > > >
> > > > on my debian 13 system, building from scratch a genericarm64
> > > > core-image-minimal and got that error message. sure enough, in
> > > > genericarm64.conf, there is the line:
> > > >
> > > > INITRAMFS_MAXSIZE = "350000"
> > > >
> > > > it seem awkward that that machine configuration sets that variable not
> > > > large enough to even handle building for a core-image-minimal. should
> > > > that value be increased in the machine configuration file?
> > >
> > > This is actually not the core-image-minimal but the
> > > cire-image-initramfs-boot initrd restriction. We have automation
> > > building genericarm64 from master branch and also testing it on
> > > target HW but we have not seen this issue.
> > >
> > > What could be different in your environment? Something drastic in
> > > kernel config or additional dependencies which get pulled into
> > > initramfs rootfs too?
> >
> > i'm looking into that now. AFAICT, i'm trying to build a stock
> > core-image-minimal with genericarm64, i don't think i'm selecting
> > anything out of the ordinary. i certainly haven't added (to my
> > knowledge) anything related to the initramfs-boot. i did select:
> >
> > INIT_MANAGER = "systemd"
> >
> > but that should not have made a difference, correct? i will keep
> > looking. i am open to suggestions.
>
> That should not have such huge impact. poky-altcfg is using this
> and builds fine upstream.
>
> Something else in your build config is maybe changing
> MACHINE_EXTRA_RRECOMMENDS or runtime dependencies of other
> SW components to bring in more stuff.
>
> You can also check via buildhistory what gets pulled in
> and why.
while i prep to do some detective work this afternoon on this, can
anyone verify that this builds with the same setup i'm using, which is
as simple as i can make it:
MACHINE = "genericarm64"
$ bitbake core-image-minimal
my bblayers.conf refers to only two master branches:
BBLAYERS ?= " \
/home/rpjday/oe/layers/openembedded-core/meta \
/home/rpjday/oe/layers/meta-yocto/meta-yocto-bsp \
"
i originally had INIT_MANAGER = "systemd", but i'm going to try it
with "sysvinit" to see if that makes a difference. if this builds fine
for others, then i will be truly baffled.
rday
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [yocto] genericarm64: core-image-initramfs-boot-1.0-r0 do_image_cpio: The initramfs size 370958(K) exceeds INITRAMFS_MAXSIZE: 350000(K)
2026-12-04 11:44 ` Mikko Rapeli
2026-12-04 16:04 ` Robert P. J. Day
@ 2026-12-04 19:26 ` Robert P. J. Day
2026-12-04 20:42 ` Alex Kiernan
1 sibling, 1 reply; 7+ messages in thread
From: Robert P. J. Day @ 2026-12-04 19:26 UTC (permalink / raw)
To: yocto, mikko.rapeli
On Fri, 4 Dec 2026, Mikko Rapeli via yocto wrote:
> Hi,
>
> On Fri, Dec 04, 2026 at 06:32:08AM -0500, Robert P. J. Day wrote:
> > On Fri, 4 Dec 2026, Mikko Rapeli via yocto wrote:
> > > On Fri, Dec 04, 2026 at 05:23:51AM -0500, Robert P. J. Day via yocto wrote:
> > > >
> > > > on my debian 13 system, building from scratch a genericarm64
> > > > core-image-minimal and got that error message. sure enough, in
> > > > genericarm64.conf, there is the line:
> > > >
> > > > INITRAMFS_MAXSIZE = "350000"
> > > >
> > > > it seem awkward that that machine configuration sets that variable not
> > > > large enough to even handle building for a core-image-minimal. should
> > > > that value be increased in the machine configuration file?
> > >
> > > This is actually not the core-image-minimal but the
> > > cire-image-initramfs-boot initrd restriction. We have automation
> > > building genericarm64 from master branch and also testing it on
> > > target HW but we have not seen this issue.
> > >
> > > What could be different in your environment? Something drastic in
> > > kernel config or additional dependencies which get pulled into
> > > initramfs rootfs too?
> >
> > i'm looking into that now. AFAICT, i'm trying to build a stock
> > core-image-minimal with genericarm64, i don't think i'm selecting
> > anything out of the ordinary. i certainly haven't added (to my
> > knowledge) anything related to the initramfs-boot. i did select:
> >
> > INIT_MANAGER = "systemd"
> >
> > but that should not have made a difference, correct? i will keep
> > looking. i am open to suggestions.
>
> That should not have such huge impact. poky-altcfg is using this
> and builds fine upstream.
>
> Something else in your build config is maybe changing
> MACHINE_EXTRA_RRECOMMENDS or runtime dependencies of other
> SW components to bring in more stuff.
>
> You can also check via buildhistory what gets pulled in
> and why.
OK, this is just weird. For a general site.conf for my builds, I
frequently use:
/// start
SCONF_VERSION = "1"
SOURCE_MIRROR_URL ?= "file:///home/rpjday/oe/tarballs/"
INHERIT += "own-mirrors"
BB_GENERATE_MIRROR_TARBALLS = "1"
# BB_NO_NETWORK = "1"
# INIT_MANAGER = "sysvinit"
INIT_MANAGER = "systemd"
IMAGE_FEATURES:append = " \
package-management \
allow-empty-password \
allow-root-login \
empty-root-password \
"
/// end
Just for fun, I got rid of that "IMAGE_FEATURES:append" stuff and
tried again. And it worked. So I tried it a couple more times, and
it's entirely reproducible.
This does not seem intuitive.
rday
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [yocto] genericarm64: core-image-initramfs-boot-1.0-r0 do_image_cpio: The initramfs size 370958(K) exceeds INITRAMFS_MAXSIZE: 350000(K)
2026-12-04 19:26 ` Robert P. J. Day
@ 2026-12-04 20:42 ` Alex Kiernan
0 siblings, 0 replies; 7+ messages in thread
From: Alex Kiernan @ 2026-12-04 20:42 UTC (permalink / raw)
To: yocto, rpjday; +Cc: mikko.rapeli
On Fri, Dec 4, 2026 at 7:28 PM Robert P. J. Day via yocto
<rpjday=crashcourse.ca@lists.yoctoproject.org> wrote:
>
> On Fri, 4 Dec 2026, Mikko Rapeli via yocto wrote:
>
> > Hi,
> >
> > On Fri, Dec 04, 2026 at 06:32:08AM -0500, Robert P. J. Day wrote:
> > > On Fri, 4 Dec 2026, Mikko Rapeli via yocto wrote:
> > > > On Fri, Dec 04, 2026 at 05:23:51AM -0500, Robert P. J. Day via yocto wrote:
> > > > >
> > > > > on my debian 13 system, building from scratch a genericarm64
> > > > > core-image-minimal and got that error message. sure enough, in
> > > > > genericarm64.conf, there is the line:
> > > > >
> > > > > INITRAMFS_MAXSIZE = "350000"
> > > > >
> > > > > it seem awkward that that machine configuration sets that variable not
> > > > > large enough to even handle building for a core-image-minimal. should
> > > > > that value be increased in the machine configuration file?
> > > >
> > > > This is actually not the core-image-minimal but the
> > > > cire-image-initramfs-boot initrd restriction. We have automation
> > > > building genericarm64 from master branch and also testing it on
> > > > target HW but we have not seen this issue.
> > > >
> > > > What could be different in your environment? Something drastic in
> > > > kernel config or additional dependencies which get pulled into
> > > > initramfs rootfs too?
> > >
> > > i'm looking into that now. AFAICT, i'm trying to build a stock
> > > core-image-minimal with genericarm64, i don't think i'm selecting
> > > anything out of the ordinary. i certainly haven't added (to my
> > > knowledge) anything related to the initramfs-boot. i did select:
> > >
> > > INIT_MANAGER = "systemd"
> > >
> > > but that should not have made a difference, correct? i will keep
> > > looking. i am open to suggestions.
> >
> > That should not have such huge impact. poky-altcfg is using this
> > and builds fine upstream.
> >
> > Something else in your build config is maybe changing
> > MACHINE_EXTRA_RRECOMMENDS or runtime dependencies of other
> > SW components to bring in more stuff.
> >
> > You can also check via buildhistory what gets pulled in
> > and why.
>
> OK, this is just weird. For a general site.conf for my builds, I
> frequently use:
>
> /// start
>
> SCONF_VERSION = "1"
> SOURCE_MIRROR_URL ?= "file:///home/rpjday/oe/tarballs/"
> INHERIT += "own-mirrors"
> BB_GENERATE_MIRROR_TARBALLS = "1"
> # BB_NO_NETWORK = "1"
> # INIT_MANAGER = "sysvinit"
> INIT_MANAGER = "systemd"
>
> IMAGE_FEATURES:append = " \
> package-management \
> allow-empty-password \
> allow-root-login \
> empty-root-password \
> "
>
> /// end
>
> Just for fun, I got rid of that "IMAGE_FEATURES:append" stuff and
> tried again. And it worked. So I tried it a couple more times, and
> it's entirely reproducible.
>
> This does not seem intuitive.
>
When you include package-management the package database isn't
stripped out of the image - I'd bet that's what blows your image out
of its size budget.
> rday
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#66828): https://lists.yoctoproject.org/g/yocto/message/66828
> Mute This Topic: https://lists.yoctoproject.org/mt/122588708/3618097
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [alex.kiernan@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
--
Alex Kiernan
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-12-04 20:42 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04 10:23 genericarm64: core-image-initramfs-boot-1.0-r0 do_image_cpio: The initramfs size 370958(K) exceeds INITRAMFS_MAXSIZE: 350000(K) Robert P. J. Day
2026-12-04 11:26 ` [yocto] " Mikko Rapeli
2026-12-04 11:32 ` Robert P. J. Day
2026-12-04 11:44 ` Mikko Rapeli
2026-12-04 16:04 ` Robert P. J. Day
2026-12-04 19:26 ` Robert P. J. Day
2026-12-04 20:42 ` Alex Kiernan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.