[U-Boot] [U-BOOT] Ethernet problem on PXA320

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

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@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
regards, Ben

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

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
participants (2)
-
Ben Warren
-
Dennis Semakin