[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] NuHorizons S3/1500 -Dual Ethernet? plusflash questions
Hi David, Greg
David Banas wrote:
> When I tried experimenting with turning on JFFS2 kernel support, I got a
> long string of error messages at boot time and it took forever to get to
> a command prompt. So, I turned it back off. That’s as far as I got.
JFFS2 is famously verbose - when you just enable JFFS2 support in the
kernel, but don't specify the "rootfstype=" parameter at bootup, you
will get every tiny detail of JFFS's futile attempt to mount whatever IS
on your root FS :)
Earlier, Greg wrote:
>> The NuHorizons board has two ethernet connectors. One
>> goes to a PHY, and the other goes to a SMSC LAN91C111-NC
>> MAC+PHY. Can uClinux use both of them, or is the first
>> driver tied into the CPU code too much?
No reason this can't work, just enable the driver for both devices. It
is likely that you'll need some hacking on the SMSC driver for a
microblaze build - if only to specify peripheral base addresses and so
on. This will probably require #ifdef hell in the driver...
auto-config can help you here - I'll try to write a seperate message on
the subject shortly, it's a powerful undocumented feature of the uClinux
MLD/TCL ;)
The only other wrinkle might be the two drivers fighting over who gets
eth0 and who gets eth1 - I don't recall off the top of my head how this
is managed in the kernel / net driver architecture.
Of course, two Xilinx EMACs should be trivial, auto-config should pick
it up and just work :) Anyone actually tried this, say in one of the
newer Insight boards with an ethernet PHY on the main board, plus the
P160 comms module extension?
Regards,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/