From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Fri, 07 Sep 2012 10:05:51 -0600 Subject: [U-Boot] Recent commit to env_nand.c causing saveenv to hang In-Reply-To: References: Message-ID: <504A1B5F.1020807@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09/07/2012 06:17 AM, Prabhakar Lad wrote: > Hi Stephen, > > I checked out the latest code and try flashing on DM355 for NAND boot mode, > I saw that saveenv was causing a hang. A little debugging pointed me to > this patch http://patchwork.ozlabs.org/patch/174069/ reverting this > patch saveenv > works fine. > Has this patch being tested ? Or is that I am missing out some where. Yes, I've definitely used this on the NVIDIA Tegra Harmony board. I tested the patch on top of repo u-boot-tegra.git branch master, but the patch ended up getting applied directly by Wolfgang to u-boot.git. I don't think that should cause any issues though; the patch shouldn't be dependant on anything Tegra-specific. I just re-tested to make sure. The exact code I tested is at: git at github.com:swarren/u-boot.git mainline_dev Do you have any clue why it's hanging or crashing? Perhaps you can add some debug statements to see exactly where it's happening?