From owner-freebsd-arm@freebsd.org Thu Aug 6 11:46:20 2020 Return-Path: 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 93BB737DEBC for ; Thu, 6 Aug 2020 11:46:20 +0000 (UTC) (envelope-from soren.schmidt@gmail.com) Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMmsl646vz42Ff for ; Thu, 6 Aug 2020 11:46:19 +0000 (UTC) (envelope-from soren.schmidt@gmail.com) Received: by mail-ej1-x641.google.com with SMTP id a26so24163452ejc.2 for ; Thu, 06 Aug 2020 04:46:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=kFz4aJ7B1Kfn+mvAqVfeCuAvBrbBHUo1t+wTIkbBgUQ=; b=SPAB4+URecwIOEbuW1AQVBspuhMVuDLFQcuiKI+FVUVsXxtCnkRnISdJuoZtPJF/gb 2n5HSAcMkuP7ctNIR8ehqvjrVArLMribgYAbgQVYR1p2OImehTA+I2qsxbOEt1pdMUUw z/SmFHvf1I91UARlcbMlJYow18G2WVhubVZbXNFop1+7Ue7qC6YF/R4sDIkQ0QoIXn/+ 0hW/fEzfhI4KiqWqnuk5iDiAVTUOSyVQU+ejSp1+aBWAXbe5F59B6EV+prLZHXg/WJ2T fVyBrnG8OzxYcruZf43zcfRMqIL8TEZuG0Kndzdw+88bS3OtZ0bKYzYo9STvgV3ZLCqt bvlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=kFz4aJ7B1Kfn+mvAqVfeCuAvBrbBHUo1t+wTIkbBgUQ=; b=UYAwRw0xIYJE1gz7ReNuQYgVfTXOMBfGc2Ag3qIBM/gwCwROWKuaZFz2Aijv83cEwX B5WasGLQKEa27OujqcP+J8glMuP983cjut6tgmmgg132Tbrujk2mfrxQ5rhIzjccQx6X S/WQUqUWdMMTq/FabzK6UoHM6BKWnMU7GIectRxttcmDQkIh0gjVV15td5/B8Ya9HHBf or6BggwVERIrPxAdpscCfaysx+fkXkrNxsyPmrSAKRHv1t4Us9JSblZ9vHCYnq5MvrMZ sp4aZDN7zo1Cd5KtYUfvqGMnmgtRSd+QIHE1XheWlImgJgpWU9UjWuOrGaqfuXp1v1/c UMLQ== X-Gm-Message-State: AOAM533G7jFsjxeGgw8uYjsHClTyhA9TvTfPDaDx3XBBtVX5ZBuR+Uk1 VM1TjhVcStWC/IzTw11YXb5VXxv9 X-Google-Smtp-Source: ABdhPJyuvY8OEGgV3cvTX4h8PY1xwO/KofsnMNe4/WxaPQtAAdwVLGTATI0BKPkFIlXaJK3Bq5+PEg== X-Received: by 2002:a17:906:ca4d:: with SMTP id jx13mr3799949ejb.548.1596714378553; Thu, 06 Aug 2020 04:46:18 -0700 (PDT) Received: from mac.deepcore.dk ([85.27.186.9]) by smtp.gmail.com with ESMTPSA id b4sm3612543eju.91.2020.08.06.04.46.17 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Aug 2020 04:46:17 -0700 (PDT) From: =?utf-8?Q?S=C3=B8ren_Schmidt?= Message-Id: <1B879FDB-31EA-4C53-90E3-E30CE51DF55D@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: RockPro64 with latest image fails to boot? Date: Thu, 6 Aug 2020 13:46:16 +0200 In-Reply-To: <20200806121314.7b877e777f518db36c69f8a4@bidouilliste.com> Cc: "Bjoern A. Zeeb" , freebsd-arm To: Emmanuel Vadot References: <20200801185716.a1c5a2972fdcf3a05902f256@bidouilliste.com> <010E3738-FB70-4A58-82A6-391252EB7A4B@gmail.com> <3D9B8A33-D537-4B21-B0BD-5E550A2294D7@gmail.com> <20200806121314.7b877e777f518db36c69f8a4@bidouilliste.com> X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 4BMmsl646vz42Ff X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=SPAB4+UR; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of sorenschmidt@gmail.com designates 2a00:1450:4864:20::641 as permitted sender) smtp.mailfrom=sorenschmidt@gmail.com X-Spamd-Result: default: False [-1.73 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.27)[-0.273]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-0.96)[-0.959]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-0.998]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::641:from]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Aug 2020 11:46:20 -0000 > On 6 Aug 2020, at 12.13, Emmanuel Vadot wrote: >=20 > On Sun, 2 Aug 2020 11:30:00 +0200 > S=C3=B8ren Schmidt > wrote: >=20 >>=20 >>=20 >>> On 1 Aug 2020, at 23.55, Bjoern A. Zeeb = wrote: >>>=20 >>>=20 >>> In case you would be willing to try building a kernel yourself, try = something with a lot of non-essential modules (e.g. the allwinner = modules) removed and see what happens (just trying to make the size of = the kernel smaller). >>=20 >> Thats where I startet to see the problem, with my own minimal kernel = config, to make certain I hadn?t goofed it up I tried the latest stock = image. >>=20 >> I have tried different SD cards and PSU's to rule those out (and yes = it boots every time on a NetBSD image). >>=20 >> However from 20+ boots I can say that it dies in different places but = close to the original post here. BUT it did manage to boot once (without = HDMI). >> As the HW boots my older custom kernel just fine (and the other = BSD?s) I don?t think its a HW problem, but more likely a race of sorts = since it did boot once. >>=20 >> The same issue is with my pinebookpro, it behaves exactly the same, = but no output on the display at all, just console.. >=20 > There is no support for eDP in mainline u-boot. > Some patches are around to add support but I don't think that they > have been submitted upstream. > There is another issue with eDP and FreeBSD kernel, u-boot set the > CPLL to 600Mhz (iirc) but the DTS have it set to 800Mhz so when we > process the assigned-clocks property and set it to 800Mhz the eDP > clock (which is derived from CPLL) isn't correct anymore and we lose > the display. OK, I=E2=80=99ll look around a bit and see what gives.=E2=80=99 >=20 >> I?ll try to backstep -current to where it did work and se it that = brings any light over the issue? >=20 > Did you find anything ? Yeah VirtualBox managed to crash my Mac into oblivion, so I=E2=80=99m = just about finished getting things back together again (timemachine is = nice :) ) However, it also fails with my previously good -current release, so that = points pretty squarely at u-boot 2020.07. I=E2=80=99ll try to go back to = 2020.04 (plus patches to find 4G etc). --S=C3=B8ren sos@deepcore.dk / sos@freebsd.org "So much code to hack, so little time"