Skip to contentSkip to conversation

Booting from ext2 partition

U-Boot-Users Pavel Bartusek 2 participants 5 messages Mar 18, 2004 – Mar 23, 2004

lore
Share & tools
lore
#0 lore raw

Hi Jerry, Wolfgang,

Quoted 1 line

Recently a few of the folks on my team have asked me to implement a

loader that can load the kernel from an ext2 partition.

A good starting point would be
http://students.ceid.upatras.gr/~gef/fs/lread10.zip
or
http://students.ceid.upatras.gr/~gef/fs/ext2tool.zip

Wolfgang, currently I have implementation of booting from Reiserfs for U-Boot 0.3.0. My question is: will you accept the patch for latest version of U-Boot or you are totally against next filesytstem support in U-Boot ?

Pavel

Signature · 10 lines
Pavel Bartusek <[email protected]>
Software Engineering

SYSGO Real-Time Solutions AG | Embedded and Real-Time Software
Lise-Meitner-Str.15
89081 Ulm, Germany

Voice: +49-731-9533-1295
FAX:   +49-731-94683-10
www.sysgo.com | www.elinos.com | www.osek.de
#1 lore raw

Dear Pavel,

Quoted 5 lines · in message <[email protected]> you wrote:

Wolfgang, currently I have implementation of booting from Reiserfs for U-Boot 0.3.0. My question is: will you accept the patch for latest version of U-Boot or you are totally against next filesytstem support in U-Boot ?

I will never reject an extension that is useful to some people and does not hurt all the others. If your extension can be turned off (by compile-time configuration options) completely I see no reason not to add it.

My personal opinion is that such features are more or less wasted effort, since the same result is usually easily available without this feature. But if the work has already been done, it would be even worse NOT to make it available to others.

Best regards,

Wolfgang Denk

Signature · 6 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
He had been eight years upon a project for extracting sunbeams out of
cucumbers, which were to be put in vials hermetically sealed, and let
out to warm the air in raw inclement summers.        - Jonathan Swift
              _Gulliver's Travels_ ``A Voyage to Laputa, etc.'' ch. 5
#2 lore raw
Quoted 3 lines · Wolfgang Denk

I will never reject an extension that is useful to some people and does not hurt all the others.

It is nice to hear such message :-)

Quoted 3 lines

If your extension can be turned off (by
compile-time configuration options) completely I see no reason not to add it.

Yes, it can.

Quoted 4 lines

My personal opinion is that such features are more or less wasted effort, since the same result is usually easily available without this feature.

You are right, _usually_ you can live with additional partition for kernel, but there can be a situation when we need boot directly from some filesystem.

Give me some time and I'll port the reiserfs stuff to the latest U-Boot and send it to this list.

Best regards

Signature · 10 lines
Pavel Bartusek <[email protected]>
Software Engineering

SYSGO Real-Time Solutions AG | Embedded and Real-Time Software
Lise-Meitner-Str.15
89081 Ulm, Germany

Voice: +49-731-9533-1295
FAX:   +49-731-94683-10
www.sysgo.com | www.elinos.com | www.osek.de
#3 lore raw

[U-Boot-Users] PATCH: Reisefs support

In reply to Wolfgang Denk

Hi Wolfgang,

Here is the promised patch for Reiserfs support. It is from GRUB and tested with the PPC440 CPU. The command interface is the same as for FAT:
reiserls <interface> <dev[:part]> [directory]
reiserload <interface> <dev[:part]> [addr] [filename] [bytes]

CHANGELOG:
* Patch by Pavel Bartusek 21 Mar 2004
- Add Reiserfs support

best regards

Signature · 19 lines
Pavel Bartusek <[email protected]>
Software Engineering

SYSGO Real-Time Solutions AG | Embedded and Real-Time Software
Lise-Meitner-Str.15
89081 Ulm, Germany

Voice: +49-731-9533-1295
FAX:   +49-731-94683-10
www.sysgo.com | www.elinos.com | www.osek.de


-------------- next part --------------
A non-text attachment was scrubbed...
Name: reiserfs.patch.gz
Type: application/x-gunzip
Size: 18816 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040321/11163d58/attachment.bin 
#4 lore raw

[U-Boot-Users] PATCH: Reisefs support

Quoted 4 lines · In message <[email protected]> you wrote:

CHANGELOG:
* Patch by Pavel Bartusek 21 Mar 2004
- Add Reiserfs support

Thanks, added.

Best regards,

Wolfgang Denk

Signature · 6 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Space is big. You just won't believe how vastly, hugely, mind-
bogglingly big it is. I mean, you may think it's a long way down the
road to the drug store, but that's just peanuts to space.
                              -- The Hitchhiker's Guide to the Galaxy