|
|
Choosing A Webhost: |
RE:U-Boot Not Loading Successfully: msg#00024boot-loaders.u-boot
Sam, I'm not sure what reset vector is. I am assuming that you are talking about CFG_RESET_ADDRESS, which I have set to 0x80000000. I'm not sure exactly what to set that to, since some board configuration files tell you to set it to a known invalid address, and then some have it set to flash base plus 0x100. Also, the speed of the flash I am using is a 70ns flash device. Thanks for the help! > > --- SAM SONG <samsongshu@xxxxxxxxxxxx> wrote: > > Date: Wed, 31 Dec 2003 13:21:29 -0800 (PST) > > From: Jeff Stevens <jsteve17@xxxxxxxxx> > > To: u-boot-users@xxxxxxxxxxxxxxxxxxxxx > > Subject: [U-Boot-Users] U-Boot Not Loading > > Successfully > > > > > > I am porting U-Boot over to a new product and am > > having some difficulty getting U-Boot to load > > successfully. I have placed our board on a logic > > analyzer and found (based on System.map) that > U-Boot > > seems to crash in cpu/mpc8xx/cpu_init.c in > function > > cpu_init_f at lines: > > > > memctl->memc_br0 = CFG_BR0_PRELIM; > > memctl->memc_or0 = CFG_OR0_PRELIM; > > > > Here is my board configuration: > > CPU: MPC855T > > FLASH: AMD AM29LV040B (512kB 8-bit on CS0) > > SDRAM: Micron MT48LC4M32 (16MB 32-bit on CS2) > > NVRAM: Simtek STK14C88 (32kB 8-bit on CS4) > > > > The board is set to have the IMMR come up at > > 0xFF000000 (on hard reset), and that is what I > have > > CFG_IMMR set to in my board configuration file. > > Could > > this be a problem with the placement of the IMMR. > I > > previously had the IMMR at 0x00000000 on hard > reset > > and then moved it to 0xFA200000 with CFG_IMMR, > which > > had the same effect. Or, could this be an issue > > with > > my BR0 and OR0 settings? > > > > > --------------------------------------------------- > > Both settings on CFG_IMMR are OK.Only you set > > CFG_IMMR > > on 0xFFF80000 would have some problems.I guess > your > > trouble don't relate with CFG_IMMR settings. > > > --------------------------------------------------- > > > > I read something in that > > file before those two lines above, which talked > > about > > CFG_OR0_REMAP, but didn't quite understand it. > > Should > > I be using this? > > > > Here are my BRx, ORx settings: > > #define FLASH_BASE_PRELIM 0xFFF80000 > > #define CFG_PRELIM_OR_AM 0xFFFF0000 > > #define CFG_OR_TIMING_FLASH (OR_CSNT_SAM | > > OR_ACS_DIV4 | OR_BI | OR_SCY_3_CLK | OR_TRLX | > > OR_EHTR) > > > > ----------------------------------------------- > > Pls tell us the FLASH SPEED or we cannot check the > > OR0 > > configuration for you.Meanwhile,what's your reset > > vector prefix?0x0000 or 0xfff0? > > ------------------------------------------------ > > > > #define CFG_OR0_PRELIM (CFG_PRELIM_OR_AM | > > CFG_OR_TIMING_FLASH) > > #define CFG_BR0_PRELIM ((FLASH_BASE_PRELIM & > > BR_BA_MSK) | (BR_PS_8 & BR_PS_MSK) | BR_V) > > > > > > #define SDRAM_BASE_PRELIM 0x00000000 > > #define SDRAM_MAX_SIZE 0x01000000 > > > > #define CFG_OR_TIMING_SDRAM (OR_G5LA | OR_G5LS) > > #define CFG_OR2_PRELIM (CFG_PRELIM_OR_AM | > > CFG_OR_TIMING_SDRAM ) > > #define CFG_BR2_PRELIM ((SDRAM_BASE_PRELIM > & > > BR_BA_MSK) | BR_MS_UPMA | BR_V ) > > > > #define CFG_NVRAM_BASE 0xFA000000 > > #define CFG_OR4_PRELIM (CFG_PRELIM_OR_AM | > > CFG_OR_TIMING_FLASH) > > #define CFG_BR4_PRELIM ((CFG_NVRAM_BASE & > > BR_BA_MSK) | (BR_PS_8 & BR_PS_MSK) | BR_V | > OR_EHTR) > > > > I would appreciate anyones input, since I'm not > too > > familiar with the U-Boot beyond the board specific > > files. > > > > Thanks in advance! > > > > ------------------------------------------ > > > > Best regards, > > > > SAM > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > > protection around > > http://mail.yahoo.com > > > __________________________________ > Do you Yahoo!? > New Yahoo! Photos - easier uploading and sharing. > http://photos.yahoo.com/ > __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [U-Boot-CVS] u-boot/lib_arm armlinux.c,1.8,1.9, Robert Schwebel |
|---|---|
| Next by Date: | RE:U-Boot Not Loading Successfully, Jeff Stevens |
| Previous by Thread: | Re: U-Boot Not Loading Successfully, Wolfgang Denk |
| Next by Thread: | RE:U-Boot Not Loading Successfully, SAM SONG |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |