[U-Boot] [PATCH 1/2] net: Add option to prefer bootp/dhcp serverip

Joe Hershberger joe.hershberger at ni.com
Wed Jun 13 22:41:03 UTC 2018


On Wed, Jun 13, 2018 at 3:46 AM, Rick Chen <rickchen36 at gmail.com> wrote:
> Hi Joe and Alex
>
>
> After trace, I found that in store_net_params( )
> if CONFIG_BOOTP_SERVERIP is not define,
> net_boot_file_name will be replaced by bp->bp_file
>
> copy_filename(net_boot_file_name, bp->bp_file,sizeof(net_boot_file_name));
>
> That is why the file name will become pxelinux.0, after remove
> CONFIG_BOOTP_SERVERIP.
>
> But I try to find where pxelinux.0 came from.
> It seems come from packet payload in dhcp_handler( ).
>

OK, that makes sense. It seems this will need to change as part of
this patch. Thanks for tracking it down.

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