From patchwork Sun Sep 13 11:32:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Egorenkov X-Patchwork-Id: 1363062 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linux.ibm.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=HCH3xnyu; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Bq6nf6Qjgz9sTH for ; Sun, 13 Sep 2020 21:33:42 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2B6A587143; Sun, 13 Sep 2020 11:33:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JStBuzPAC3sd; Sun, 13 Sep 2020 11:33:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id A30F987144; Sun, 13 Sep 2020 11:33:37 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id B79981BF3A7 for ; Sun, 13 Sep 2020 11:33:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4B481814CA for ; Sun, 13 Sep 2020 11:33:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hb37VRj8T8is for ; Sun, 13 Sep 2020 11:33:15 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by whitealder.osuosl.org (Postfix) with ESMTPS id 95FDC86A84 for ; Sun, 13 Sep 2020 11:33:15 +0000 (UTC) Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 08DBVPhe001238 for ; Sun, 13 Sep 2020 07:33:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=pp1; bh=yCQHOxCu+RmV7sBXAnvVFGGje0J3Ehj+aYtwlZw8cow=; b=HCH3xnyu1fWvV2fGnhQ+zzk8glAKl29PZJtwb5ZVfL+dffRcsS9I+o/yTmFKAV+znEC0 3aEdsK8pgKk2IyjXVz6uXMUCWcbqk98ccEcH1rQvfWUseL9yOdX3m8ubVarnNIg0+rMh hMaKE/EGBA9jURz7uuCln/loGK7+gfBJNvC0/FfdvtKaT6PSzcKxYKURGJOkaJQddIQp Vld1LJ83UVM6UUjlikdeuZbycXkvpnUJ80ZXSbsN4UYgJTyy7z74Sp6tkIIeGckxd7MF 0VqTC7bnUn57/qd1c8W2GnBbVP1dHRsovNJek84I0SBtiYELpUrO3jGCG9dbMeqmJ37W ig== Received: from ppma06fra.de.ibm.com (48.49.7a9f.ip4.static.sl-reverse.com [159.122.73.72]) by mx0b-001b2d01.pphosted.com with ESMTP id 33hfratpyp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sun, 13 Sep 2020 07:33:14 -0400 Received: from pps.filterd (ppma06fra.de.ibm.com [127.0.0.1]) by ppma06fra.de.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 08DBXAR8000401 for ; Sun, 13 Sep 2020 11:33:12 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma06fra.de.ibm.com with ESMTP id 33hjgdr02p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sun, 13 Sep 2020 11:33:12 +0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 08DBX9YU18809122 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 13 Sep 2020 11:33:09 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7A5AA11C04C; Sun, 13 Sep 2020 11:33:09 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0674411C04A; Sun, 13 Sep 2020 11:33:09 +0000 (GMT) Received: from oc8242746057.ibm.com.com (unknown [9.171.61.140]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Sun, 13 Sep 2020 11:33:08 +0000 (GMT) From: Alexander Egorenkov To: buildroot@buildroot.org Date: Sun, 13 Sep 2020 13:32:42 +0200 Message-Id: <20200913113254.1955447-1-egorenar@linux.ibm.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-09-13_03:2020-09-10, 2020-09-13 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=15 phishscore=0 priorityscore=1501 adultscore=0 spamscore=0 mlxlogscore=269 malwarescore=0 lowpriorityscore=0 impostorscore=0 mlxscore=0 bulkscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009130101 Subject: [Buildroot] [PATCH v2 00/12] IBM s390x and Z architecture support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexander Egorenkov Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This series of patches adds support for IBM s390x and Z architectures to buildroot. v1 -> v2: * Addressed all review findings by Yann E. Morin * Split up into smaller patches to ease further review process * qemu s390x board - Clean up of qemu_s390x_defconfig - Use fixed Linux kernel version - Use in-tree Linux kernel config - Add defconfig comment to readme.txt for CI testing * s390-tools package - Improve Makefile - Add dependency on C++ toolchain (due to libvmdump) - uClibc-ng is not supported Alexander Egorenkov (12): support/gnuconfig/config.sub: bump to version 2020-06-28 arch: add the basic IBM s390x and Z arch support toolchain: add support for the internal IBM s390x and Z toolchain linux: add bzImage support for IBM s390x and Z arch board/qemu: add IBM s390x and Z arch support package/systemd: add support for IBM s390x and Z arch package/cmake: add support for IBM s390x and Z arch package/liburcu: add support for IBM s390x and Z arch package/kexec: add support for IBM s390x and Z arch package/go: add support for IBM s390x and Z arch package/makedumpfile: add support for IBM s390x and Z arch package/s390-tools: new package DEVELOPERS | 6 + Makefile | 1 + arch/Config.in | 13 + arch/Config.in.s390x | 34 ++ board/qemu/s390x/post-build.sh | 11 + board/qemu/s390x/readme.txt | 8 + configs/qemu_s390x_defconfig | 12 + linux/Config.in | 2 +- package/Config.in | 1 + package/cmake/Config.in | 3 +- package/gcc/gcc.mk | 5 + package/go/Config.in.host | 2 +- package/kexec/Config.in | 2 +- package/liburcu/Config.in | 2 +- package/makedumpfile/Config.in | 2 +- package/s390-tools/Config.in | 17 + package/s390-tools/s390-tools.hash | 3 + package/s390-tools/s390-tools.mk | 91 ++++ package/systemd/Config.in | 1 + support/gnuconfig/config.sub | 579 +++++++++++++----------- toolchain/toolchain-buildroot/Config.in | 6 +- 21 files changed, 530 insertions(+), 271 deletions(-) create mode 100644 arch/Config.in.s390x create mode 100755 board/qemu/s390x/post-build.sh create mode 100644 board/qemu/s390x/readme.txt create mode 100644 configs/qemu_s390x_defconfig create mode 100644 package/s390-tools/Config.in create mode 100644 package/s390-tools/s390-tools.hash create mode 100644 package/s390-tools/s390-tools.mk