From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] configs/raspberrypi3_defconfig: fix filesystem size
Date: Sat, 30 Jun 2018 21:11:19 +0200 [thread overview]
Message-ID: <20180630191119.GJ2384@scaer> (raw)
In-Reply-To: <4ae4c99a-ec7b-925a-365a-47e0a79d466e@konsulko.com>
Leon, All,
On 2018-06-30 21:03 +0300, Leon Anavi spake thusly:
> On 30.06.2018 20:43, Yann E. MORIN wrote:
> > Leon, All,
> >
> > On 2018-06-29 12:23 +0300, Leon Anavi spake thusly:
> >> Increase the filesystem size for raspberrypi3 by setting
> >> BR2_TARGET_ROOTFS_EXT2_SIZE to "120M". The filesystem for
> >> raspberrypi3_64 has the same size.
> >>
> >> Fixes:
> >> Copying files into the device: __populate_fs: Could not allocate block in ext2 filesystem while writing file "services"
> >> mkfs.ext4: Could not allocate block in ext2 filesystem while populating file system
> > I don't have this issue here:
>
> Thank you for the feedback. I have experienced this issue while building
> branch master on Ubuntu 16.04. As discussed in the IRC channel on Friday
> the same issue has been reproduced in the CI, Job #78257653 triggered by
> Thomas Petazzoni: https://gitlab.com/buildroot.org/buildroot/-/jobs/78257653
>
> I have noticed that the same fix has been already applied to
> raspberrypi3_64_defconfig. I hope my patch will be merged to prevent
> this issue in future for raspberrypi3_defconfig.
The raspberrypi3_64_defconfig has always had the size set to 120MiB from
the onset, because it builds more kernel modules and thus takes more
place (at least, according to the commit log (commit 9bbea36e3e).
I am not opposed to the change, BTW.
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> Thanks,
> Leon
>
> >
> > $ make raspberrypi3_defconfig
> > $ make
> > $ du -hs output/target/
> > 57M output/target/
> > $ ls -lsh output/images/
> > total 159M
> > 24K -rw-r--r-- 1 ymorin ymorin 24K Jun 30 19:35 bcm2710-rpi-3-b.dtb
> > 28K -rw-r--r-- 1 ymorin ymorin 25K Jun 30 19:35 bcm2710-rpi-3-b-plus.dtb
> > 24K -rw-r--r-- 1 ymorin ymorin 23K Jun 30 19:35 bcm2710-rpi-cm3.dtb
> > 8.0M -rw-r--r-- 1 ymorin ymorin 32M Jun 30 19:35 boot.vfat
> > 54M -rw-r--r-- 1 ymorin ymorin 60M Jun 30 19:35 rootfs.ext2
> > 0 lrwxrwxrwx 1 ymorin ymorin 11 Jun 30 19:35 rootfs.ext4 -> rootfs.ext2
> > 4.0K drwxr-xr-x 3 ymorin ymorin 4.0K Jun 30 19:24 rpi-firmware
> > 93M -rw-r--r-- 1 ymorin ymorin 93M Jun 30 19:35 sdcard.img
> > 4.7M -rw-r--r-- 1 ymorin ymorin 4.7M Jun 30 19:35 zImage
> >
> > Regards,
> > Yann E. MORIN.
> >
> >> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
> >> ---
> >> configs/raspberrypi3_defconfig | 1 +
> >> 1 file changed, 1 insertion(+)
> >>
> >> diff --git a/configs/raspberrypi3_defconfig b/configs/raspberrypi3_defconfig
> >> index 856f321..0ef9afe 100644
> >> --- a/configs/raspberrypi3_defconfig
> >> +++ b/configs/raspberrypi3_defconfig
> >> @@ -28,6 +28,7 @@ BR2_PACKAGE_HOST_MTOOLS=y
> >> # Filesystem / image
> >> BR2_TARGET_ROOTFS_EXT2=y
> >> BR2_TARGET_ROOTFS_EXT2_4=y
> >> +BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
> >> # BR2_TARGET_ROOTFS_TAR is not set
> >> BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3/post-build.sh"
> >> BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3/post-image.sh"
> >> --
> >> 2.7.4
> >>
> >> _______________________________________________
> >> buildroot mailing list
> >> buildroot at busybox.net
> >> http://lists.busybox.net/mailman/listinfo/buildroot
>
> --
> Leon Anavi
> Software Engineer
> konsulko.com
>
>
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2018-06-30 19:11 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-29 9:23 [Buildroot] [PATCH] configs/raspberrypi3_defconfig: fix filesystem size Leon Anavi
2018-06-30 17:43 ` Yann E. MORIN
2018-06-30 18:03 ` Leon Anavi
2018-06-30 19:11 ` Yann E. MORIN [this message]
2018-07-01 9:22 ` Yann E. MORIN
2018-07-01 9:28 ` Leon Anavi
2018-07-02 3:50 ` Ricardo Martincoski
2018-07-02 16:17 ` Yann E. MORIN
2018-07-02 16:35 ` Leon Anavi
2018-07-03 3:06 ` Ricardo Martincoski
2018-07-07 22:35 ` Arnout Vandecappelle
2018-07-08 9:16 ` Yann E. MORIN
2018-07-08 9:32 ` Leon Anavi
2018-07-08 9:58 ` Arnout Vandecappelle
2018-07-19 18:11 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180630191119.GJ2384@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.