From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ilko Iliev Date: Fri, 07 Nov 2008 12:07:26 +0100 Subject: [U-Boot] broken lib_arm/boom.c/do_bootm_linux() Message-ID: <4914216E.4010902@ronetix.at> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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