From patchwork Thu Jan 26 05:36:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 719973 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3v89f567HHz9t14 for ; Thu, 26 Jan 2017 16:37:01 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 9674B2E62C; Thu, 26 Jan 2017 05:36:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3ZguSS9nbrUR; Thu, 26 Jan 2017 05:36:51 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id D9BFA2E4BB; Thu, 26 Jan 2017 05:36:40 +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 DAEA71C0304 for ; Thu, 26 Jan 2017 05:36:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D8E7D81C49 for ; Thu, 26 Jan 2017 05:36:27 +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 FGl9gxxTwx+S for ; Thu, 26 Jan 2017 05:36:25 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mx.tkos.co.il (guitar.tcltek.co.il [192.115.133.116]) by whitealder.osuosl.org (Postfix) with ESMTPS id C05E288F93 for ; Thu, 26 Jan 2017 05:36:24 +0000 (UTC) Received: from tarshish.tkos.co.il (unknown [10.0.8.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPSA id 1A33844091D; Thu, 26 Jan 2017 07:36:22 +0200 (IST) From: Baruch Siach To: buildroot@busybox.net Date: Thu, 26 Jan 2017 07:36:06 +0200 Message-Id: <5d2c97394f64bc671c4183567db7169e3ff50804.1485408968.git.baruch@tkos.co.il> X-Mailer: git-send-email 2.11.0 In-Reply-To: <50eb8d771ad78ed54338e29b393808d251366102.1485408968.git.baruch@tkos.co.il> References: <50eb8d771ad78ed54338e29b393808d251366102.1485408968.git.baruch@tkos.co.il> Cc: Peter Seiderer Subject: [Buildroot] [PATCH 2/4] board: raspberrypi: don't generate a marked kernel X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" We no longer use the marked kernel. Cc: Peter Seiderer Signed-off-by: Baruch Siach Reviewed-by: "Yann E. MORIN" --- board/raspberrypi/post-image.sh | 5 ----- board/raspberrypi/readme.txt | 7 ++----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/board/raspberrypi/post-image.sh b/board/raspberrypi/post-image.sh index c00975288c6f..b2bb07067835 100755 --- a/board/raspberrypi/post-image.sh +++ b/board/raspberrypi/post-image.sh @@ -18,11 +18,6 @@ __EOF__ ;; esac -# Mark the kernel as DT-enabled -mkdir -p "${BINARIES_DIR}/kernel-marked" -${HOST_DIR}/usr/bin/mkknlimg "${BINARIES_DIR}/zImage" \ - "${BINARIES_DIR}/kernel-marked/zImage" - rm -rf "${GENIMAGE_TMP}" genimage \ diff --git a/board/raspberrypi/readme.txt b/board/raspberrypi/readme.txt index 03178ff95fa4..b6adca5151f6 100644 --- a/board/raspberrypi/readme.txt +++ b/board/raspberrypi/readme.txt @@ -53,7 +53,6 @@ After building, you should obtain this tree: +-- bcm2709-rpi-2-b.dtb [1] +-- bcm2710-rpi-3-b.dtb [1] +-- boot.vfat - +-- kernel-marked/zImage [2] +-- rootfs.ext4 +-- rpi-firmware/ | +-- bootcode.bin @@ -61,16 +60,14 @@ After building, you should obtain this tree: | +-- config.txt | +-- fixup.dat | +-- start.elf - | `-- overlays/ [3] + | `-- overlays/ [2] +-- sdcard.img `-- zImage [1] Not all of them will be present, depending on the RaspberryPi model you are using. -[2] This is the mkknlimg DT-marked kernel. - -[3] Only for the Raspberry Pi 3 Model (overlay pi3-miniuart-bt is needed +[2] Only for the Raspberry Pi 3 Model (overlay pi3-miniuart-bt is needed to enable the RPi3 serial console otherwise occupied by the bluetooth chip). Alternative would be to disable the serial console in cmdline.txt and /etc/inittab.