I'm trying to do a nfs boot from my Beagleboard. My Davicom Dm9601, was not detected from u-boot, hence its failing with the error "0 ethernet devices found" and "Remote device not responded"
I have started writing the device-driver for the same.
- dm9601_eth_before_probe
- dm9601_eth_probe
With the above two functions its showing "1 Ethernet device found"
- dm9601_init
When i'm trying to write above function, first action is to get the mac-address. I am taking asix.c given below as a reference. I've written read_cmd and write_cmd functions. But my current problem is i'm trying to using "Physical Address Register" register for reading the mac-address. I'm bit confused in the way the linux-drivers are working and asix.c is working.
Can anyone help me in understanding the same and how to go ahead in my implementation of the similar logic in dm9601 for u-boot.
References: