06 Nov, 2013

1 commit

  • Here is the set of command which has been performed
    to proof this feature.

    gzip < fpga.bin > fpga.bin.gz
    mkimage -A arm -O u-boot -T firmware -C gzip \
    -a 20000000 -n "zc702_fpga_bin" -d fpga.bin.gz fpga.bin.gz.ub

    tftp 100000 fpga.bin.gz.ub
    fpga loadmk 0 100000

    This flow should speedup loading bitstream data
    from external memory and save image footprint in non volatile
    memory.

    Signed-off-by: Michal Simek
    Acked-by: Jagannadha Sutradharudu Teki

    Michal Simek
     

24 Jul, 2013

1 commit


30 May, 2013

1 commit


15 May, 2013

1 commit


06 May, 2013

3 commits


07 Mar, 2012

1 commit


05 Jan, 2012

1 commit


01 Aug, 2011

1 commit

  • Fix compiler warning:

    cmd_fpga.c:318: warning: passing argument 3 of 'fit_image_get_data'
    from incompatible pointer type

    Adding the needed 'const' here entails a whole bunch of additonal
    changes all over the FPGA code.

    Signed-off-by: Wolfgang Denk
    Cc: Andre Schwarz
    Cc: Murray Jensen
    Acked-by: Andre Schwarz

    Wolfgang Denk
     

20 Oct, 2010

1 commit


25 Jul, 2010

1 commit

  • Lots of code use this construct:

    cmd_usage(cmdtp);
    return 1;

    Change cmd_usage() let it return 1 - then we can replace all these
    ocurrances by

    return cmd_usage(cmdtp);

    This fixes a few places with incorrect return code handling, too.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

05 Jul, 2010

1 commit

  • The hush shell dynamically allocates (and re-allocates) memory for the
    argument strings in the "char *argv[]" argument vector passed to
    commands. Any code that modifies these pointers will cause serious
    corruption of the malloc data structures and crash U-Boot, so make
    sure the compiler can check that no such modifications are being done
    by changing the code into "char * const argv[]".

    This modification is the result of debugging a strange crash caused
    after adding a new command, which used the following argument
    processing code which has been working perfectly fine in all Unix
    systems since version 6 - but not so in U-Boot:

    int main (int argc, char **argv)
    {
    while (--argc > 0 && **++argv == '-') {
    /* ====> */ while (*++*argv) {
    switch (**argv) {
    case 'd':
    debug++;
    break;
    ...
    default:
    usage ();
    }
    }
    }
    ...
    }

    The line marked "====>" will corrupt the malloc data structures and
    usually cause U-Boot to crash when the next command gets executed by
    the shell. With the modification, the compiler will prevent this with
    an
    error: increment of read-only location '*argv'

    N.B.: The code above can be trivially rewritten like this:

    while (--argc > 0 && **++argv == '-') {
    char *arg = *argv;
    while (*++arg) {
    switch (*arg) {
    ...

    Signed-off-by: Wolfgang Denk
    Acked-by: Mike Frysinger

    Wolfgang Denk
     

13 Jun, 2009

1 commit

  • Many of the help messages were not really helpful; for example, many
    commands that take no arguments would not print a correct synopsis
    line, but "No additional help available." which is not exactly wrong,
    but not helpful either.

    Commit ``Make "usage" messages more helpful.'' changed this
    partially. But it also became clear that lots of "Usage" and "Help"
    messages (fields "usage" and "help" in struct cmd_tbl_s respective)
    were actually redundant.

    This patch cleans this up - for example:

    Before:
    => help dtt
    dtt - Digital Thermometer and Thermostat

    Usage:
    dtt - Read temperature from digital thermometer and thermostat.

    After:
    => help dtt
    dtt - Read temperature from Digital Thermometer and Thermostat

    Usage:
    dtt

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

28 Jan, 2009

2 commits


14 Jul, 2008

1 commit


12 Mar, 2008

1 commit


29 Feb, 2008

1 commit

  • This patch introduces the following prefix convention for the
    image format handling and bootm related code:

    genimg_ - dual format shared code
    image_ - legacy uImage format specific code
    fit_ - new uImage format specific code
    boot_ - booting process related code

    Related routines are renamed and a few pieces of code are moved around and
    re-grouped.

    Signed-off-by: Marian Balakowicz

    Marian Balakowicz
     

25 Feb, 2008

1 commit

  • This patch adds framework for dual format images. Format detection is added
    and the bootm controll flow is updated to include cases for new FIT format
    uImages.

    When the legacy (image_header based) format is detected appropriate
    legacy specific handling is invoked. For the new (FIT based) format uImages
    dual boot framework has a minial support, that will only print out a
    corresponding debug messages. Implementation of the FIT specific handling will
    be added in following patches.

    Signed-off-by: Marian Balakowicz

    Marian Balakowicz
     

07 Feb, 2008

1 commit


09 Jan, 2008

2 commits


21 Nov, 2007

1 commit


26 Sep, 2007

1 commit


09 Jul, 2007

1 commit


04 Jul, 2007

1 commit


07 Oct, 2006

1 commit


15 Aug, 2006

1 commit


13 Oct, 2005

1 commit


10 Aug, 2005

1 commit


08 Aug, 2005

1 commit


23 Jan, 2005

1 commit


10 Jan, 2005

2 commits


04 Jan, 2004

1 commit


02 Jan, 2004

1 commit

  • * Minor code cleanup (coding style)

    * Patch by Reinhard Meyer, 30 Dec 2003:
    - cpu/mpc5xxx/fec.c: added CONFIG_PHY_ADDR, added CONFIG_PHY_TYPE,
    - added CONFIG_PHY_ADDR to include/configs/IceCube.h,
    - turned debug print of PHY registers into a function (called in two places)
    - added support for EMK MPC5200 based modules

    * Fix MPC8xx PLPRCR_MFD_SHIFT typo

    * Add support for TQM866M modules

    * Fixes for TQM855M with 4 MB flash (Am29DL163 = _no_ mirror bit flash)

    * Fix a few compiler warnings

    wdenk
     

08 Dec, 2003

1 commit


02 Jul, 2003

1 commit


30 Jun, 2003

1 commit