From: raymond yang Date: Tue, 21 Jun 2005 01:01:26 -0700 (PDT) Subject: [U-Boot-Users] Question about MPC8272 HRCW In-Reply-To: <20050621071238.14585.qmail@web15903.mail.cnb.yahoo.com> Message-ID: <20050621080126.9104.qmail@web31510.mail.mud.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 Still have questions, thanks ahead! According to DATASHEET "BMS - 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 or - Does this mean the BR0[BA] could be one of the address between range 0XFE00_00000 and 0xFFFF_FFFFF, if this is the case, so how can i determine the specific value of BR0[BA]? 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? 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. Thanks ahead! Best Regards Raymond So With BMS=0, and CIP=0, my flash should be > bigger > > than 0xFFFn_nnnn - 0xFE00_00000 > 16M, right? > > No. It just narrows your choose scope. If your FLASH > on board hasn't reached 32MByte, you can fit the > whole --- Sam Song wrote: > raymond yang wrote: > > 1) Given BMS = 0 > > Does this mean, the FLASH(on CS0) are given the > base > > address as 0xFE00_0000? > > Not exactly. 0xFE00_0000 is just one of workable > configuration. > > > 2) Given CIP = 0 > > Does this meman, the vector should be placed at > > 0xFFFn_nnnn? > > Correct. This is HIGH BOOT location of 8272. > > > So With BMS=0, and CIP=0, my flash should be > bigger > > than 0xFFFn_nnnn - 0xFE00_00000 > 16M, right? > > No. It just narrows your choose scope. If your FLASH > on board hasn't reached 32MByte, you can fit the > whole > FLASH space in the setting scope as you like. > > > 3) Given my flash is 8M byte, 16bit-bus-width, is > it > > a valid HRCW word for 08_82_32_45 > > My image got the following configurations > > MONITOR_BASE=TEXT_ADDR=0xFFF00000 > > CFG_FLASH_BASE = 0XFE800000 > > Seems good. But CFG_FLASH_BASE = 0xff800000 is also > OK. > > > I tried many times, with BDI plugged, u-boot works > > fine.However, without BDI and RSTCN pull-up, looks > > > like the image never got run. > > Ummm, try to program the same image at 0xff800000 > and pull down RSTCN to see what would happen:-) > > Best regards, > > Sam > > > > ___________________________________________________________ > > ????????G??????No.1???????????????????? > http://cn.mail.yahoo.com/?id=77072 > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com