From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Fri, 04 Apr 2014 11:25:18 +0200 Subject: [U-Boot] Chain loading an u-boot from an u-boot In-Reply-To: References: <52F8B3F5.8050101@hale.at> <52F9EF7A.5080805@denx.de> <52FB454E.5090800@hale.at> <52FB50C5.3040400@gmail.com> <52FC8A5B.7090506@hale.at> <5339518D.2090603@hale.at> Message-ID: <533E7A7E.5060601@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 Hi Helmut, On 04/04/2014 01:13, Simon Glass wrote: >> 1) add option to 'go' command, which is hard as it has variable arguments >> 2) add another go command >> 3) use an environment variable to set the option for 'go' >> >> Theoretically I could use a u-boot image to encapsulate the second u-boot >> and use 'bootm', but I think I'll stumble over the same kind of questions. > > > There is already 'dcache off' but I wonder if something like 'go prepare' > would be useful? Another option is that bootm has a prepare state, but it > requires an image. I agree with Simon. If you have not changed your target, you are using a MX31 and what cleanup_linux for arm1136 does is turning off the caches. What about if you turn off i-cache and d-cache in einem script before the go command ? Best regards, Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================