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 <<a href=3D"mail= to:macromarship@gmail.com">macromarship@gmail.com</a>> 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'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 <<a href=3D"mailto:valery@vsl= ash.com" target=3D"_blank">valery@vslash.com</a>> wrote:<br> ><br> > 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> ><br> > - Supported SBC: NXP i.MX6<br> ><br> > and provides a link to the "Embedded Handbook":<br> > <a href=3D"https://wiki.freebsd.org/EmbeddedHandbook" rel=3D"noreferre= r" target=3D"_blank">https://wiki.freebsd.org/EmbeddedHandbook</a><br> ><br> > where you will find out how to compile the base system.<br> ><br> > UBoot port has some slave ports, like the one to boot on imx6:<br> > <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> ><br> > see sysutils/u-boot-master<br> ><br> > BR<br> ><br> > v/<br> ><br> ><br> ><br> > On 08/09/2022 07:37, Scott Zhang wrote:<br> > > On Thu, Sep 8, 2022 at 10:31 AM Scott Zhang <<a href=3D"mailto= :macromarship@gmail.com" target=3D"_blank">macromarship@gmail.com</a>> w= rote:<br> > >><br> > >> Dear Everyone:<br> > >>=C2=A0 =C2=A0 =C2=A0 I am personally very familiar with linux = since 2003. And in last 8<br> > >> years I have good experience for porting linux to arm/imx23 a= rm/imx6<br> > >> port for linux kernel 2.6,3.0,4.0,5.4, so familiar with nxp/f= reescale<br> > >> imx series chips and linux kernel/driver tweak.<br> > >>=C2=A0 =C2=A0 =C2=A0 I know freebsd history well but not very = familiar with its use,<br> > >> especially desktop, command looks same as linux so not big pr= oblem.<br> > >>=C2=A0 =C2=A0 =C2=A0 I want to port freebsd to the arm-board w= e build on imx chips,to<br> > >> try freebsd more. I thought the idea should be same as linux,= make<br> > >> cross-compiler then build kernel. But first thing I dont'= see where to<br> > >> configure the compiler. Comparing to the crowded stuff relati= ng to<br> > >> linux, the freebsd document is quite rare. The documents on w= ebsite<br> > >> are mostly entry level.<br> > >>=C2=A0 =C2=A0 =C2=A0 So is there a port manual?<br> > >><br> > >><br> > >> Thanks<br> > ><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>