Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2021 19:24:29 +0300
From:      Furkan Salman <furkan@fkardame.com>
To:        <freebsd-arm@freebsd.org>
Subject:   NanoPi R4S - DDR3 - 1Gb version support
Message-ID:  <17744a91de2.ed6ce04b152214.5391983673388755993@fkardame.com>

next in thread | raw e-mail | index | archive | help
Hello,Is there any source for the freebsd image which was built by Mr.=C2=
=A0 Ganbold,=C2=A0 I've received one but its ddr3 1gb and this image fails =
to init ram.=C2=A0I tried to patch the u-boot with ddr3 for the same and it=
 doesn't respond anymore which means maybe my uboot is not right or I've ov=
erwritten something.# dd if=3Didbloader.img of=3D/dev/mmcblkX seek=3D64 con=
v=3Dnotrunc,fsync# dd if=3Du-boot.itb of=3D/dev/mmcblkX seek=3D16384 conv=
=3Dnotrunc,fsyncI will try other uboot and see if it work.=C2=A0Thank you.
From owner-freebsd-arm@freebsd.org  Wed Jan 27 17:39:15 2021
Return-Path: <owner-freebsd-arm@freebsd.org>
Delivered-To: freebsd-arm@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id C433F52168F
 for <freebsd-arm@mailman.nyi.freebsd.org>;
 Wed, 27 Jan 2021 17:39:15 +0000 (UTC)
 (envelope-from freebsd-rj@obsigna.com)
Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de
 [85.215.255.22])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
 client-signature RSA-PSS (2048 bits) client-digest SHA256)
 (Client CN "*.smtp.rzone.de",
 Issuer "TeleSec ServerPass Class 2 CA" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4DQrSf4tSnz4pFy
 for <freebsd-arm@freebsd.org>; Wed, 27 Jan 2021 17:39:14 +0000 (UTC)
 (envelope-from freebsd-rj@obsigna.com)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1611769152;
 s=strato-dkim-0002; d=obsigna.com;
 h=References:To:Cc:In-Reply-To:Date:Subject:Message-Id:From:Cc:Date:
 From:Subject:Sender;
 bh=ylQOJgnnXN/lJAoCkO31YduTngdsOa9xOIVr0N1h6kE=;
 b=sqjkBJah2qrh08wB8C6+vZrz44icc7NdYQLTCJ2ddA14JSabW0U7b3lbW6kklOfrKs
 eyxQR3Ir4uMjcaCMc/9tu74PklJ0M56GV4iJcy+nigbrwx69n8uGHibkzE1iFFIdH77N
 lOROP2HuBOxhnqv0GNKOb4gMQ0Frbd5BhHk6v9hJSZ1RKtY9R4yKQ4c9aJEJPZCqKiro
 FH1FSuMVjGBp05AvdMUFe3rWmhVLIYBNmmmsvcpu7ZfG7pXlu80GgSBb4xRIoFOTpfUs
 CQcImwwGFWXekSJRf4GrNJ/FBm7wqWV55PYdsm+AsuRgLBw97kSqF0/2A5EPlB9ds+my
 qCZA==
X-RZG-AUTH: ":O2kGeEG7b/pS1F2rRHW2isrKl4DV03XBEi+I6ZuztdvN9wS3wFGySS4Lw+ldTBio0dVVInWnas+zpAhAiA/W"
X-RZG-CLASS-ID: mo00
Received: from mail.obsigna.com by smtp.strato.de (RZmta 47.16.0 DYNA|AUTH)
 with ESMTPSA id z04696x0RHd00Bm
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits))
 (Client did not present a certificate);
 Wed, 27 Jan 2021 18:39:00 +0100 (CET)
Received: from rolf-mini.obsigna.com (rolf-mini.obsigna.com [192.168.222.5])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.obsigna.com (Postfix) with ESMTPSA id 64BFB1350F946;
 Wed, 27 Jan 2021 14:38:56 -0300 (-03)
From: "Dr. Rolf Jansen" <freebsd-rj@obsigna.com>
Message-Id: <8CA1BF9F-ED98-416C-9265-8261270B44F4@obsigna.com>
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.15\))
Subject: Re: Hang while trying to boot armv7 on qemu-system-arm
Date: Wed, 27 Jan 2021 14:38:55 -0300
In-Reply-To: <ec69197062c1bb29bbd32cf8570c0de59f9c702c.camel@gentoo.org>
Cc: freebsd-arm@freebsd.org
To: =?utf-8?B?TWljaGHFgiBHw7Nybnk=?= <mgorny@gentoo.org>
References: <c9466cb24284c76228ee34dafdbdbf9b500d52c1.camel@gentoo.org>
 <24458513-E2EC-45DF-809C-D4F047BE232B@obsigna.com>
 <ec69197062c1bb29bbd32cf8570c0de59f9c702c.camel@gentoo.org>
X-Mailer: Apple Mail (2.3445.104.15)
X-Rspamd-Queue-Id: 4DQrSf4tSnz4pFy
X-Spamd-Bar: -
Authentication-Results: mx1.freebsd.org;
 dkim=pass header.d=obsigna.com header.s=strato-dkim-0002 header.b=sqjkBJah;
 dmarc=none;
 spf=pass (mx1.freebsd.org: domain of freebsd-rj@obsigna.com designates
 85.215.255.22 as permitted sender) smtp.mailfrom=freebsd-rj@obsigna.com
X-Spamd-Result: default: False [-2.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[];
 TO_DN_SOME(0.00)[]; MV_CASE(0.50)[];
 R_SPF_ALLOW(-0.20)[+ip4:85.215.255.0/24];
 RWL_MAILSPIKE_GOOD(0.00)[85.215.255.22:from];
 RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[obsigna.com:+];
 RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-0.997];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~];
 RBL_DBL_DONT_QUERY_IPS(0.00)[85.215.255.22:from];
 ASN(0.00)[asn:6724, ipnet:85.215.255.0/24, country:DE];
 MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[];
 NEURAL_HAM_MEDIUM(-1.00)[-1.000];
 R_DKIM_ALLOW(-0.20)[obsigna.com:s=strato-dkim-0002];
 FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000];
 MIME_GOOD(-0.10)[multipart/alternative,text/plain];
 DMARC_NA(0.00)[obsigna.com];
 SPAMHAUS_ZRD(0.00)[85.215.255.22:from:127.0.2.255];
 TO_MATCH_ENVRCPT_SOME(0.00)[];
 RCVD_IN_DNSWL_NONE(0.00)[85.215.255.22:from];
 FROM_NAME_HAS_TITLE(1.00)[dr]; RCVD_TLS_ALL(0.00)[];
 MAILMAN_DEST(0.00)[freebsd-arm]
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.34
X-BeenThere: freebsd-arm@freebsd.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: Porting FreeBSD to ARM processors <freebsd-arm.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-arm>,
 <mailto:freebsd-arm-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arm/>;
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Help: <mailto:freebsd-arm-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
 <mailto:freebsd-arm-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Jan 2021 17:39:15 -0000

