Strange behavior with I2C on Sequoia board

2008-08-20 Thread Steven A. Falco
I have just tried enabling I2C on a Sequoia board (kernel is DENX 2.6.26) and doing that appears to corrupt the u-boot / kernel communications. Prior to turning on I2C, I see the ethernet mac and kernel command line correctly passed, but once I turn on I2C, the ethernet mac becomes 0 and the kerne

Re: Strange behavior with I2C on Sequoia board

2008-08-20 Thread Josh Boyer
On Wed, 2008-08-20 at 16:55 -0400, Steven A. Falco wrote: > I have just tried enabling I2C on a Sequoia board (kernel is DENX 2.6.26) and > doing that appears to corrupt the u-boot / kernel communications. > > Prior to turning on I2C, I see the ethernet mac and kernel command line > correctly pass

Re: Strange behavior with I2C on Sequoia board

2008-08-20 Thread Sean MacLennan
On Wed, 20 Aug 2008 20:44:23 -0400 "Josh Boyer" <[EMAIL PROTECTED]> wrote: > That's all output from the wrapper, not the kernel. And the kernel > config doesn't make a difference at all to the wrapper. I wonder if > there is some weird size issue going on there or if whatever U-Boot > version yo

Re: Strange behavior with I2C on Sequoia board

2008-08-21 Thread Stefan Roese
On Thursday 21 August 2008, Sean MacLennan wrote: > > That's all output from the wrapper, not the kernel. And the kernel > > config doesn't make a difference at all to the wrapper. I wonder if > > there is some weird size issue going on there or if whatever U-Boot > > version you are using is doi

Re: Strange behavior with I2C on Sequoia board

2008-08-21 Thread Valentine Barshak
Stefan Roese wrote: On Thursday 21 August 2008, Sean MacLennan wrote: That's all output from the wrapper, not the kernel. And the kernel config doesn't make a difference at all to the wrapper. I wonder if there is some weird size issue going on there or if whatever U-Boot version you are using

Re: Strange behavior with I2C on Sequoia board

2008-08-21 Thread Steven A. Falco
Valentine Barshak wrote: > > Stefan Roese wrote: >> On Thursday 21 August 2008, Sean MacLennan wrote: That's all output from the wrapper, not the kernel. And the kernel config doesn't make a difference at all to the wrapper. I wonder if there is some weird size issue going on ther

Re: Strange behavior with I2C on Sequoia board

2008-08-21 Thread Stefan Roese
On Thursday 21 August 2008, Valentine Barshak wrote: > > It seems that your bootwrapper is somehow not copying the correct MAC > > address to the device-tree. Not sure what's going wrong here. We usually > > don't use the bootwrapper but boot the uImage directly from U-Boot on all > > 4xx systems.

Re: Strange behavior with I2C on Sequoia board

2008-08-21 Thread Stefan Roese
On Thursday 21 August 2008, Steven A. Falco wrote: > Your diagnosis is correct! I changed the define from 8<<20 to 8<<21 and it > now boots. Previously the parameters were at 7ffe70, and this change moved > them to fffe70. Good. > I would like to switch over to using a uImage rather than the >

Re: Strange behavior with I2C on Sequoia board

2008-08-21 Thread Geert Uytterhoeven
On Thu, 21 Aug 2008, Steven A. Falco wrote: > I would like to switch over to using a uImage rather than the cuboot.uImage. Can you actually boot a plain uImage from U-Boot? I've just gave it a try. While arch/powerpc/boot/cuImage.sequoia boots fine, after `make uImage', I get arch/powerpc/boot/u

Re: Strange behavior with I2C on Sequoia board

2008-08-21 Thread Stefan Roese
On Thursday 21 August 2008, Geert Uytterhoeven wrote: > On Thu, 21 Aug 2008, Steven A. Falco wrote: > > I would like to switch over to using a uImage rather than the > > cuboot.uImage. > > Can you actually boot a plain uImage from U-Boot? Sure. We did this all the time in arch/ppc. Now in arch/pow

Re: Strange behavior with I2C on Sequoia board

2008-08-21 Thread Wolfgang Denk
Dear Geert, In message <[EMAIL PROTECTED]> you wrote: > > Can you actually boot a plain uImage from U-Boot? yes, of course you can (you will need a device tree, too). > I've just gave it a try. While arch/powerpc/boot/cuImage.sequoia boots fine, > after `make uImage', I get arch/powerpc/boot/uI

Re: Strange behavior with I2C on Sequoia board

2008-08-21 Thread Wolfgang Denk
Dear Valentine Barshak, In message <[EMAIL PROTECTED]> you wrote: > > U-boot thinks that all memory above the first 8MB is out of reach for > the kernel and puts kernel bootargs and boardinfo structure below 8MB as > close as possible to this limit. Including the i2c driver into the > kernel i