Re: [U-Boot] u-boot on beagleboard finds incorrect memory size.

2012-01-27 Thread wilsonjonathan
On Fri, 2012-01-27 at 12:00 -0600, Robert Nelson wrote: > On Fri, Jan 27, 2012 at 11:58 AM, Tom Rini wrote: > >> > >> > >> OMAP3530-GP ES3.1, CPU-OPP2, L3-165MHz, Max CPU Clock 720 mHz > >> OMAP3 Beagle board + LPDDR/NAND > >> I2C: ready > >> DRAM: 256 MiB > >> NAND: 256 MiB > >> MMC: OMAP S

Re: [U-Boot] u-boot on beagleboard finds incorrect memory size.

2012-01-27 Thread wilsonjonathan
I think the area of code that needs investigating is in arch/arm/cpu/armv7/omap3/sdrc.c line 82 onwards :- > u32 get_sdr_cs_size(u32 cs) > { > u32 size; > > /* get ram size field */ > size = readl(&sdrc_base->cs[cs].mcfg) >> 8; > size &= 0x3FF; /* remove unwante

Re: [U-Boot] u-boot on beagleboard finds incorrect memory size.

2012-01-27 Thread wilsonjonathan
On Fri, 2012-01-27 at 08:09 -0700, Tom Rini wrote: > On Fri, Jan 27, 2012 at 8:05 AM, Robert Nelson > wrote: > > On Thu, Jan 26, 2012 at 5:21 PM, Tom Rini wrote: > >> On Thu, Jan 26, 2012 at 12:35 PM, wilsonjonathan > >> wrote: > >>> On Thu, 2012-01-26

Re: [U-Boot] u-boot on beagleboard finds incorrect memory size.

2012-01-26 Thread wilsonjonathan
On Thu, 2012-01-26 at 12:28 -0700, Tom Rini wrote: > On Thu, Jan 26, 2012 at 12:14 PM, wilsonjonathan > wrote: > > On Thu, 2012-01-26 at 10:08 -0700, Tom Rini wrote: > >> On Wed, Jan 25, 2012 at 1:06 PM, wilsonjonathan > >> wrote: > >> > The u-boot

Re: [U-Boot] u-boot on beagleboard finds incorrect memory size.

2012-01-26 Thread wilsonjonathan
On Thu, 2012-01-26 at 10:08 -0700, Tom Rini wrote: > On Wed, Jan 25, 2012 at 1:06 PM, wilsonjonathan > wrote: > > The u-boot loader is showing an incorrect size in the memory, and > > passing the invalid information to the kernel. > > What revision of the board do you h

Re: [U-Boot] u-boot on beagleboard finds incorrect memory size.

2012-01-26 Thread wilsonjonathan
On Thu, 2012-01-26 at 10:08 -0700, Tom Rini wrote: > On Wed, Jan 25, 2012 at 1:06 PM, wilsonjonathan > wrote: > > The u-boot loader is showing an incorrect size in the memory, and > > passing the invalid information to the kernel. > > What revision of the board do you h

[U-Boot] u-boot on beagleboard finds incorrect memory size.

2012-01-25 Thread wilsonjonathan
The u-boot loader is showing an incorrect size in the memory, and passing the invalid information to the kernel. > U-Boot SPL 2011.12-dirty (Jan 25 2012 - 19:07:19) > Texas Instruments Revision detection unimplemented > OMAP SD/MMC: 0 > reading u-boot.img > reading u-boot.bin > mkimage signature