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