Received: from ATCSQR.andestech.com (59-120-53-16.HINET-IP.hinet.net [59.120.53.16]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 178A8781A9F for <~alpine/devel@lists.alpinelinux.org>; Mon, 23 Dec 2019 09:12:08 +0000 (UTC) Received: from ATCSQR.andestech.com (localhost [127.0.0.2] (may be forged)) by ATCSQR.andestech.com with ESMTP id xBN95Q4o029702 for <~alpine/devel@lists.alpinelinux.org>; Mon, 23 Dec 2019 17:05:26 +0800 (GMT-8) (envelope-from ruinland@andestech.com) Received: from mail.andestech.com (atcpcs16.andestech.com [10.0.1.222]) by ATCSQR.andestech.com with ESMTP id xBN958pl029641; Mon, 23 Dec 2019 17:05:08 +0800 (GMT-8) (envelope-from ruinland@andestech.com) Received: from APC301.andestech.com (10.0.12.128) by ATCPCS16.andestech.com (10.0.1.222) with Microsoft SMTP Server id 14.3.123.3; Mon, 23 Dec 2019 17:06:39 +0800 Date: Mon, 23 Dec 2019 17:06:39 +0800 From: Ruinland ChuanTzu Tsai To: <~alpine/devel@lists.alpinelinux.org> CC: , , , Subject: Re: [alpine-devel] Alpine Linux on RISC-V Message-ID: <20191223090638.GA5220@APC301.andestech.com> Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [10.0.12.128] X-DNSRBL: X-MAIL: ATCSQR.andestech.com xBN958pl029641 X-Spam: Yes Hi Drew and everyone, sorry for the late reply. I had a badly full plate back then. Though with limited accessibility, our dev boards are available for borrowing or purchasement. Yet I cannot disclose too many details regarding legal concerns. My supervisor has discussed with our corresponding division and they will response to the thread in the near future. For the boot story : Thanks for Drew's brilliant work, it only requires minor modifications on scripts/bootstrap.sh and some packages' APKBUILDS to build the cross compiler and sysroot-riscv32. That said, due to some driver issues and the lack of ability to self- host RV32 Alpine, I cooked up a RV32 initramfs out of the one for ARM Alpine - - replace ARM binaries to RV32 ones, reconstruct symlinks and tweak the bootargs in Device Tree. For now, it could boot from OpenSBI to an alpine-base rootfs flawlessly. Better still, I build the mkinitfs from aports so we would eventually have it done in a better manner some other days. We might host the mirror sites for Alpine RV64/RV32 package on academic sites in Taiwan in the foreseeable future. We'd like to know that is there any explicit/implicit policies should be applied ? (For instance, FreeBSD strongly urges mirror sites to be IPv6 accessible.) By the way, there are many things we can share for brining up stuffs on our RV64 platform as well. Andes provides RISC-V IP, and we have our own FPGA-based platform to test against. We have been implmenting HW/SW features on the platform since the RISC-V port went upstream Linux two years ago. To this day, our 32-/64-bit, UP/SMP and other customized configurations work fine. Before the FPGA and hardware design were ready, we had been playing QEMU for quite a while, so the transition wasn't really a concern. If any, the concern would be the gray area not covered by official specification. After such a long journey, we are here now. We would like to be involved more in distribution community. We tried the RISC-V port of OpenWRT/ buildroot/Yocto, and now looking into Alpine. Many many thanks, Ruinland