From: Reinhard Meyer Date: Fri, 01 Oct 2010 14:47:19 +0200 Subject: [U-Boot] ARM relocation, probably trivial mistake - back to original problem In-Reply-To: <4CA5D26D.2090505@emk-elektronik.de> References: <4CA49746.2050301@emk-elektronik.de> <4CA4AEFF.3050101@denx.de> <20100930174308.070ECD2B48C@gemini.denx.de> <4CA570D3.9040406@denx.de> <4CA57468.6090702@free.fr> <4CA57762.3000201@denx.de> <4CA5821E.3070108@emk-elektronik.de> <4CA5873B.6040907@free.fr> <4CA590E6.6070701@emk-elektronik.de> <4CA59B89.6090207@denx.de> <4CA5BB7A.8050304@emk-elektronik.de> <20101001105506.A64D41539A0@gemini.denx.de> <4CA5BFEF.3090208@emk-elektronik.de> <20101001112125.4076E153A7E@gemini.denx.de> <4CA5C7DE.6010300@emk-elektronik.de> <20101001115908.A34411539A0@gemini.denx.de> <4CA5D26D.2090505@emk-elektronik.de> Message-ID: <4CA5D857.5010009@emk-elektronik.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > I did the changes of adding the clock values to gd, and it became somewhat > better, but there are still issues pending: > > 1. NAND accesses cause "raise: Signal # 8 caught" > but still work, kernel boots normally. > 2. environment is still invalid - when I boot the > "CONFIG_SYS_ARM_WITHOUT_RELOC" version the ENV is ok. > 3. saveenv goes way to fast to do anything and > i2c md 57 1000.2 100 shows no change > 4. env default -f hangs the system > > Q: after relocation, "gd->" values are still available, right? > > I am searching for further "violations"... Found them in timer.c, fixed them, now the NAND issue is gone. The environment issues still persist. I am at a loss there now. Observation: the old style commands "setenv", "printenv", etc. work, but any "env" command except for "env" alone crashes. Hints where to look into are welcome, I will investige more later or tomorrow. Reinhard