From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Wed, 3 Oct 2012 10:22:41 -0500 Subject: [U-Boot] Booting through nand flash with other address In-Reply-To: <1349267075.9581.19.camel@Manukumar> (from manukumar@signal-networks.com on Wed Oct 3 07:24:35 2012) References: <1337677828.2382.30.camel@Manukumar> <201205221615.07965.marex@denx.de> <4FBBD34F.5010501@freescale.com> <1337752596.2378.37.camel@Manukumar> <20120523080211.B633820025A@gemini.denx.de> <1337761847.2378.71.camel@Manukumar> <4FBD0D43.1060208@freescale.com> <1338354171.2370.13.camel@Manukumar> <4FC64859.2070609@freescale.com> <1338437711.2367.9.camel@Manukumar> <4FC79A7F.8050003@freescale.com> <1338545434.2370.11.camel@Manukumar> <4FC8F89F.5080005@freescale.com> <1341484069.3616.14.camel@Manukumar> <20120705134543.134da313@aari01-12> <1341823669.3686.30.camel@Manukumar> <1349267075.9581.19.camel@Manukumar> Message-ID: <1349277761.31013.0@snotra> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10/03/2012 07:24:35 AM, Manukumar wrote: > Dear all, > > In u-boot(u-boot-2010.12) That's almost two years old. Please upgrade. > 1) The TEXT_BASE address is 11001000. Judging from this you seem to be using either P1010RDB or P1023RDS (or maybe some out-of-tree board?). Always let us know what board you're talking about. > 2) Nand Flash Erasing at Address 0x00000000 > 3) Nand Flash Writing u-boot-nand.bin at address 0x00000000 > 4) When Power is switched On the booting happens. > > till this there is no issue, now i want to change the > booting address to different location(ex:0x02000000) Because you don't have as much RAM on this board, or some other reason? > do i want to change the TEXT_BASE address accordingly > to boot it from 0x02000000. > like below, > > 1) The TEXT_BASE address is 0x02000000. > 2) Nand Flash Erasing at Address 0x02000000 > 3) Nand Flash writing u-boot-nand.bin at address 0x02000000 . Did you update other relevant variables such as CONFIG_SYS_NAND_U_BOOT_DST and CONFIG_SYS_NAND_U_BOOT_START? Plus you really should leave that 0x1000 offset in there. On mpc85xx NAND boot, TEXT_BASE is 4K after the start of the image, since the boot page comes first. -Scott