[U-Boot] [PATCH v2] mpc86xx: set the DDR BATs after calculating true DDR size

Timur Tabi timur at freescale.com
Tue Mar 30 23:19:27 CEST 2010


On Tue, Mar 30, 2010 at 12:02 PM, Becky Bruce
<beckyb at kernel.crashing.org> wrote:

> Can you test a board with a strange amount of RAM (1.5GB,
> or something), and see what happens with this patch?  I really don't
> like leaving things this way.

I put three 512MB sticks into bullwinkle, and got this:

U-Boot 2010.03-rc1-00006-g249f62d (Mar 30 2010 - 16:08:44)

CPU:   8641D, Version: 2.0, (0x80900120)
Core:  E600 Core 0, Version: 2.2, (0x80040202)
Clock Configuration:
       CPU:1500 MHz, MPX:500  MHz
       DDR:250  MHz (500 MT/s data rate), LBC:31.250 MHz
L1:    D-cache 32 KB enabled
       I-cache 32 KB enabled
L2:    512 KB enabled
Board: MPC8641HPCN, Sys ID: 0x10, Sys Ver: 0x10, FPGA Ver: 0x22, vBank: 1
I2C:   ready
DRAM:  512 MB left unmapped
    DDR:  1.1 GB (DDR2, 64-bit, CL=4, ECC off)

and here it hangs.

So not only does it hang, but it appears there's a bug in print_size().

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the U-Boot mailing list