Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 8806] New: Buildroot 2016.2 for Raspberry Pi requires that ext4 rootfs is selected. Otherwise the error is reported
@ 2016-03-16 20:23 bugzilla at busybox.net
  2016-03-16 21:13 ` [Buildroot] [Bug 8806] " bugzilla at busybox.net
  2016-03-16 21:25 ` bugzilla at busybox.net
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2016-03-16 20:23 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8806

            Bug ID: 8806
           Summary: Buildroot 2016.2 for Raspberry Pi requires that ext4
                    rootfs is selected. Otherwise the error is reported
           Product: buildroot
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: wzab01 at gmail.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

I often use Raspberry Pi in a configuration, where only Initramfs is used.
It makes my system resistant to random power cuts.
Unfortunately with Buildroot 2016.2 if I do not create the Ext4 image the
board/raspberrypi/post-image.sh script crashes and generates an error.
Probably this error can be ignored, as the essential files in the output/images
are already created, but the compilation finished with ERROR doesn't look good.

Steps to duplicate the problem:
$ wget https://buildroot.org/downloads/buildroot-2016.02.tar.bz2
$ tar -xjf buildroot-2016.02.tar.bz2
$ cd buildroot-2016.02
$ make raspberrypi_defconfig
$ make menuconfig
In section "Filesystem images" deselect "ext2/3/4 root filesystem"
Select "initial RAM filesystem linked into linux kernel"
Select (optionally) Compression method (gzip)
Save configuration and exit
$make

After some time, you'll get:
>>>   Executing post-image script board/raspberrypi/post-image.sh
Version: Linux version 4.1.15 (wzab at wzab) (gcc version 4.9.3 (Buildroot
2016.02) ) #3 PREEMPT Wed Mar 16 20:43:58 CET 2016
DT: y
DDT: n
283x: n
file(rootfs.ext4): stat(/tmp/mmm/buildroot-2016.02/output/images/rootfs.ext4)
failed: No such file or directory
hdimage(sdcard.img): could not setup rootfs.ext4
Makefile:667: recipe for target 'target-post-image' failed
make: *** [target-post-image] Error 1

That problem affects also those, who want to create ext2 rootfs or ext3 rootfs:
Even if you select "[*] ext2/3/4 root filesystem", the error will  occur if you
select version ext2 or ext3.

Best regards,
Wojtek

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [Bug 8806] Buildroot 2016.2 for Raspberry Pi requires that ext4 rootfs is selected. Otherwise the error is reported
  2016-03-16 20:23 [Buildroot] [Bug 8806] New: Buildroot 2016.2 for Raspberry Pi requires that ext4 rootfs is selected. Otherwise the error is reported bugzilla at busybox.net
@ 2016-03-16 21:13 ` bugzilla at busybox.net
  2016-03-16 21:25 ` bugzilla at busybox.net
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2016-03-16 21:13 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8806

--- Comment #1 from Peter Korsgaard <jacmet@uclibc.org> ---
What do you suggest we do? If you change the defconfig (E.G. to use initramfs
instead of ext4) then it is also your responsibility to ensure it makes sense.
The raspberrypi post-image script creates as sdcard image with the ext4
filesystem the defconfig enables, so if you don't want that - Then just remove
the post-image script from the .config.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [Bug 8806] Buildroot 2016.2 for Raspberry Pi requires that ext4 rootfs is selected. Otherwise the error is reported
  2016-03-16 20:23 [Buildroot] [Bug 8806] New: Buildroot 2016.2 for Raspberry Pi requires that ext4 rootfs is selected. Otherwise the error is reported bugzilla at busybox.net
  2016-03-16 21:13 ` [Buildroot] [Bug 8806] " bugzilla at busybox.net
@ 2016-03-16 21:25 ` bugzilla at busybox.net
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2016-03-16 21:25 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=8806

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-03-16 21:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-16 20:23 [Buildroot] [Bug 8806] New: Buildroot 2016.2 for Raspberry Pi requires that ext4 rootfs is selected. Otherwise the error is reported bugzilla at busybox.net
2016-03-16 21:13 ` [Buildroot] [Bug 8806] " bugzilla at busybox.net
2016-03-16 21:25 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox