All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Missing ethernet
@ 2012-04-19 12:45 Gary Thomas
  2012-04-19 13:44 ` Gary Thomas
  2012-04-19 13:53 ` Andy Pont
  0 siblings, 2 replies; 4+ messages in thread
From: Gary Thomas @ 2012-04-19 12:45 UTC (permalink / raw)
  To: u-boot

I'm trying to update U-boot on my board from v2011.06 to v2011.12
It's an OMAP 3530, much like the BeagleBoard, with SMSC911x networking.
U-Boot is working fine on this board, but when I boot Linux, it can
no longer find the SMSC device.  If I boot the same kernel with the
older U-Boot, the SMSC device works perfectly.

I've looked through the 'bootm' path and I can't see what might
have changed that would cause such behaviour.  As far as I can
tell, everything else is working in Linux with the new U-Boot,
just not the SMSC device.

Any clues?

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

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

* [U-Boot] Missing ethernet
  2012-04-19 12:45 [U-Boot] Missing ethernet Gary Thomas
@ 2012-04-19 13:44 ` Gary Thomas
  2012-04-19 13:53 ` Andy Pont
  1 sibling, 0 replies; 4+ messages in thread
From: Gary Thomas @ 2012-04-19 13:44 UTC (permalink / raw)
  To: u-boot

On 2012-04-19 06:45, Gary Thomas wrote:
> I'm trying to update U-boot on my board from v2011.06 to v2011.12
> It's an OMAP 3530, much like the BeagleBoard, with SMSC911x networking.
> U-Boot is working fine on this board, but when I boot Linux, it can
> no longer find the SMSC device. If I boot the same kernel with the
> older U-Boot, the SMSC device works perfectly.
>
> I've looked through the 'bootm' path and I can't see what might
> have changed that would cause such behaviour. As far as I can
> tell, everything else is working in Linux with the new U-Boot,
> just not the SMSC device.
>
> Any clues?
>
> Thanks
>

Note: I've verified that it's also not working in v2012.04-rc1

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

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

* [U-Boot] Missing ethernet
  2012-04-19 12:45 [U-Boot] Missing ethernet Gary Thomas
  2012-04-19 13:44 ` Gary Thomas
@ 2012-04-19 13:53 ` Andy Pont
  2012-04-19 14:49   ` Gary Thomas
  1 sibling, 1 reply; 4+ messages in thread
From: Andy Pont @ 2012-04-19 13:53 UTC (permalink / raw)
  To: u-boot

Gary wrote...

> I'm trying to update U-boot on my board from v2011.06 to v2011.12
> It's an OMAP 3530, much like the BeagleBoard, with SMSC911x networking.

So not a BeagleBoard then but something different.  

Is the board you are using one of the boards supported in the mainline
U-Boot tree or is it an out-of-tree port?  If it is in mainline then have
you chosen the correct configuration to use?

> I've looked through the 'bootm' path and I can't see what might
> have changed that would cause such behaviour.  As far as I can
> tell, everything else is working in Linux with the new U-Boot,
> just not the SMSC device.

If you try to use TFTP in U-Boot does that work?  If not then I would guess
there is a configuration issue with the devices that you have enabled in
U-Boot rather than it being an issue with the bootm command.

Regards,

Andy.

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

* [U-Boot] Missing ethernet
  2012-04-19 13:53 ` Andy Pont
@ 2012-04-19 14:49   ` Gary Thomas
  0 siblings, 0 replies; 4+ messages in thread
From: Gary Thomas @ 2012-04-19 14:49 UTC (permalink / raw)
  To: u-boot

On 2012-04-19 07:53, Andy Pont wrote:
> Gary wrote...
>
>> I'm trying to update U-boot on my board from v2011.06 to v2011.12
>> It's an OMAP 3530, much like the BeagleBoard, with SMSC911x networking.
>
> So not a BeagleBoard then but something different.
>
> Is the board you are using one of the boards supported in the mainline
> U-Boot tree or is it an out-of-tree port?  If it is in mainline then have
> you chosen the correct configuration to use?

It's my own board, not in the mainline.

>
>> I've looked through the 'bootm' path and I can't see what might
>> have changed that would cause such behaviour.  As far as I can
>> tell, everything else is working in Linux with the new U-Boot,
>> just not the SMSC device.
>
> If you try to use TFTP in U-Boot does that work?  If not then I would guess
> there is a configuration issue with the devices that you have enabled in
> U-Boot rather than it being an issue with the bootm command.

As I said, U-Boot works fine.  The problem comes when Linux boots.

I've bisected it down to this change:
   commit 81bdc155c72ef9e093b388b90c58d8134d870976
   Author: Sanjeev Premi <premi@ti.com>
   Date:   Thu Sep 8 10:47:25 2011 -0400

     omap: gpio: Use generic API

That let me figure out the problem - I had to modify my board code
for the new GPIO functions and somehow that's where the problem is.
Still working out the details, but now I know where to look.

Thanks for the help

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

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

end of thread, other threads:[~2012-04-19 14:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-19 12:45 [U-Boot] Missing ethernet Gary Thomas
2012-04-19 13:44 ` Gary Thomas
2012-04-19 13:53 ` Andy Pont
2012-04-19 14:49   ` Gary Thomas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.