1. 25 1月, 2020 1 次提交
  2. 09 12月, 2019 2 次提交
  3. 03 12月, 2019 2 次提交
  4. 05 9月, 2019 1 次提交
  5. 12 8月, 2019 2 次提交
  6. 19 7月, 2019 1 次提交
    • H
      net: unaligned copying of unsigned long · bbfc5627
      Heinrich Schuchardt 提交于
      The inline functions net_read_u32() and net_copy_u32() have been created to
      copy unaligned u32. But this is not obvious to the compiler. GCC 9.1
      introduces a check -Werror=address-of-packed-member which leads to a build
      error on Travis CI:
      
      net/bootp.c: In function ‘dhcp_send_request_packet’:
      net/bootp.c:1011:27: error: taking address of packed member of
      ‘struct bootp_hdr’ may result in an unaligned pointer value
      [-Werror=address-of-packed-member]
       1011 |  net_copy_u32(&bp->bp_id, &bp_offer->bp_id);
      
      Change the type of the function parameters to void * to avoid the build
      error.
      Reported-by: NRamon Fried <rfried.dev@gmail.com>
      Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
      Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
      bbfc5627
  7. 12 4月, 2019 1 次提交
  8. 25 1月, 2019 2 次提交
  9. 11 10月, 2018 4 次提交
  10. 08 8月, 2018 1 次提交
  11. 27 7月, 2018 2 次提交
  12. 03 7月, 2018 2 次提交
    • A
      net: Prefer command line arguments · 449312c1
      Alexander Graf 提交于
      We can call commands like dhcp and bootp without arguments or with
      explicit command line arguments that really should tell the code where
      to look for files instead.
      
      Unfortunately, the current code simply overwrites command line arguments
      in the dhcp case with dhcp values.
      
      This patch allows the code to preserve the command line values if they
      were set on the command line. That way the semantics are slightly more
      intuitive.
      
      The reason this patch does that by introducing a new variable is that we
      can not rely on net_boot_file_name[0] being unset, as today it's
      completely legal to call "dhcp" and afterwards run "tftp" and expect the
      latter to repeat the same query as before. I would prefer not to break
      that behavior in case anyone relies on it.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
      449312c1
    • L
      net: Add new wol command - Wake on LAN · d8970dae
      Lothar Felten 提交于
      Add a new command 'wol': Wait for an incoming Wake-on-LAN packet or
      time out if no WoL packed is received.
      If the WoL packet contains a password, it is saved in the environment
      variable 'wolpassword' using the etherwake format (dot or colon
      separated decimals).
      
      Intended use case: a networked device should boot an alternate image.
      It's attached to a network on a client site, modifying the DHCP server
      configuration or setup of a tftp server is not allowed.
      After power on the device waits a few seconds for a WoL packet. If a
      packet is received, the device boots the alternate image. Otherwise
      it boots the default image.
      
      This method is a simple way to interact with a system via network even
      if only the MAC address is known. Tools to send WoL packets are
      available on all common platforms.
      
      Some Ethernet drivers seem to pad the incoming packet. The additional
      padding bytes might be recognized as Wake-on-LAN password bytes.
      
      By default enabled in pengwyn_defconfig.
      Signed-off-by: NLothar Felten <lothar.felten@gmail.com>
      Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
      d8970dae
  13. 30 5月, 2018 1 次提交
  14. 11 5月, 2018 1 次提交
  15. 09 4月, 2018 1 次提交
    • A
      net: Move enetaddr env access code to env config instead of net config · 9925f1db
      Alex Kiernan 提交于
      In order that we can use eth_env_* even when CONFIG_NET isn't set, move
      these functions to environment code from net code.
      
      This fixes failures such as:
      
        board/ti/am335x/built-in.o: In function `board_late_init':
        board/ti/am335x/board.c:752: undefined reference to `eth_env_set_enetaddr'
        u-boot/board/ti/am335x/board.c:766: undefined reference to `eth_env_set_enetaddr'
      
      which caters for use cases such as:
      
      commit f411b5cc ("board: am335x: Always set eth/eth1addr environment
      variable")
      
      when Ethernet is required in Linux, but not U-Boot.
      Signed-off-by: NAlex Kiernan <alex.kiernan@gmail.com>
      9925f1db
  16. 07 4月, 2018 1 次提交
  17. 16 8月, 2017 3 次提交
  18. 08 8月, 2017 1 次提交
  19. 12 6月, 2017 1 次提交
    • H
      powerpc, 8xx: remove support for 8xx · 5b8e76c3
      Heiko Schocher 提交于
      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: NHeiko Schocher <hs@denx.de>
      5b8e76c3
  20. 08 2月, 2017 3 次提交
  21. 10 1月, 2017 1 次提交
  22. 16 7月, 2016 1 次提交
    • R
      Various, unrelated tree-wide typo fixes. · 62a3b7dd
      Robert P. J. Day 提交于
          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: NRobert P. J. Day <rpjday@crashcourse.ca>
      62a3b7dd
  23. 27 5月, 2016 1 次提交
    • A
      efi_loader: Add network access support · 0efe1bcf
      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: NAlexander Graf <agraf@suse.de>
      0efe1bcf
  24. 04 5月, 2016 1 次提交
  25. 04 4月, 2016 1 次提交
  26. 27 3月, 2016 1 次提交
  27. 29 1月, 2016 1 次提交