1. 12 Sep, 2016 1 commit
  2. 09 Sep, 2016 1 commit
    • Tom Rini's avatar
      cmd: Rework disk.c usage · aca9814d
      Tom Rini authored
      We only need the function found in cmd/disk.c when we have IDE, SCSI or
      USB_STORAGE enabled.  While the first two are easy to get right, in the
      3rd case we assume that the set of cases where we do have USB and do not
      enable USB_STORAGE are small enough that we can take the small bloat of
      un-discarded strings on gcc prior to 6.x
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      aca9814d
  3. 07 Sep, 2016 1 commit
    • York Sun's avatar
      pxe: Fix pxe boot with FIT image · f63963f0
      York Sun authored
      When FIT image is used, a single image provides kernel, device
      tree and optionally ramdisk. Argc and argv need to be adjusted
      to support this.
      
      Test cases:
      	1. Booting with legacy images
      	2. Booting with legacy images without initrd
      	3. Booting with FIT image
      Test commands:
      	1. pxe get && pxe boot
      	2. sysboot
      Signed-off-by: default avatarYork Sun <york.sun@nxp.com>
      Signed-off-by: default avatarWenbin Song <wenbin.song@nxp.com>
      f63963f0
  4. 02 Sep, 2016 1 commit
  5. 01 Sep, 2016 1 commit
  6. 26 Aug, 2016 1 commit
    • Tony Lindgren's avatar
      nand: Fix set_dev checks for no device · 1cfce74f
      Tony Lindgren authored
      If we do nand device 0 command in u-boot on a device that has NAND support
      enabled but no NAND chip, we can get data abort at least on omaps.
      
      Fix the issue by replacing the check with nand_info[dev] as
      suggested by Scott Wood. The check for name existed before because before
      the array-to-pointer conversion there was no way to directly test
      nand_info[dev] for emptiness.
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      1cfce74f
  7. 20 Aug, 2016 6 commits
  8. 16 Aug, 2016 2 commits
  9. 15 Aug, 2016 1 commit
  10. 08 Aug, 2016 1 commit
    • Alexander Graf's avatar
      efi_loader: disk: Fix CONFIG_BLK breakage · f9d334bd
      Alexander Graf authored
      When using CONFIG_BLK, there were 2 issues:
      
        1) The name we generate the device with has to match the
           name we set in efi_set_bootdev()
      
        2) The device we pass into our block functions was wrong,
           we should not rediscover it but just use the already known
           pointer.
      
      This patch fixes both issues.
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
      f9d334bd
  11. 06 Aug, 2016 1 commit
  12. 05 Aug, 2016 7 commits
  13. 02 Aug, 2016 1 commit
  14. 27 Jul, 2016 2 commits
  15. 25 Jul, 2016 5 commits
    • Simon Glass's avatar
      lzmadec: Use the same type as the lzma call · 1bb718cd
      Simon Glass authored
      With sandbox on 32-bit the size_t type can be a little inconsistent. Use
      the same type as the caller expects to avoid a compiler warning.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      1bb718cd
    • Alexander Graf's avatar
      efi_loader: Make exposed image loader path absolute · 49271666
      Alexander Graf authored
      When loading an efi image, we pass it the location it was loaded from.
      
      On file system backends, there are no relative paths, so we should always
      pass in absolute ones. For network paths, we may be relative.
      
      This fixes distro booting with grub2 for me when it fetches the grub2 config
      file from the loader partition.
      Reported-by: default avataryork sun <york.sun@nxp.com>
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
      49271666
    • mario.six@gdsys.cc's avatar
      cmd: misc: Add support for fractions in sleep · c4974632
      mario.six@gdsys.cc authored
      A feasible way to communicate certain errors for devices that have no
      other way of signalling besides LEDs is to flash these LEDs. For errors
      in U-Boot, a script that utilizes the led and sleep commands would be a
      practicable way, but currently the sleep command can only delay for an
      integral amount of seconds, which is too slow to create an easily
      noticeable pattern for flashing LEDs.
      
      Therefore, this patch adds support for fractions (down to .001 seconds)
      to the sleep command.
      
      The parsing is kept minimal, simplistic and as robust as possible: After
      converting the passed string using simple_strtoul and multiplying it
      with 1000, we search for the first dot, convert the three characters
      after that into a number (if they are not numbers, we ignore the
      fractional part and just use the delay we got from simple_strtoul), and
      add this number to the delay.
      Signed-off-by: default avatarMario Six <mario.six@gdsys.cc>
      c4974632
    • Steve Rae's avatar
      mtd: fix compiler warnings · 59441ac3
      Steve Rae authored
      - add missing declaration
      - update debug output format specifiers
      Signed-off-by: default avatarSteve Rae <steve.rae@raedomain.com>
      59441ac3
    • Boris Brezillon's avatar
      cmd, nand: add an option to disable the verification when writing in raw mode · 2dc3c483
      Boris Brezillon authored
      Modern NANDs do not guarantee that data written in raw mode will not
      contain bitflips just after writing them. This is fine since the number
      of bitflips should be rather low and thus fixable by the ECC engine,
      but since we are reading data in raw mode to verify if they match the
      input data we cannot prevent failures if some bits are flipped.
      
      The option of using standard mode to verify the data is not acceptable
      either, since one of the usage of raw mode is to allow flashing images
      that do not respect the standard NAND page layout or the default ECC
      config (this is the case on Allwinner platforms, where the ROM code
      tests several hardcoded configs, which are not necessarily matching the
      NAND characteristics).
      
      Add an extension to the nand write.raw command allowing one to disable
      the verification step.
      Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      2dc3c483
  16. 22 Jul, 2016 5 commits
  17. 16 Jul, 2016 1 commit
    • Robert P. J. Day's avatar
      Various, unrelated tree-wide typo fixes. · 62a3b7dd
      Robert P. J. Day authored
          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: default avatarRobert P. J. Day <rpjday@crashcourse.ca>
      62a3b7dd
  18. 15 Jul, 2016 1 commit
  19. 09 Jul, 2016 1 commit