[U-Boot] On writing .ext4 image to MMC

Vincent Prince vincent.prince.fr at gmail.com
Mon Jan 15 14:03:35 UTC 2018


Hi,

I think you can also create an ext4 image with extra space in it. You can
use bmap tool if size is a concern.

Regards,
Vincent

2018-01-12 19:22 GMT+01:00 Adam Lee <adam.yh.lee at gmail.com>:

> I was hoping to get this done in the bootloader otherwise I have to change
> the rootfs ;)
>
> On Fri, Jan 12, 2018 at 1:18 PM Michael Nazzareno Trimarchi <
> michael at amarulasolutions.com> wrote:
>
> > Hi
> >
> > On 12 Jan. 2018 7:15 pm, "Adam Lee" <adam.yh.lee at gmail.com> wrote:
> >
> > Hi Michael, I used gparted to fix the issue. I am just wondering if I can
> > do all this in U-Boot.
> > If there is no good solution, I will put one-time script in my rootfs to
> > do this task.
> >
> >
> > Sorry most of the system on first boot create a first instance of
> > something like ssd for keys. I think that just use resize FS should do
> the
> > trick. Why is should be done in bootloader?
> >
> > Michael
> >
> >
> > Adam
> >
> > On Fri, Jan 12, 2018 at 10:18 AM Michael Nazzareno Trimarchi <
> > michael at amarulasolutions.com> wrote:
> >
> >> Hi
> >>
> >>
> >> resize2fs from linux?
> >>
> >> Michael
> >>
> >> On Fri, Jan 12, 2018 at 4:15 PM, Adam Lee <adam.yh.lee at gmail.com>
> wrote:
> >> > Hello everyone,
> >> >
> >> > I am able to download a .ext4 image over tftp and write it to my SD
> >> card.
> >> > The system boots fine.
> >> > One last thing I have to figure out is to expand this .ext4 file
> system
> >> > that I just populated.
> >> > If the image is 600MB, the partition size itself is 600MB, leaving no
> >> room.
> >> >
> >> > Is there anything I can do to remedy this in U-Boot?
> >> >
> >> > Adam
> >> > _______________________________________________
> >> > U-Boot mailing list
> >> > U-Boot at lists.denx.de
> >> > https://lists.denx.de/listinfo/u-boot
> >>
> >>
> >>
> >> --
> >> | Michael Nazzareno Trimarchi                     Amarula Solutions BV |
> >> | COO  -  Founder                                      Cruquiuskade 47
> >> <https://maps.google.com/?q=Cruquiuskade+47&entry=gmail&source=g> |
> >> | +31(0)851119172 <+31%2085%20111%209172>
> >>  Amsterdam 1018 AM NL |
> >> |                  [`as] http://www.amarulasolutions.com
>  |
> >>
> >
> >
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
>


More information about the U-Boot mailing list