Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Buildroot ext3 filesystem
@ 2011-07-15  4:20 Vasanth Ragavendran
  2011-07-15  9:20 ` Bjørn Forsman
  0 siblings, 1 reply; 3+ messages in thread
From: Vasanth Ragavendran @ 2011-07-15  4:20 UTC (permalink / raw)
  To: buildroot

Hi

I am new to buildroot and hence my question could be trivial. Plz help. My
question is Is it possible to create a ext3 root filesystem using build
root? because during makeconfig i couldn't find ext3 only ext2 was present.
Further, i read in the manual under "Using an external toolchain" that an
external toolchain like glibc could be used. However there is no option for
downloading it from the internet and it only asks for the path of the
toolchain. What is it that i am missing? Awaiting your response.

Thanks and Regards,
R.Vasanth Ragavendran.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110715/5f837b64/attachment.html>

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

* [Buildroot] Buildroot ext3 filesystem
  2011-07-15  4:20 [Buildroot] Buildroot ext3 filesystem Vasanth Ragavendran
@ 2011-07-15  9:20 ` Bjørn Forsman
  2011-07-21  8:37   ` Arnout Vandecappelle
  0 siblings, 1 reply; 3+ messages in thread
From: Bjørn Forsman @ 2011-07-15  9:20 UTC (permalink / raw)
  To: buildroot

On 15 July 2011 06:20, Vasanth Ragavendran <ragavendra.2007@gmail.com> wrote:
> Hi
>
> I am new to buildroot and hence my question could be trivial. Plz help. My
> question is Is it possible to create a ext3 root filesystem using build
> root? because during makeconfig i couldn't find ext3 only ext2 was present.

It is not possible at the moment. But it's easy to convert an ext2
filesystem to ext3 or ext4:

# ext2 -> ext3
tune2fs -j image.ext2 && mv image.{ext2,ext3}

# ext3 -> ext4
tune2fs -O extents,uninit_bg,dir_index image.ext3 && mv
image.{ext3,ext4} && e2fsck -fDC0 image.ext4

(I found this info at
https://ext4.wiki.kernel.org/index.php/Ext4_Howto#Converting_an_ext3_filesystem_to_ext4).

We should probably integrate this into buildroot.

> Further, i read in the manual under "Using an external toolchain" that an
> external toolchain like glibc could be used. However there is no option for
> downloading it from the internet and it only asks for the path of the
> toolchain. What is it that i am missing? Awaiting your response.

CodeSourcery toolchains are the only pre-built toolchains that
Buildroot knows about and will automatically download from the
internet. CodeSourcery toolchain selection in buildroot depends on the
target architecture (ARM/MIPS/SH/PowerPC/Blackfin) and is not
available for x86. For example, if you select Target Architecture
"ARM" in buildroot you can then go on and select Toolchain ->
Toolchain type (External toolchain)  and then Toolchain ->
CodeSourcery VERSION. Buildroot will download the toolchain for you.

Best regards,
Bj?rn Forsman

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

* [Buildroot] Buildroot ext3 filesystem
  2011-07-15  9:20 ` Bjørn Forsman
@ 2011-07-21  8:37   ` Arnout Vandecappelle
  0 siblings, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2011-07-21  8:37 UTC (permalink / raw)
  To: buildroot


On Friday 15 July 2011 11:20:59, Bj?rn Forsman wrote:
> It is not possible at the moment. But it's easy to convert an ext2
> filesystem to ext3 or ext4:
> 
> # ext2 -> ext3
> tune2fs -j image.ext2 && mv image.{ext2,ext3}

 This also requires and e2fsck, because genext2fs creates a type 0 filesystem 
while journal is only supported in type 1.

> # ext3 -> ext4
> tune2fs -O extents,uninit_bg,dir_index image.ext3 && mv
> image.{ext3,ext4} && e2fsck -fDC0 image.ext4

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  31BB CF53 8660 6F88 345D  54CC A836 5879 20D7 CF43

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

end of thread, other threads:[~2011-07-21  8:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-15  4:20 [Buildroot] Buildroot ext3 filesystem Vasanth Ragavendran
2011-07-15  9:20 ` Bjørn Forsman
2011-07-21  8:37   ` Arnout Vandecappelle

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