[U-Boot] BDI2000 Configure file question for GDB on MPC8458

Scott Wood scottwood at freescale.com
Mon Apr 13 21:56:14 CEST 2009


On Mon, Apr 13, 2009 at 11:25:51AM -0700, Qingyu Song wrote:
> I have a ported u-boot base on 8548CDS for my 8548 board. The U-Boot version
> is 2008.10.
> the u-boot boot up was successful. I am trying to use BDI2000 do some
> debuging.
> 
> the BDI2000 config file is as below. with this config file, I can flash
> program and bring up my board. However, when I try to set a hardware break
> point, the u-boot code halt before it reach the break point.

Make sure that the BDI is not doing any initialization of the board that
could be confusing u-boot.

> ;================= setup for flash programming ===============
> ; Move CCSRBAR to 0xe0000000
> ;
> WM32    0xff700000      0x000e0000      ;CCSRBAR to 0xe0000000

This one in particular will kill anything that was expecting CCSRBAR to
be at the hardware reset value.

> I guess this is because that CFG_CCSRBAR_DEFAULT is not accessable. but the
> u-boot code did the set_tlb() already. Do i need to set tlb in the BDI2000
> [INIT] section? what is the relationship between the u-boot and BDI2000 init
> procedure?

This has nothing to do with TLBs; it is the physical address of CCSR that
was changed.

-Scott


More information about the U-Boot mailing list