[PATCH v12 9/9] doc: uefi: add HTTP Boot support

Masahisa Kojima masahisa.kojima at linaro.org
Tue Nov 14 13:48:52 CET 2023


Hi Fabio,

On Tue, 14 Nov 2023 at 18:05, Fabio Estevam <festevam at gmail.com> wrote:
>
> Hi Masahisa,
>
> On Fri, Nov 10, 2023 at 1:29 AM Masahisa Kojima
> <masahisa.kojima at linaro.org> wrote:
>
> > +Set up the load option specifying the target URI::
> > +
> > +    efidebug boot add -u 1 netinst http://foo/bar
> > +
> > +When this load option is selected as boot selection, resolve the
> > +host ip address by dns, then download the file with wget.
>
> Just curious: what is the typical size of the file that is downloaded via wget?
>
> We are observing some inconsistent behavior with wget as discussed in
> this thread:
>
> https://lore.kernel.org/u-boot/CAJ+vNU2U9W2NRT6hf1CAEQ_56SDQviUEzuDD1iYOpdf1CNaZBw@mail.gmail.com/
>
> Do you see the same problem?

I use a 657MB file for my test.
I have not focused on the downloading test before, but I also encountered
the file size inconsistent behavior on my board(Socionext Developerbox).
At the 15 trials of downloading the same file, unexpected file
transfer behavior occurred.

Packets received 475093, Transfer Successful
Bytes transferred = 687929344 (2900f800 hex)

Packets received 475105, Transfer Successful
Bytes transferred = 687929344 (2900f800 hex)

Packets received 475116, Transfer Successful
Bytes transferred = 687929344 (2900f800 hex)

Packets received 475096, Transfer Successful
Bytes transferred = 55088883 (34896f3 hex)       <-- size is wrong

Thanks,
Masahisa Kojima

>
> Thanks,
>
> Fabio Estevam


More information about the U-Boot mailing list