From owner-freebsd-arm@freebsd.org Sun Jul 9 02:33:25 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0350BDA94D7 for ; Sun, 9 Jul 2017 02:33:25 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-pg0-x22b.google.com (mail-pg0-x22b.google.com [IPv6:2607:f8b0:400e:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CAD8B747F7 for ; Sun, 9 Jul 2017 02:33:24 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-pg0-x22b.google.com with SMTP id j186so33569680pge.2 for ; Sat, 08 Jul 2017 19:33:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:content-transfer-encoding:message-id:date:subject:from :in-reply-to:references:to:cc; bh=IS9PZexk4NOx3zT2362TEZShXLz5aefMeY8Tl670voc=; b=fcjMt7TMBE/jCwXr/jbR6su1ykmNjJYyD4yQaAsw6eCwHiQ4bBFpaOegQRjgN2FS7d U+JHh8j7rqMPW6xXy2wcTS2ge/lQ5ImGDS5AKVGnFCx3PwAjBeBbu0UWDc8m0NYDqKHk /JnbP2MGYf2bYYBzm0ya51HjNJEYzl9lrXON7UY/wsmCBWodOGh/REXwiPWu8z/UhxFS VwO3NQZSmFb0/5FaTFvCLyG/8ywwM6gLjYt/6wz5oLHEVXUfR19YT697WeruSDub+a76 EcukUNWdaqSsQgGEfpkZgb26Z/HzxDBO4hPOwTLAD3govNP+PpzfVCPCjrmdXixmLzHb G0YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding :message-id:date:subject:from:in-reply-to:references:to:cc; bh=IS9PZexk4NOx3zT2362TEZShXLz5aefMeY8Tl670voc=; b=n9zIBMawLfkHAH2Kb6D+upEJrnzn+uSappNELa/tq8OWMkjiv0rnWvIDOQ/HeW/bb9 YjE7bRHea/+geDh6ZRuFu5AIoXAzUIM+aLL7/t05KLRmcWVA9nFM8+rwYVeTTrqU8ji9 iEVL38360wY519NWWeas01/EHvDzPzSGNLwC6yK9QbgP5nb+JlxEo6BZWKJ9fTM9vR+q 5fKJ32icL7BTDNrt/P4a+7PBbEewb0d6UN4bZHeVZUeRHltRaIblJ1ghTsMCGvssQ79D W47TrR0E8iGkr7je9DxOSdvx5gH7nU0yWOpyGVj55btolggXEXZqP1K1z+0i66zlNmgS 35xg== X-Gm-Message-State: AIVw111QJnTTFRLvPDlqbqkQk1i6GTKBXfWWoXPnfA4bU7V08nqUDQsh BVVeeD5tpCGCqA== X-Received: by 10.84.143.36 with SMTP id 33mr10865222ply.171.1499567604272; Sat, 08 Jul 2017 19:33:24 -0700 (PDT) Received: from [127.0.0.1] ([204.174.94.196]) by smtp.gmail.com with ESMTPSA id f87sm140369pfe.108.2017.07.08.19.33.21 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 08 Jul 2017 19:33:22 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: BlackBerry Email (10.3.3.2163) Message-ID: <20170709023321.6266963.39307.28470@gmail.com> Date: Sat, 08 Jul 2017 19:33:21 -0700 Subject: Re: HEADS UP: Marvell Armada 38x support in the tree From: Russell Haley In-Reply-To: References: To: Jim Thompson Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2017 02:33:25 -0000 Hi Jim, +1 for the microUSB serial=E2=80=8E. You list SATA 3 for the M2 connector. = Does the kernel support SATA 3 on the marvell chipset? Oh, and you have the clickboard slot as MicroBUS, but the link spells it Mi= kroBUS (I like mikroElectronika stuff).=C2=A0 Thanks for the great work bringing these products out.=C2=A0 Russ Sent=C2=A0from=C2=A0my=C2=A0BlackBerry=C2=A010=C2=A0smartphone=C2=A0on=C2= =A0the=C2=A0Virgin=C2=A0Mobile=C2=A0network. =C2=A0 Original Message =C2=A0 From: Jim Thompson Sent: Friday, July 7, 2017 6:11 AM To: Daniel Engberg Cc: freebsd-arm@freebsd.org Subject: Re: HEADS UP: Marvell Armada 38x support in the tree > On Jul 7, 2017, at 2:56 PM, Daniel Engberg wrote: >=20 > It would be really nice if we could have something widely available in a = case. Both Stormshield and Netgate will be offering product based on Armada 38x.=20 Here is ours: https://www.netgate.com/blog/lord-vader-your-firewall-is-ready.html Jim=20 _______________________________________________ freebsd-arm@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-arm To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Wed Jul 12 03:11:49 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3702DDB1975 for ; Wed, 12 Jul 2017 03:11:49 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1CB537686B for ; Wed, 12 Jul 2017 03:11:48 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: c98d5838-66af-11e7-a4a1-c9e62e5d9688 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound2.ore.mailhop.org (Halon) with ESMTPSA id c98d5838-66af-11e7-a4a1-c9e62e5d9688; Wed, 12 Jul 2017 03:11:24 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id v6C3Bduh044681 for ; Tue, 11 Jul 2017 21:11:39 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1499829099.45330.36.camel@freebsd.org> Subject: i2c realtime clocks now work From: Ian Lepore To: "freebsd-arm@FreeBSD.org" Date: Tue, 11 Jul 2017 21:11:39 -0600 Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2017 03:11:49 -0000 In the past it wasn't possible to use i2c rtc chips/modules on some arm boards because the i2c driver would trigger a witness assertion about sleeping while holding locks.  The only option was to use sysctl to set machdep.disable_rtc_set=1 if your board had an i2c clock. As of r320902 that restriction is removed and i2c clocks should work on all systems. -- Ian From owner-freebsd-arm@freebsd.org Wed Jul 12 09:58:48 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 66524D92EDC for ; Wed, 12 Jul 2017 09:58:48 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from fry.fubar.geek.nz (fry.fubar.geek.nz [139.59.165.16]) by mx1.freebsd.org (Postfix) with ESMTP id 36A51816D7 for ; Wed, 12 Jul 2017 09:58:46 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from [IPv6:2a02:c7f:1e13:cf00:cd79:992c:2b5:ade1] (unknown [IPv6:2a02:c7f:1e13:cf00:cd79:992c:2b5:ade1]) by fry.fubar.geek.nz (Postfix) with ESMTPSA id 638374EBA9 for ; Wed, 12 Jul 2017 09:58:10 +0000 (UTC) From: Andrew Turner Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Making PLATFORM a requirement on armv6 Message-Id: Date: Wed, 12 Jul 2017 10:58:09 +0100 To: freebsd-arm X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2017 09:58:48 -0000 Hello, I would like to make PLATFORM a requirement on armv6 as I have already = enabled it on most armv6 kernels. The old PLATFORM_SMP and MULTIDELAY = options have already been merged with this in preparation for it being = on by default. I have updated most of the kernel configurations built under the = universe target, however the Marvell configs still need to be updated. = Unfortunately they are a little more complex than the other SoCs, and as = I don=E2=80=99t have a setup to test any changes I would like help to = update this code. The advantage of using PLATFORM is it will allow us to remove the build = time checks for each SoC. This will help add the Marvell code, along = with the other ARMv7+ kernels, to be integrated into the GENERIC config, = easing future maintenance. Andrew= From owner-freebsd-arm@freebsd.org Wed Jul 12 13:48:05 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A24B1D97F9D for ; Wed, 12 Jul 2017 13:48:05 +0000 (UTC) (envelope-from gergely.czuczy@harmless.hu) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8D9063440 for ; Wed, 12 Jul 2017 13:48:05 +0000 (UTC) (envelope-from gergely.czuczy@harmless.hu) Received: by mailman.ysv.freebsd.org (Postfix) id 8A0C1D97F9B; Wed, 12 Jul 2017 13:48:05 +0000 (UTC) Delivered-To: arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 87831D97F9A; Wed, 12 Jul 2017 13:48:05 +0000 (UTC) (envelope-from gergely.czuczy@harmless.hu) Received: from marvin.harmless.hu (marvin.harmless.hu [195.56.55.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48FD3343E; Wed, 12 Jul 2017 13:48:04 +0000 (UTC) (envelope-from gergely.czuczy@harmless.hu) Received: from business-89-133-214-251.business.broadband.hu ([89.133.214.251] helo=[10.160.11.182]) by marvin.harmless.hu with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.88 (FreeBSD)) (envelope-from ) id 1dVHzg-0006m4-Gw; Wed, 12 Jul 2017 13:47:56 +0000 Subject: strip: elf_strptr failed: Invalid argument References: To: ports@freebsd.org, arm@freebsd.org From: Gergely Czuczy X-Forwarded-Message-Id: Message-ID: <11b6936c-711c-87b4-9ecc-41ffc465c131@harmless.hu> Date: Wed, 12 Jul 2017 15:47:55 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2017 13:48:05 -0000 Hello, I'm trying to build packages on an rpi3, on a freshly build image (with crochet), and when it's trying to build pkg from ports, I'm getting the following error message: libtool: link: cc -D_BSD_SOURCE -I../libpkg -I../libpkg -I../compat -I../external/libucl/klib -I../external/uthash -I../external/expat/lib -DGITHASH=\"\" -O2 -pipe -Wno-error -fno-strict-aliasing -Wall -Wno-unused-function -D_BSD_SOURCE -DINET6=1 -Wl,--enable-new-dtags -o .libs/pkg pkg-add.o pkg-alias.o pkg-annotate.o pkg-audit.o pkg-autoremove.o pkg-backup.o pkg-check.o pkg-clean.o pkg-config.o pkg-convert.o pkg-create.o pkg-delete.o pkg-event.o pkg-fetch.o pkg-globals.o pkg-info.o pkg-install.o pkg-lock.o pkg-main.o pkg-plugins.o pkg-query.o pkg-register.o pkg-repo.o pkg-rquery.o pkg-search.o pkg-set.o pkg-shell.o pkg-shlib.o pkg-ssh.o pkg-stats.o pkg-update.o pkg-updating.o pkg-upgrade.o pkg-utils.o pkg-version.o pkg-which.o ../libpkg/.libs/libpkg.so ../compat/.libs/libbsd_compat.a -lutil -lssl -lcrypto -lm -lelf -ljail -larchive -lz -lbz2 -llzma -Wl,-rpath -Wl,/usr/local/lib /bin/mkdir -p '/usr/ports/ports-mgmt/pkg/work/stage/usr/local/etc' install -m 0644 pkg.conf.sample '/usr/ports/ports-mgmt/pkg/work/stage/usr/local/etc' /bin/mkdir -p '/usr/ports/ports-mgmt/pkg/work/stage/usr/local/sbin' STRIPPROG='strip' /bin/sh ../libtool --mode=install /bin/sh /usr/ports/ports-mgmt/pkg/work/pkg-1.10.1/install-sh -c -s pkg-static pkg '/usr/ports/ports-mgmt/pkg/work/stage/usr/local/sbin' libtool: install: /bin/sh /usr/ports/ports-mgmt/pkg/work/pkg-1.10.1/install-sh -c -s pkg-static /usr/ports/ports-mgmt/pkg/work/stage/usr/local/sbin/pkg-static strip: elf_strptr failed: Invalid argument *** Error code 1 Stop. make[5]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.10.1/src *** Error code 1 Strange part, it says it's stripped already: root@build:/usr/ports/ports-mgmt/pkg # file -s ./work/pkg-1.10.1/src/pkg-static ./work/pkg-1.10.1/src/pkg-static: ELF 64-bit LSB executable, ARM aarch64, version 1 (FreeBSD), statically linked, stripped However, trying to strip(1) manually reproduces the error: # strip ~/pkg-static.1 strip: elf_strptr failed: Invalid argument ktrace didn't reveal anything about the failing elf_strptr(3) call. The system is: FreeBSD build.aegir 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r320657: Tue Jul 4 22:28:33 CEST 2017 aegir@marvin.harmless.hu:/tank/rpi3/crochet/work/obj/arm64.aarch64/tank/rpi3/src/sys/AEGIR arm64 Could someone please help me with this? I don't really know how to solve this, or where to start looking. Usually building pkg works out of box. Best regards, Gergely From owner-freebsd-arm@freebsd.org Wed Jul 12 18:04:53 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CA11BD9F788 for ; Wed, 12 Jul 2017 18:04:53 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5FF2E71138 for ; Wed, 12 Jul 2017 18:04:53 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id 62so1866498wmw.1 for ; Wed, 12 Jul 2017 11:04:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=F/fPShINaw5Uj8jZyFdYx/sQIpOpoMz4oBbp6pcsUqo=; b=MlqP3g1+//QSr2p9hpx/xfkzoK0PkHFRoglm/p11lNjurdmydysU1SBOuzfAfUIr+c IE5lxUSrXVNSX3YhivhbqT1NHoNFI0b0FUeaVO7a9OrqxPYVQg/eDrUTw2MnqiE3z6/3 pju5eBIX6Gqmx6pg6S+0HVxH/AG5TqOqH8wDyjt566hxZmxvyYe19QuE5qgwzaDXMruS iKyNdJ4G0s+c6vqnHmFn0+VFj2D8wqT8KvruKilpDOq17637RYR0Az46lnxP6zYld0Qo FrWZeWmqGy9neiqpHPcChkPgUawg+yw3ThXURNb3QWJgJwVD1U6n2kHUo54B+mWSnOpS nGqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=F/fPShINaw5Uj8jZyFdYx/sQIpOpoMz4oBbp6pcsUqo=; b=TJjaDbo2fMW+RtjMWCip1d+D7pjIpAywllL9xFJ7G+XhH5+iBQeaOk2hj685CCvLGW GPv42Z51HnQ9hQW5qzMNq2lHV2JhogN72SZcTKO4I0fBt/2N18N9KD+6PzEUMQygvU2f lA7WHsWegYV08KATtspmp3XPkf6xKvNt7AFk59hrJAfeYLMe3Xlltn4ZvVx/EyvnierX suhFJ+vd3D+1x70mE26Ds8i2YPsU10nMIx7eOedOA0UyzLYXGILFVwR53cHaQy8qbXDL 7+86Vk3/PdW4eiijMbHYD2x4C8mujP7k83S5grX87tZV21qJ7hx9ZMzwyXXQmpXOdT+E LgYw== X-Gm-Message-State: AIVw110LrrGW3o+xt4yXJ2aK9P4i1LXkREnF4hY6Biy560aVZLW6uY9U igAPd9OOy2DejYcJhIRn3pTN/t3OZiki X-Received: by 10.80.194.210 with SMTP id u18mr7073443edf.89.1499882691524; Wed, 12 Jul 2017 11:04:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.186.125 with HTTP; Wed, 12 Jul 2017 11:04:50 -0700 (PDT) In-Reply-To: References: From: Luiz Otavio O Souza Date: Wed, 12 Jul 2017 15:04:50 -0300 Message-ID: Subject: Re: Making PLATFORM a requirement on armv6 To: Andrew Turner Cc: freebsd-arm Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2017 18:04:53 -0000 On 12 July 2017 at 06:58, Andrew Turner wrote: > Hello, > > I would like to make PLATFORM a requirement on armv6 as I have already en= abled it on most armv6 kernels. The old PLATFORM_SMP and MULTIDELAY options= have already been merged with this in preparation for it being on by defau= lt. > > I have updated most of the kernel configurations built under the universe= target, however the Marvell configs still need to be updated. Unfortunatel= y they are a little more complex than the other SoCs, and as I don=E2=80=99= t have a setup to test any changes I would like help to update this code. > > The advantage of using PLATFORM is it will allow us to remove the build t= ime checks for each SoC. This will help add the Marvell code, along with th= e other ARMv7+ kernels, to be integrated into the GENERIC config, easing fu= ture maintenance. Hey Andrew, I've started port the ARMADA38X support to use the PLATFORM methods and I can help with this one, but I don't have hardware to help with ARMADAXP and the older SoCs. Luiz From owner-freebsd-arm@freebsd.org Thu Jul 13 01:00:01 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A07BDA9B5C for ; Thu, 13 Jul 2017 01:00:01 +0000 (UTC) (envelope-from unto.foru13@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B945B7F54B for ; Thu, 13 Jul 2017 01:00:00 +0000 (UTC) (envelope-from unto.foru13@gmail.com) Received: by mail-wm0-x22f.google.com with SMTP id i127so10022449wma.0 for ; Wed, 12 Jul 2017 18:00:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=5i8nbqAW47ctF8sriy7fKGITmf6sq6NOrLhE778riM4=; b=NspjaQM6DwhR6UCOISh2UDCFVq/vUBj1XEQZ4FjyAyN4wbap4Kb7Ud0XvC4TyCxSpH IWrKsrIWbTL1vkpqXEZnH5BfRIK+mJHJPpit78lqdId0GQBSLQz+OrMvaNctftEvT900 E2v351yFohZu+EkF9bGl+BmJyMv10MykSdTQYlOazpTbsdRtvmM+j6zkpDTySns6PRNA 3N0rAJxNOi6uK+0v9opHEbX7akYZO3QfgWyC9jRQByilGWTNRROsAbPkfVWfBfTAA31q 1LuW028NL9hIIozfNSwiRDX+pYNaqrCGby8cVDvXHUO0Xv2P8dRYWJOYwM8OYYd6RKN0 n8oA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=5i8nbqAW47ctF8sriy7fKGITmf6sq6NOrLhE778riM4=; b=P2YiUdOYVtReU5ds8aUceGvuecBKr3Ag/dnDz4ysFECto3yv/ewOyS6nyUie/hTABr jwHjFVqY5eYdeQINGzePITAn1NGrIG39uEg6IVP8pjgXieC+7G4tQuFxWbqpW3SP/BDe S20E7k1RfDA6nwy+tYd5qremSMD56NaLXFCBO+VHEdNMDaKaR7XBgprkjUoZYnK39/dg C8NBqX8X/EjLI/ZG9Fk6dcs2kj3egXbBCyDzwYfsnBYtSItuewzg55KvLHBnv3/iSkLF ZlBOMm37EBiKHM0WbMMHEkGi6kGGyrALyajVNh0YpnZzl0Xcad4mh79nFC2qJVib5U/y Zhtg== X-Gm-Message-State: AIVw1136KKrpj8JSVvIUgvmGvjwKtkBDaEzQtTgYePU0C1WMuD4nLYay mUoSjxfU9wsNAM+/whai+0QXAwfWgrEj X-Received: by 10.80.192.154 with SMTP id k26mr826872edf.136.1499907598647; Wed, 12 Jul 2017 17:59:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.208.154 with HTTP; Wed, 12 Jul 2017 17:59:58 -0700 (PDT) From: =?UTF-8?B?6Zi/6YeR?= Date: Thu, 13 Jul 2017 08:59:58 +0800 Message-ID: Subject: Orange one compile uboot problem To: freebsd-arm@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2017 01:00:01 -0000 gmake menuconfig Doesn't see "Enable FreeBSD boot" option??? In freebsd-arm Digest, Vol 583, Issue 6 ---------------------------------------------- Step to compile U-Boot: export CROSS_COMPILE=arm-none-eabi- gmake board_defconfig gmake menuconfig (and select "Enable FreeBSD boot") gmake ------------------------------------------------------- I follow Vadot's U-Boot step,but at gmake menuconfig. Doesn't see "Enable FreeBSD boot" option??? below is my step: git clone https://github.com/evadot/u-boot.git cd u-boot git checkout setenv CROSS_COMPILE arm-none-linux-gnueabi- gmake orangepi_one_defconfig gmake menuconfig(Doesn't see "Enable FreeBSD boot" option???) gmake From owner-freebsd-arm@freebsd.org Thu Jul 13 14:34:19 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D3C1DA4396 for ; Thu, 13 Jul 2017 14:34:19 +0000 (UTC) (envelope-from sven.reber@nbt.ag) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 35F647A3CF for ; Thu, 13 Jul 2017 14:34:17 +0000 (UTC) (envelope-from sven.reber@nbt.ag) Received: by mail-wm0-x234.google.com with SMTP id f67so28204179wmh.1 for ; Thu, 13 Jul 2017 07:34:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nbt-ag.20150623.gappssmtp.com; s=20150623; h=from:date:to:subject:message-id:organization:mime-version :content-transfer-encoding; bh=hdR2wwlLXqoMoH0tEO5IQNzAJtIFy2HpwwPfSjwfBc4=; b=VkT/RdjJZNFWlgFF8Juqj8hOgf6FdX/gZUp4W+CCMcCFmJrk5ZAhOqA0qpKTNDIx0w x9ypUfwV72uCia2xt6sACHvqq7InoibSTgAkUhn8Qcrmr9BUT5pE37toKovQD4VOoGbD xTEllju1ZlatRDEYkU0e2zSEHHniQVaCcV5uBnUY9EYeCHkMHdytLaPcOaTkwejbShRw fTKJjJUkgBZJ0Z+XkynN396C3AcyXHsRd4vGfPz2pLJbladTHnWylO1vtWcSTGzh0Nmb mvPBu1MkSxFbwUH//xxmQEcP13t1pafqe2Moyvjziy5HNSqSMLY7OLfy3G8RB65RrLcg EZig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:subject:message-id:organization :mime-version:content-transfer-encoding; bh=hdR2wwlLXqoMoH0tEO5IQNzAJtIFy2HpwwPfSjwfBc4=; b=htkNtvpJzM3qcyn99YOXguiFCgk28QnaLohB0sl3MUVurYy5EcImLVro1BUginaPHK L71jBypYDgE33ttStQeOj3GmT6DLUnnIX86UMhkKo/82V6TckVRu0HNHVfOSGUbHvjZr mGYqld0cHMtlUW+uQRUXtiCvgyoXE2TIScW+MMztZubEwKi49jtEFFjUMXwUhigg327Q HNMX1UoOXBaBsqvh/tTlFmw0sinixCKYVvmhAnlMLvCAIY8zbKDSmPMuf2ZJx7x9mA/k L19O01OI0ka8uLAIIGmT8nFi9aW8IL37z2b8vJkUxVIOLoF6R85iXQ7yg7pja7ALZ71U cyYw== X-Gm-Message-State: AIVw1101H50KDPC0SMx14uH/9nSsPTiOXAcueZV3r1aAlxEf+Vv1Y2U1 VelI7hpyRQPPWzF1p6DAKA== X-Received: by 10.28.149.209 with SMTP id x200mr2354323wmd.91.1499956453616; Thu, 13 Jul 2017 07:34:13 -0700 (PDT) Received: from unixbase (dslb-088-073-057-180.088.073.pools.vodafone-ip.de. [88.73.57.180]) by smtp.gmail.com with ESMTPSA id p7sm6907981wmf.11.2017.07.13.07.34.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jul 2017 07:34:13 -0700 (PDT) From: sVx X-Google-Original-From: sVx Date: Thu, 13 Jul 2017 16:34:03 +0200 To: freebsd-arm@freebsd.org Subject: RaspberryPi 3 freezes on single user mode (init 1) Message-ID: <20170713163403.10ef76b0@unixbase> Organization: NextBigThing X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2017 14:34:19 -0000 Hi, I've installed RaspBSD (FreeBSD-aarch64-12.0-GENERIC-320146M.img) on an 4 GB microSD-Card for a RaspberryPi 3. So far it boots and runs fine but I would like to expand the root slice (the only slice) over the full disk space but I cannot enter single user mode. Un-commenting in /etc/rc.conf 'growfs_enable="YES"' and rebooting has no effect. So I tried the manual way via `gpart resize /dev/mmcsd0s2` but growfs(8) cannot expand root because root is mounted -- I guess. So I tried `init 1` which just directly freezes the system as well as `nextboot -o "-s" -k kernel` which hangs right after detecting the keyboard. Guess in both cases it just freezes. Don't know what are the dos and doen'ts for mailing lists and I felt uncomfortable to put the full dmesg into the email. So I've uploaded it here so far to http://textuploader.com/dku3j (So in case you expect it to be directly on the mailing list I can still send it.) Don't know what else to supply because I cannot even see a core dump. (Only checked in root directory.) Anyway for obvious reasons the dmesg is from from multiuser but I Could supply a real screen shot for example. How do you proceed from here or what do I miss maybe? Best regards sVx From owner-freebsd-arm@freebsd.org Thu Jul 13 15:25:15 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D0C7DA66D6 for ; Thu, 13 Jul 2017 15:25:15 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [69.239.235.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 28C877C196 for ; Thu, 13 Jul 2017 15:25:14 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id v6DEvN3s059857 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 13 Jul 2017 07:57:24 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id v6DEvNc8059856; Thu, 13 Jul 2017 07:57:23 -0700 (PDT) (envelope-from fbsd) Date: Thu, 13 Jul 2017 07:57:22 -0700 From: bob prohaska To: sVx Cc: freebsd-arm@freebsd.org, bob prohaska Subject: Re: RaspberryPi 3 freezes on single user mode (init 1) Message-ID: <20170713145722.GA59826@www.zefox.net> References: <20170713163403.10ef76b0@unixbase> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170713163403.10ef76b0@unixbase> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2017 15:25:15 -0000 On Thu, Jul 13, 2017 at 04:34:03PM +0200, sVx wrote: > I've installed RaspBSD (FreeBSD-aarch64-12.0-GENERIC-320146M.img) on an > 4 GB microSD-Card for a RaspberryPi 3. So far it boots and runs fine but I would like to expand the root slice (the only slice) > over the full disk space but I cannot enter single user mode. > Far as I know single user requires a serial console. I'd be pleased to learn I'm wrong. hth, bob prohaska From owner-freebsd-arm@freebsd.org Thu Jul 13 15:40:45 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2841EDA6B65 for ; Thu, 13 Jul 2017 15:40:45 +0000 (UTC) (envelope-from karl@denninger.net) Received: from colo1.denninger.net (colo1.denninger.net [67.205.158.196]) by mx1.freebsd.org (Postfix) with ESMTP id F16B27C908 for ; Thu, 13 Jul 2017 15:40:44 +0000 (UTC) (envelope-from karl@denninger.net) Received: from denninger.net (ip68-1-57-197.pn.at.cox.net [68.1.57.197]) by colo1.denninger.net (Postfix) with ESMTP id 8BA90274B1 for ; Thu, 13 Jul 2017 11:31:18 -0400 (EDT) Received: from [IPv6:2602:30a:2c6a:a7e0:4da6:fe05:256:b1ce] (unknown [IPv6:2602:30a:2c6a:a7e0:4da6:fe05:256:b1ce]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by denninger.net (Postfix) with ESMTPSA id 7FE34294059 for ; Thu, 13 Jul 2017 10:31:16 -0500 (CDT) Subject: Re: RaspberryPi 3 freezes on single user mode (init 1) References: <20170713163403.10ef76b0@unixbase> <20170713145722.GA59826@www.zefox.net> To: freebsd-arm@freebsd.org From: Karl Denninger Message-ID: Date: Thu, 13 Jul 2017 10:31:12 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170713145722.GA59826@www.zefox.net> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-512; boundary="------------ms090502010103070903010104" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2017 15:40:45 -0000 This is a cryptographically signed message in MIME format. --------------ms090502010103070903010104 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 7/13/2017 09:57, bob prohaska wrote: > On Thu, Jul 13, 2017 at 04:34:03PM +0200, sVx wrote: >> I've installed RaspBSD (FreeBSD-aarch64-12.0-GENERIC-320146M.img) on a= n >> 4 GB microSD-Card for a RaspberryPi 3. So far it boots and runs fine b= ut I would like to expand the root slice (the only slice) >> over the full disk space but I cannot enter single user mode. >> > Far as I know single user requires a serial console. I'd be pleased to > learn I'm wrong. > > That is correct; you need a serial console cable both for single-user and to interact with the boot process, should it be necessary (e.g. problems that prevent coming up in multiuser, such as a corrupt SD card that fdisk cannot automatically fix, issues that preclude reading the card or the slice table normally, bad /etc/fstab file, etc) --=20 Karl Denninger karl@denninger.net /The Market Ticker/ --------------ms090502010103070903010104 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgMFADCABgkqhkiG9w0BBwEAAKCC BlwwggZYMIIEQKADAgECAgE9MA0GCSqGSIb3DQEBCwUAMIGQMQswCQYDVQQGEwJVUzEQMA4G A1UECBMHRmxvcmlkYTESMBAGA1UEBxMJTmljZXZpbGxlMRkwFwYDVQQKExBDdWRhIFN5c3Rl bXMgTExDMRwwGgYDVQQDExNDdWRhIFN5c3RlbXMgTExDIENBMSIwIAYJKoZIhvcNAQkBFhND dWRhIFN5c3RlbXMgTExDIENBMB4XDTE2MTIxODE5NDUzNVoXDTIxMTIxNzE5NDUzNVowVzEL MAkGA1UEBhMCVVMxEDAOBgNVBAgTB0Zsb3JpZGExGTAXBgNVBAoTEEN1ZGEgU3lzdGVtcyBM TEMxGzAZBgNVBAMUEmthcmxAZGVubmluZ2VyLm5ldDCCAiIwDQYJKoZIhvcNAQEBBQADggIP ADCCAgoCggIBAM2N5maxs7NkoY9g5NMxFWll0TYiO7gXrGZTo3q25ZJgNdPMwrntLz/5ewE9 07TEbwJ3ah/Ep9BfZm7JF9vTtE1HkgKtXNKi0pawNGm1Yn26Dz5AbUr1byby6dFtDJr14E07 trzDCtRRvTkOVSBj6PQPal0fAnDtkIYQBVcuMkXkuMCtyfE95pjm8g4K9l7lAcKii3T1/3rE hCc1o2nBnb7EN1/XwBeCDGB+I2SN/ftZDbKQqGAF5q9dUn+iXU7Z/CVSfUWmhVh6cVZA4Ftv TglUqj410OuPx+cUQch3h1kFgsuhQR63HiJc3HbRJllHsV0rihvL1CjeARQkhnA6uY9NLFST p5I/PfzBzW2MSmtN/tGZvmfKKnmtbfUNgkzbIR1K3lsum+yEL71kB93Xtz/4f1demEx5c8TJ RBIniDHjDeLGK1aoBu8nfnvXAvgthFNTWBOEoR49AHEPjC3kZj0l8JQml1Y8bTQD5gtC5txl klO60WV0EufU7Hy9CmynMuFtjiA2v71pm097rXeCdrAKgisdYeEESB+SFrlY65rLiLv4n8o1 PX7DqRfqKkOYIakZ0ug/yHVKcq2EM3RiJxwzls5gT70CoOBlKbrC98O8TA6teON0Jq30M06t NTI2HhvNbJDLbBH+Awf4h1UKB+0ufENwjVvF5Jfz8Ww/FaSDAgMBAAGjgfQwgfEwNwYIKwYB BQUHAQEEKzApMCcGCCsGAQUFBzABhhtodHRwOi8vY3VkYXN5c3RlbXMubmV0Ojg4ODgwCQYD VR0TBAIwADARBglghkgBhvhCAQEEBAMCBaAwCwYDVR0PBAQDAgXgMCwGCWCGSAGG+EIBDQQf Fh1PcGVuU1NMIEdlbmVyYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQUpfAI3y+751pp9A0w 6vJHx8RoR/MwHwYDVR0jBBgwFoAUJHGbnYV9/N3dvbDKkpQDofrTbTUwHQYDVR0RBBYwFIES a2FybEBkZW5uaW5nZXIubmV0MA0GCSqGSIb3DQEBCwUAA4ICAQBiB6MlugxYJdccD8boZ/u8 d8VxmLkJCtbfyYHRjYdyoABLW5hE3k3xSpYCM9L7vzWyV/UWwDYKi4ZzxHo4g+jG/GQZfKhx v38BQjL2G9xD0Hn2d+cygOq3UPjVYlbbfQoew6JbyCFXrrZ7/0jvRMLAN2+bRC7ynaFUixPH Whnj9JSH7ieYdzak8KN+G2coIC2t2iyfXVKehzi5gdNQ0vJ7+ypbGsRm4gE8Mdo9N/WgFPvZ HPFqR9Dwas7Z+aHwOabpk5r/336SyjOaZsn3MqKJQZL6GqDKusVOCWt+9uFAD8kadg7FetZe atIoD9I+zbp59oVoMnkMDMx7Hi85faU03csusqMGsjSsAzWSI1N8PJytZlchLiykokLKc3OL G87QKlErotlou7cfPX2BbEAH5wmkj9oiqZhxIL/wwAUA+PkiTbEmksKBNompSjUq/6UsR8EA s74gnu17lmijv8mrg2qMlwRirE7qG8pnE8egLtCDxcjd0Of9WMi2NJskn0/ovC7P+J60Napl m3ZIgPJst1piYSE0Zc1FIat4fFphMfK5v4iLblo1tFSlkdx1UNDGdg/U+LaXkNVXlMp8fyPm R80V6cIrCAlEWnBJNxG1UyfbbsvNMCCZBM4faGGsR/hhQOiydlruxhjL6P8J2WV8p11DdeGx KymWoil2s1J5WTGCBRMwggUPAgEBMIGWMIGQMQswCQYDVQQGEwJVUzEQMA4GA1UECBMHRmxv cmlkYTESMBAGA1UEBxMJTmljZXZpbGxlMRkwFwYDVQQKExBDdWRhIFN5c3RlbXMgTExDMRww GgYDVQQDExNDdWRhIFN5c3RlbXMgTExDIENBMSIwIAYJKoZIhvcNAQkBFhNDdWRhIFN5c3Rl bXMgTExDIENBAgE9MA0GCWCGSAFlAwQCAwUAoIICTTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcN AQcBMBwGCSqGSIb3DQEJBTEPFw0xNzA3MTMxNTMxMTJaME8GCSqGSIb3DQEJBDFCBECE1k9N 9/YwTWSzsE/vQomeQUjLSM0qpYxyUQUTz9o+q5L+OSyQeCWDB1FJPwT9VXFS16vrkfIlunVa Af5OhZeYMGwGCSqGSIb3DQEJDzFfMF0wCwYJYIZIAWUDBAEqMAsGCWCGSAFlAwQBAjAKBggq hkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZI hvcNAwICASgwgacGCSsGAQQBgjcQBDGBmTCBljCBkDELMAkGA1UEBhMCVVMxEDAOBgNVBAgT B0Zsb3JpZGExEjAQBgNVBAcTCU5pY2V2aWxsZTEZMBcGA1UEChMQQ3VkYSBTeXN0ZW1zIExM QzEcMBoGA1UEAxMTQ3VkYSBTeXN0ZW1zIExMQyBDQTEiMCAGCSqGSIb3DQEJARYTQ3VkYSBT eXN0ZW1zIExMQyBDQQIBPTCBqQYLKoZIhvcNAQkQAgsxgZmggZYwgZAxCzAJBgNVBAYTAlVT MRAwDgYDVQQIEwdGbG9yaWRhMRIwEAYDVQQHEwlOaWNldmlsbGUxGTAXBgNVBAoTEEN1ZGEg U3lzdGVtcyBMTEMxHDAaBgNVBAMTE0N1ZGEgU3lzdGVtcyBMTEMgQ0ExIjAgBgkqhkiG9w0B CQEWE0N1ZGEgU3lzdGVtcyBMTEMgQ0ECAT0wDQYJKoZIhvcNAQEBBQAEggIAxlaUbmcBK8zb llaYUKPwRHN/llw9DgDzAE6P0V4ObdWlLaGBglsX3WIfTwouBXZteu2jisQ05rVuyS8OlJZM bRsTK6UwinJMrhKzsZZxkWZgkBDSEkTw5lGoY3MTh1KKFYw2tYTHOsSolQjyhv+OtiLdSwJm 0hHAjxxB7IeZgltNjeFmjrokPZXridYAm+pumUO8/WKRVlZQlorCBZrg1Z2euwJwzzqluGyx 3ozlspHZbS+PntZFEaIQD1chpWHb1mZhGF9/4YkFgy2RhX2O1fub/9v6UcYBIklMSTJRwhCE G3PH3yDcN5wf4TYD3PU6XDTcM5oTEcTMKHSebNhvEXmXnW7MDb/FW3bsodEigpB7ybfRycTi xsOcfKgNQTik2b+T9+d8w37suV9Xsy31t5kp5q2n/LPkpxPn3smul0kESGU/5CSw7SzPB+Gs VSrHNINznjFMdWh/oT71DWYgzT3FHGno+9v+6T0P86HP30Obs5yQN0yR8qgMywH4qVkMc9TR nOjvOy32vpTGTL7fIfHlUTjauoh0GMJvu4NSXJal1vxVcwsQLQxDQ/Eq1JZxK+9jQ7lrlMNs HzkyJ0+4aZEh2e9n9taV8Lu4ZLC+7l53r9mxx3e+CUbtHsnwTWsqi1AXAU+PMqly8Pn6FSvV mmUm2NHlQEUUf75WQcMiwmoAAAAAAAA= --------------ms090502010103070903010104-- From owner-freebsd-arm@freebsd.org Thu Jul 13 15:51:51 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D6F66DA72AD for ; Thu, 13 Jul 2017 15:51:51 +0000 (UTC) (envelope-from carlj@peak.org) Received: from filter06.peak.org (filter06.peak.org [69.59.194.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B1AD27D1C4 for ; Thu, 13 Jul 2017 15:51:51 +0000 (UTC) (envelope-from carlj@peak.org) Received: from zmail-mta02.peak.org ([207.55.16.112]) by filter06.peak.org ({0c47b2c3-829a-4f18-b445-de68be8d048d}) via TCP (outbound) with ESMTPS id 20170713154813721_0000 for ; Thu, 13 Jul 2017 08:48:13 -0700 X-RC-FROM: X-RC-RCPT: Received: from zmail-mta02.peak.org (localhost [127.0.0.1]) by zmail-mta02.peak.org (Postfix) with ESMTPS id 456C84CC5D for ; Thu, 13 Jul 2017 08:48:08 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zmail-mta02.peak.org (Postfix) with ESMTP id 2B0124CDE6 for ; Thu, 13 Jul 2017 08:48:08 -0700 (PDT) Received: from zmail-mta02.peak.org ([127.0.0.1]) by localhost (zmail-mta02.peak.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id gWJ_84ykwrB2 for ; Thu, 13 Jul 2017 08:48:08 -0700 (PDT) Received: from mailproxy-lb-06.peak.org (mailproxy-lb-06.peak.org [207.55.17.96]) by zmail-mta02.peak.org (Postfix) with ESMTP id EB79F4CC5D for ; Thu, 13 Jul 2017 08:48:07 -0700 (PDT) Received: from carlj by elm.localnet with local (Exim 4.89 (FreeBSD)) (envelope-from ) id 1dVgLW-0007TN-I7 for freebsd-arm@freebsd.org; Thu, 13 Jul 2017 08:48:06 -0700 From: Carl Johnson To: freebsd-arm@freebsd.org Subject: Re: RaspberryPi 3 freezes on single user mode (init 1) References: <20170713163403.10ef76b0@unixbase> X-Clacks-Overhead: GNU Terry Pratchett Date: Thu, 13 Jul 2017 08:48:06 -0700 In-Reply-To: <20170713163403.10ef76b0@unixbase> (sVx's message of "Thu, 13 Jul 2017 16:34:03 +0200") Message-ID: <86bmoouymh.fsf@elm.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-MAG-OUTBOUND: peakinternet.redcondor.net@207.55.16/22 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2017 15:51:51 -0000 sVx writes: > Hi, > > I've installed RaspBSD (FreeBSD-aarch64-12.0-GENERIC-320146M.img) on an > 4 GB microSD-Card for a RaspberryPi 3. So far it boots and runs fine > but I would like to expand the root slice (the only slice) > over the full disk space but I cannot enter single user mode. > > Un-commenting in /etc/rc.conf 'growfs_enable="YES"' and rebooting has no > effect. So I tried the manual way via `gpart resize /dev/mmcsd0s2` but > growfs(8) cannot expand root because root is mounted -- I guess. So I > tried `init 1` which just directly freezes the system as well as > `nextboot -o "-s" -k kernel` which hangs right after detecting the > keyboard. Guess in both cases it just freezes. > > Don't know what are the dos and doen'ts for mailing lists and I > felt uncomfortable to put the full dmesg into the email. So I've > uploaded it here so far to http://textuploader.com/dku3j (So in case > you expect it to be directly on the mailing list I can still send it.) > Don't know what else to supply because I cannot even see a core dump. > (Only checked in root directory.) > > Anyway for obvious reasons the dmesg is from from multiuser but I Could > supply a real screen shot for example. > > How do you proceed from here or what do I miss maybe? I think that you need a serial console as somebody already mentioned, but I think that you can force firstboot actions. I think that you can just create a /firstboot file and reboot. The growfs operation should run as long as you have the growfs_enable still enabled. I don't know any of this, but it should be easy to test. -- Carl Johnson carlj@peak.org From owner-freebsd-arm@freebsd.org Thu Jul 13 19:42:02 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE171DAC9B5 for ; Thu, 13 Jul 2017 19:42:02 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 920111CA9 for ; Thu, 13 Jul 2017 19:42:02 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [IPv6:2003:cd:6bca:aa00:b0e3:7ca9:5b72:99a8] (p200300CD6BCAAA00B0E37CA95B7299A8.dip0.t-ipconnect.de [IPv6:2003:cd:6bca:aa00:b0e3:7ca9:5b72:99a8]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id 75630721E282E for ; Thu, 13 Jul 2017 21:41:51 +0200 (CEST) From: Michael Tuexen Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: RPi3 doesn't boot r320947 Message-Id: Date: Thu, 13 Jul 2017 21:41:50 +0200 To: freebsd-arm X-Mailer: Apple Mail (2.3273) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2017 19:42:03 -0000 Dear all, I installed = https://download.freebsd.org/ftp/snapshots/arm64/aarch64/ISO-IMAGES/12.0/F= reeBSD-12.0-CURRENT-arm64-aarch64-RPI3-20170710-r320869.img.xz on an SD card without any problems, built several packages and finally = compiled a GENERIC-NODEBUG head kernel of today on the RPi3. After installing it, it doesn't boot. On the serial console I get: Using DTB provided by EFI at 0x8004000. KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2017 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights = reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 12.0-CURRENT #0 r320947: Thu Jul 13 18:35:01 CEST 2017 tuexen@generic:/home/tuexen/head/sys/arm64/compile/GENERIC-NODEBUG = arm64 FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on = LLVM 4.0.0) VT: init without driver. Starting CPU 1 (1) Starting CPU 2 (2) Starting CPU 3 (3) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs random: unblocking device. random: entropy device external interface kbd0 at kbdmux0 ofwbus0: simplebus0: on ofwbus0 ofw_clkbus0: on ofwbus0 clk_fixed0: on ofw_clkbus0 clk_fixed1: on ofw_clkbus0 regfix0: on ofwbus0 regfix1: on ofwbus0 psci0: on ofwbus0 local_intc0: mem 0x40000000-0x400000ff on = simplebus0 intc0: mem 0x7e00b200-0x7e00b3ff irq 16 = on simplebus0 generic_timer0: irq 47,48,49,50 on simplebus0 Timecounter "ARM MPCore Timecounter" frequency 19200000 Hz quality 1000 Event timer "ARM MPCore Eventtimer" frequency 19200000 Hz quality 1000 bcm_dma0: mem 0x7e007000-0x7e007eff irq = 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 on simplebus0 bcmwd0: mem 0x7e100000-0x7e100027 on simplebus0 mbox0: mem 0x7e00b880-0x7e00b8bf irq 17 on = simplebus0 gpio0: mem 0x7e200000-0x7e2000b3 irq = 18,19 on simplebus0 gpiobus0: on gpio0 gpioc0: on gpio0 uart0: mem 0x7e201000-0x7e201fff irq 20 on = simplebus0 uart0: console (115200,n,8,1) spi0: mem 0x7e204000-0x7e204fff irq 21 on = simplebus0 spibus0: on spi0 spibus0: at cs 0 mode 0 spibus0: at cs 1 mode 0 iichb0: mem 0x7e804000-0x7e804fff irq 32 = on simplebus0 iicbus0: on iichb0 iic0: on iicbus0 bcm283x_dwcotg0: mem = 0x7e980000-0x7e98ffff,0x7e006000-0x7e006fff irq 38,39 on simplebus0 usbus0 on bcm283x_dwcotg0 sdhci_bcm0: mem 0x7e300000-0x7e3000ff = irq 42 on simplebus0 mmc0: on sdhci_bcm0 fb0: on simplebus0 fbd0 on fb0 VT: initialize with new VT driver "fb". fb0: 656x416(656x416@0,0) 24bpp fb0: fbswap: 1, pitch 1968, base 0x3db33000, screen_size 818688 pmu0: irq 46 on simplebus0 gpioled0: on ofwbus0 gpioled0: failed to map pin gpioled0: failed to map pin cpulist0: on ofwbus0 cpu0: on cpulist0 cpu1: on cpulist0 cpu2: on cpulist0 cpu3: on cpulist0 cryptosoft0: Timecounters tick every 1.000 msec usbus0: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 mmcsd0: 64GB at mmc0 = 41.6MHz/4bit/65535-block Release APs APs not started x0: ffff000000a1bb80 x1: fffffd0[ thread pid 0 tid 100064 ] Stopped at kdb_enter+0x40: undefined d4200000 db> bt Tracing pid 0 tid 100064 td 0xfffffd0001532a80 db_trace_self() at db_stack_trace+0xec pc =3D 0xffff000000613920 lr =3D 0xffff0000000852c0 sp =3D 0xffff0000531c6310 fp =3D 0xffff0000531c6340 db_stack_trace() at db_command+0x224 pc =3D 0xffff0000000852c0 lr =3D 0xffff000000084f44 sp =3D 0xffff0000531c6350 fp =3D 0xffff0000531c6430 db_command() at db_command_loop+0x60 pc =3D 0xffff000000084f44 lr =3D 0xffff000000084d04 sp =3D 0xffff0000531c6440 fp =3D 0xffff0000531c6460 db_command_loop() at db_trap+0xf4 pc =3D 0xffff000000084d04 lr =3D 0xffff000000087dec sp =3D 0xffff0000531c6470 fp =3D 0xffff0000531c6690 db_trap() at kdb_trap+0x180 pc =3D 0xffff000000087dec lr =3D 0xffff0000003687fc sp =3D 0xffff0000531c66a0 fp =3D 0xffff0000531c6700 =20 kdb_trap() at handle_el1h_sync+0x74 pc =3D 0xffff0000003687fc lr =3D 0xffff000000615874 sp =3D 0xffff0000531c6710 fp =3D 0xffff0000531c6820 handle_el1h_sync() at kdb_enter+0x34 pc =3D 0xffff000000615874 lr =3D 0xffff000000367f38 sp =3D 0xffff0000531c6830 fp =3D 0xffff0000531c68c0 kdb_enter() at vpanic+0x1a0 pc =3D 0xffff000000367f38 lr =3D 0xffff0000003261f8 sp =3D 0xffff0000531c68d0 fp =3D 0xffff0000531c6950 vpanic() at panic+0x48 pc =3D 0xffff0000003261f8 lr =3D 0xffff000000326054 sp =3D 0xffff0000531c6960 fp =3D 0xffff0000531c69e0 panic() at data_abort+0x21c pc =3D 0xffff000000326054 lr =3D 0xffff000000629d10 sp =3D 0xffff0000531c69f0 fp =3D 0xffff0000531c6aa0 data_abort() at handle_el1h_sync+0x74 pc =3D 0xffff000000629d10 lr =3D 0xffff000000615874 sp =3D 0xffff0000531c6ab0 fp =3D 0xffff0000531c6bc0 handle_el1h_sync() at thread_lock_flags_+0x1a8 pc =3D 0xffff000000615874 lr =3D 0xffff0000003086c8 sp =3D 0xffff0000531c6bd0 fp =3D 0xffff0000531c6cc0 thread_lock_flags_() at statclock_cnt+0x11c pc =3D 0xffff0000003086c8 lr =3D 0xffff0000002c49e0 sp =3D 0xffff0000531c6cd0 fp =3D 0xffff0000531c6cf0 statclock_cnt() at handleevents+0x108 pc =3D 0xffff0000002c49e0 lr =3D 0xffff00000064b08c sp =3D 0xffff0000531c6d00 fp =3D 0xffff0000531c6d40 handleevents() at timercb+0xe0 pc =3D 0xffff00000064b08c lr =3D 0xffff00000064b828 sp =3D 0xffff0000531c6d50 fp =3D 0xffff0000531c6dc0 timercb() at arm_tmr_intr+0x5c pc =3D 0xffff00000064b828 lr =3D 0xffff000000601708 sp =3D 0xffff0000531c6dd0 fp =3D 0xffff0000531c6dd0 arm_tmr_intr() at intr_event_handle+0x64 pc =3D 0xffff000000601708 lr =3D 0xffff0000002ed200 sp =3D 0xffff0000531c6de0 fp =3D 0xffff0000531c6e10 intr_event_handle() at intr_isrc_dispatch+0x50 pc =3D 0xffff0000002ed200 lr =3D 0xffff00000064dbfc sp =3D 0xffff0000531c6e20 fp =3D 0xffff0000531c6e30 intr_isrc_dispatch() at bcm_lintc_intr+0x190 pc =3D 0xffff00000064dbfc lr =3D 0xffff00000061097c sp =3D 0xffff0000531c6e40 fp =3D 0xffff0000531c6ec0 bcm_lintc_intr() at intr_irq_handler+0x60 pc =3D 0xffff00000061097c lr =3D 0xffff00000064d9c8 sp =3D 0xffff0000531c6ed0 fp =3D 0xffff0000531c6ef0 intr_irq_handler() at handle_el1h_irq+0x70 pc =3D 0xffff00000064d9c8 lr =3D 0xffff000000615930 sp =3D 0xffff0000531c6f00 fp =3D 0xffff0000531c7010 handle_el1h_irq() at uart_pl011_putc+0x34 pc =3D 0xffff000000615930 lr =3D 0xffff00000019dd3c sp =3D 0xffff0000531c7020 fp =3D 0xffff0000531c70c0 uart_pl011_putc() at uart_cnputc+0x94 pc =3D 0xffff00000019dd3c lr =3D 0xffff00000019f0c4 sp =3D 0xffff0000531c70d0 fp =3D 0xffff0000531c7100 uart_cnputc() at cnputc+0x78 pc =3D 0xffff00000019f0c4 lr =3D 0xffff0000002ca264 sp =3D 0xffff0000531c7110 fp =3D 0xffff0000531c7140 cnputc() at cnputs+0xb4 pc =3D 0xffff0000002ca264 lr =3D 0xffff0000002ca528 sp =3D 0xffff0000531c7150 fp =3D 0xffff0000531c7170 cnputs() at putchar+0x158 pc =3D 0xffff0000002ca528 lr =3D 0xffff00000036e1f0 sp =3D 0xffff0000531c7180 fp =3D 0xffff0000531c7200 putchar() at kvprintf+0xc54 pc =3D 0xffff00000036e1f0 lr =3D 0xffff00000036de30 sp =3D 0xffff0000531c7210 fp =3D 0xffff0000531c7310 kvprintf() at _vprintf+0x7c pc =3D 0xffff00000036de30 lr =3D 0xffff00000036e7a8 sp =3D 0xffff0000531c7320 fp =3D 0xffff0000531c7420 _vprintf() at printf+0x60 pc =3D 0xffff00000036e7a8 lr =3D 0xffff00000036e9c4 sp =3D 0xffff0000531c7430 fp =3D 0xffff0000531c74d0 printf() at print_registers+0x4c pc =3D 0xffff00000036e9c4 lr =3D 0xffff000000629a94 sp =3D 0xffff0000531c74e0 fp =3D 0xffff0000531c7510 print_registers() at data_abort+0x1f0 pc =3D 0xffff000000629a94 lr =3D 0xffff000000629ce4 sp =3D 0xffff0000531c7520 fp =3D 0xffff0000531c75d0 data_abort() at handle_el1h_sync+0x74 pc =3D 0xffff000000629ce4 lr =3D 0xffff000000615874 sp =3D 0xffff0000531c75e0 fp =3D 0xffff0000531c76f0 handle_el1h_sync() at tdq_notify+0x28 pc =3D 0xffff000000615874 lr =3D 0xffff000000352b04 sp =3D 0xffff0000531c7700 fp =3D 0xffff0000531c77a0 tdq_notify() at sched_switch+0x520 pc =3D 0xffff000000352b04 lr =3D 0xffff000000350cdc sp =3D 0xffff0000531c77b0 fp =3D 0xffff0000531c7800 sched_switch() at mi_switch+0x118 pc =3D 0xffff000000350cdc lr =3D 0xffff000000330220 sp =3D 0xffff0000531c7810 fp =3D 0xffff0000531c7830 mi_switch() at taskqgroup_binder+0x74 pc =3D 0xffff000000330220 lr =3D 0xffff000000366d60 sp =3D 0xffff0000531c7840 fp =3D 0xffff0000531c7860 taskqgroup_binder() at gtaskqueue_run_locked+0x154 pc =3D 0xffff000000366d60 lr =3D 0xffff000000366c08 sp =3D 0xffff0000531c7870 fp =3D 0xffff0000531c78e0 gtaskqueue_run_locked() at gtaskqueue_thread_loop+0xcc pc =3D 0xffff000000366c08 lr =3D 0xffff0000003667cc sp =3D 0xffff0000531c78f0 fp =3D 0xffff0000531c7910 gtaskqueue_thread_loop() at fork_exit+0x94 pc =3D 0xffff0000003667cc lr =3D 0xffff0000002ea004 sp =3D 0xffff0000531c7920 fp =3D 0xffff0000531c7950 fork_exit() at fork_trampoline+0x10 pc =3D 0xffff0000002ea004 lr =3D 0xffff000000629784 sp =3D 0xffff0000531c7960 fp =3D 0x0000000000000000 db> =20 Any idea what the problem might be? Best regards Michael =20 From owner-freebsd-arm@freebsd.org Thu Jul 13 20:21:04 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2990BDAD2D3 for ; Thu, 13 Jul 2017 20:21:04 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CDC3A2B72 for ; Thu, 13 Jul 2017 20:21:03 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [IPv6:2003:cd:6bca:aa00:b0e3:7ca9:5b72:99a8] (p200300CD6BCAAA00B0E37CA95B7299A8.dip0.t-ipconnect.de [IPv6:2003:cd:6bca:aa00:b0e3:7ca9:5b72:99a8]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id 0F807721E2825 for ; Thu, 13 Jul 2017 22:21:00 +0200 (CEST) From: Michael Tuexen Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: RPi3 doesn't boot r320947 Date: Thu, 13 Jul 2017 22:20:59 +0200 References: To: freebsd-arm In-Reply-To: Message-Id: <6EF1F7EC-9BEE-4923-99A3-ABBFC1A980C2@freebsd.org> X-Mailer: Apple Mail (2.3273) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2017 20:21:04 -0000 > On 13. Jul 2017, at 21:41, Michael Tuexen wrote: >=20 > Dear all, >=20 > I installed > = https://download.freebsd.org/ftp/snapshots/arm64/aarch64/ISO-IMAGES/12.0/F= reeBSD-12.0-CURRENT-arm64-aarch64-RPI3-20170710-r320869.img.xz > on an SD card without any problems, built several packages and finally = compiled a GENERIC-NODEBUG > head kernel of today on the RPi3. >=20 > After installing it, it doesn't boot. Some more information: 1. When powering up the RPi3, typing nothing at the console, it doesn't boot. See my description. 2. When powering up, typing ? followed by typing boot-conf, it boots fine. Best regards Michael >=20 > On the serial console I get: >=20 > Using DTB provided by EFI at 0x8004000. > KDB: debugger backends: ddb > KDB: current backend: ddb > Copyright (c) 1992-2017 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, = 1994 > The Regents of the University of California. All rights = reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 12.0-CURRENT #0 r320947: Thu Jul 13 18:35:01 CEST 2017 > tuexen@generic:/home/tuexen/head/sys/arm64/compile/GENERIC-NODEBUG = arm64 > FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on = LLVM 4.0.0) > VT: init without driver. > Starting CPU 1 (1) > Starting CPU 2 (2) > Starting CPU 3 (3) > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > random: unblocking device. > random: entropy device external interface > kbd0 at kbdmux0 > ofwbus0: > simplebus0: on ofwbus0 > ofw_clkbus0: on ofwbus0 > clk_fixed0: on ofw_clkbus0 > clk_fixed1: on ofw_clkbus0 > regfix0: on ofwbus0 > regfix1: on ofwbus0 > psci0: on ofwbus0 > local_intc0: mem 0x40000000-0x400000ff = on simplebus0 > intc0: mem 0x7e00b200-0x7e00b3ff irq 16 = on simplebus0 > generic_timer0: irq 47,48,49,50 on simplebus0 > Timecounter "ARM MPCore Timecounter" frequency 19200000 Hz quality = 1000 > Event timer "ARM MPCore Eventtimer" frequency 19200000 Hz quality 1000 > bcm_dma0: mem 0x7e007000-0x7e007eff irq = 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 on simplebus0 > bcmwd0: mem 0x7e100000-0x7e100027 on = simplebus0 > mbox0: mem 0x7e00b880-0x7e00b8bf irq 17 on = simplebus0 > gpio0: mem 0x7e200000-0x7e2000b3 irq = 18,19 on simplebus0 > gpiobus0: on gpio0 > gpioc0: on gpio0 > uart0: mem 0x7e201000-0x7e201fff irq 20 on = simplebus0 > uart0: console (115200,n,8,1) > spi0: mem 0x7e204000-0x7e204fff irq 21 = on simplebus0 > spibus0: on spi0 > spibus0: at cs 0 mode 0 > spibus0: at cs 1 mode 0 > iichb0: mem 0x7e804000-0x7e804fff irq 32 = on simplebus0 > iicbus0: on iichb0 > iic0: on iicbus0 > bcm283x_dwcotg0: mem = 0x7e980000-0x7e98ffff,0x7e006000-0x7e006fff irq 38,39 on simplebus0 > usbus0 on bcm283x_dwcotg0 > sdhci_bcm0: mem 0x7e300000-0x7e3000ff = irq 42 on simplebus0 > mmc0: on sdhci_bcm0 > fb0: on simplebus0 > fbd0 on fb0 > VT: initialize with new VT driver "fb". > fb0: 656x416(656x416@0,0) 24bpp > fb0: fbswap: 1, pitch 1968, base 0x3db33000, screen_size 818688 > pmu0: irq 46 on simplebus0 > gpioled0: on ofwbus0 > gpioled0: failed to map pin > gpioled0: failed to map pin > cpulist0: on ofwbus0 > cpu0: on cpulist0 > cpu1: on cpulist0 > cpu2: on cpulist0 > cpu3: on cpulist0 > cryptosoft0: > Timecounters tick every 1.000 msec > usbus0: 480Mbps High Speed USB v2.0 > ugen0.1: at usbus0 > uhub0: on = usbus0 > mmcsd0: 64GB at mmc0 = 41.6MHz/4bit/65535-block > Release APs > APs not started > x0: ffff000000a1bb80 > x1: fffffd0[ thread pid 0 tid 100064 ] > Stopped at kdb_enter+0x40: undefined d4200000 > db> bt > Tracing pid 0 tid 100064 td 0xfffffd0001532a80 > db_trace_self() at db_stack_trace+0xec > pc =3D 0xffff000000613920 lr =3D 0xffff0000000852c0 > sp =3D 0xffff0000531c6310 fp =3D 0xffff0000531c6340 >=20 > db_stack_trace() at db_command+0x224 > pc =3D 0xffff0000000852c0 lr =3D 0xffff000000084f44 > sp =3D 0xffff0000531c6350 fp =3D 0xffff0000531c6430 >=20 > db_command() at db_command_loop+0x60 > pc =3D 0xffff000000084f44 lr =3D 0xffff000000084d04 > sp =3D 0xffff0000531c6440 fp =3D 0xffff0000531c6460 >=20 > db_command_loop() at db_trap+0xf4 > pc =3D 0xffff000000084d04 lr =3D 0xffff000000087dec > sp =3D 0xffff0000531c6470 fp =3D 0xffff0000531c6690 >=20 > db_trap() at kdb_trap+0x180 > pc =3D 0xffff000000087dec lr =3D 0xffff0000003687fc > sp =3D 0xffff0000531c66a0 fp =3D 0xffff0000531c6700 >=20 > kdb_trap() at handle_el1h_sync+0x74 > pc =3D 0xffff0000003687fc lr =3D 0xffff000000615874 > sp =3D 0xffff0000531c6710 fp =3D 0xffff0000531c6820 >=20 > handle_el1h_sync() at kdb_enter+0x34 > pc =3D 0xffff000000615874 lr =3D 0xffff000000367f38 > sp =3D 0xffff0000531c6830 fp =3D 0xffff0000531c68c0 >=20 > kdb_enter() at vpanic+0x1a0 > pc =3D 0xffff000000367f38 lr =3D 0xffff0000003261f8 > sp =3D 0xffff0000531c68d0 fp =3D 0xffff0000531c6950 >=20 > vpanic() at panic+0x48 > pc =3D 0xffff0000003261f8 lr =3D 0xffff000000326054 > sp =3D 0xffff0000531c6960 fp =3D 0xffff0000531c69e0 >=20 > panic() at data_abort+0x21c > pc =3D 0xffff000000326054 lr =3D 0xffff000000629d10 > sp =3D 0xffff0000531c69f0 fp =3D 0xffff0000531c6aa0 >=20 > data_abort() at handle_el1h_sync+0x74 > pc =3D 0xffff000000629d10 lr =3D 0xffff000000615874 > sp =3D 0xffff0000531c6ab0 fp =3D 0xffff0000531c6bc0 >=20 > handle_el1h_sync() at thread_lock_flags_+0x1a8 > pc =3D 0xffff000000615874 lr =3D 0xffff0000003086c8 > sp =3D 0xffff0000531c6bd0 fp =3D 0xffff0000531c6cc0 >=20 > thread_lock_flags_() at statclock_cnt+0x11c > pc =3D 0xffff0000003086c8 lr =3D 0xffff0000002c49e0 > sp =3D 0xffff0000531c6cd0 fp =3D 0xffff0000531c6cf0 >=20 > statclock_cnt() at handleevents+0x108 > pc =3D 0xffff0000002c49e0 lr =3D 0xffff00000064b08c > sp =3D 0xffff0000531c6d00 fp =3D 0xffff0000531c6d40 >=20 > handleevents() at timercb+0xe0 > pc =3D 0xffff00000064b08c lr =3D 0xffff00000064b828 > sp =3D 0xffff0000531c6d50 fp =3D 0xffff0000531c6dc0 >=20 > timercb() at arm_tmr_intr+0x5c > pc =3D 0xffff00000064b828 lr =3D 0xffff000000601708 > sp =3D 0xffff0000531c6dd0 fp =3D 0xffff0000531c6dd0 >=20 > arm_tmr_intr() at intr_event_handle+0x64 > pc =3D 0xffff000000601708 lr =3D 0xffff0000002ed200 > sp =3D 0xffff0000531c6de0 fp =3D 0xffff0000531c6e10 >=20 > intr_event_handle() at intr_isrc_dispatch+0x50 > pc =3D 0xffff0000002ed200 lr =3D 0xffff00000064dbfc > sp =3D 0xffff0000531c6e20 fp =3D 0xffff0000531c6e30 >=20 > intr_isrc_dispatch() at bcm_lintc_intr+0x190 > pc =3D 0xffff00000064dbfc lr =3D 0xffff00000061097c > sp =3D 0xffff0000531c6e40 fp =3D 0xffff0000531c6ec0 >=20 > bcm_lintc_intr() at intr_irq_handler+0x60 > pc =3D 0xffff00000061097c lr =3D 0xffff00000064d9c8 > sp =3D 0xffff0000531c6ed0 fp =3D 0xffff0000531c6ef0 >=20 > intr_irq_handler() at handle_el1h_irq+0x70 > pc =3D 0xffff00000064d9c8 lr =3D 0xffff000000615930 > sp =3D 0xffff0000531c6f00 fp =3D 0xffff0000531c7010 >=20 > handle_el1h_irq() at uart_pl011_putc+0x34 > pc =3D 0xffff000000615930 lr =3D 0xffff00000019dd3c > sp =3D 0xffff0000531c7020 fp =3D 0xffff0000531c70c0 >=20 > uart_pl011_putc() at uart_cnputc+0x94 > pc =3D 0xffff00000019dd3c lr =3D 0xffff00000019f0c4 > sp =3D 0xffff0000531c70d0 fp =3D 0xffff0000531c7100 >=20 > uart_cnputc() at cnputc+0x78 > pc =3D 0xffff00000019f0c4 lr =3D 0xffff0000002ca264 > sp =3D 0xffff0000531c7110 fp =3D 0xffff0000531c7140 >=20 > cnputc() at cnputs+0xb4 > pc =3D 0xffff0000002ca264 lr =3D 0xffff0000002ca528 > sp =3D 0xffff0000531c7150 fp =3D 0xffff0000531c7170 >=20 > cnputs() at putchar+0x158 > pc =3D 0xffff0000002ca528 lr =3D 0xffff00000036e1f0 > sp =3D 0xffff0000531c7180 fp =3D 0xffff0000531c7200 >=20 > putchar() at kvprintf+0xc54 > pc =3D 0xffff00000036e1f0 lr =3D 0xffff00000036de30 > sp =3D 0xffff0000531c7210 fp =3D 0xffff0000531c7310 >=20 > kvprintf() at _vprintf+0x7c > pc =3D 0xffff00000036de30 lr =3D 0xffff00000036e7a8 > sp =3D 0xffff0000531c7320 fp =3D 0xffff0000531c7420 >=20 > _vprintf() at printf+0x60 > pc =3D 0xffff00000036e7a8 lr =3D 0xffff00000036e9c4 > sp =3D 0xffff0000531c7430 fp =3D 0xffff0000531c74d0 >=20 > printf() at print_registers+0x4c > pc =3D 0xffff00000036e9c4 lr =3D 0xffff000000629a94 > sp =3D 0xffff0000531c74e0 fp =3D 0xffff0000531c7510 >=20 > print_registers() at data_abort+0x1f0 > pc =3D 0xffff000000629a94 lr =3D 0xffff000000629ce4 > sp =3D 0xffff0000531c7520 fp =3D 0xffff0000531c75d0 >=20 > data_abort() at handle_el1h_sync+0x74 > pc =3D 0xffff000000629ce4 lr =3D 0xffff000000615874 > sp =3D 0xffff0000531c75e0 fp =3D 0xffff0000531c76f0 >=20 > handle_el1h_sync() at tdq_notify+0x28 > pc =3D 0xffff000000615874 lr =3D 0xffff000000352b04 > sp =3D 0xffff0000531c7700 fp =3D 0xffff0000531c77a0 >=20 > tdq_notify() at sched_switch+0x520 > pc =3D 0xffff000000352b04 lr =3D 0xffff000000350cdc > sp =3D 0xffff0000531c77b0 fp =3D 0xffff0000531c7800 >=20 > sched_switch() at mi_switch+0x118 > pc =3D 0xffff000000350cdc lr =3D 0xffff000000330220 > sp =3D 0xffff0000531c7810 fp =3D 0xffff0000531c7830 >=20 > mi_switch() at taskqgroup_binder+0x74 > pc =3D 0xffff000000330220 lr =3D 0xffff000000366d60 > sp =3D 0xffff0000531c7840 fp =3D 0xffff0000531c7860 >=20 > taskqgroup_binder() at gtaskqueue_run_locked+0x154 > pc =3D 0xffff000000366d60 lr =3D 0xffff000000366c08 > sp =3D 0xffff0000531c7870 fp =3D 0xffff0000531c78e0 >=20 > gtaskqueue_run_locked() at gtaskqueue_thread_loop+0xcc > pc =3D 0xffff000000366c08 lr =3D 0xffff0000003667cc > sp =3D 0xffff0000531c78f0 fp =3D 0xffff0000531c7910 >=20 > gtaskqueue_thread_loop() at fork_exit+0x94 > pc =3D 0xffff0000003667cc lr =3D 0xffff0000002ea004 > sp =3D 0xffff0000531c7920 fp =3D 0xffff0000531c7950 >=20 > fork_exit() at fork_trampoline+0x10 > pc =3D 0xffff0000002ea004 lr =3D 0xffff000000629784 > sp =3D 0xffff0000531c7960 fp =3D 0x0000000000000000 >=20 > db> =20 >=20 > Any idea what the problem might be? >=20 > Best regards > Michael =20 >=20 >=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@freebsd.org Fri Jul 14 17:38:31 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D0897DA8DAB for ; Fri, 14 Jul 2017 17:38:31 +0000 (UTC) (envelope-from yzgyyang@outlook.com) Received: from APC01-HK2-obe.outbound.protection.outlook.com (mail-oln040092255060.outbound.protection.outlook.com [40.92.255.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6514A6FAF2 for ; Fri, 14 Jul 2017 17:38:29 +0000 (UTC) (envelope-from yzgyyang@outlook.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=QMPekFUFd3t/8Jj6usVLopqH1dWHCiehUmiEZQjEw2c=; b=am2LQiSYiuJBDb3SJ1qfUfHGTefuxp2LujP+UjlkX0Yb3nj2RDUkXHspcGtSd7lBEsDwkddKKIVacZt45q9EprIaxB5ekkx4lGW1QjkOybV/f19JRV3j/vBWyW7nK+AN8p2kTPSm3LhG1+dkbPkwL9rHLDvD71alcxWiuEHvA/DMDTuBN8y+KQukcN4B+ld2FG9fDHMYQZxGrJLgdPZ3/Nei1OBYSiNs1ZV5HUakfXAR7obryCpLDJyU/ABFSZceQSHZbE0M4rAKjmUEF6GNiiK8ssz0AjijA6OXWLnY0nEa8HiKuEDJiMujP4Kls2Nu7MI6Y5ygzA4C8fFdNIfSFA== Received: from SG2APC01FT037.eop-APC01.prod.protection.outlook.com (10.152.250.58) by SG2APC01HT170.eop-APC01.prod.protection.outlook.com (10.152.251.79) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1220.9; Fri, 14 Jul 2017 17:38:27 +0000 Received: from SG2PR0301MB1221.apcprd03.prod.outlook.com (10.152.250.56) by SG2APC01FT037.mail.protection.outlook.com (10.152.251.111) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.9 via Frontend Transport; Fri, 14 Jul 2017 17:38:27 +0000 Received: from SG2PR0301MB1221.apcprd03.prod.outlook.com ([fe80::5ce9:2380:64d8:c5e9]) by SG2PR0301MB1221.apcprd03.prod.outlook.com ([fe80::5ce9:2380:64d8:c5e9%14]) with mapi id 15.01.1261.017; Fri, 14 Jul 2017 17:38:27 +0000 From: Guangyuan Yang To: "freebsd-arm@freebsd.org" Subject: Re: RaspberryPi 3 freezes on single user mode (init 1) Thread-Topic: RaspberryPi 3 freezes on single user mode (init 1) Thread-Index: AQHS++UmL1jks+J/hUyWnd2bhY2JDKJTmCyA Date: Fri, 14 Jul 2017 17:38:27 +0000 Message-ID: References: <20170713163403.10ef76b0@unixbase> In-Reply-To: <20170713163403.10ef76b0@unixbase> Accept-Language: en-CA, zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: freebsd.org; dkim=none (message not signed) header.d=none;freebsd.org; dmarc=none action=none header.from=outlook.com; x-incomingtopheadermarker: OriginalChecksum:57B4CB765BDDF9D77733F6D460457CCAD35434F5E27C490F8F648AC28D97ACA2; UpperCasedChecksum:FEEC4B51DFDFE6DC646D3D3A9D2103641190A3BD9C4CCC34F1C1994D1D9EB4EC; SizeAsReceived:7257; Count:45 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [vW1MFQyTnnQFiDCz5zdHhAMd5dAXkdvt] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; SG2APC01HT170; 7:eH8iqMrICC/USar9tH1NfDtrKwqImm9XkVNslxBUgtjkJE25ebHe84o6pDJr/Fp4amW4xSj4KP7IyH0YZy8Hy6pfVBf6HqPwHi+9ZOJJ/aiPJO8pvOYZl6Z9US3RBpF0j28qnAZfHbyXo6SCTGN4yeBNAxF01F9o1DTOyggpqmncznOX/kYxU7/T/bBo98bX7o9zjl2DY9xmoRZQH1gbUFlebGmcdK8VxDsXhRY3TwOMzccR2b1bgprFlw3XNdLu9HKsIJsEtK2gbTBfQGk7L5NFnS+JxmlSCEt91j27BQahNCe3wYE5TN9CUW0Z1Sga5Pm55LrTp5W3GxbHt1Tbr+haM7gpQRbhYStpU6gXV6c+nMHY83oRCXukn8UuApaeMmCo/5syL6XSkBmedF20FsELTJziba5zhhsX+d35zIimLsHO5FzcsuizVye9w+iLYpcpLMdfrsbNLCCkvDtwD6/xwjpyr5pl/rlm5Jdq550F6YkFcMt601aMil83zLCTxnaDRSXQPPQGBrUFGVMlJN3oTZzxo2ePSgPuH/4ruyHf3os/rJJoTcWQ9VLybxC9G8hQjJB37j7Iks0G1qQDFF4Wa7wBv6KsF8SK/iBshW7KlZFodwOHp3rMHdTfCw9DrEtMmtuh51Ze4H5z7OrO0GJefJZkjr++iw1LpucYS6Zqz2DpeuRXa2njNpX/zHruXTWNLnZAwqE/K50qE+fKJNlMRIIlFiqRKhR3B7yoOCs5+ADBmnmBcDXHmtZTa1xftIHOm4GtoVnGLdrQuzc6uw== x-incomingheadercount: 45 x-eopattributedmessage: 0 x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:SG2APC01HT170; H:SG2PR0301MB1221.apcprd03.prod.outlook.com; FPR:; SPF:None; LANG:en; x-ms-office365-filtering-correlation-id: 0aa8a248-d07c-4149-eb0b-08d4cadf223b x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322322)(1601125374)(1603101448)(1701031045)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:SG2APC01HT170; x-ms-traffictypediagnostic: SG2APC01HT170: x-exchange-antispam-report-test: UriScan:(236129657087228); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031); SRVR:SG2APC01HT170; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SG2APC01HT170; x-forefront-prvs: 0368E78B5B spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jul 2017 17:38:27.3527 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2APC01HT170 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2017 17:38:31 -0000 On Thursday, July 13, 2017 10:34:03 AM EDT sVx wrote: > Hi, >=20 > I've installed RaspBSD (FreeBSD-aarch64-12.0-GENERIC-320146M.img) on an > 4 GB microSD-Card for a RaspberryPi 3. So far it boots and runs fine but = I > would like to expand the root slice (the only slice) over the full disk > space but I cannot enter single user mode. >=20 > Un-commenting in /etc/rc.conf 'growfs_enable=3D"YES"' and rebooting has n= o > effect. So I tried the manual way via `gpart resize /dev/mmcsd0s2` but > growfs(8) cannot expand root because root is mounted -- I guess. So I > tried `init 1` which just directly freezes the system as well as > `nextboot -o "-s" -k kernel` which hangs right after detecting the > keyboard. Guess in both cases it just freezes. Can confirm that 'growfs_enable=3DYES' is not working properly on RaspBSD. Instead, running a 'service growfs onestart' worked for me: root@rpi3:~ # service growfs onestart Growing root partition to fill device GEOM_PART: mmcsd0s2 was automatically resized. Use `gpart commit mmcsd0s2` to save changes or `gpart undo mmcsd0s2` to=20 revert them. mmcsd0s2 resized mmcsd0s2a resized super-block backups (for fsck_ffs -b #) at: 3705024, 4631232, 5557440, 6483648, 7409856, 8336064, 9262272, 10188480, 11114688, 12040896, 12967104, 13893312, 14819520, 15745728, 16671936, 17598144, 18524352, 19450560, 20376768, 21302976, 22229184, 23155392, 24081600, 25007808, 25934016, 26860224, 27786432, 28712640, 29638848, 30565056, 31491264, 32417472, 33343680, 34269888, 35196096, 36122304, 37048512, 37974720, 38900928, 39827136, 40753344, 41679552, 42605760, 43531968, 44458176, 45384384, 46310592, 47236800, 48163008, 49089216, 50015424, 50941632, 51867840, 52794048, 53720256, 54646464, 55572672, 56498880, 57425088, 58351296, 59277504, 60203712, 61129920 root@rpi3:~ # gpart show =3D> 63 61896641 mmcsd0 MBR (30G) 63 102375 1 !12 [active] (50M) 102438 986 - free - (493K) 103424 61787136 2 freebsd (29G) 61890560 6144 - free - (3.0M) =3D> 0 61787136 mmcsd0s2 BSD (29G) 0 61787136 1 freebsd-ufs (29G)root@rpi3:~ # service gro= wfs=20 onestart Growing root partition to fill device GEOM_PART: mmcsd0s2 was automatically resized. Use `gpart commit mmcsd0s2` to save changes or `gpart undo mmcsd0s2` to=20 revert them. mmcsd0s2 resized mmcsd0s2a resized super-block backups (for fsck_ffs -b #) at: 3705024, 4631232, 5557440, 6483648, 7409856, 8336064, 9262272, 10188480, 11114688, 12040896, 12967104, 13893312, 14819520, 15745728, 16671936, 17598144, 18524352, 19450560, 20376768, 21302976, 22229184, 23155392, 24081600, 25007808, 25934016, 26860224, 27786432, 28712640, 29638848, 30565056, 31491264, 32417472, 33343680, 34269888, 35196096, 36122304, 37048512, 37974720, 38900928, 39827136, 40753344, 41679552, 42605760, 43531968, 44458176, 45384384, 46310592, 47236800, 48163008, 49089216, 50015424, 50941632, 51867840, 52794048, 53720256, 54646464, 55572672, 56498880, 57425088, 58351296, 59277504, 60203712, 61129920 root@rpi3:~ # gpart show =3D> 63 61896641 mmcsd0 MBR (30G) 63 102375 1 !12 [active] (50M) 102438 986 - free - (493K) 103424 61787136 2 freebsd (29G) 61890560 6144 - free - (3.0M) =3D> 0 61787136 mmcsd0s2 BSD (29G) 0 61787136 1 freebsd-ufs (29G) Cheers, Guangyuan Yang From owner-freebsd-arm@freebsd.org Fri Jul 14 22:46:00 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F0992DADC4A for ; Fri, 14 Jul 2017 22:46:00 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C40A87D635 for ; Fri, 14 Jul 2017 22:46:00 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id v6EMjpNV094865; Fri, 14 Jul 2017 15:45:51 -0700 (PDT) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id v6EMjnul094864; Fri, 14 Jul 2017 15:45:49 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201707142245.v6EMjnul094864@pdx.rh.CN85.dnsmgr.net> Subject: Re: RaspberryPi 3 freezes on single user mode (init 1) In-Reply-To: To: Guangyuan Yang Date: Fri, 14 Jul 2017 15:45:49 -0700 (PDT) CC: "freebsd-arm@freebsd.org" X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2017 22:46:01 -0000 > On Thursday, July 13, 2017 10:34:03 AM EDT sVx wrote: > > Hi, > > > > I've installed RaspBSD (FreeBSD-aarch64-12.0-GENERIC-320146M.img) on an > > 4 GB microSD-Card for a RaspberryPi 3. So far it boots and runs fine but I > > would like to expand the root slice (the only slice) over the full disk > > space but I cannot enter single user mode. > > > > Un-commenting in /etc/rc.conf 'growfs_enable="YES"' and rebooting has no > > effect. So I tried the manual way via `gpart resize /dev/mmcsd0s2` but > > growfs(8) cannot expand root because root is mounted -- I guess. So I > > tried `init 1` which just directly freezes the system as well as > > `nextboot -o "-s" -k kernel` which hangs right after detecting the > > keyboard. Guess in both cases it just freezes. > > Can confirm that 'growfs_enable=YES' is not working properly on RaspBSD. > Instead, running a 'service growfs onestart' worked for me: I believe you need to have /firstboot before growfs_enable="YES" well work for you. /firstboot is in the rpi images from RaspBSD, but once you have booted it the first time that file is wiped. ... -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-arm@freebsd.org Sat Jul 15 05:53:27 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BC31FDB6F1D for ; Sat, 15 Jul 2017 05:53:27 +0000 (UTC) (envelope-from freebsd-arm@sentry.org) Received: from shadow.sentry.org (shadow.sentry.org [103.78.157.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "shadow.sentry.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8FCA664D9A for ; Sat, 15 Jul 2017 05:53:25 +0000 (UTC) (envelope-from freebsd-arm@sentry.org) Received: from shadow.sentry.org (localhost [127.0.0.1]) by shadow.sentry.org (8.15.2/8.15.2) with ESMTP id v6F5du55076232 for ; Sat, 15 Jul 2017 15:39:56 +1000 (AEST) (envelope-from freebsd-arm@sentry.org) To: freebsd-arm From: Trev Subject: Raspberry Pi2 11-STABLE kernel build fails Message-ID: Date: Sat, 15 Jul 2017 15:39:56 +1000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (shadow.sentry.org [0.0.0.0]); Sat, 15 Jul 2017 15:39:56 +1000 (AEST) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jul 2017 05:53:27 -0000 Build machine: FreeBSD rpi2 11.0-STABLE FreeBSD 11.0-STABLE #0 r318134: Wed May 10 23:01:57 UTC 2017 root@releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI2 arm svn source version r321000 Having suffered through a successful overnight buildworld and thinking I was home and hosed, my buildkernel failed, so definitely hosed but not home yet :) /home/src/sys/kern/kern_exec.c:1353:19: error: implicit declaration of function 'atomic_readandclear_ptr' is invalid in C99 [-Werror,-Wimplicit-function-declaration] argkva = (void *)atomic_readandclear_ptr( ^ /home/src/sys/kern/kern_exec.c:1353:19: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] 2 errors generated. The offending code appears to have been added by this commit: ------------------------------------------------------------------------ r320797 | markj | 2017-07-08 11:56:48 +1000 (Sat, 08 Jul 2017) | 3 lines MFC r311346, r311352, r313756: Add an allocator for KVA for execve arguments. ------------------------------------------------------------------------ From owner-freebsd-arm@freebsd.org Sat Jul 15 11:28:12 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A254AF82A6 for ; Sat, 15 Jul 2017 11:28:12 +0000 (UTC) (envelope-from jau789@gmail.com) Received: from mail-lf0-x230.google.com (mail-lf0-x230.google.com [IPv6:2a00:1450:4010:c07::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A885A6D625 for ; Sat, 15 Jul 2017 11:28:11 +0000 (UTC) (envelope-from jau789@gmail.com) Received: by mail-lf0-x230.google.com with SMTP id t72so65356293lff.1 for ; Sat, 15 Jul 2017 04:28:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xY4/Jgbnu0eQn33+FRCcBHzgwNn9sk+XhywNKtxg0Y0=; b=ra4qbSvUisbUjGza4WL+3n+B/HmWyzpVolF/Lk716lGoHyDIgsTeoqjZIhMYRnEAtT aDuHMP4O4nUm8FybwRvGVTzqTyCcR3AHPauzm4ovp3KhnSPQJ6qa+TaRj6YYWhoA23wL XOWM+rEyD0UHIWX6bD662ePT28GlOkMPjc01QoQOZljBMe9t3ZC06Kw1oXWN51BNwsk/ 4Cul1nCWfvUXp+gU2SYHh3iLpJ0squQszI2aQudsplGHYN6n7AsB82yE2dZw6p5EKYXm rEyHxTBfzYxTguVm/4i7pUW/e4dUbleqKa+m4pGx9z5HD3S7mIQrl+Qob2ADK1QVEo/R dsXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=xY4/Jgbnu0eQn33+FRCcBHzgwNn9sk+XhywNKtxg0Y0=; b=qRTQHbVkp9CQ+sAqxDeNIsPSqIJ2KBohplyVMYJ4sC1ocAsUhHRzgXMyZUKCAk95y/ zBr9gIF/BLtY9O8/H1w1iiKE8GBN0pyXEvD50WTGPfaXyolJmFtdTZiLKHTa7FwYnaed GIMi9dXBWwYuRZeZYyRCZH03KVrM8q1GjGWMo9ergLY5Yy1YJkmCejYYduOm9Zxx0GbE EDrsgHU6LO2pkiUMnsZSjg/QSQ2ZUJNy5oD0MTIdy2rLiTm/6HDdMY1sUpQmrsBK63A+ V4u9NbSZjxmwO0w7gurSQhgX6JatB+A4U+0T8EiIe5rIYF4YWKyaPdv0X0O41KU+jWrD 0XWA== X-Gm-Message-State: AIVw11319gJsYVpg547aIPI+VapkU21BfBojTT2N0zV/Wx9EPH/dmfsO VcSn4MRFu9OMXgxX X-Received: by 10.25.181.196 with SMTP id g65mr4526639lfk.108.1500118088928; Sat, 15 Jul 2017 04:28:08 -0700 (PDT) Received: from [192.168.1.193] (xdsl-205-1.nblnetworks.fi. [83.145.205.1]) by smtp.gmail.com with ESMTPSA id t7sm2419128ljd.31.2017.07.15.04.28.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 15 Jul 2017 04:28:08 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Raspberry Pi2 11-STABLE kernel build fails From: Jukka Ukkonen X-Mailer: iPad Mail (14F89) In-Reply-To: Date: Sat, 15 Jul 2017 14:28:05 +0300 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Trev X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jul 2017 11:28:12 -0000 I remedied this by adding the definition to the appropriate atomic.h file (sys/arm/include/atomic.h if my memory serves me right) Simply add... #define atomic_readandclear_ptr atomic_readandclear_32 in the file and the build should complete just fine. --jau > On 15 Jul 2017, at 8.39, Trev wrote: >=20 > Build machine: FreeBSD rpi2 11.0-STABLE FreeBSD 11.0-STABLE #0 r318134: We= d May 10 23:01:57 UTC 2017 root@releng2.nyi.freebsd.org:/usr/obj/arm.armv6/u= sr/src/sys/RPI2 arm >=20 > svn source version r321000 >=20 > Having suffered through a successful overnight buildworld and thinking I w= as home and hosed, my buildkernel failed, so definitely hosed but not home y= et :) >=20 > /home/src/sys/kern/kern_exec.c:1353:19: error: implicit declaration of fun= ction > 'atomic_readandclear_ptr' is invalid in C99 > [-Werror,-Wimplicit-function-declaration] > argkva =3D (void *)atomic_readandclear_ptr( > ^ > /home/src/sys/kern/kern_exec.c:1353:19: error: this function declaration i= s not > a prototype [-Werror,-Wstrict-prototypes] > 2 errors generated. >=20 > The offending code appears to have been added by this commit: >=20 > ------------------------------------------------------------------------ > r320797 | markj | 2017-07-08 11:56:48 +1000 (Sat, 08 Jul 2017) | 3 lines >=20 > MFC r311346, r311352, r313756: > Add an allocator for KVA for execve arguments. > ------------------------------------------------------------------------ >=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"