Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Apr 2017 16:36:35 -0600
From:      Brett Glass <brett@lariat.net>
To:        freebsd-arm@freebsd.org
Subject:   Building kernel and ports on i.MX6 platforms
Message-ID:  <201704222236.QAA09104@mail.lariat.net>

next in thread | raw e-mail | index | archive | help
Everyone:

I am interested in using some tiny i.MX6 systems as Internet 
routers and firewalls. However, to do this, I need to compile my 
own patches into the mpd5 utility. I may also want to compile a 
slimmed-down kernel to save memory, as well as a special Netgraph 
node I've created.

Unfortunately, the SD card images, as supplied, come with neither 
kernel sources nor the ports collection. What's more, there have 
been significant improvements to the ARM code since 11.0-RELEASE, 
and I may want to work with snapshots (which the freebsd-update 
utility won't update and which confuses the heck out of the 
bsdinstall utility; I haven't been able to use that utility to 
fetch the ports collection). What's the best way to build custom 
kernels and/or patched ports for this platform? Should I 
cross-compile or compile natively? If I do the latter, how best to 
bring in the ports collection and keep my kernel sources up to date 
on a system that's running a snapshot?

--Brett Glass




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704222236.QAA09104>