From: Bernhard Fischer <rep.dot.nop@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Select MTD before EXT2/CRAMFS/SQUASHFS arebuilt
Date: Thu, 25 Jan 2007 09:46:52 +0100 [thread overview]
Message-ID: <20070125084652.GA15747@aon.at> (raw)
In-Reply-To: <02a001c74013$6ad21e60$01c4af0a@atmel.com>
On Thu, Jan 25, 2007 at 12:51:12AM +0100, Ulf Samuelsson wrote:
>>>>Nak. There are a great many situations where people use ext2
>>>>and/or cramfs and/or squashfs without wanting to also use MTD...
>>>>I happen to use all of them without wanting MTD at various times.
>>>>
>>>>-Erik
>>>
>>>Hmm,
>>>
>>>The intention is, that if ext2/squashfs/cramfs etc is selected,
>>>you ensure you build the MTD utilities for the *host*.
>>
>>What specific failure do you see?
>>
>
>There are no mkfs.jffs2 application on the host, so it fails.
How does an eventual missing mkfs.jffs2 inhibit the generation of an
ext2 image?
Can you paste the error you were getting?
>>>$ mkfs.ext2 etc.
>>>
>>>Not that you put the MTD utilities into the root file system.
>>>How do I do what I intended then?
>>>(I hope building the host tools is not inconvenient).
>>
>>I do not want to download nor build a package that i do not need..
>
>How can you create an ext2/cramfs/squashfs if you have no
>application on your host that takes a directory and generates the fs????
See above. Perhaps you ment to select e2fsprogs for the ext2 filesystem
iff the host doesn't have an mkfs2? But then we seem to use genext2fs so
there is no need for an mkfs.ext2 installed on the host that i can see.
genext2fs should live in the TOOL_BUILD_DIR and not in the BUILD_DIR,
btw.
The BR2_TARGET_ROOTFS_JFFS2 already builds an host-mtd automatically, so
again this works (i did try this sometimes ago, it does work indeed).
$ grep _MTD target/jffs2/Config.in -B2
bool "jffs2 root filesystem"
default n
select BR2_PACKAGE_MTD
$ grep -e mtd-host$ target/jffs2/jffs2root.mk
$(JFFS2_TARGET): host-fakeroot makedevs mtd-host
Again, paste the error you were seeing, please.
prev parent reply other threads:[~2007-01-25 8:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-23 22:34 [Buildroot] [PATCH] Select MTD before EXT2/CRAMFS/SQUASHFS are built Ulf Samuelsson
2007-01-24 0:07 ` Erik Andersen
2007-01-24 1:18 ` Ulf Samuelsson
2007-01-24 22:57 ` Bernhard Fischer
2007-01-24 23:51 ` [Buildroot] [PATCH] Select MTD before EXT2/CRAMFS/SQUASHFS arebuilt Ulf Samuelsson
2007-01-25 8:46 ` Bernhard Fischer [this message]
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=20070125084652.GA15747@aon.at \
--to=rep.dot.nop@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox