Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

TI AM35xx support

Hello all,

Anyone tried NetBSD on TI AM35xx based board? I'm able to run current
BEAGLEBOARD kernel with 6.0 userland without any source changes.
It runs relatively well on SD card. It halts after couple of minutes
running idle but it's ok for now.

But the Ethernet driver is missing... To enable Ethernet controller
it would need a new memory region (IPSS, 0x5C000000 - 0x5EFFFFFF) to
be added into the omap2_obio driver. Is this legal?

# dmesg | grep ^obio
obio0 at mainbus0 base 0x48000000-0x48ffffff: On-Board IO
obio1 at mainbus0 base 0x48300000-0x4833ffff: On-Board IO
obio2 at mainbus0 base 0x49000000-0x490fffff: On-Board IO
obio3 at mainbus0 base 0x54000000-0x547fffff: On-Board IO
obio4 at mainbus0 base 0x5c000000-0x5effffff: On-Board IO

I tweaked BEAGLEBONEs if_cpsw driver a little. Now it's able to
correctly read the MAC address without crashing, no more:

cpsw0 at obio4 addr 0x5c000000-0x5c007fff intrbase 67: TI CPSW Ethernet
cpsw0: Ethernet address 00:50:c2:1e:af:fa
cpsw0: no PHY found!

# ifconfig cpsw0
cpsw0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        address: 00:50:c2:1e:af:fa
        media: Ethernet manual (none)


Home | Main Index | Thread Index | Old Index