16 Aug, 2017

3 commits


08 Aug, 2017

1 commit

  • PXE boot is broken with GCC 7.1 due option '-fstore-merging' enabled
    by default for '-O2':

    BOOTP broadcast 1
    data abort
    pc : [] lr : []
    reloc pc : [] lr : []
    sp : 8f558bc0 ip : 00000000 fp : 8ffef5a4
    r10: 8ffed248 r9 : 8f558ee0 r8 : 8ffef594
    r7 : 0000000e r6 : 8ffed700 r5 : 00000000 r4 : 8ffed74e
    r3 : 00060101 r2 : 8ffed230 r1 : 8ffed706 r0 : 00000ddd
    Flags: nzcv IRQs off FIQs off Mode SVC_32
    Resetting CPU ...

    Core reason is usage of structures for network headers without packed
    attribute.

    Reviewed-by: Yauheni Kaliuta
    Signed-off-by: Denis Pynkin
    Acked-by: Joe Hershberger

    Denis Pynkin
     

12 Jun, 2017

1 commit

  • There was for long time no activity in the 8xx area.
    We need to go further and convert to Kconfig, but it
    turned out, nobody is interested anymore in 8xx,
    so remove it (with a heavy heart, knowing that I remove
    here the root of U-Boot).

    Signed-off-by: Heiko Schocher

    Heiko Schocher
     

08 Feb, 2017

3 commits


10 Jan, 2017

1 commit


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
     

27 May, 2016

1 commit

  • 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
     

04 May, 2016

1 commit

  • Ethernet packages with IEEE 802.1Q VLAN support may be up to 1522
    bytes long. Increase the default size used to allocate packet
    storage by 4 bytes. While at it, let git care about history and
    rewrite the comment to represent the situation today only.

    Signed-off-by: Stefan Agner
    Reviewed-by: Tom Rini
    Acked-by: Joe Hershberger

    Stefan Agner
     

04 Apr, 2016

1 commit

  • This patch adds support for the mvpp2 ethernet controller which is integrated
    in the Marvell Armada 375 SoC. This port is based on the Linux driver (v4.4),
    which has been stripped of the in U-Boot unused portions.

    Tested on the Marvell Armada 375 eval board db-88f6720.

    Signed-off-by: Stefan Roese
    Cc: Luka Perkov
    Acked-by: Joe Hershberger

    Stefan Roese
     

27 Mar, 2016

1 commit


29 Jan, 2016

2 commits


22 Dec, 2015

1 commit


30 Oct, 2015

1 commit

  • The net_boot_file_name buffer is used as storage for the bootfilename
    command line argument to network boot commands such as tftp and nfs.

    Increase the size of this buffer to 1024 bytes as the current size of
    128 bytes is restrictive for arbitrary paths on the server.

    Signed-off-by: Jacob Stiffler
    Acked-by: Joe Hershberger

    Jacob Stiffler
     

29 Oct, 2015

1 commit


30 Sep, 2015

1 commit

  • The previous eth_device struct returned by eth_get_dev() allowed
    code to directly query the state member field. However, with
    CONFIG_DM_ETH this data gets encapsulated (i.e. private), and
    eth_get_dev() returns a udevice struct 'abstraction' instead.

    This breaks legacy code relying on the former behaviour - e.g.
    netconsole.
    (see http://lists.denx.de/pipermail/u-boot/2015-June/216528.html)

    The patch introduces a method to retrieve the ethernet device
    state in a 'clean' and uniform way, supporting both legacy code
    and driver model. The new function eth_is_active() accepts a
    device struct pointer and tests it for ETH_STATE_ACTIVE.

    Signed-off-by: Bernhard Nortmann
    Reviewed-by: Simon Glass
    Acked-by: Joe Hershberger

    Bernhard Nortmann
     

07 Sep, 2015

1 commit

  • This code allows using DFU defined mediums for storing data received via
    TFTP protocol.

    It reuses and preserves functionality of legacy code at common/update.c.

    The update_tftp() function now accepts parameters - namely medium device
    name and its number (e.g. mmc 1).

    Without this information passed old behavior is preserved.

    Signed-off-by: Lukasz Majewski
    Acked-by: Joe Hershberger

    Lukasz Majewski
     

22 Jul, 2015

2 commits

  • Some drivers may want to implement this method for some of their devices but
    not for others. So it is not possible to just leave the operation out of
    the table. Drivers could get around this by masquerading as two separate
    drivers but that seems unpleasant.

    Allow the driver to return an error when it does not want to process the
    write_hwaddr() method.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • Some devices can take a long time to work out whether they have a new packet
    or now. For example the ASIX USB Ethernet dongle can take 5 seconds to do
    this, since it waits until it gets a new packet on the wire before allowing
    the USB bulk read packet to be submitted.

    At present with driver mode the Ethernet receive code reads 32 packets. This
    can take a very long time if we must wait for all 32 packets. The old code
    (before driver model) worked by reading a single set of packets from the USB
    device, then processing all the packets with in. It would be nice to use
    the same behaviour with driver model.

    Add a flag to the receive method which indicates that the driver should try
    to find a packet if available, by consulting the hardware. When the flag is
    not set, it should just return any packet data it has already received. If
    there is none, it should return -EAGAIN so that the loop will terminate.

    Signed-off-by: Simon Glass

    Simon Glass
     

19 Apr, 2015

17 commits