Date: Tue, 28 Jun 2022 01:23:54 +0900 From: =?UTF-8?B?5LuK5LqV6Iiq5LiA?= <kotty.0704@gmail.com> To: soc-status@freebsd.org Subject: [GSoC22 Weekly Status Report #1&2] Implementation of machine-dependent methods: Koichi Imai Message-ID: <CAD-vkbrmMA3f3Fu3Pjx-Sdk8qq7Xdht7PPUtB0uOJVWxHuAU=Q@mail.gmail.com> In-Reply-To: <CAD-vkbqWj%2BdXH=wdHLcVcag9i=n-Cn_%2BM%2BZw7qgOZ8WgZEvXiw@mail.gmail.com> References: <CAD-vkbrRCK3dp53m_bPY0%2BkcYRRMG1E0JtFKrRUrWQOQ0Wv=ng@mail.gmail.com> <CAD-vkbqWj%2BdXH=wdHLcVcag9i=n-Cn_%2BM%2BZw7qgOZ8WgZEvXiw@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Hello,
My goal for GSoC project is to implement the "Linuxulator on powerpc64".
This is to realize the binary compatibility of Linux for FreeBSD.
The first step is to support the execution of a test program compiled for
Linux that just exits and we need the following to achieve.
- syscalls.master file that generate syscall table
- linux.h that defines all types and structures
- linux_sysvec.c
- linux_fetch_syscall_args,linux_set_syscall_args
- linux_copyout_strings
- linux_copyout_auxargs
- linux_exec_setregs
- linux_fixup_elf
- linux_trans_osrel
- execve(), mmap2(), mprotect() syscall
So far, I have completed the first 3 dots and am now trying to support the
above system calls.
Also, some bugs may need to be removed where they have already been
implemented.
Concurrently, I was also building an environment to run FreeBSD/powerpc64le
on qemu.
FreeBSD/powerpc64 works fine, but I had a problem that FreeBSD/powerpc64le
wouldn't connect to the network. I found that I could connect to the
network using libvirt but still looking for an easier way.
Koichi
[-- Attachment #2 --]
<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Hello,<br></div><div dir="ltr"><div><br></div><div>My goal for GSoC project is to implement the "Linuxulator on powerpc64". This is to realize the binary compatibility of Linux for FreeBSD.</div><div><br></div><div>The first step is to support the execution of a test program compiled for Linux that just exits and we need the following to achieve.</div><div><ul><li>syscalls.master file that generate syscall table</li><li>linux.h that defines all types and structures</li><li>linux_sysvec.c</li><ul><li>linux_fetch_syscall_args,linux_set_syscall_args</li><li>linux_copyout_strings</li><li>linux_copyout_auxargs</li><li>linux_exec_setregs</li><li>linux_fixup_elf</li><li>linux_trans_osrel</li></ul><li>execve(), mmap2(), mprotect() syscall</li></ul>So far, I have completed the first 3 dots and am now trying to support the above system calls.</div><div>Also, some bugs may need to be removed where they have already been implemented.<br></div><div><br></div><div>Concurrently, I was also building an environment to run FreeBSD/powerpc64le on qemu. </div><div>FreeBSD/powerpc64 works fine, but I had a problem that FreeBSD/powerpc64le wouldn't connect to the network. I found that I could connect to the network using libvirt but still looking for an easier way.</div><div><br></div><div>Koichi</div><div><br></div></div></div></div></div></div>
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAD-vkbrmMA3f3Fu3Pjx-Sdk8qq7Xdht7PPUtB0uOJVWxHuAU=Q>
