From: Sam Song Date: Tue, 21 Jun 2005 16:27:24 +0800 (CST) Subject: [U-Boot-Users] Question about MPC8272 HRCW In-Reply-To: <20050621080126.9104.qmail@web31510.mail.mud.yahoo.com> Message-ID: <20050621082724.96982.qmail@web15910.mail.cnb.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de raymond yang wrote: > Boot memory space. Defines the initial value for > BR0[BA]. There are two possible bootmemory regions, > HIMEM and LOMEM > 0 0xFE00_0000 -- 0xFFFF_FFFF > 1 0x0000_0000 -- 0x1FFF_FFFF " > > 1) So if let BMS=0, > - Does this mean the BR0[BA] have the exact > address of 0xFE00_00000 You need not to do it. BR0[BA] should accord with real FLASH size while BMS just define boot memory space. Note : boot memory space refers to the boot sector space should be. It does NOT mean the whole FLASH. > 2) > With BMS=0 and CIP=0 > > According to the datasheet, > > BR0[BA] = 0xFE00_0000 (Right?) > START_VECTOR = 0xFFF0_0100 > > The span is START_VECTOR-BR0[BA] = 0xFFF0_0100 - > 0xFE00_0000 = 0x1F00100 > 16M, > So if my flash is 8M bytes, i can't use this > configuration, right? No. Just use it. No any problem to me. The fact is that when you set BR0[BA] as 0xfe000000 the real flash 8MB will map to 32MB which is from 0xfe000000 to 0xfffffff. So the content of 0xfff00000 is the same as the one of 0xfe700000/fef00000/ff700000. This is mirror theory:) > 3) > I pull-down the RSTCONF, it doesn't work, only with > BDI2000 attached and config-file from BDI2000 > (RSTCONF > up of cuz), U-BOOT can start correctly. > I.e. Seems the same problem I met. OK, just reprogram the same image at 0xfff00000 again when RSTCONF pull down and then disconnect BDI to power-on to see what should happen:) Best regards, Sam ___________________________________________________________ ????G??????????????????? http://cn.mail.yahoo.com/?id=77071