Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • stable
  • extraversion
  • early-display
  • variant-emmc-nvme-boot
  • 2024-07-19
  • 2024-06-30
  • 2023-10-18
  • 2023-10-10
  • 2023-07-04
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
14 results

cmd_net.c

Blame
    • Peter Tyser's avatar
      2e4970d8
      net: Fix download command parsing · 2e4970d8
      Peter Tyser authored
      
      When CONFIG_SYS_HUSH_PARSER is defined network download
      commands with 1 argument in the format 'tftp "/path/file"'
      do not work as expected. The hush command parser strips
      the quotes from "/path/file" which causes the network
      commands to interpret "/path/file" as an address
      instead of the intended filename.
      
      The previous check for a leading quote in netboot_common()
      was replaced with a check which ensures only valid
      numbers are treated as addresses.
      
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
      Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
      2e4970d8
      History
      net: Fix download command parsing
      Peter Tyser authored
      
      When CONFIG_SYS_HUSH_PARSER is defined network download
      commands with 1 argument in the format 'tftp "/path/file"'
      do not work as expected. The hush command parser strips
      the quotes from "/path/file" which causes the network
      commands to interpret "/path/file" as an address
      instead of the intended filename.
      
      The previous check for a leading quote in netboot_common()
      was replaced with a check which ensures only valid
      numbers are treated as addresses.
      
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
      Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
    ddr.c NaN GiB