[U-Boot] broken lib_arm/boom.c/do_bootm_linux()

Ilko Iliev iliev at ronetix.at
Fri Nov 7 12:07:26 CET 2008


Hi,

There is a bug in lib_arm/boom.c/do_bootm_linux():
    if ((flag != 0) || (flag != BOOTM_STATE_OS_GO))
        return 1;

The parameter "flag" is 0 and the above condition is always true.

The result is - the boom command doesn't start the kernel.
Affected targets: all arm based.

Maybe it should be corrected to:
    if ((flag != 0) && (flag != BOOTM_STATE_OS_GO))
        return 1;


-- 
With best regards,
Ilko Iliev
Ronetix Development Tools GmbH
CPU Modules, JTAG/BDM Emulators and Flash Programmers
Waidhausenstrasse 13/5, 1140 Vienna, Austria
E-Mail: iliev at ronetix.at; Web: www.ronetix.at



More information about the U-Boot mailing list