public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [U-BOOT] Ethernet problem on PXA320
@ 2010-01-19 13:59 Dennis Semakin
  2010-01-19 17:50 ` Ben Warren
  0 siblings, 1 reply; 4+ messages in thread
From: Dennis Semakin @ 2010-01-19 13:59 UTC (permalink / raw)
  To: u-boot

Hello all

As I already wrote, I'm trying to fix issue with my ethernet on Colibri PXA320 board.
I know, u-boot supports this board. But network on my board doesn't work.
First, does anyone know where did developers get CONFIG_DRIVER_NE2000_BASE value from?
I mean, now it's #define CONFIG_DRIVER_NE2000_BASE 0x10000000. 
Where did they get this 0x10000000 address? When I run any eth command, e.g. ping, system halted.

Recently, I wrote to the ASIX support, and they send me a driver source file for ax88796b ethernet controller.
Base address was 0x08000000 there. But now system doesn't halt.

Q: Is the problem in these addresses?

Thanks
Best regards
Dennis Semakin

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

* [U-Boot] [U-BOOT] Ethernet problem on PXA320
  2010-01-19 13:59 [U-Boot] [U-BOOT] Ethernet problem on PXA320 Dennis Semakin
@ 2010-01-19 17:50 ` Ben Warren
  2010-01-21  8:38   ` Dennis Semakin
  0 siblings, 1 reply; 4+ messages in thread
From: Ben Warren @ 2010-01-19 17:50 UTC (permalink / raw)
  To: u-boot

Dennis,

Dennis Semakin wrote:
> Hello all
>
> As I already wrote, I'm trying to fix issue with my ethernet on Colibri PXA320 board.
> I know, u-boot supports this board. But network on my board doesn't work.
> First, does anyone know where did developers get CONFIG_DRIVER_NE2000_BASE value from?
> I mean, now it's #define CONFIG_DRIVER_NE2000_BASE 0x10000000. 
> Where did they get this 0x10000000 address? When I run any eth command, e.g. ping, system halted.
>
> Recently, I wrote to the ASIX support, and they send me a driver source file for ax88796b ethernet controller.
> Base address was 0x08000000 there. But now system doesn't halt.
>
> Q: Is the problem in these addresses?
>
>   
The NE2000 is a memory-mapped device.  The BASE address is the address 
where the chip sits in your board's memory map.  You need to know your 
board's memory map to meaningfully debug this problem.
> Thanks
> Best regards
> Dennis Semakin
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>   
regards,
Ben

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

* [U-Boot] [U-BOOT] Ethernet problem on PXA320
  2010-01-19 17:50 ` Ben Warren
@ 2010-01-21  8:38   ` Dennis Semakin
  2010-01-21 15:22     ` Ben Warren
  0 siblings, 1 reply; 4+ messages in thread
From: Dennis Semakin @ 2010-01-21  8:38 UTC (permalink / raw)
  To: u-boot

Hello,
Thanks for your reply

19.01.10, 09:50, "Ben Warren" <biggerbadderben@gmail.com>:

> Dennis,
>  The NE2000 is a memory-mapped device.  The BASE address is the address 
>  where the chip sits in your board's memory map.  You need to know your 
>  board's memory map to meaningfully debug this problem.
>  regards,
>  Ben
  
When I wrote a network driver, I used ioremap function to access to device registers from linux kernel.
In u-boot, I mean for NE2000, it doesn't use, isn't it necessary?
 
Thanks
Best regards
Dennis Semakin

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

* [U-Boot] [U-BOOT] Ethernet problem on PXA320
  2010-01-21  8:38   ` Dennis Semakin
@ 2010-01-21 15:22     ` Ben Warren
  0 siblings, 0 replies; 4+ messages in thread
From: Ben Warren @ 2010-01-21 15:22 UTC (permalink / raw)
  To: u-boot

Dennis,

On Thu, Jan 21, 2010 at 12:38 AM, Dennis Semakin <insane79@yandex.ru> wrote:

> Hello,
> Thanks for your reply
>
> 19.01.10, 09:50, "Ben Warren" <biggerbadderben@gmail.com>:
>
> > Dennis,
> >  The NE2000 is a memory-mapped device.  The BASE address is the address
> >  where the chip sits in your board's memory map.  You need to know your
> >  board's memory map to meaningfully debug this problem.
> >  regards,
> >  Ben
>
> When I wrote a network driver, I used ioremap function to access to device
> registers from linux kernel.
> In u-boot, I mean for NE2000, it doesn't use, isn't it necessary?
>
> U-boot uses a flat memory model.  No remapping is necessary.

> Thanks
> Best regards
> Dennis Semakin
>
regards,
Ben

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

end of thread, other threads:[~2010-01-21 15:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-19 13:59 [U-Boot] [U-BOOT] Ethernet problem on PXA320 Dennis Semakin
2010-01-19 17:50 ` Ben Warren
2010-01-21  8:38   ` Dennis Semakin
2010-01-21 15:22     ` Ben Warren

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