From: Wolfgang Denk Date: Mon, 23 Sep 2013 22:44:35 +0200 Subject: [U-Boot] [PATCH] Prevent a U-Boot crash on Wandboard In-Reply-To: <20130923194554.GA5273@bill-the-cat> References: <523F979C.1070205@gmail.com> <20130923181158.0c1747f5@lilith> <20130923185055.95383380635@gemini.denx.de> <20130923191757.GZ5273@bill-the-cat> <20130923194554.GA5273@bill-the-cat> Message-ID: <20130923204435.6637A380635@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Tom, In message <20130923194554.GA5273@bill-the-cat> you wrote: > > So, I went off an modified cmd_pxe.c to pass around cmdtp so that we get > an error message out, and it's not too bad looking, but it highlights > another problem, which is that we could really use a way to get at least > the "is this a ... ?" code, and just get the error code, rather than > printouts. The pxe (and really it's the syslinux.conf/extlinux.conf > parsing) code shouldn't be doing bootm();bootz() but checking the image > type and calling the right boot. Ah, full ACK (I should have read the thread to end before posting). Thanks! Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Here's a fish hangs in the net like a poor man's right in the law. 'Twill hardly come out." - Shakespeare, Pericles, Act II, Scene 1