From: wang c. <wan...@ra...> - 2003-09-19 19:29:01
|
hello=2Call! I=27m trying to put u-boot-0=2E4=2E0 to the WindRiver MDP PRO board(w= ith = a daughter board Mpc823)=2CI use the FADS823 as my model to modify=2E I u= se = the vision ICEII BDM interface to program flash and debug the code=2E 1=2Ein the cpu/mpc8xx/cpu=5Finit=2Ec =3Awhen I masked the or/br set claus= e=2Cthe = info can displayed on the console=2C when not=2C nothing displayed = 2=2EAfter I masked the OR/BR in the cpu=5Finit=2Ec=2Cwhen I debug with th= e = vision ICEII BDM=2Ceverything is OK=3B when without the BDM=2C the u-boot= can = run to relocate=5Fcode() in lib=5Fppc/board=2Ec=3A with vision ICE=A3=BA U-Boot 0=2E4=2E0 (Sep 19 2003 - 11=3A12=3A10) CPU=3A PPC823ZTnnB2 at 25 MHz=3A 2 kB I-Cache 1 kB D-Cache Board=3A bcsr3=3D0x1000000c *((uint *)BCSR3)=3D0xbbbbbbbb WindRiver with db MPC823 rev MDP PRO I2C=3A ready DRAM=3A bcsr2=3D0x10000008 (uint *)bcsr2=3D0x10000008 *((uint *)bcsr2)=3D0xbbbbbbbb k=3D0x7 4 MB before relocate=5Fcode() in board=2Ec FLASH=3A value=3D0x1 value=3D0xa4 size=5Fb1=3D0x80000value=3D0x1 value=3D0xa4 512 kB In=3A serial Out=3A serial Err=3A serial Net=3A SCC ETHERNET =3D=3E without vision ICE=A3=BA U-Boot 0=2E4=2E0 (Sep 19 2003 - 11=3A12=3A10) CPU=3A PPC823ZTnnB2 at 25 MHz=3A 2 kB I-Cache 1 kB D-Cache Board=3A bcsr3=3D0x1000000c *((uint *)BCSR3)=3D0x2e342e30 WindRiver with db MPC823 rev MDP PRO I2C=3A ready DRAM=3A bcsr2=3D0x10000008 (uint *)bcsr2=3D0x10000008 *((uint *)bcsr2)=3D0x6f742030 k=3D0xe 4 MB before relocate=5Fcode() in board=2Ec I have been trapped here for 3 weeks=2ESome guy told me that my dram = hasn=27t been initialized correctly! I have modified the UPM table=2Cthe = OR/BR=2C but it doesn=27t work! Can you tell me how to initialize the dra= m = =3F Any advices are appriciated! = |