From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Thu, 08 Dec 2011 11:14:36 +0100 Subject: [U-Boot] [PATCH V9 2/4] omap-common: Add NAND SPL linux booting In-Reply-To: <20111207184743.3802B1EFEDC@gemini.denx.de> References: <1323193179-9551-1-git-send-email-simonschwarzcor@gmail.com> <1323196478-14254-1-git-send-email-simonschwarzcor@gmail.com> <1323196478-14254-3-git-send-email-simonschwarzcor@gmail.com> <4EDF88C7.5070309@denx.de> <4EDFA8FD.9000405@gmail.com> <20111207184743.3802B1EFEDC@gemini.denx.de> Message-ID: <4EE08E0C.4060105@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 On 07/12/2011 19:47, Wolfgang Denk wrote: > Dear Simon Schwarz, > > In message <4EDFA8FD.9000405@gmail.com> you wrote: >> >>> So if the parse function fails, we should have the fallback to u-boot, >>> exactly as we have now the fallback from u-boot.img to u-boot.bin. >>> >> Hm, I don't think that we want any fallback here. I would prefere an >> error message and hang. The direct boot is designed to be used in the >> field - so IMHO we don't want to start the bootloader automatically if a >> normal startup fails. > > I feel it is better to start U-Boot and enable the user to analyze the > situation instead of just hanging hard. > > Just my 0.02# Personally I think also that having a fallback is a good idea. I have in mind a lot of boards that have not buttons or an available interface to a simple GPIO, making any interaction impossible. If we have not a fallback, we increase the risk for the end users to damage the boards if for example the kernel is updated. Apart a mechanism with a GPIO, can we think to use in a simple way the console for this ? SPL supports it, and we could share the same mechanism for all boards, in such way as we stop the autoboot in U-Boot. Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================