From owner-freebsd-arm@freebsd.org Thu Mar 28 04:42:41 2019 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 8C5C715438FF for ; Thu, 28 Mar 2019 04:42:41 +0000 (UTC) (envelope-from sanpei.ml@gmail.com) Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A1D9D83803; Thu, 28 Mar 2019 04:42:39 +0000 (UTC) (envelope-from sanpei.ml@gmail.com) Received: by mail-pf1-x444.google.com with SMTP id 9so10739982pfj.13; Wed, 27 Mar 2019 21:42:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=aZTUzvW9Sc5F1dJRIKfOIMLs4gb2m+joMDBATTA7Ajc=; b=QDHzM7Oih++KNQmTnkUHsi9BWqKs+X7voAF/v0NySc9me0jL/Ng/sYw95badOWnmtz LlDXeE8qdhoRQJNrr2wrMo5gmnWH+hRzyZaBsfHlV8V6AvjcZrfsa3euqgv3zEhm/jhY 6pPwiIzYdxJ+uRAxXqwwuHcBTF36Ui3CDFX15fyK45yCzwxddkAvjxNg1X02cG7UvNFx dLbDj8zXjZWhqUi9hWIzWDI8UxpCQDYDYLHZbXX/1Ugqt1D/LJxD64Kh11ZBIFjYppxF iYbW5YAktT1diB4R82zVPDGOhOXEO3VlVz35/dahbBPkREQWGFrSSw/d6EFSIu9Lmlgw AQwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=aZTUzvW9Sc5F1dJRIKfOIMLs4gb2m+joMDBATTA7Ajc=; b=LfIbLaa16sNX7buE/2LtMYUyfo4Lm5l3QruJaz6j2pxzsimpa6PtNqEIrCfSYLK6j3 2s2XqHF5Ie32pF8xrCwLel/XtqzRBNfXL1zoGju39HJOepe+LunNC+cH/SVDQOnCzsQr 8HWZj3fG5dDPXHdzRfovzh1cyI/drtsbCl89IiIZXoKdd3CwqrPAYf33mNz+9qPYIB3u EIupbfN2LHWqmdL+tS6I2n7/mChblNJs+LrCp+hhf2VAK4RSW2a60fVU7tfNiayUNRCZ iOhwuBQitrMhMeWnBR5n8o6S2JFkOOwL55rFSox+sRdKBXZjIAlwXJgdTg5u2WeSfG1G 2C5Q== X-Gm-Message-State: APjAAAWkIDBlWMP0+kzDWbdeKXrt+NnLmXbte0ZCSuGmNBPfzLoy7kG4 kT+SXjrgA6CHuxiFQgIBYvaI6HWsnUWNrdteg1UUgA== X-Google-Smtp-Source: APXvYqwaIgsJIOwj9koZewKO5COEF/xV2w56AMds+0uB9JIEZac+OJAhRQHEZyQILfJnhIw7PWgszszupc+NpEgxfgY= X-Received: by 2002:a62:41dc:: with SMTP id g89mr37965064pfd.109.1553748158079; Wed, 27 Mar 2019 21:42:38 -0700 (PDT) MIME-Version: 1.0 References: <4f421a5f-c09d-46a4-8d45-4f7e5e3b2e40@Spark> <1545061176.76088.73.camel@freebsd.org> In-Reply-To: From: Yoshiro MIHIRA Date: Thu, 28 Mar 2019 13:42:26 +0900 Message-ID: Subject: Re: FreeBSD-12.0-current not booting on hummingboard To: Ian Lepore , freebsd-arm , radovan@putec.sk X-Rspamd-Queue-Id: A1D9D83803 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=QDHzM7Oi; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of sanpeiml@gmail.com designates 2607:f8b0:4864:20::444 as permitted sender) smtp.mailfrom=sanpeiml@gmail.com X-Spamd-Result: default: False [-3.82 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[4.4.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; IP_SCORE(-0.54)[ip: (2.37), ipnet: 2607:f8b0::/32(-2.87), asn: 15169(-2.15), country: US(-0.07)]; NEURAL_HAM_SHORT(-0.27)[-0.270,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2019 04:42:41 -0000 Hi. I'm trying to boot 13-current image on Hummingboard. Finally I could boot GENERIC kernel with some loader options. /boot/loader.conf.local hw.regulator.disable_unused=3D0 sdma-imx6q-to1.fwo_load=3D"YES" sdma-imx6q-to1.fwo_type=3D"firmware" put sdma-imx6q-to1.fwo on /boot/kernel directory. ------------------------------------------------------------ background of above settings. I found below message, that's the way kernel could not mount microSD as root partition. >mmc1: CMD8 failed, RESULT: 1 >mmc1: ACMD41 failed, RESULT: 4 1) hw.regulator.disable_unused=3D0 >From boot message, I found below one. So currently I set above value(DON'T disable sd regulator). >regulator: shutting down v_sd 2) load firmware for sdma GENERIC kernel has sdma driver, but there is no firmware and firmware loader module. Maybe there is bad side effect for mmc1. Currently above loader.conf.local is only load firmware image. >sdma0: Can't get firmware. P.S. I replaced and used old u-boot(11.0-RELEASE). P.S2. I can use IMX6 Kernel config without issue(because thos modules doen not included in kernel). Yours Yoshiro.MIHIRA 2019=E5=B9=B43=E6=9C=8825=E6=97=A5(=E6=9C=88) 22:39 Yoshiro MIHIRA : > Hi all, > > I have Hummingboard-i2. > I tested FreeBSD-12.0-RELEASE image. > > Unfortunately, I have two issues. > > 1) u-boot issue. > > Maybe latest u-boot does not support Hummingboard-i2. I use old u-boot > which is included 11.0-RELEASE. > > From sysutils/u-boot-cubox-hummingboard/pkg-descr: > > >As of this writing,the changes in this fork have not been rolled back in= to upstream U-Boot. > > 2) GENERIC kernel issue > > GENERIC kernel could not boot[NG]. If I use IMX6 kernel config, I can boo= t > it. > > boot messages as blow: > https://www.sanpei.org/~sanpei/tmp/12.0-RELEASE-with-11.0-uboot-NG > > If I have time, I will try to find out the reason and to support GENERIC > kernel on Hummingboard. > > Yours > Yoshiro MIHIRA > > 2018=E5=B9=B412=E6=9C=8818=E6=97=A5(=E7=81=AB) 0:40 Ian Lepore : > >> On Sun, 2018-12-16 at 17:34 +0100, Radovan Ptec wrote: >> > Hi there, >> > >> > I've tried installing FreeBSD-12.0-RELEASE on hummingboard, however >> > it seems to >> > be broken,same problem with RC3. Can't test with earlier RC as I >> > didn=E2=80=99t >> > downloaded one and I can=E2=80=99tfind them anymore. >> > >> > 11.2 armv6 is working as expected, upgrading to 12.0 from source as >> > armv6 is >> > also working asexpected. >> > >> > Sorry, no serial console available, I've managed to fry it some time >> > ago. >> > After connecting HDMI I see following output in loop (adresses >> > change): >> > >> > pc : [<1792640c>] lr : [<4ff9f403>] >> > reloc pc : [<1782640c>] lr : [<17826403>] >> > sp : 4f672d08 ip : 4f59 fp : 4f5769dc >> > r10: 4ffb3f02 r9 : 4f57 r8 : 4ff9f40c >> > r7 : 4f89b250 r6 : 4f89 r5 : 4ffc10e r4 : ffffffff >> > r3 : 9ff01ce5 r2 : 9ff0 r1 : 4ffb3f02 r0 : 0000005e >> > Flags: nzCv IRQs on FIQs on Mode SVC_32 >> > Code: f00968a0 b918f866 68e04641 ffb2f7ff (e7ef6824) >> > data abort >> > >> > At this point I'm not sure how to proceed with adressing this issue, >> > or how to debug >> > the problem.Any hints? >> > >> > Thank you! >> > radovan >> >> Nothing in freebsd creates output that looks like that. I think that >> must be u-boot that is crashing and generating that report. But I don't >> have anything useful to add beyond that observation. >> >> -- Ian >> _______________________________________________ >> 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" >> >