Re: FreeBSD on Zynq (Cortex-A9), new Phy for cgem0?

Milan Obuch <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
On Wed, 12 Nov 2025 11:18:08 -0800
Shiro <[email protected]> wrote:

> Hello,
> 
> I’m running 14.3 on a Zynq 7020 with excellent results so far and
> hope to continue to use 15.+ on this platform.
> 
> The problem I now face is to support a new Phy on cgem0. Rather than
> modify - test - rebuild - reboot the kernel, I’d like to develop and
> debug cgem0+Phy as a KLD (using USB-Eth in the meantime). My platform
> is nearly identical to ZEDBOARD.
> 
> How do I modify the build so that cgem0 (with Phys) is built as a
> KLD? My thinking is I’d be able to modify, load, test/debug, unload
> the KLD faster. Am I missing anything?

No need to build it as single KLD, just build a cgem KLD and let it
load PHY kld. I need to investigate what I tested in some past, but it
was something like this. Also, all bits necessary to build it this way
should be already in place.

Regards,
Milan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.