> Am 27.01.2021 um 13:17 schrieb Micha=C5=82 G=C3=B3rny =
<mgorny@gentoo.org>:
> On Wed, 2021-01-27 at 12:29 -0300, Dr. Rolf Jansen wrote:
>>> Am 27.01.2021 um 11:21 schrieb Micha=C5=82 G=C3=B3rny =
<mgorny@gentoo.org>:
>>>=20
>>> Hi,
>>>=20
>>> I'm currently working on improving LLDB support for FreeBSD.  As
>>> part
>>> of that, I would like to do some testing on all platforms that are
>>> supported by LLDB on FreeBSD.  I've been trying to boot armv7 via
>>> qemu
>>> following the recipe on wiki [1] but without success.
>>>=20
>>> I've been trying the armv7 images from FTP, 12.2 in GENERICSD and
>>> RPI2
>>> variants, and 12.1 in GENERICSD variant.  In all cases, the system
>>> seemed to hang at 'spinner'.  While qemu used 100% of one of the CPU
>>> threads, nothing new was output for a few minutes (FWICS FreeBSD's
>>> CI
>>> sets a timeout of 60 seconds), so I suppose it actually hanged.
>>>=20
>>> The last screen of output I got is:
>>>=20
>>> ```
>>> Loading kernel...
>>> /boot/kernel/kernel text=3D0x8b757c data=3D0xa4d90 data=3D0x0+0x1f4000=

>>> syms=3D[0x4+0xa42d0+0x4+0x106515]
>>> Loading configured modules...
>>> can't find '/boot/entropy'
>>> /boot/kernel/umodem.ko text=3D0x1520 text=3D0xf10 data=3D0x234+0x4
>>> syms=3D[0x4+0xe70+0x4+0xa74]
>>> loading required module 'ucom'
>>> /boot/kernel/ucom.ko text=3D0x1714 text=3D0x2c6c data=3D0x3c4+0x838
>>> syms=3D[0x4+0x13e0+0x4+0xbac]
>>> can't find '/etc/hostid'
>>>=20
>>> Hit [Enter] to boot immediately, or any other key for command
>>> prompt.
>>> Booting [/boot/kernel/kernel]...              =20
>>> Using DTB provided by EFI at 0x47dfd000.
>>> Kernel entry at 0x57e00180...
>>> Kernel args: (null)
>>>>=20
>>> ```
>>>=20
>>> Does anyone have any idea what I am doing wrong?  Or have any recent
>>> successes booting FreeBSD on qemu-system-arm?
>>>=20
>>> Alternatively, would someone with real hardware or working VM be
>>> able to
>>> offer me shell access for a few days?  I only need to transfer my
>>> cross-
>>> built LLDB, run one unit test and test a bit of debugging on a
>>> trivial
>>> program, so I won't use many resources.
>>>=20
>>>=20
>>> [1] https://wiki.freebsd.org/QemuRecipes#armv7
>>> [2]
>>> http://ftp.freebsd.org/pub/FreeBSD/releases/arm/armv7/ISO-IMAGES/
>>>=20
>>> --=20
>>> Best regards,
>>> Micha=C5=82 G=C3=B3rny
>>=20
>> I cannot be of help with QUEMU, but I could give you ssh access to =
one
>> of my BeagleBone Blacks. This one is currently running 13.0-ALPHA2.
>> Frequently I build world with WORLD_FLAGS=3D"MK_LLDB=3Dyes". LLDB =
builds
>> fine for ARMv7 and it is usable to a certain extend on a BBB, but
>> there are some issues. Perhaps we may discuss this later on.
>=20
> Thank you, that would certainly be helpful.  I can't promise that I'll
> be able to tackle more than bare minimum right now but I can certainly
> add more goals to my TODO ;-).
>=20
> My SSH key is:
>=20
> ssh-rsa =
AAAAB3NzaC1yc2EAAAADAQABAAACAQCnt/PgGo7aBehonpdQZYcx7MsT7vteS32R2cc4BhL+pL=
sS8gBRG7mOe/PRr7CsGUu9zEsXxdFVR8OfIbynX8We/Z97pAVskme8QZgeoO/9/1cuxFhcRd3A=
lCCCDk99dbA8vTGAiva/lGPJnwU4+R86jv3nhOLtfredvCvJEjXRdClTjir1KwZV80u6bGuDas=
zt86FG+uWz4MLvVujFZDzIR9iQGwBySYOAMqZMxpCprEMeJdw52XGdO482ldC9CEEODIHVYIkw=
fcezkxDHKaTHOkKp14w4+2eMqFA8NBTSUivx1kJ7gZ2goSURZRP3PmllQvsnLyymR0H5c9kqKo=
fsloHba+Q4oIRXEGghVJtgAkWizWC1pA+uiaA/TChcEEz07LVtmT/AHo3q+4BW0cEF9eHVcdEl=
73Kff9LdOXIam+HH1WZ6KJZX3MPKK58/QioW2oVJEIm73476NJIUdg1+WKF2CUErpScC/BHwG7=
Tuu9TU9ggXwOuacSIuvoInAlJNQVxVUsQ1+Svpm5Hgvpd7ljQ1NFk0qZN4yXojNXed3Dm7Hpv0=
Z3yegSjw0fzP1+oKG9WwH2wCPQPCESCLuBe6P7I2Sqn+wBMDNO8VqWD54Ncp/rNdgHzT4AJhyE=
IxzCVJd/tl1DTRV7ph9LccVSU3HLAwe8aksFXAfE9VJwkDEw=3D=3D
>=20
> --=20
> Best regards,
> Micha=C5=82 G=C3=B3rny

I will set this up tonight. I need to adjust NAT redirection and isolate =
my other network. This is in Brasil UTC-3, so perhaps it will be after =
midnight for you. I will send you an e-mail once the system is online.

Best regards

Rolf=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17744a91de2.ed6ce04b152214.5391983673388755993>