From owner-freebsd-arm@freebsd.org Wed Apr 11 02:57:32 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 79F05F8D8AA for ; Wed, 11 Apr 2018 02:57:32 +0000 (UTC) (envelope-from curtis@orleans.occnc.com) Received: from mta1-em1.orleans.occnc.com (mta1-em1.orleans.occnc.com [IPv6:2001:470:88e6:1::141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mta1.orleans.occnc.com", Issuer "OCCNC secondary CA (ca1a2a)" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 133A36EDF7 for ; Wed, 11 Apr 2018 02:57:32 +0000 (UTC) (envelope-from curtis@orleans.occnc.com) Received: from harbor1.v6only.occnc.com (harbor1-em2.v6only.occnc.com [IPv6:2001:470:88e6:2::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: curtis@occnc.com) by mta1-em1.orleans.occnc.com (Postfix) with ESMTPSA id 550D41250E; Tue, 10 Apr 2018 22:57:31 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=orleans.occnc.com; s=curtis-orleans-20180228-204217; t=1523415451; bh=X6xfXcun8aQFbhjYWNe/Kx7QbK9HOH/qpgIEcaRhXOw=; h=To:cc:Reply-To:Subject:From:Date; b=cMZtdd4DQmPy4R4brXjeh+lIQ9r6CnlWRbj53zXsA2HYCyJRNXTezaK+ZMW+l11Gw mQO3gBhjPUnJ7kILBaMSWanAJ8QvdSttwRwlUPUbsWwxGci5z4wIPdnB+FYEHlLd7/ NS0BZp1Fk8U1Skxc7kkaMUcCZI+leZhJKwJ528tbezP4ExyKfh4a1LGqB2LOK+VNWU /WIL97dEs5CBiTPcN/6ekAMhLuK9+k4CY5gOoY5MaJ6BGrm8ivuEYSkXkqlYxLAnzD yLwICb5KPkiDski+0NqwdbZVoQRvr+EFlYSg4B55Qe6GIT0gYWOEdyM4LkN70OrUqI 7NhWf8Y2ZASIw== To: freebsd-arm@freebsd.org cc: Curtis Villamizar Reply-To: Curtis Villamizar Subject: RPi3 aka RaspberryPi3 and crochet - IMAGE_SIZE too small From: Curtis Villamizar MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13307.1523410482.1@harbor1-em2.v6only.occnc.com> Content-Transfer-Encoding: quoted-printable Date: Tue, 10 Apr 2018 21:34:42 -0400 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2018 02:57:32 -0000 FYI- Building RPi3 with crochet and FreeBSD-current (I'm using r331537) and crochet runs out of room in the imgage. Increasing from 2GB to 3GB solves this. Might be a good idea to change GENERIC to the nodebug version at some point if using current. Curtis --- crochet/board/RaspberryPi3/setup.sh.orig 2018-03-25 04:07:27.027237000= -0400 +++ crochet/board/RaspberryPi3/setup.sh 2018-03-31 19:16:43.359150000 -040= 0 @@ -2,7 +2,7 @@ RPI3_UBOOT_PORT=3D"u-boot-rpi3" RPI3_UBOOT_BIN=3D"u-boot.bin" RPI3_UBOOT_PATH=3D"/usr/local/share/u-boot/${RPI3_UBOOT_PORT}" -IMAGE_SIZE=3D$((2000 * 1000 * 1000)) +IMAGE_SIZE=3D$((3 * 1024 * 1024 * 1024)) TARGET_ARCH=3Daarch64 TARGET=3Daarch64 DTB_REPO=3D"https://github.com/raspberrypi/firmware/blob/master/boot/"