1. 28 1月, 2009 6 次提交
    • P
      Command usage cleanup · 2fb2604d
      Peter Tyser 提交于
      Remove command name from all command "usage" fields and update
      common/command.c to display "name - usage" instead of
      just "usage". Also remove newlines from command usage fields.
      Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
      2fb2604d
    • P
      Standardize command usage messages with cmd_usage() · 62c3ae7c
      Peter Tyser 提交于
      Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
      62c3ae7c
    • M
      SATA: do not auto-initialize during boot · cf7e399f
      Mike Frysinger 提交于
      Rather than have the board code initialize SATA automatically during boot,
      make the user manually run "sata init".  This brings the SATA subsystem in
      line with common U-Boot policy.
      
      Rather than having a dedicated weak function "is_sata_supported", people
      can override sata_initialize() to do their weird board stuff.  Then they
      can call the actual __sata_initialize().
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      cf7e399f
    • T
      jffs2: Fix zero sector_size when not using CONFIG_JFFS2_CMDLINE · b5b004ad
      Tomasz Figa 提交于
      This patch fixes a bug (?) introduced after inclusion of the new
      JFFS2 code.
      
      When not using CONFIG_JFFS2_CMDLINE, the code in cmd_jffs2.c doesn't
      fill in part->sector_size (keeping it as 0), but a correct value is
      needed by the code in jffs2_1pass.c. This causes all JFFS2 accesses
      to be in the same place of the memory, what obviously means
      impossibility to use the JFFS2 partition.
      
      This problem is fixed in this patch by including sector size
      calculation in non-CONFIG_JFFS2_CMDLINE mtdparts_init variant.
      
      Signed-off-by: Tomasz Figa <tomasz.figa_at_gmail.com>
      b5b004ad
    • M
      saveenv: standardize enablement · ba69dc26
      Mike Frysinger 提交于
      Rather than special casing each environment type for enabling the saveenv
      command, have them all behave the same.  This avoids bitrot as new env
      sources are added/removed.
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      ba69dc26
    • M
      Fix gunzip in case of insufficient output buffer · 107b801c
      Matthias Fuchs 提交于
      U-Boot's gunzip() function does not handle the return code
      of zlib's inflate() function correctly. gunzip() is implemented
      to uncompress all input data in one run. So the correct return
      code for the good case is Z_STREAM_END. In case of insufficient
      output buffer memory inflate returns Z_OK. For gunzip() this
      is an error.
      
      It also makes sense to me to call inflateEnd() also in case
      of an error.
      Signed-off-by: NMatthias Fuchs <matthias.fuchs@esd-electronics.com>
      107b801c
  2. 24 1月, 2009 7 次提交
  3. 18 1月, 2009 1 次提交
    • P
      fdt_resize(): fix actualsize calculations with unaligned blobs · c088a108
      Peter Korsgaard 提交于
      The code in fdt_resize() to extend the fdt size to end on a page boundary
      is wrong for fdt's not located at an address aligned on a page boundary.
      What's even worse, the code would make actualsize shrink rather than grow
      if (blob & 0xfff) was bigger than the amount of padding added by ALIGN(),
      causing fdt_add_mem_rsv to fail.
      
      Fix it by aligning end address (blob + size) to a page boundary instead.
      For aligned fdt's this is equivalent to what we had before.
      Signed-off-by: NPeter Korsgaard <jacmet@sunsite.dk>
      c088a108
  4. 20 12月, 2008 1 次提交
  5. 16 12月, 2008 2 次提交
  6. 14 12月, 2008 2 次提交
  7. 10 12月, 2008 2 次提交
  8. 09 12月, 2008 3 次提交
  9. 07 12月, 2008 5 次提交
  10. 06 12月, 2008 1 次提交
  11. 05 12月, 2008 1 次提交
    • P
      net: Fix download command parsing · 2e4970d8
      Peter Tyser 提交于
      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: NPeter Tyser <ptyser@xes-inc.com>
      Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
      2e4970d8
  12. 03 12月, 2008 1 次提交
  13. 29 11月, 2008 2 次提交
  14. 24 11月, 2008 2 次提交
  15. 20 11月, 2008 1 次提交
    • K
      UBI: Add UBI command support · 694a0b3f
      Kyungmin Park 提交于
      This patch adds these UBI commands:
      
      ubi part [nand|onenand] [part] - Show or set current partition
      ubi info [l[ayout]] -Display volume and UBI layout information
      ubi create[vol] volume [size] [type] - Create volume name with size
      ubi write[vol] address volume size - Write volume from address with size
      ubi read[vol] address volume [size] - Read volume to address with size
      ubi remove[vol] volume - Remove volume
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: NStefan Roese <sr@denx.de>
      694a0b3f
  16. 02 11月, 2008 3 次提交