[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-port-arm
Subject:    Re: Incomplete or outdated aarch64 kernel sources?
From:       Eddy_Petrișor <eddy.petrisor () gmail ! com>
Date:       2016-08-17 19:21:00
Message-ID: CAK0XTWf43+CM=j0B-DT7ZBhGXpUCPZqa9AmUr1eUHOWk9A7q6g () mail ! gmail ! com
[Download RAW message or body]

Pe 17 aug. 2016 4:09 a.m., "Lwazi" <lwazidub@gmail.com> a scris:
>
> https://mail-index.netbsd.org/tech-ports/2014/01/28/msg000057.html

Oh, I see. Thanks for the info.

>
> On Tue, Aug 9, 2016 at 3:10 AM, Eddy Petri=C8=99or <eddy.petrisor@gmail.c=
om>
wrote:
> > Hello,
> >
> > I've seen the aarch64 (arm64) is preliminary for now, but since I own
> > 2 pine64 boards and have access to NXP S32V234 (4 x cortex a53) at
> > work, I have some interest in this port, so I have just tried
> > compiling userland and kernel (A64EMUL) for it.
> >
> > I've seen that there are a few things missing to make this work, but
> > now I am a little stuck:
> >
> > 1. sys/arch/evbarm64/compile/Makefile was missing, I copied it from
> > sys/arch/evbarm/compile
> > 2. sys/arch/aarch64/conf/files.aarch64 wants to bring in
> > uvm/pmap/pmap_pv.c, but that files does not exist. I tried removing
> > the file or using pmap_pvt.c instead, but the build failed later due
> > to a missing defintion (in both situations):
> >
> > In file included from /tmp/genassym.6FUC9z/assym.c:10:
> > In file included from
/home/eddy/usr/src/pine64/netbsd/src/sys/sys/mbuf.h:91:
> > In file included from
/home/eddy/usr/src/pine64/netbsd/src/sys/net/if.h:87:
> > In file included from
> > /home/eddy/usr/src/pine64/netbsd/src/sys/net/pktqueue.h:39:
> > In file included from
/home/eddy/usr/src/pine64/netbsd/src/sys/sys/sysctl.h:52:
> > In file included from
> > /home/eddy/usr/src/pine64/netbsd/src/sys/uvm/uvm_extern.h:471:
> > In file included from
> > /home/eddy/usr/src/pine64/netbsd/src/sys/uvm/uvm_pmap.h:115:
> > In file included from ./machine/pmap.h:5:
> > ./aarch64/pmap.h:51:2: error: unknown type name 'pmap_pv_info_t'
> >         pmap_pv_info_t pm_pvinfo;
> >         ^
> > ./aarch64/pmap.h:62:2: error: unknown type name 'vm_page_pv_info_t'
> >         vm_page_pv_info_t mdpg_pv;
> >         ^
> > 2 errors generated.
> > *** [assym.h] Error code 1
> >
> > nbmake: stopped in
> >
/home/eddy/usr/src/pine64/netbsd/src/sys/arch/evbarm64/compile/obj/A64EMUL
> > 2 errors
> >
> > nbmake: stopped in
> >
/home/eddy/usr/src/pine64/netbsd/src/sys/arch/evbarm64/compile/obj/A64EMUL
> >
> >
> > As I have seen vm_page_pv_info_t is only referred only in another
> > platform introduced by Matt, OR1K, but I can't find its definition
> > anywhere. pmap_pv_info_t is in the same boat.
> >
> >
> > Is there a branch that has has more complete support for aarh64?
> > Is there somebody actively working on the port?
> > Any idea on how to fix the issues above?
> >
> > --
> > Eddy Petri=C8=99or

[Attachment #3 (text/html)]

<p dir="ltr"></p>
<p dir="ltr">Pe 17 aug. 2016 4:09 a.m., &quot;Lwazi&quot; &lt;<a \
href="mailto:lwazidub@gmail.com">lwazidub@gmail.com</a>&gt; a scris:<br> &gt;<br>
&gt; <a href="https://mail-index.netbsd.org/tech-ports/2014/01/28/msg000057.html">https://mail-index.netbsd.org/tech-ports/2014/01/28/msg000057.html</a></p>
 <p dir="ltr">Oh, I see. Thanks for the info. </p>
<p dir="ltr">&gt;<br>
&gt; On Tue, Aug 9, 2016 at 3:10 AM, Eddy Petrișor &lt;<a \
href="mailto:eddy.petrisor@gmail.com">eddy.petrisor@gmail.com</a>&gt; wrote:<br> &gt; \
&gt; Hello,<br> &gt; &gt;<br>
&gt; &gt; I&#39;ve seen the aarch64 (arm64) is preliminary for now, but since I \
own<br> &gt; &gt; 2 pine64 boards and have access to NXP S32V234 (4 x cortex a53) \
at<br> &gt; &gt; work, I have some interest in this port, so I have just tried<br>
&gt; &gt; compiling userland and kernel (A64EMUL) for it.<br>
&gt; &gt;<br>
&gt; &gt; I&#39;ve seen that there are a few things missing to make this work, \
but<br> &gt; &gt; now I am a little stuck:<br>
&gt; &gt;<br>
&gt; &gt; 1. sys/arch/evbarm64/compile/Makefile was missing, I copied it from<br>
&gt; &gt; sys/arch/evbarm/compile<br>
&gt; &gt; 2. sys/arch/aarch64/conf/files.aarch64 wants to bring in<br>
&gt; &gt; uvm/pmap/pmap_pv.c, but that files does not exist. I tried removing<br>
&gt; &gt; the file or using pmap_pvt.c instead, but the build failed later due<br>
&gt; &gt; to a missing defintion (in both situations):<br>
&gt; &gt;<br>
&gt; &gt; In file included from /tmp/genassym.6FUC9z/assym.c:10:<br>
&gt; &gt; In file included from \
/home/eddy/usr/src/pine64/netbsd/src/sys/sys/mbuf.h:91:<br> &gt; &gt; In file \
included from /home/eddy/usr/src/pine64/netbsd/src/sys/net/if.h:87:<br> &gt; &gt; In \
file included from<br> &gt; &gt; \
/home/eddy/usr/src/pine64/netbsd/src/sys/net/pktqueue.h:39:<br> &gt; &gt; In file \
included from /home/eddy/usr/src/pine64/netbsd/src/sys/sys/sysctl.h:52:<br> &gt; &gt; \
In file included from<br> &gt; &gt; \
/home/eddy/usr/src/pine64/netbsd/src/sys/uvm/uvm_extern.h:471:<br> &gt; &gt; In file \
included from<br> &gt; &gt; \
/home/eddy/usr/src/pine64/netbsd/src/sys/uvm/uvm_pmap.h:115:<br> &gt; &gt; In file \
included from ./machine/pmap.h:5:<br> &gt; &gt; ./aarch64/pmap.h:51:2: error: unknown \
type name &#39;pmap_pv_info_t&#39;<br> &gt; &gt;              pmap_pv_info_t \
pm_pvinfo;<br> &gt; &gt;              ^<br>
&gt; &gt; ./aarch64/pmap.h:62:2: error: unknown type name \
&#39;vm_page_pv_info_t&#39;<br> &gt; &gt;              vm_page_pv_info_t mdpg_pv;<br>
&gt; &gt;              ^<br>
&gt; &gt; 2 errors generated.<br>
&gt; &gt; *** [assym.h] Error code 1<br>
&gt; &gt;<br>
&gt; &gt; nbmake: stopped in<br>
&gt; &gt; /home/eddy/usr/src/pine64/netbsd/src/sys/arch/evbarm64/compile/obj/A64EMUL<br>
 &gt; &gt; 2 errors<br>
&gt; &gt;<br>
&gt; &gt; nbmake: stopped in<br>
&gt; &gt; /home/eddy/usr/src/pine64/netbsd/src/sys/arch/evbarm64/compile/obj/A64EMUL<br>
 &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; As I have seen vm_page_pv_info_t is only referred only in another<br>
&gt; &gt; platform introduced by Matt, OR1K, but I can&#39;t find its definition<br>
&gt; &gt; anywhere. pmap_pv_info_t is in the same boat.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Is there a branch that has has more complete support for aarh64?<br>
&gt; &gt; Is there somebody actively working on the port?<br>
&gt; &gt; Any idea on how to fix the issues above?<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Eddy Petrișor<br></p>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic