From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manuel Sahm Date: Thu, 18 Jun 2009 11:58:14 +0200 Subject: [U-Boot] howto get the nand flash enviroment variables inenv_init ? In-Reply-To: References: <4A3A17FE.187F.00BC.1@feig.de> Message-ID: <4A3A2BD2.187F.00BC.1@feig.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello, thanks for reply, this patch is very good in general, but the problem is that the function nand_boot() is never called in my architecture. I use a AT91SAM9G20 from Atmel [ARM9]. Do oyu have another idea ? Thanks a lot Manuel >>> Guennadi Liakhovetski 18.06.2009 11:39 >>> On Thu, 18 Jun 2009, Manuel Sahm wrote: > Hello, > > I want to use the "silent" paramter of ubbot in a dynamically way. > The problem is that I use a Nand Flash to store my uboot paramters. > > When the function env_init is called only the default enviroment is > linked as the actual enviroment. > After env_init the serial console is initialized and the banner is > printed. > > I want to read out my actual uboot paramters from NAND to check the > silent paramter before any character is sent through the > Serial-Console. > I placed the functions nand_init(); and env_relocate(); into the > function env_init, buth that desn?t work. > (I think there is always a reset ?!) Doesn't this patch help: http://lists.denx.de/pipermail/u-boot/2009-May/052901.html Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. 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 _______________________________________________ U-Boot mailing list U-Boot at lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot