28 Mar, 2011

20 commits


24 Mar, 2011

5 commits


23 Mar, 2011

3 commits

  • For example, an input of 0x80000000 should print:

    2147.484 instead of -2147.-483.

    Signed-off-by: Ed Swarthout
    Signed-off-by: Kumar Gala

    Ed Swarthout
     
  • commit 8aba9dceebb14144e07d19593111ee3a999c37fc
    Divides variable of linker flags to LDFLAGS-u-boot and LDFLAGS

    breaks the usage of --gc-section to build nand_spl. We still need linker option
    --gc-section for every uboot image, not only the main one. LDFLAGS_FINAL passes
    the --gc-sections to each uboot image.

    To get the proper linker flags, we use LDFLAGS and LDFLAGS_FINAL to replace
    PLATFORM_LDFLAGS in the Makefile of each nand_spl board.

    Signed-off-by: Scott Wood
    Signed-off-by: Haiying Wang

    Haiying Wang
     
  • Use negative used value to mark deleted entry. Search keeps probing
    past deleted entries. Adding an entry uses first deleted entry when
    it hits end of probe chain.

    Initially found that "ramdiskimage" and "preboot" collide modulus 347,
    causing "preboot" to be inserted at idx 190, "ramdiskimage" at idx 191.
    Previous to this fix when "preboot" is deleted, "ramdiskimage" is
    orphaned.

    Signed-off-by: Peter Barada
    Tested-by: Wolfgang Denk

    Peter Barada
     

22 Mar, 2011

6 commits


21 Mar, 2011

1 commit

  • Some ubi commands returned negative error codes, resulting in
    the following error message on the prompt:

    "exit not allowed from main input shell."

    Negative error codes are not allowed.

    This patch now changes the UBI code to return positive error codes.
    Additionally "better" error codes are used, for example "ENOMEM" when
    no memory is available for the UBI volume creation any more.

    Also the output of some commands is enhanced:

    Before:

    => ubi read 100000 testvol 100000
    Volume testvol found at volume id 0
    read 1048576 bytes from volume 0 to 100000(buf address)
    => ubi write 100000 testvol 1000
    Volume testvol found at volume id 0

    After:

    => ubi read 100000 testvol 100000
    Read 1048576 bytes from volume testvol to 00100000
    => ubi write 100000 testvol 1000
    4096 bytes written to volume testvol

    Signed-off-by: Stefan Roese
    Cc: Wolfgang Denk

    Stefan Roese
     

16 Mar, 2011

3 commits


15 Mar, 2011

1 commit

  • There is a small ordering issue in the master core in that we need to
    make sure the disabling of the timebase in the SoC is visible before we
    set the value to 0. We can simply just read back the value to
    synchronizatize the write, before we set TB to 0.

    Reported-by: Dan Hettena
    Tested-by: Dan Hettena
    Signed-off-by: Kumar Gala

    Kumar Gala
     

14 Mar, 2011

1 commit

  • The POST word is stored in a spare register in the PIC on MPC8[5/6]xx
    processors. When interrupt_init() is called, this register gets reset
    which resulted in all POST_RAM POSTs not being ran due to the corrupted
    POST word. To resolve this, store off POST word before the PIC is
    reset, and restore it after the PIC has been initialized.

    Signed-off-by: John Schmoller
    Signed-off-by: Peter Tyser
    Signed-off-by: Kumar Gala

    John Schmoller