public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Manukumar <manukumar@signal-networks.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Booting through nand flash with other address
Date: Thu, 04 Oct 2012 15:48:57 +0530	[thread overview]
Message-ID: <1349345937.2569.9.camel@Manukumar> (raw)
In-Reply-To: <1349277761.31013.0@snotra>

Dear all,

Yes i am using P1020RDb board.
Actually i have to make 2 boot(u-boot) B1 and B2
B1 is stored 0x0000_0000,B2 is stored in 0x010_0000 of nand flash.

when 1 power cycle is given 
Board gets booted from 0x0000_0000

my requirement is to boot B2 from 0x010_0000
how can i do that?

Regards
Manukumar



On Wed, 2012-10-03 at 10:22 -0500, Scott Wood wrote:
> 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

  reply	other threads:[~2012-10-04 10:18 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1337677828.2382.30.camel@Manukumar>
2012-05-22 14:15 ` [U-Boot] Nand flash R/W,saveenv issue Marek Vasut
2012-05-22 17:56   ` Scott Wood
2012-05-23  5:56     ` Manukumar
2012-05-23  8:02       ` Wolfgang Denk
2012-05-23  8:30         ` Manukumar
2012-05-23 16:16           ` Scott Wood
2012-05-30  5:02             ` [U-Boot] problem while making kernel up Manukumar
2012-05-30 16:18               ` Scott Wood
2012-05-31  4:15                 ` Manukumar
2012-05-31 16:21                   ` Scott Wood
2012-06-01  3:58                     ` Manukumar
2012-06-01 10:10                     ` Manukumar
2012-06-01 17:15                       ` Scott Wood
2012-06-06  8:13                         ` Manukumar
2012-07-05 10:27                         ` [U-Boot] USB detection Manukumar
2012-07-05 11:45                           ` Albert ARIBAUD
2012-07-05 15:34                             ` Marek Vasut
2012-07-09  8:47                             ` Manukumar
2012-07-09 12:18                               ` Albert ARIBAUD
2012-07-10  2:17                               ` Marek Vasut
2012-07-12  6:10                                 ` Manukumar
2012-10-25 12:21                                   ` Manukumar
2012-10-25 13:26                                     ` RgC
2012-09-26 10:42                               ` [U-Boot] bootm command in U-boot Manukumar
2012-09-26 14:14                                 ` Wolfgang Denk
2012-10-03 12:24                               ` [U-Boot] Booting through nand flash with other address Manukumar
2012-10-03 15:22                                 ` Scott Wood
2012-10-04 10:18                                   ` Manukumar [this message]
2012-10-04 17:21                                     ` Scott Wood
2012-12-04 12:04                                       ` [U-Boot] access u-boot environment variables from kernel space Manukumar
2012-12-04 13:24                                         ` Yegor Yefremov
2012-12-04 16:26                                           ` Scott Wood
2012-12-04 16:35                                             ` Steve Strobel
2013-01-25  6:50                                             ` Manukumar
2013-01-25  9:22                                               ` Wolfgang Denk
2012-11-23  4:08                                   ` [U-Boot] Quer on JTAG Manukumar
2012-11-23  5:33                                     ` Wolfgang Denk
2012-09-11 12:47                       ` [U-Boot] Nand Flash Programing and Board Bring Up Manukumar
2012-09-11 14:10                         ` Marek Vasut
2012-05-23 22:45       ` [U-Boot] Nand flash R/W,saveenv issue Scott Wood

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1349345937.2569.9.camel@Manukumar \
    --to=manukumar@signal-networks.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox