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

Adam Lee adam.yh.lee at gmail.com
Fri Jan 12 18:22:12 UTC 2018


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               |
>>
>
>


More information about the U-Boot mailing list