Re: [U-Boot] Adding a composite device, how to structure ?

2009-06-06 Thread Heiko Schocher
Hello Tom,

Tom wrote:
 I would like to add support for the twl4030,  a composite i2c device, 
 found on the omap3 zoom's.
 The header file will be include/twl4030.h.
 How do you want the source to be structured ?
 1.  A single large file in drivers/i2c/twl4030.c
 
 or device files added under a directory ?
 
 2.  drivers/i2c/twl4030/keyboard, drivers/i2c/twl4030/usb,  
 drivers/i2c/twl4030/battery, 
 
 or just the common code in i2c and twl4030 devices in the  places they 
 usually go.
 
 3.  drivers/i2c/twl4030.c, drivers/usb/tw4030_usb.c  etc ..
 
 My guess is #3.

Yep, I think #3 is the right way to go.

bye
Heiko
-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] console_init_r problem with ingenic jz4740 cpu

2009-06-06 Thread xiangfu
Hi

the u-boot stop at console_init_r function.

here is part of board_init_r function code.

/** leave this here (after malloc(), environment and PCI are working) **/
/* Initialize devices */
devices_init ();

jumptable_init ();
debug(DEBUG: jumptable over\n); [1]

/* Initialize the console (after the relocation and devices init) */
console_init_r ();
debug(DEBUG: console_init_r over\n);[2]
/** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **/

I add two lines for debug.
 
the [1] is output form serial console. but [2] never show up.
I also add some puts in the console_init_r function. it's not show in the 
serial console

give me some advice 

thanks

Best Regards
Xiangfu
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH V2] board support patch for phyCORE-MPC5200B-tiny

2009-06-06 Thread Robert Schwebel
On Mon, Jun 01, 2009 at 12:11:52AM +0200, Wolfgang Denk wrote:
  +#define CONFIG_BOARDINFOPhytec Phycore mpc5200b tiny
 
 Too long. Please be terse.

The official name of the board is phyCORE-MPC5200B-tiny.

rsc
-- 
Pengutronix e.K.   | |
Industrial Linux Solutions | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917- |
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] iMX27 PDK board support

2009-06-06 Thread Robert Schwebel
On Wed, Jun 03, 2009 at 11:18:14AM +0200, brice.wal...@ulp.u-strasbg.fr
wrote:
 J've seen that U-Boot V2 supports different MX27 CPU boards. Is U-Boot
 supported on Freescale i.MX27 PDK board?

The tree contains support for the MX27ADS but not for the PDK; however,
it is not very well tested because most of the development takes place
on the phyCORE-i.MX27 so far.

We have support for the MX35-3-Stack, you might want to have a look at
that code if you are working into that direction.

Patches are welcome, as always.

rsc
-- 
Pengutronix e.K.   | |
Industrial Linux Solutions | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917- |
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Ethernet not working on OMAP3 board with

2009-06-06 Thread John Rigby
Does anyone know what the current status of this is?  I see the patched
discussed in April was in net-next for a while then was removed with the
understanding that it would go into master since it was a bug fix but I
don't see it in master.

Also Mani says that the patch does not fix master anyway but does fix
arm-next.

Did I get that right?

Thanks
John

On Thu, May 28, 2009 at 3:43 AM, Pillai, Manikandan mani.pil...@ti.comwrote:



  -Original Message-
  From: Pillai, Manikandan
  Sent: Wednesday, May 27, 2009 10:01 AM
  To: 'Josh Karabin'
  Cc: Dirk Behme; u-boot@lists.denx.de
  Subject: RE: [U-Boot] Ethernet not working on OMAP3 board with
 
 
  OK I will try with the same commit and send the results.
 
   -Original Message-
   From: Josh Karabin [mailto:gkara...@vocollect.com]
   Sent: Tuesday, May 26, 2009 8:26 PM
   To: Pillai, Manikandan
   Cc: Dirk Behme; u-boot@lists.denx.de
   Subject: Re: [U-Boot] Ethernet not working on OMAP3 board with
  
  
   Pillai, Manikandan wrote:
Hi Dirk,
   
I have already tried this patch it does not work on EVM.
Was any other patch applied along with this ?
  
   That was the only one that I needed, on top of the arm/next branch from
   last week.  The last commit was
 86d5c98d3d97d631b1d3a5f5e6a17e87c99b42cf
   : OMAP3: Fix CKE1 MUX setting to allow self-refresh.
  
 [Pillai, Manikandan] I tried with this commit and it works. If I use the
 v2009.06-rc1 tag with these changes it does not work.

 smc911x: initializing
 smc911x: detected LAN9115 controller
 smc911x: phy initialized
 Addrr = 0 1 2 2 4 4
 smc911x: MAC 00:01:02:02:04:04
 BOOTP broadcast 1
 BOOTP broadcast 2
 BOOTP broadcast 3
 BOOTP broadcast 4

 So guess there are some more changes that require to be done. Any ideas
 welcome.
   - Josh

 ___
 U-Boot mailing list
 U-Boot@lists.denx.de
 http://lists.denx.de/mailman/listinfo/u-boot

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot