From owner-freebsd-arm@freebsd.org Tue Jul 28 13:13:32 2015 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 BC8DF9ACBC9 for ; Tue, 28 Jul 2015 13:13:32 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) (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 8A26B943 for ; Tue, 28 Jul 2015 13:13:32 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: by igbij6 with SMTP id ij6so115071984igb.1 for ; Tue, 28 Jul 2015 06:13:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=KmLccRija4/HzeiD/E8E6Z750UyfiQJLL50E292eEDg=; b=QwJxwd5VUTytA5cDanrhSEpVc39DpCxKngTHOiLDdz+ex1borT9UkC2wRLkPgB6Jsd QJ+KzzPAO5L/poZ60+f6DbPyyf5GdLpvoJvO4+BFUzdHOUfyHm2JF0+KX2rYuMMrTvEI jQ/5UAQzFI3ksu7DJVQLwWteRzfvhX2ljA9YUtbDukVFgwJaYxdAiMx00Z28z+FDtr/J H61nX31XLsWyprf/ybp3ZGabHTVyndZ9hHaNlB87l1gJ9DWNtxP/+/wOVM55ELddkASN 96bsL+RX0Tm8idD43yoWkwpk2mmzoD/hbqDta9UXY1ItjKRa7xhZNClZRQeopaqGSayt aM0w== MIME-Version: 1.0 X-Received: by 10.50.56.10 with SMTP id w10mr6368017igp.3.1438089212018; Tue, 28 Jul 2015 06:13:32 -0700 (PDT) Received: by 10.64.148.84 with HTTP; Tue, 28 Jul 2015 06:13:31 -0700 (PDT) In-Reply-To: <20150728071854.357c89785e048ae6d64c1c70@ulrich-grey.de> References: <20150728071854.357c89785e048ae6d64c1c70@ulrich-grey.de> Date: Tue, 28 Jul 2015 15:13:31 +0200 Message-ID: Subject: Re: FreeBSD on CuBox-i-4x4 (with HDMI patch) From: Svatopluk Kraus To: Ulrich Grey Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 13:13:32 -0000 On Tue, Jul 28, 2015 at 9:18 AM, Ulrich Grey wrote: > Hello, > > I have the opportunity to test freebsd on a CuBox-i-4x4 > http://solid-run.com/product/cubox-i-4x4/. > > uname -ap > FreeBSD wqtest 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r285875M: Sun Jul 26 = 14:55:10 UTC 2015 > gwgpi@wqtest:/usr/obj/usr/src/sys/IMX6 arm armv6hf > > To boot I have used this patch from Mika=C3=ABl Urankar: > http://mikael.urankar.free.fr/FreeBSD/arm/patches/sysutils_u-boot-cubox-h= ummingboard.patch > > Because I got an "No valid device tree blob found" error, in /boot/dtb I > copied imx6q-cubox-i.dtb to imx6q-cubox-i4p.dtb. > > Now I can boot, but only half of the memory and one of two USB ports is r= ecognized. > > I have compiled some ports on the text console without problems. > If I compile in a xfce4-terminal, I get a panic: > > pmap_remove_pages: pmap 0xcad291b4 va 0x200ab000 pte1 0 > panic: bad pte1 > cpuid =3D 2 > KDB: enter: panic > [ thread pid 28202 tid 100131 ] > Stopped at $d.7: ldrb r15, [r15, r15, ror r15]! > > But that may be related to the dtb-file. > Is it reproducible? I really would like to debug this panic. For beginning, it would be nice to see 'show pmap' output from ddb. If it's reproducible, I could prepare some debug patch to try to get some more info about it. Trying to run kernel with INVARIANTS option on is worth it too. Svata > Regards > Ulrich > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"