[U-Boot] Help with a PPCXXX port

2013-09-13 Thread txcotrader
I'm trying to port a custom board running a AMCC 460SX processor to a more recent version of U-Boot. I'm digging around the configuration registers trying to figure out why my initial printout is showing: U-Boot 2013.03932a-dirty (Sep 12 2013 - 14:57:13) CPU: AMCC PowerPC 460SX Rev. A at 231.29

Re: [U-Boot] CONFIG_BAUDRATE doesn't match

2013-09-12 Thread txcotrader
Stephan, The processor is a 460SX (shares the same data sheet as 460GT). In my /include/configs/.h file I include "amcc-common.h" which has what you suggested: /* * UART */ #define CONFIG_SYS_NS16550 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE 1 #define CONFIG_SYS_NS1

[U-Boot] CONFIG_BAUDRATE doesn't match

2013-08-29 Thread txcotrader
Hello, I'm working with an AMCC based board and I'm running into an issue when I set my uart0 baud rate. In the include/configs/amcc-common.h there is the following code: #define CONFIG_BAUDRATE 115200 #define CONFIG_SYS_BAUDRATE_TABLE \ {300, 600, 1200, 2400, 4800, 9600, 19200, 38400,

Re: [U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-07-24 Thread txcotrader
Stefan, I know it's been awhile, but I do appreciate your previous help. I took some time off to complete other projects, now I'm back working on finishing this port. During the boot I'm seeing the value of &i2c->extsts is either 0x40 or 0x60 which equates to lost arbitration or lost arbitration a

Re: [U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-04-08 Thread txcotrader
Stefan, Yes, I am working with a 460SX and a board based off of AMCC Eiger (unsupported as of 2010). IICx_STS Register settings: 04 = MDBF Full = Master data buffer contains data 40 = IRQA Active = An IIC interrrupt has been sent to the UIC I'm clearing the IIC register early on in my code: mtd

Re: [U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-04-08 Thread txcotrader
Sefan, Thanks for the suggestion, I2C_BASE_ADDR is the same in both versions. After doing some more digging, I can see why v2013.01.01 is not passing i2c_transfer. The following routine yields different results in the 2 versions: v2013.01.01- do { /* Get status */ statu

Re: [U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-04-08 Thread txcotrader
Thanks for the suggestion Stefan, the addresses are definitely different: v2013.01.01: I2C_BASE_ADDR = ef600400 v1.7.02: IIC_STS = ef600408 Would you suggest not using the default drivers and configure GPIO or could this possibly be a bug in the new version? Thanks, Greg -- View this message

Re: [U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-04-04 Thread txcotrader
After looking deeper I've found a difference in register values when performing drivers/i2c/ppc4xx_i2c.c->i2c_transfer function. v1.7.02 code yields: /* Transfer is in progress * we have to wait for upto 5 bytes of data * 1 byte chip address+r/w bit then bc bytes * of d

Re: [U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-04-04 Thread txcotrader
Rommel, That sounds like a great suggestion, could you elaborate on 'mw' or 'mm' a little bit more? I'm unfamiliar with both of those. Are they a #define config, Make config...? Many thanks! --Greg -- View this message in context: http://u-boot.10912.n7.nabble.com/PPC4XX-Custom-Board-Failing-

Re: [U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-04-04 Thread txcotrader
I feel like something "different" is happening when executing the io.h->out_8 function. Could somebody help me understand this op code v2013.01.01 Code: extern inline void out_8(volatile unsigned char __iomem *addr, u8 val) { __asm__ __volatile__("sync;\n" "stb%U0%X0 %1,%0;\n

Re: [U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-04-03 Thread txcotrader
By board is based off of the ppc460sx. I only have one I2C bus. 2007 version has clock signal at 0x50 (DIMM0 I2C) 2013 version has no clock signal at 0x50 My boardconfig.h file has the same values configured. -- View this message in context: http://u-boot.10912.n7.nabble.com/PPC4XX-Custom-

Re: [U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-04-03 Thread txcotrader
After hooking the DIMM's I2C up to the o-scope, I don't see a clock signal. The board will boot with a u-boot version from 2007. Have you ever come across a missing I2C clock? -- View this message in context: http://u-boot.10912.n7.nabble.com/PPC4XX-Custom-Board-Failing-to-read-I2C-tp151298p151

Re: [U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-04-03 Thread txcotrader
Thanks Stefan, great suggestion, I failed to copy those configurations into my original message. /*--- * DDR SDRAM *--*/ #if !defined(CONFIG_NAND_U_BOOT) #

[U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-04-02 Thread txcotrader
Hello, I'm looking for some direction. I'm trying to update my version of u-boot for a custom board based off of the PPC460SX. I'm struggling to understand why I cannot get past reading the I2C on the DIMM. I'm receiving this error: CPU: AMCC PowerPC 460SX Rev. A at 231.291 MHz (PLB=33 OPB=16 E