[U-Boot-Users] minimum bdi config to read flash on 85xx
robert lazarski
robertlazarski at gmail.com
Wed Sep 5 17:05:16 CEST 2007
On 9/4/07, David Hawkins <dwh at ovro.caltech.edu> wrote:
>
>
> > We now see the CE on the flash chip going from 3.3v to 0 on reset of
> > the 8548. We also see the same behavior when issuing a mdh command on
> > the bdi
>
> Great. Thats encouraging :)
>
> > however, we cannot see any activity whatsoever on the Ax
> > pins on the spansion flash chip when trying read via the bdi and mdh.
>
> What about when the processor boots?
>
> > http://www.freescale.com/files/32bit/doc/ref_manual/MPC8548ERM.pdf
>
> p233 of the PDF:
>
> When the e500 core comes out of reset, its MMU has one 4-Kbyte
> page defined at 0x0_FFFF_Fnnn. The core begins execution with
> the instruction at effective address 0x0_FFFF_FFFC. To get this
> instruction, the core's first instruction fetch is a burst read
> of boot code from effective address 0x0_FFFF_FFE0.
>
> So the address bus LSBs should be changing during this burst,
> whereas the MSBs would be high.
Excellent idea - can I please clarify it? On the spansion flash chip
we have LBA5 to LBA30 - where LBA30 is the LSB. On reset, should we be
seeing changes on these LSB's while the MSB's remain high?
>
> > I did see RCW while googling, but that appears not to be present on
> > the 85xx as I couldn't find it in the 85xx bdi manual or the freescale
> > manual. Anyone know the equivalent?
>
> It looks like the 85xx ditches the RCW method in favor of the
> boot sequencer, which the 83xx also supports. As far as I understand
> the processor comes out of reset, holds the core in reset, reads
> register settings from an I2C EEPROM, programs the registers,
> and then releases the core. Basically you can override any (some?)
> default register settings.
>
> p233 states:
> the default boot ROM address range defined in the MPC8548E
> (8 Mbytes at 0x0_FF80_0000 to 0x0_FFFF_FFFF
>
> which is the same as one of the defaults for the MPC8349.
>
> I'm pretty sure that you should be able to power up the processor,
> and the BDI-2000 can play in this default address-space, i.e.,
> accesses between 0xFF800000 and the end of 4GB space should
> decode to the Flash.
We tried doing an mdh on 0xff800000 but still see bad data, even after setting:
WM32 0xe0005000 0xff801001 ;BR0
WM32 0xe0005004 0xff806e65 ;OR0
One more question please, since 83xx is the same here. What's the
register that needs to be changed to move the boot location from
FF800000 to F8000000 ? I've been getting deep into the boot sequencer
and PORBMSR, but I'm having a hard time determining what and where to
change the boot location address. We don't have an I2C eeprom, but the
hardware guys tell me we can strap the pins to set the register once
we know which one it is.
>
> Do you have a Freescale evaluation board for comparison tests?
>
Freescale lent us the EP8548, though the CDS is a closer fit and we
don't have it. We'll be comparing the pins of the EP8548 and our board
today.
> Cheers,
> Dave
>
>
Thanks again all!
Robert
More information about the U-Boot
mailing list