public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] u-boot-1.3.3 SMC91111 driver
@ 2011-09-15 13:31 Chaney Lee
  2011-09-15 13:53 ` Simon Schwarz
  0 siblings, 1 reply; 3+ messages in thread
From: Chaney Lee @ 2011-09-15 13:31 UTC (permalink / raw)
  To: u-boot

hello:

I need your advise.
I port the u-boot-1.3.3 to my PXA270 board?Every thing  works well but the
SMC91111 dirver.I have aready config the config file like this:
#define CONFIG_DRIVER_SMC91111      1
#define CONFIG_SMC91111_BASE        0x10000300
#define CONFIG_SMC91111_EXT_PHY

 #define CONFIG_SMC_USE_32_BIT       1
Then I use PING command to my host and the minicom shows the host is not
alive.But I am sure the host  is right because I had PING the host ,which is
in VMware.
And after I turn on the DEBUG of SMC91111.c  to 5 ,I get the message.Here
are part of them.

SMC91111: smc_hardware_send_packet
SMC91111: memory allocation, try 1 failed ...
SMC91111: memory allocation, try 2 failed ...
SMC91111: memory allocation, try 3 failed ...
SMC91111: memory allocation, try 4 failed ...
SMC91111: memory allocation, try 5 failed ...

So how can I fix this problem?Can you give me some suggestions?
ps:my u-boot run in RAM and boot from BLOB.Then the u-boot.bin skip the
lowlevel_init function.

Thank you !

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] u-boot-1.3.3 SMC91111 driver
  2011-09-15 13:31 [U-Boot] u-boot-1.3.3 SMC91111 driver Chaney Lee
@ 2011-09-15 13:53 ` Simon Schwarz
  2011-09-15 18:24   ` Marek Vasut
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Schwarz @ 2011-09-15 13:53 UTC (permalink / raw)
  To: u-boot

Hi,

first thing would be to use a current U-Boot Version. This can be
obtained from:
http://www.denx.de/wiki/U-Boot/SourceCode

Regards
Simon

On 09/15/2011 03:31 PM, Chaney Lee wrote:
> hello:
> 
> I need your advise.
> I port the u-boot-1.3.3 to my PXA270 board?Every thing  works well but the
> SMC91111 dirver.I have aready config the config file like this:
> #define CONFIG_DRIVER_SMC91111      1
> #define CONFIG_SMC91111_BASE        0x10000300
> #define CONFIG_SMC91111_EXT_PHY
> 
>   #define CONFIG_SMC_USE_32_BIT       1
> Then I use PING command to my host and the minicom shows the host is not
> alive.But I am sure the host  is right because I had PING the host ,which is
> in VMware.
> And after I turn on the DEBUG of SMC91111.c  to 5 ,I get the message.Here
> are part of them.
> 
> SMC91111: smc_hardware_send_packet
> SMC91111: memory allocation, try 1 failed ...
> SMC91111: memory allocation, try 2 failed ...
> SMC91111: memory allocation, try 3 failed ...
> SMC91111: memory allocation, try 4 failed ...
> SMC91111: memory allocation, try 5 failed ...
> 
> So how can I fix this problem?Can you give me some suggestions?
> ps:my u-boot run in RAM and boot from BLOB.Then the u-boot.bin skip the
> lowlevel_init function.
> 
> Thank you !
> 
> 
> 
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] u-boot-1.3.3 SMC91111 driver
  2011-09-15 13:53 ` Simon Schwarz
@ 2011-09-15 18:24   ` Marek Vasut
  0 siblings, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2011-09-15 18:24 UTC (permalink / raw)
  To: u-boot

On Thursday, September 15, 2011 03:53:02 PM Simon Schwarz wrote:
> Hi,
> 
> first thing would be to use a current U-Boot Version. This can be
> obtained from:
> http://www.denx.de/wiki/U-Boot/SourceCode

Try not top-posting please.

btw. the lowlevel init function also configures the hardware, maybe you should 
remove blob and replace it with uboot ... and use mainline version, like Simon 
suggested, 1.3.3 is _way_ too old.

Cheers

> 
> Regards
> Simon
> 
> On 09/15/2011 03:31 PM, Chaney Lee wrote:
> > hello:
> > 
> > I need your advise.
> > I port the u-boot-1.3.3 to my PXA270 board?Every thing  works well but
> > the SMC91111 dirver.I have aready config the config file like this:
> > #define CONFIG_DRIVER_SMC91111      1
> > #define CONFIG_SMC91111_BASE        0x10000300
> > #define CONFIG_SMC91111_EXT_PHY
> > 
> >   #define CONFIG_SMC_USE_32_BIT       1
> > 
> > Then I use PING command to my host and the minicom shows the host is not
> > alive.But I am sure the host  is right because I had PING the host ,which
> > is in VMware.
> > And after I turn on the DEBUG of SMC91111.c  to 5 ,I get the message.Here
> > are part of them.
> > 
> > SMC91111: smc_hardware_send_packet
> > SMC91111: memory allocation, try 1 failed ...
> > SMC91111: memory allocation, try 2 failed ...
> > SMC91111: memory allocation, try 3 failed ...
> > SMC91111: memory allocation, try 4 failed ...
> > SMC91111: memory allocation, try 5 failed ...
> > 
> > So how can I fix this problem?Can you give me some suggestions?
> > ps:my u-boot run in RAM and boot from BLOB.Then the u-boot.bin skip the
> > lowlevel_init function.
> > 
> > Thank you !
> > 
> > 
> > 
> > 
> > _______________________________________________
> > U-Boot mailing list
> > U-Boot at lists.denx.de
> > http://lists.denx.de/mailman/listinfo/u-boot
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-09-15 18:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-15 13:31 [U-Boot] u-boot-1.3.3 SMC91111 driver Chaney Lee
2011-09-15 13:53 ` Simon Schwarz
2011-09-15 18:24   ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox