mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* ubifs
@ 2018-12-03 12:42 Erwin Rol
  2018-12-03 12:58 ` ubifs Sascha Hauer
  0 siblings, 1 reply; 7+ messages in thread
From: Erwin Rol @ 2018-12-03 12:42 UTC (permalink / raw)
  To: Barebox List

Hallo all,

I want to create empty ubifs volumes, like this;

1) ubiformat -y -q /dev/nand0.system
2) ubiattach /dev/nand0.system
3) ubimkvol -t dynamic /dev/nand0.system.ubi system 0

4) .... ???? 

5) mount -t ubifs -o rw /dev/nand0.system.ubi.system /mnt/system/


Is this possible with barebox? 

- Erwin


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: ubifs
  2018-12-03 12:42 ubifs Erwin Rol
@ 2018-12-03 12:58 ` Sascha Hauer
  2018-12-03 13:06   ` ubifs Erwin Rol
  0 siblings, 1 reply; 7+ messages in thread
From: Sascha Hauer @ 2018-12-03 12:58 UTC (permalink / raw)
  To: Erwin Rol; +Cc: Barebox List

Hi Erwin,

On Mon, Dec 03, 2018 at 01:42:11PM +0100, Erwin Rol wrote:
> Hallo all,
> 
> I want to create empty ubifs volumes, like this;
> 
> 1) ubiformat -y -q /dev/nand0.system
> 2) ubiattach /dev/nand0.system
> 3) ubimkvol -t dynamic /dev/nand0.system.ubi system 0
> 
> 4) .... ???? 
> 
> 5) mount -t ubifs -o rw /dev/nand0.system.ubi.system /mnt/system/
> 
> 
> Is this possible with barebox?

It depends on what you do in step 4. Should be something like
'ubiupdatevol' or cp /some/image /dev/nand0.system.ubi.system. But then,
yes, this works.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: ubifs
  2018-12-03 12:58 ` ubifs Sascha Hauer
@ 2018-12-03 13:06   ` Erwin Rol
  2018-12-03 13:26     ` ubifs Sascha Hauer
  0 siblings, 1 reply; 7+ messages in thread
From: Erwin Rol @ 2018-12-03 13:06 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: Barebox List

On Mon, 2018-12-03 at 13:58 +0100, Sascha Hauer wrote:
> Hi Erwin,
> 
> On Mon, Dec 03, 2018 at 01:42:11PM +0100, Erwin Rol wrote:
> > Hallo all,
> > 
> > I want to create empty ubifs volumes, like this;
> > 
> > 1) ubiformat -y -q /dev/nand0.system
> > 2) ubiattach /dev/nand0.system
> > 3) ubimkvol -t dynamic /dev/nand0.system.ubi system 0
> > 
> > 4) .... ???? 
> > 
> > 5) mount -t ubifs -o rw /dev/nand0.system.ubi.system /mnt/system/
> > 
> > 
> > Is this possible with barebox?
> 
> It depends on what you do in step 4. Should be something like
> 'ubiupdatevol' or cp /some/image /dev/nand0.system.ubi.system. But then,
> yes, this works

But I need some sort of image, I can not create an empty ubifs volume
and mount it with just barebox tools ?

- Erwin


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: ubifs
  2018-12-03 13:06   ` ubifs Erwin Rol
@ 2018-12-03 13:26     ` Sascha Hauer
  2018-12-03 13:35       ` ubifs Erwin Rol
  0 siblings, 1 reply; 7+ messages in thread
From: Sascha Hauer @ 2018-12-03 13:26 UTC (permalink / raw)
  To: Erwin Rol; +Cc: Barebox List

On Mon, Dec 03, 2018 at 02:06:21PM +0100, Erwin Rol wrote:
> On Mon, 2018-12-03 at 13:58 +0100, Sascha Hauer wrote:
> > Hi Erwin,
> > 
> > On Mon, Dec 03, 2018 at 01:42:11PM +0100, Erwin Rol wrote:
> > > Hallo all,
> > > 
> > > I want to create empty ubifs volumes, like this;
> > > 
> > > 1) ubiformat -y -q /dev/nand0.system
> > > 2) ubiattach /dev/nand0.system
> > > 3) ubimkvol -t dynamic /dev/nand0.system.ubi system 0
> > > 
> > > 4) .... ???? 
> > > 
> > > 5) mount -t ubifs -o rw /dev/nand0.system.ubi.system /mnt/system/
> > > 
> > > 
> > > Is this possible with barebox?
> > 
> > It depends on what you do in step 4. Should be something like
> > 'ubiupdatevol' or cp /some/image /dev/nand0.system.ubi.system. But then,
> > yes, this works
> 
> But I need some sort of image, I can not create an empty ubifs volume
> and mount it with just barebox tools ?

Nope, because we only have a readonly UBIFS implementation.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: ubifs
  2018-12-03 13:26     ` ubifs Sascha Hauer
