Welcome! Log In Create A New Profile

Advanced

Current 2016.05 Uboot - which filesystems ?

Posted by DonCharisma 
Current 2016.05 Uboot - which filesystems ?
May 20, 2017 07:40AM
Probably more a question for @bodhi than anyone, but any advise welcomed :)

My question is what file systems can the current 2016.05 Uboot boot ?

ext2 / ext3 - I know from my own experience work fine, although ext2 is a bit fragile with the lack of journal, so have preferred ext3

ext4 ? (says so on the post)

mdadm RAID 1 with 1.0 metadata / 0.9 metadata ... other RAID levels ? 1.2 metadata ?

f2fs ?

are my main contenders, and just for good measure :

btrfs ?

zfs ? (probably a no go on low memory ARM boards anyway)

EDIT: obviously I mean what fs can Uboot load kernel/device tree and initramfs from, sorry if that wasn't clear :)

Don Charisma ... because anything is possible with Charisma

My blog - http://DonCharisma.org
Our commercial site - http://DonCharisma.com



Edited 1 time(s). Last edit at 05/20/2017 07:42AM by DonCharisma.
Re: Current 2016.05 Uboot - which filesystems ?
May 20, 2017 09:40AM
Hi Don,

> My question is what file systems can the current 2
> 016.05 Uboot boot ?

ext2, ext3, ext4 without any extra works.

>
> mdadm RAID 1 with 1.0 metadata / 0.9 metadata ...
> other RAID levels ? 1.2 metadata ?

Yes, with initramfs (i.e. uInird). IIRC, md is currently a module, so you need to update initramfs-tools to load it early (and then regenerate uInitrd).

>
> f2fs ?
>

Yes, but only rootfs. The kernel files uImage and uInitrd still needed to be on a ext2/ext3/ext4 partition.

> btrfs ?

Same as md.

> zfs ? (probably a no go on low memory ARM boards a
> nyway)

No, not with these low RAM plugs.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Current 2016.05 Uboot - which filesystems ?
May 22, 2017 02:01AM
Thanks @bodhi,

Would I be safe in assuming with md arrays using mdadm (and btrfs), that I would have to have a separate /boot partition, of ext2/3/4 ?

Don Charisma ... because anything is possible with Charisma

My blog - http://DonCharisma.org
Our commercial site - http://DonCharisma.com
Re: Current 2016.05 Uboot - which filesystems ?
May 22, 2017 02:33AM
Don,

> Would I be safe in assuming with md arrays using m
> dadm (and btrfs), that I would have to have a sepa
> rate /boot partition, of ext2/3/4 ?

No need to have separate partition. Just a normal rootfs. But you will need to ensure the md module and btfs module loaded early during kernel booting.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Current 2016.05 Uboot - which filesystems ?
May 22, 2017 04:27AM
bodhi Wrote:
-------------------------------------------------------
> Don,
>
> > Would I be safe in assuming with md arrays using
> m
> > dadm (and btrfs), that I would have to have a se
> pa
> > rate /boot partition, of ext2/3/4 ?
>
> No need to have separate partition. Just a normal
> rootfs. But you will need to ensure the md module
> and btfs module loaded early during kernel booting
> .

understood, TVM :)

Don Charisma ... because anything is possible with Charisma

My blog - http://DonCharisma.org
Our commercial site - http://DonCharisma.com
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: