07 May, 2018

1 commit

  • When U-Boot started using SPDX tags we were among the early adopters and
    there weren't a lot of other examples to borrow from. So we picked the
    area of the file that usually had a full license text and replaced it
    with an appropriate SPDX-License-Identifier: entry. Since then, the
    Linux Kernel has adopted SPDX tags and they place it as the very first
    line in a file (except where shebangs are used, then it's second line)
    and with slightly different comment styles than us.

    In part due to community overlap, in part due to better tag visibility
    and in part for other minor reasons, switch over to that style.

    This commit changes all instances where we have a single declared
    license in the tag as both the before and after are identical in tag
    contents. There's also a few places where I found we did not have a tag
    and have introduced one.

    Signed-off-by: Tom Rini

    Tom Rini
     

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
     

19 Apr, 2015

1 commit


24 Jul, 2013

1 commit


23 Jul, 2009

1 commit

  • On 04 Oct 2008 Pieter posted a dns implementation for U-Boot.

    http://www.mail-archive.com/u-boot-users@lists.sourceforge.net/msg10216.html
    >
    > DNS can be enabled by setting CFG_CMD_DNS. After performing a query,
    > the serverip environment var is updated.
    >
    > Probably there are some cosmetic issues with the patch. Unfortunatly I
    > do not have the time to correct these. So if anybody else likes DNS
    > support in U-Boot and has the time, feel free to patch it in the main tree.

    Here it is again - slightly modified & smaller:
    - update to 2009-06 (Pieter's patch was for U-Boot 1.2.0)
    - README.dns is added
    - syntax is changed (now takes a third option, the env var to store
    the result in)
    - add a random port() function in net.c
    - sort Makefile in ./net/Makefile
    - dns just returns unless a env var is given
    - run through checkpatch, and clean up style issues
    - remove packet from stack
    - cleaned up some comments
    - failure returns much faster (if server responds, don't wait for
    timeout)
    - use built in functions (memcpy) rather than byte copy.

    Signed-off-by: Robin Getz
    Signed-off-by: Pieter Voorthuijsen
    Signed-off-by: Ben Warren

    Robin Getz