@ 2018-12-03 13:35       ` Erwin Rol
  0 siblings, 0 replies; 7+ messages in thread
From: Erwin Rol @ 2018-12-03 13:35 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: Barebox List

On Mon, 2018-12-03 at 14:26 +0100, Sascha Hauer wrote:
> On Mon, Dec 03, 2018 at 02:06:21PM +0100, Erwin Rol wrote:
> > On Mon, 2018-12-03 at 13:58 +0100, Sascha Hauer wrote:
> > > Hi Erwin,
> > > 
> > > On Mon, Dec 03, 2018 at 01:42:11PM +0100, Erwin Rol wrote:
> > > > Hallo all,
> > > > 
> > > > I want to create empty ubifs volumes, like this;
> > > > 
> > > > 1) ubiformat -y -q /dev/nand0.system
> > > > 2) ubiattach /dev/nand0.system
> > > > 3) ubimkvol -t dynamic /dev/nand0.system.ubi system 0
> > > > 
> > > > 4) .... ???? 
> > > > 
> > > > 5) mount -t ubifs -o rw /dev/nand0.system.ubi.system /mnt/system/
> > > > 
> > > > 
> > > > Is this possible with barebox?
> > > 
> > > It depends on what you do in step 4. Should be something like
> > > 'ubiupdatevol' or cp /some/image /dev/nand0.system.ubi.system. But then,
> > > yes, this works
> > 
> > But I need some sort of image, I can not create an empty ubifs volume
> > and mount it with just barebox tools ?
> 
> Nope, because we only have a readonly UBIFS implementation.

So that means I can not add files to a ubifs ? That would seriously
suck :-(

- Erwin


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: ubifs
  2011-09-28 15:27 ubifs Renaud Barbier
@ 2011-09-29 10:18 ` Sascha Hauer
  0 siblings, 0 replies; 7+ messages in thread
From: Sascha Hauer @ 2011-09-29 10:18 UTC (permalink / raw)
  To: Renaud Barbier; +Cc: barebox

On Wed, Sep 28, 2011 at 04:27:31PM +0100, Renaud Barbier wrote:
> I see that there is no ubifs support in barebox.
> 
> Is there any plan to support ubifs in the near future?

No, not that I heard of.

> 
> Else how much effort do you think it will take to port it
> 
> I never ported a fs so if you have any advices, I will
> be glad to read them.

Probably the U-Boot ubifs code is a useful template for
porting ubifs to barebox. It shouldn't be too hard to get
something working by looking at the current filesystems
in barebox.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* ubifs
@ 2011-09-28 15:27 Renaud Barbier
  2011-09-29 10:18 ` ubifs Sascha Hauer
  0 siblings, 1 reply; 7+ messages in thread
From: Renaud Barbier @ 2011-09-28 15:27 UTC (permalink / raw)
  To: barebox

I see that there is no ubifs support in barebox.

Is there any plan to support ubifs in the near future?

Else how much effort do you think it will take to port it

I never ported a fs so if you have any advices, I will
be glad to read them.

Cheers.


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2018-12-03 13:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-03 12:42 ubifs Erwin Rol
2018-12-03 12:58 ` ubifs Sascha Hauer
2018-12-03 13:06   ` ubifs Erwin Rol
2018-12-03 13:26     ` ubifs Sascha Hauer
2018-12-03 13:35       ` ubifs Erwin Rol
  -- strict thread matches above, loose matches on Subject: below --
2011-09-28 15:27 ubifs Renaud Barbier
2011-09-29 10:18 ` ubifs Sascha Hauer

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