All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 8806] New: Buildroot 2016.2 for Raspberry Pi requires that ext4 rootfs is selected. Otherwise the error is reported
Date: Wed, 16 Mar 2016 20:23:01 +0000	[thread overview]
Message-ID: <bug-8806-163@https.bugs.busybox.net/> (raw)

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.

             reply	other threads:[~2016-03-16 20:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-16 20:23 bugzilla at busybox.net [this message]
2016-03-16 21:13 ` [Buildroot] [Bug 8806] 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:25 ` bugzilla at busybox.net

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=bug-8806-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --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.