From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sat, 23 Mar 2013 01:17:08 +0100 Subject: [U-Boot] Issues developing standalone applications In-Reply-To: References: Message-ID: <20130323001708.846CE200048@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 Lucas Endres, In message you wrote: > > I know it's an issue on the NAND initialization, but I am neither very > familiar to the U-Boot code nor to debugging errors. What follows is the > console output I get when trying to run nand_init_chip() from my standalone > application: You are not supposed to do things like that. For standalone applications, ther eis only a very limited, well-defined set of functionality exported by U-Boot. NAND access is not part of it. > I need to run a badblocks test on the NAND device, and I successfully do it > in the board initialization from within the U-Boot environment, but not > from the standalone environment. Why do you want to do it from a standalone application? 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 The only perfect science is hind-sight.