Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Sep 2022 09:42:43 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Scott Zhang <macromarship@gmail.com>
Cc:        Valery Seys <valery@vslash.com>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: Is there a port manual for port freebsd to arm/imx6 board?
Message-ID:  <CANCZdfrsdJ=d3PYncrwjfg8_Z4D0c1HdHGjpRdS00kciHedd-g@mail.gmail.com>
In-Reply-To: <CABy3iKwakRzyDj4-fptV61tL1AEdz788k1t54zkq1OVUUP3HFQ@mail.gmail.com>
References:  <CABy3iKwfGVbE3OQ3EhuErDawY_Y2kiFDNd5hVK=JATfttM8fcg@mail.gmail.com> <CABy3iKxk2%2B%2Ber=7YxxFBdEkLdF0X3K7wR25GJR3AAO-AdfUeyw@mail.gmail.com> <0641c027-aceb-4389-4e8b-e82ebfacef20@vslash.com> <CABy3iKwakRzyDj4-fptV61tL1AEdz788k1t54zkq1OVUUP3HFQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000066eed505e82c4807
Content-Type: text/plain; charset="UTF-8"

In the past, you needed an IMX6 kernel. these days, all of that is in
GENERIC. The board
bring up often times is making sure that you have a good u-boot and the FDT
that it provides
matches what FreeBSD expects.

Warner

On Thu, Sep 8, 2022 at 8:12 AM Scott Zhang <macromarship@gmail.com> wrote:

> Thanks, I'll check it out.
>
> Sorry I am still a stranger for freebsd build system.
>
> On Thu, Sep 8, 2022 at 3:17 PM Valery Seys <valery@vslash.com> wrote:
> >
> > the wiki https://wiki.freebsd.org/arm tells us:
> >
> > - Supported SBC: NXP i.MX6
> >
> > and provides a link to the "Embedded Handbook":
> > https://wiki.freebsd.org/EmbeddedHandbook
> >
> > where you will find out how to compile the base system.
> >
> > UBoot port has some slave ports, like the one to boot on imx6:
> > https://wiki.freebsd.org/arm/U-Boot-ports
> >
> > see sysutils/u-boot-master
> >
> > BR
> >
> > v/
> >
> >
> >
> > On 08/09/2022 07:37, Scott Zhang wrote:
> > > On Thu, Sep 8, 2022 at 10:31 AM Scott Zhang <macromarship@gmail.com>
> wrote:
> > >>
> > >> Dear Everyone:
> > >>      I am personally very familiar with linux since 2003. And in last
> 8
> > >> years I have good experience for porting linux to arm/imx23 arm/imx6
> > >> port for linux kernel 2.6,3.0,4.0,5.4, so familiar with nxp/freescale
> > >> imx series chips and linux kernel/driver tweak.
> > >>      I know freebsd history well but not very familiar with its use,
> > >> especially desktop, command looks same as linux so not big problem.
> > >>      I want to port freebsd to the arm-board we build on imx chips,to
> > >> try freebsd more. I thought the idea should be same as linux, make
> > >> cross-compiler then build kernel. But first thing I dont' see where to
> > >> configure the compiler. Comparing to the crowded stuff relating to
> > >> linux, the freebsd document is quite rare. The documents on website
> > >> are mostly entry level.
> > >>      So is there a port manual?
> > >>
> > >>
> > >> Thanks
> > >
>
>

--00000000000066eed505e82c4807
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>In the past, you=C2=A0needed an IMX6 kernel. these da=
ys, all of that is in GENERIC. The board</div><div>bring up often times is =
making sure that you have a good u-boot and the FDT that it provides</div><=
div>matches what FreeBSD expects.</div><div><br></div><div>Warner</div><div=
 dir=3D"ltr"></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D=
"gmail_attr">On Thu, Sep 8, 2022 at 8:12 AM Scott Zhang &lt;<a href=3D"mail=
to:macromarship@gmail.com">macromarship@gmail.com</a>&gt; wrote:<br></div><=
blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l=
eft:1px solid rgb(204,204,204);padding-left:1ex">Thanks, I&#39;ll check it =
out.<br>
<br>
Sorry I am still a stranger for freebsd build system.<br>
<br>
On Thu, Sep 8, 2022 at 3:17 PM Valery Seys &lt;<a href=3D"mailto:valery@vsl=
ash.com" target=3D"_blank">valery@vslash.com</a>&gt; wrote:<br>
&gt;<br>
&gt; the wiki <a href=3D"https://wiki.freebsd.org/arm" rel=3D"noreferrer" t=
arget=3D"_blank">https://wiki.freebsd.org/arm</a>; tells us:<br>
&gt;<br>
&gt; - Supported SBC: NXP i.MX6<br>
&gt;<br>
&gt; and provides a link to the &quot;Embedded Handbook&quot;:<br>
&gt; <a href=3D"https://wiki.freebsd.org/EmbeddedHandbook" rel=3D"noreferre=
r" target=3D"_blank">https://wiki.freebsd.org/EmbeddedHandbook</a><br>;
&gt;<br>
&gt; where you will find out how to compile the base system.<br>
&gt;<br>
&gt; UBoot port has some slave ports, like the one to boot on imx6:<br>
&gt; <a href=3D"https://wiki.freebsd.org/arm/U-Boot-ports" rel=3D"noreferre=
r" target=3D"_blank">https://wiki.freebsd.org/arm/U-Boot-ports</a><br>;
&gt;<br>
&gt; see sysutils/u-boot-master<br>
&gt;<br>
&gt; BR<br>
&gt;<br>
&gt; v/<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On 08/09/2022 07:37, Scott Zhang wrote:<br>
&gt; &gt; On Thu, Sep 8, 2022 at 10:31 AM Scott Zhang &lt;<a href=3D"mailto=
:macromarship@gmail.com" target=3D"_blank">macromarship@gmail.com</a>&gt; w=
rote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Dear Everyone:<br>
&gt; &gt;&gt;=C2=A0 =C2=A0 =C2=A0 I am personally very familiar with linux =
since 2003. And in last 8<br>
&gt; &gt;&gt; years I have good experience for porting linux to arm/imx23 a=
rm/imx6<br>
&gt; &gt;&gt; port for linux kernel 2.6,3.0,4.0,5.4, so familiar with nxp/f=
reescale<br>
&gt; &gt;&gt; imx series chips and linux kernel/driver tweak.<br>
&gt; &gt;&gt;=C2=A0 =C2=A0 =C2=A0 I know freebsd history well but not very =
familiar with its use,<br>
&gt; &gt;&gt; especially desktop, command looks same as linux so not big pr=
oblem.<br>
&gt; &gt;&gt;=C2=A0 =C2=A0 =C2=A0 I want to port freebsd to the arm-board w=
e build on imx chips,to<br>
&gt; &gt;&gt; try freebsd more. I thought the idea should be same as linux,=
 make<br>
&gt; &gt;&gt; cross-compiler then build kernel. But first thing I dont&#39;=
 see where to<br>
&gt; &gt;&gt; configure the compiler. Comparing to the crowded stuff relati=
ng to<br>
&gt; &gt;&gt; linux, the freebsd document is quite rare. The documents on w=
ebsite<br>
&gt; &gt;&gt; are mostly entry level.<br>
&gt; &gt;&gt;=C2=A0 =C2=A0 =C2=A0 So is there a port manual?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Thanks<br>
&gt; &gt;<br>
<br>
</blockquote></div></div>

--00000000000066eed505e82c4807--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrsdJ=d3PYncrwjfg8_Z4D0c1HdHGjpRdS00kciHedd-g>