Skip to contentSkip to conversation

Ethernet problem on PXA320

U-Boot Dennis Semakin 2 participants 4 messages Jan 19, 2010 – Jan 21, 2010

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Dennis,

Quoted 8 lines · Dennis Semakin

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.

Quoted 6 lines

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.

Quoted 8 lines

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

#2 lore raw

Hello,
Thanks for your reply

19.01.10, 09:50, "Ben Warren" <[email protected]>:

Quoted 6 lines

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

#3 lore raw

Dennis,

Quoted 16 lines · Dennis Semakin

Hello,
Thanks for your reply

19.01.10, 09:50, "Ben Warren" <[email protected]>:

Quoted 6 lines

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?

Quoted 6 lines

U-boot uses a flat memory model. No remapping is necessary.

Thanks
Best regards
Dennis Semakin

regards,
Ben