From owner-freebsd-arm@freebsd.org Thu Aug 6 15:13:21 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 DCCD43A497A for ; Thu, 6 Aug 2020 15:13:21 +0000 (UTC) (envelope-from s199p.wa1k9r@gmail.com) Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) (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 4BMsSd0hfNz4DZZ for ; Thu, 6 Aug 2020 15:13:20 +0000 (UTC) (envelope-from s199p.wa1k9r@gmail.com) Received: by mail-pj1-x1041.google.com with SMTP id ha11so6679840pjb.1 for ; Thu, 06 Aug 2020 08:13:20 -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 :cc; bh=8wQZEIFd64VvdVQrKdKnrIZ/ZlbROK7/jFQd3JKXpqw=; b=qUYar82tws9l+zXGCdOTJsnaX9+NC9Ds4L8F8nneYlHKeUqTE7bp83C6uovI41KrnP hPfiHoo+7UyNsjxGxeNbE6dTYRAtNQcfMnLl5QwN3cOxbZMt7Ktjk6yi+GydjfopAwoa G1qbDMUyUR478QD1Dblv9vryRC+sIINgQzQ3n2w6/5VFm0A9u+yA/K6ifR2dXqa5XmuA zIA/vuQUb+rtb5Fs/czRbeS72ZdWVg30DbTyfUOxru/nRP87+2JwhWJDBqWvCpdlpX44 wWXXqXGgJbuTAqx6PEBZDEkbx1i7LqLpQU9jTlmIpqlF4DJnIEFGH6J2LMJYWpQv/9hg PoVg== 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:cc; bh=8wQZEIFd64VvdVQrKdKnrIZ/ZlbROK7/jFQd3JKXpqw=; b=khE7HNNl/Zhd1O0jrRJSw1Y7Ks1R38s/zzl0feNy8jtC9Kdr6Y+NZUK7ElKscfPTQA G0jDLucP+dJorxbBCdhsB6xz9G6R0C7c47rvk5eVJM2zMO7iivlME8D6YajMqDpNXN3d P/LZM2VJNuVetLVLfvU7lI0nndsBmvFlS5wAwmnTl69MBefiuT2Aj4ISKOzuMJ0/t7kr G+oRdJRnw0EfOWBlmaQoDP+GHR4t0lv1QwTRESkTQZCutOv6d/aFBMDgzo4NDhz2qejY M+rhz/4wAbXruU/1ZRo7WBDTEQxdBPULwiuiZRXqp9EOZrSTIJPRcrarJQ9H1FvfKi8e ihig== X-Gm-Message-State: AOAM533qxGjiU2ePw/62Ci/oAVm9e1F/7YO/sie+0vFezbgdUAZxODUH grVt+eHuZtsmP+jFS8yhBDngRvXZNh7B64ywlZI= X-Google-Smtp-Source: ABdhPJzoVt/UH4TMHPiy64+fFnp88EwfMQmy1MuacmnVuuMAVeYaOQtqtx+ucmAkPZrjMFjVHPxIzcIXA9f+SuI80Yg= X-Received: by 2002:a17:902:ba92:: with SMTP id k18mr204853pls.275.1596726799736; Thu, 06 Aug 2020 08:13:19 -0700 (PDT) MIME-Version: 1.0 References: <20200801185716.a1c5a2972fdcf3a05902f256@bidouilliste.com> <010E3738-FB70-4A58-82A6-391252EB7A4B@gmail.com> <3D9B8A33-D537-4B21-B0BD-5E550A2294D7@gmail.com> <20200806121314.7b877e777f518db36c69f8a4@bidouilliste.com> <1B879FDB-31EA-4C53-90E3-E30CE51DF55D@gmail.com> <20200806135146.913617530d4e17ebcf133fb9@bidouilliste.com> In-Reply-To: <20200806135146.913617530d4e17ebcf133fb9@bidouilliste.com> From: Sleep Walker Date: Thu, 6 Aug 2020 18:13:03 +0300 Message-ID: Subject: Re: RockPro64 with latest image fails to boot? To: Emmanuel Vadot Cc: =?UTF-8?Q?S=C3=B8ren_Schmidt?= , freebsd-arm X-Rspamd-Queue-Id: 4BMsSd0hfNz4DZZ X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=qUYar82t; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of s199pwa1k9r@gmail.com designates 2607:f8b0:4864:20::1041 as permitted sender) smtp.mailfrom=s199pwa1k9r@gmail.com X-Spamd-Result: default: False [-2.31 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.32)[-0.325]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.986]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; 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)[2607:f8b0:4864:20::1041:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org] 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 15:13:21 -0000 Hi S=C3=B8ren! Here is a custom u-boot-2020.07 port that allows you to get eDP video on the Pinebook-Pro. https://github.com/S199pWa1k9r/ports/tree/master/sysutils/u-boot-pinebook-p= ro A kernel patch is also needed ... http://dev.kubsu.ru/images/PineBook-Pro/ =D1=87=D1=82, 6 =D0=B0=D0=B2=D0=B3. 2020 =D0=B3. =D0=B2 14:51, Emmanuel Vad= ot : > On Thu, 6 Aug 2020 13:46:16 +0200 > S=C3=B8ren Schmidt wrote: > > > > > > > > On 6 Aug 2020, at 12.13, Emmanuel Vadot wrote= : > > > > > > On Sun, 2 Aug 2020 11:30:00 +0200 > > > S=C3=B8ren Schmidt > > wrote: > > > > > >> > > >> > > >>> On 1 Aug 2020, at 23.55, Bjoern A. Zeeb < > bzeeb-lists@lists.zabbadoz.net> wrote: > > >>> > > >>> > > >>> 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). > > >> > > >> 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. > > >> > > >> I have tried different SD cards and PSU's to rule those out (and yes > it boots every time on a NetBSD image). > > >> > > >> However from 20+ boots I can say that it dies in different places bu= t > 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. > > >> > > >> The same issue is with my pinebookpro, it behaves exactly the same, > but no output on the display at all, just console.. > > > > > > 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?ll look around a bit and see what gives.? > > > > > > > >> I?ll try to backstep -current to where it did work and se it that > brings any light over the issue? > > > > > > Did you find anything ? > > > > Yeah VirtualBox managed to crash my Mac into oblivion, so I?m just abou= t > finished getting things back together again (timemachine is nice :) ) > > > > However, it also fails with my previously good -current release, so tha= t > points pretty squarely at u-boot 2020.07. I?ll try to go back to 2020.04 > (plus patches to find 4G etc). > > What patches are you talking about ? > > > --S=C3=B8ren > > > > sos@deepcore.dk / sos@freebsd.org > > "So much code to hack, so little time" > > > > > -- > Emmanuel Vadot > _______________________________________________ > 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" >