14 Nov, 2016

1 commit

  • If mac-address is changed using "setenv ethaddr ...." command the new
    mac-adress also must be written into the responsible ethernet driver.
    This fixes the legacy ethernet handling.

    Signed-off-by: Marek Vasut
    Cc: Hannes Schmelzer
    Cc: Joe Hershberger
    Cc: Tom Rini
    Reviewed-by: Hannes Schmelzer

    Marek Vasut
     

08 Nov, 2016

1 commit


14 Oct, 2016

1 commit


24 Sep, 2016

1 commit


17 Sep, 2016

1 commit


10 Sep, 2016

2 commits


23 Aug, 2016

13 commits


16 Jul, 2016

1 commit

  • Fix a number of typos, including:

    * "compatble" -> "compatible"
    * "eanbeld" -> "enabled"
    * "envrionment" -> "environment"
    * "FTD" -> "FDT" (for "flattened device tree")
    * "ommitted" -> "omitted"
    * "overriden" -> "overridden"
    * "partiton" -> "partition"
    * "propogate" -> "propagate"
    * "resourse" -> "resource"
    * "rest in piece" -> "rest in peace"
    * "suport" -> "support"
    * "varible" -> "variable"

    Signed-off-by: Robert P. J. Day

    Robert P. J. Day
     

06 Jul, 2016

1 commit


22 Jun, 2016

1 commit


13 Jun, 2016

1 commit


28 May, 2016

4 commits

  • The client architecture that we pass to a dhcp server depends on the target
    payload that we want to execute. An EFI binary has a different client arch
    than a legacy binary or a u-boot binary.

    So let's parameterize the pxe client arch field to allow an override via
    the distro script, so that our efi boot path can tell the dhcp server that
    it's actually an efi firmware.

    Signed-off-by: Alexander Graf

    Alexander Graf
     
  • Now that we can expose network functionality to EFI applications,
    the logical next step is to load them via pxe to execute them as
    well.

    This patch adds the necessary bits to the distro script to automatically
    load and execute EFI payloads. It identifies the dhcp client as a uEFI
    capable PXE client, hoping the server returns a tftp path to a workable
    EFI binary that we can then execute.

    To enable boards that don't come with a working device tree preloaded,
    this patch also adds support to load a device tree from the /dtb directory
    on the remote tftp server.

    Signed-off-by: Alexander Graf
    Reviewed-by: Tom Rini

    Alexander Graf
     
  • This patch also adds the SPL time VCI string into Kconfig.

    Signed-off-by: Alexander Graf
    Reviewed-by: Tom Rini

    Alexander Graf
     
  • There are client identifiers specifically reserved for ARM U-Boot
    according to http://www.ietf.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xml#processor-architecture.

    So let's actually make use of them rather than the bogus 0x100 that
    we emitted so far.

    Signed-off-by: Alexander Graf
    Reviewed-by: Tom Rini
    [trini: Drop the Xilinx define to 0x100 as it's not the correct value to
    use].
    Signed-off-by: Tom Rini

    Alexander Graf
     

27 May, 2016

3 commits

  • We have a bunch of boards that define their vendor class identifier and
    client archs in the board files or in the distro config. Move everything
    to the generic Kconfig options.

    We're missing the distinction between i386 and x86_64, as I couldn't find
    any config variable that would tell us the difference. Is that really important
    to people? I guess not, so I left it out.

    Signed-off-by: Alexander Graf
    Reviewed-by: Tom Rini

    Alexander Graf
     
  • Both the dhcp as well as the bootp case add vendor class identifier
    parameters into their packets. Let's move that into a separate function
    to make overlaying easier.

    Signed-off-by: Alexander Graf
    Reviewed-by: Tom Rini

    Alexander Graf
     
  • We can now successfully boot EFI applications from disk, but users
    may want to also run them from a PXE setup.

    This patch implements rudimentary network support, allowing a payload
    to send and receive network packets.

    With this patch, I was able to successfully run grub2 with network
    access inside of QEMU's -M xlnx-ep108.

    Signed-off-by: Alexander Graf

    Alexander Graf
     

27 Mar, 2016

1 commit


27 Feb, 2016

1 commit

  • There is currently one config option (CONFIG_NET_RETRY_COUNT) that
    is available to tune the retries of the network stack.
    Unfortunately, it is global to all protocols, and the value is
    interpreted differently in all of them.

    Add a new environment variable that directly sets the retry period for
    BOOTP timeouts. If this new value is not set, the period is still derived
    from the default number of retries, or from CONFIG_NET_RETRY_COUNT if
    defined. When both the new variable is set and CONFIG_NET_RETRY_COUNT
    is defined, the variable has precedence.

    Signed-off-by: Alexandre Messier

    Alexandre Messier
     

06 Feb, 2016

1 commit

  • This fixes the following error when building microblaze-generic:

    net/eth-uclass.c: In function 'eth_post_probe':
    net/eth-uclass.c:466:18: error: 'gd' undeclared (first use in this function)
    ops->start += gd->reloc_off;

    Fixes: db9391e1 ("net: Move driver-model code into its own file")

    Signed-off-by: Simon Glass
    Acked-by: Joe Hershberger

    Simon Glass
     

29 Jan, 2016

6 commits