21 Jan, 2014

4 commits

  • Signed-off-by: Tom Rini

    Tom Rini
     
  • The change to add 64bit initrd support broke 32bit initrd support as it
    always set 64bits worth of data into the properties, even on 32bit
    systems. The fix is to use addr_cell_len (which already says how much
    data is in 'tmp') to set the property, rather than always setting 8.
    Thanks to Stephen Warren for pointing out the fix here.

    Reported-by: Otavio Salvador
    Signed-off-by: Tom Rini

    Tom Rini
     
  • My original intention was to have a 100ms timeout. However, the timer
    operations used return values in ms not us, so we ended up with a 100s
    timeout instead. Fixing this exposes that some operations need longer
    to operate than 100ms, so bump the timeout up to a whole second.

    Reported-by: Andre Heider
    Reviewed-by: Andre Heider
    Signed-off-by: Stephen Warren

    Stephen Warren
     
  • Send RPC commands to the VideoCore to turn on the SDHCI and USB modules.
    For SDHCI this isn't needed in practice, since the firmware already
    turned on the power in order to load U-Boot. However, it's best to be
    explicit. For USB, this is necessary, since the module isn't powered
    otherwise. This will allow the kernel USB driver to work.

    Signed-off-by: Stephen Warren

    Stephen Warren
     

20 Jan, 2014

10 commits


18 Jan, 2014

1 commit


17 Jan, 2014

8 commits


16 Jan, 2014

6 commits


15 Jan, 2014

6 commits


14 Jan, 2014

5 commits

  • Don't know why but, file permission was changed

    Signed-off-by: Minkyu Kang

    Minkyu Kang
     
  • when creating the hashtable, for each environmentvariable
    getenv(ENV_CALLBACK_VAR) and getenv(ENV_FLAGS_VAR) is called,
    which costs at this point a lot of time. So call this two
    getenv() calls only once.

    Boottime on the ids8313 board without this patch:

    2013-12-19 13:38:22,894: NAND: 128 MiB
    2013-12-19 13:38:27,659: In: serial
    (~4.8 sec)

    Bootime with this patch on the ids8313 board:

    2013-12-19 13:40:25,332: NAND: 128 MiB
    2013-12-19 13:40:25,546: In: serial
    (~0.2 sec)

    Signed-off-by: Heiko Schocher
    Cc: Tom Rini
    Cc: Joe Hershberger
    Cc: Wolfgang Denk

    Heiko Schocher
     
  • Signed-off-by: Ezequiel Garcia

    Ezequiel Garcia
     
  • For standalone images, bootm had a special case where the OS boot function
    was NULL but did actually exist. It was just called manually.

    This was removed by commit 35fc84fa which checks for the non-existence of
    this function before the special case is examined.

    There is no obvious reason why standalone is handled with a special case.
    Adjust the code so that standalone has a normal OS boot function. We still
    need a special case for when the function returns, but at least we can
    avoid the main problem.

    This is intended to fix the reported:

    ERROR: booting os 'U-Boot' (17) is not supported

    but needs testing.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • Issues:
    - reading i2c data by passing u16 pointer causes errors in read data.
    - max17042 status register fields have not only Power On Reset meaning
    so using proper mask is required.

    Changes:
    - read i2c data to type u32 instead of u16 - avoids buffer overflow
    - compare FG status register using mask not just one bit value
    - add checking return value to functions fg read/write
    - add model lock and model check count
    - add debug msg

    Signed-off-by: Przemyslaw Marczak
    Cc: Lukasz Majewski
    Cc: Minkyu Kang

    Przemyslaw Marczak