* [Buildroot] [Bug 9906] New: genimage: Disk full
@ 2017-05-30 12:09 bugzilla at busybox.net
2017-05-30 19:49 ` [Buildroot] [Bug 9906] " bugzilla at busybox.net
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2017-05-30 12:09 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9906
Bug ID: 9906
Summary: genimage: Disk full
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: Alexander.Klauer at itwm.fraunhofer.de
CC: buildroot at uclibc.org
Target Milestone: ---
>>> Executing post-image script board/raspberrypi3-64/post-image.sh
vfat(boot.vfat): adding file 'bcm2710-rpi-3-b.dtb' as 'bcm2710-rpi-3-b.dtb' ...
vfat(boot.vfat): adding file 'bcm2837-rpi-3-b.dtb' as 'bcm2837-rpi-3-b.dtb' ...
vfat(boot.vfat): adding file 'rpi-firmware/bootcode.bin' as
'rpi-firmware/bootcode.bin' ...
vfat(boot.vfat): adding file 'rpi-firmware/cmdline.txt' as
'rpi-firmware/cmdline.txt' ...
vfat(boot.vfat): adding file 'rpi-firmware/config.txt' as
'rpi-firmware/config.txt' ...
vfat(boot.vfat): adding file 'rpi-firmware/fixup.dat' as
'rpi-firmware/fixup.dat' ...
vfat(boot.vfat): adding file 'rpi-firmware/start.elf' as
'rpi-firmware/start.elf' ...
vfat(boot.vfat): adding file 'Image' as 'Image' ...
Disk full
vfat(boot.vfat): failed to generate boot.vfat
make[1]: *** [target-post-image] Error 1
make: *** [_all] Error 2
This little patch helps:
--- a/board/raspberrypi/genimage-raspberrypi3-64.cfg
+++ b/board/raspberrypi/genimage-raspberrypi3-64.cfg
@@ -11,7 +11,7 @@ image boot.vfat {
"Image"
}
}
- size = 32M
+ size = 64M
}
image sdcard.img {
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 9906] genimage: Disk full
2017-05-30 12:09 [Buildroot] [Bug 9906] New: genimage: Disk full bugzilla at busybox.net
@ 2017-05-30 19:49 ` bugzilla at busybox.net
2017-05-30 21:16 ` bugzilla at busybox.net
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2017-05-30 19:49 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9906
Peter Korsgaard <jacmet@uclibc.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #1 from Peter Korsgaard <jacmet@uclibc.org> ---
With what configuration and Buildroot version is this? Presumably with a big
initramfs? I just did a test build with 2017.05-rc3 here and
raspberrypi3_64_defconfig, and I end up with ~15 MB used in the fat partition:
sudo mount -o loop,ro images/boot.vfat /tmp/mp
df -h /tmp/mp
Filesystem Size Used Avail Use% Mounted on
/dev/loop0 32M 15M 18M 47% /tmp/mp
ls -lahS /tmp/mp
total 15M
-rwxr-xr-x 1 root root 12M May 30 2017 Image
-rwxr-xr-x 1 root root 2.8M May 30 2017 start.elf
drwxrwxrwt 30 root root 60K May 30 21:45 ..
-rwxr-xr-x 1 root root 50K May 30 2017 bootcode.bin
drwxr-xr-x 2 root root 16K Jan 1 1970 .
-rwxr-xr-x 1 root root 15K May 30 2017 bcm2710-rpi-3-b.dtb
-rwxr-xr-x 1 root root 8.2K May 30 2017 bcm2837-rpi-3-b.dtb
-rwxr-xr-x 1 root root 6.6K May 30 2017 fixup.dat
-rwxr-xr-x 1 root root 774 May 30 2017 config.txt
-rwxr-xr-x 1 root root 65 May 30 2017 cmdline.txt
If you change the configuration significantly then it isn't surprising that you
may need to tweak other things, so this IMHO isn't a bug.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 9906] genimage: Disk full
2017-05-30 12:09 [Buildroot] [Bug 9906] New: genimage: Disk full bugzilla at busybox.net
2017-05-30 19:49 ` [Buildroot] [Bug 9906] " bugzilla at busybox.net
@ 2017-05-30 21:16 ` bugzilla at busybox.net
2017-05-31 7:26 ` bugzilla at busybox.net
2017-06-04 9:28 ` bugzilla at busybox.net
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2017-05-30 21:16 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9906
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|ASSIGNED |RESOLVED
CC| |yann.morin.1998 at free.fr
--- Comment #2 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Alexander, Peter, All,
> I just did a test build with 2017.05-rc3 here and raspberrypi3_64_defconfig,
> and I end up with ~15 MB used in the fat partition[...]
Ditto.
> If you change the configuration significantly then it isn't surprising
> that you may need to tweak other things, so this IMHO isn't a bug.
Agreed.
I'm closing this report. If you still have the issue with a stock
Buildroot rpi3_64 defconfig, please re-open.
Thanks! :-)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 9906] genimage: Disk full
2017-05-30 12:09 [Buildroot] [Bug 9906] New: genimage: Disk full bugzilla at busybox.net
2017-05-30 19:49 ` [Buildroot] [Bug 9906] " bugzilla at busybox.net
2017-05-30 21:16 ` bugzilla at busybox.net
@ 2017-05-31 7:26 ` bugzilla at busybox.net
2017-06-04 9:28 ` bugzilla at busybox.net
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2017-05-31 7:26 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9906
--- Comment #3 from Alexander Klauer <Alexander.Klauer@itwm.fraunhofer.de> ---
Just for the record, this was on version
a6a4a8b2ef1fa747fdc79bc7bae0518417910f5d. And yes, I added the ramdisk option
in the config, plus some other things.
I agree that more than 32M bootfs might not be necessary for most people. The
error simply came somewhat unexpected for me, since I "just changed the config"
;-)
Would it make sense to be able to configure the bootfs size via make nconfig
just as the rootfs size? Or at least print some error message pointing to the
appropriate genimage.cfg so that users don't have to dig for the size option?
If so, I could open an enhancement bug.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [Bug 9906] genimage: Disk full
2017-05-30 12:09 [Buildroot] [Bug 9906] New: genimage: Disk full bugzilla at busybox.net
` (2 preceding siblings ...)
2017-05-31 7:26 ` bugzilla at busybox.net
@ 2017-06-04 9:28 ` bugzilla at busybox.net
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2017-06-04 9:28 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=9906
--- Comment #4 from Yann E. MORIN <yann.morin.1998@free.fr> ---
> Would it make sense to be able to configure the bootfs size via make
> nconfig[...]?
No, it does not make sense.
Remember that our defconfigs are just basic samples to have a board
boot up to a shell. If your use-case diverges from the sample, it is
your responsibility to adapt it.
Regards,
Yann E. MORIN.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-06-04 9:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-30 12:09 [Buildroot] [Bug 9906] New: genimage: Disk full bugzilla at busybox.net
2017-05-30 19:49 ` [Buildroot] [Bug 9906] " bugzilla at busybox.net
2017-05-30 21:16 ` bugzilla at busybox.net
2017-05-31 7:26 ` bugzilla at busybox.net
2017-06-04 9:28 ` bugzilla at busybox.net
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.