Re: [uClinux-dev] m68k compile issue with 4.0.5

From: Greg Ungerer
Date: Thu Jun 18 2015 - 10:13:35 EST

This is a multi-part message in MIME format. Hi Waldemar,

On 17/06/15 15:42, Waldemar Brodkorb wrote:
Hi Greg,
Greg Ungerer wrote,
I don't have any compile (or runtime) problems with m5208evb_defconfig
on linux-4.0.5 either. That is close to what most people use with qemu.
What .config are you using?
Are you sure the defconfig creates a bootable image?

I still need at least two patches.
Without this one I get black screen.
Without this one I get
qemu: hardware error: mcf_fec_read: Bad address 0x1c4

Networking still does not work for me after booting with the two
patches applied:
fec fec.0 (unnamed net_device) (uninitialized): MDIO read timeout
fec: probe of fec.0 failed with error -5

Any idea?

The qemu fec driver does not emulate any type of attached phy
or properly support the mdio read/write register.

The attached patch to qemu implements really simple phy support.
Was enough for me to get linux probing and finding a phy.