Port-mips archive

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

Re: Porting NetBSD to MIPS-based Ingenic X1000 series



On Fri, Jul 22, 2022 at 01:50:25AM +0800, Mike Yang wrote:

> Hello everybody.

> I want to port NetBSD to the MIPS-based Ingenic X1000
> series, which is a close relative to the already-supported JZ4780 (CI20
> board). After a few source code tweaks, I'm able to boot the 9.2 kernel
> on the hardware. However it got stuck after probing some of the
> devices.

Sounds cool - do you have any pointers to developement boards?

> 2. Early resource initialization for different processors.
> 
> Currently the `evbmips/ingenic/machdep.c` is hardcoded to use 48MHz crystal, UART0 as boot console, and 1GB RAM. We need to enable the users to specify these parameters in some sort of config file, or preferably, FDT. What's the preferred way?

FDT is the prefered way, but the CI20 support is older and never has been 
adapted.

> 5. NetBSD's policy of GPL code.
> 
> Support for the Ingenic SoC series is more mature in Linux. Are GPL
> code derivatives allowed in NetBSD? Do I have to clean-room them?

No GPL code in the kernel.

Martin


Home | Main Index | Thread Index | Old Index