From patchwork Wed Sep 16 05:59:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Egorenkov X-Patchwork-Id: 1364922 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.138; helo=whitealder.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=ItHIn8vl; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BrqF36vkgz9sPB for ; Wed, 16 Sep 2020 15:59:51 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 69B0886DF5; Wed, 16 Sep 2020 05:59:50 +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 cpXSYIqdu+zi; Wed, 16 Sep 2020 05:59:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id E1F9C86D63; Wed, 16 Sep 2020 05:59:48 +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 92BDA1BF263 for ; Wed, 16 Sep 2020 05:59:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8F50D86D63 for ; Wed, 16 Sep 2020 05:59:47 +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 dNVO8WIqsNV7 for ; Wed, 16 Sep 2020 05:59:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by whitealder.osuosl.org (Postfix) with ESMTPS id E1B83869DA for ; Wed, 16 Sep 2020 05:59:46 +0000 (UTC) Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 08G5WYC4112665 for ; Wed, 16 Sep 2020 01:59:46 -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=j3w4tLwFGf95lkcXPz/0DWAtkH2NPgBB4n3OdeFEKWA=; b=ItHIn8vl2XaNORebgjklNokDsrtiY3jvJDICmRTAzu4HjiFXN5SMCEFKjCidG88NBZXv ZCp16Mp6GCnGIF4/JQMzRaX7XnItWvC737gd031qlEMHC4uTJABQmPOmT5YqPCZAgxd1 GlSlmQz+wrHp0m2BqdSgn5iForwjb4We1i0LWWnWmw47PKy9L531/ifF0pnvcpByG1jZ U+js0F8jh88zYSqAvhyav5QS/+tXSzXofzbW/5B6CnlS3x5YzvAzdovzwET51h9UUP1B MyHFUojstw9IhEHJQP+FWK/16RTmHXVnoHGuMivOsAYICMECWOQ4abdIDWKPHHnxA/IV Dw== Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0a-001b2d01.pphosted.com with ESMTP id 33kaqhka59-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 16 Sep 2020 01:59:46 -0400 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 08G5qEkd016780 for ; Wed, 16 Sep 2020 05:59:44 GMT Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by ppma03ams.nl.ibm.com with ESMTP id 33k6esg9rv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 16 Sep 2020 05:59:44 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 08G5xfGp24838522 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 16 Sep 2020 05:59:41 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2E7B84C04A; Wed, 16 Sep 2020 05:59:41 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E79D34C040; Wed, 16 Sep 2020 05:59:40 +0000 (GMT) Received: from oc8242746057.ibm.com.com (unknown [9.171.27.226]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 16 Sep 2020 05:59:40 +0000 (GMT) From: Alexander Egorenkov To: buildroot@buildroot.org Date: Wed, 16 Sep 2020 07:59:23 +0200 Message-Id: <20200916055934.609436-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-16_02:2020-09-15, 2020-09-16 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 phishscore=0 impostorscore=0 malwarescore=0 suspectscore=15 spamscore=0 clxscore=1015 adultscore=0 mlxlogscore=363 mlxscore=0 bulkscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009160038 Subject: [Buildroot] [PATCH v3 00/11] 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. v2 -> v3: * Addressed all review findings by Romain Naour * qemu s390x board - Linux kernel needs host OpenSSL * makedumpfile - Cosmetic improvement of dependencies * s390-tools - Clean up redundant dependencies which are brought in already by glibc 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 (11): 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 | 13 ++++ 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 | 1 + package/s390-tools/Config.in | 13 ++++ package/s390-tools/s390-tools.hash | 3 + package/s390-tools/s390-tools.mk | 91 +++++++++++++++++++++++++ package/systemd/Config.in | 1 + toolchain/toolchain-buildroot/Config.in | 6 +- 20 files changed, 210 insertions(+), 8 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