From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27EBDC433E0 for ; Fri, 26 Jun 2020 23:02:47 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EBEEA2088E for ; Fri, 26 Jun 2020 23:02:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EBEEA2088E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huskydog.org.uk Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1joxML-0002ay-V3; Fri, 26 Jun 2020 23:02:13 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1joxMK-0002ap-MX for xen-devel@lists.xenproject.org; Fri, 26 Jun 2020 23:02:12 +0000 X-Inumbo-ID: 111bceb4-b801-11ea-bb8b-bc764e2007e4 Received: from gordon.huskydog.org.uk (unknown [81.187.95.156]) by us1-rack-iad1.inumbo.com (Halon) with ESMTP id 111bceb4-b801-11ea-bb8b-bc764e2007e4; Fri, 26 Jun 2020 23:02:11 +0000 (UTC) Received: from [10.137.3.12] (percyq.huskydog.org.uk [10.42.42.111]) by gordon.huskydog.org.uk (Postfix) with ESMTP id 1D0A72467; Sat, 27 Jun 2020 00:02:10 +0100 (BST) Subject: Re: ARM - Successful install on RockPro64 To: Julien Grall , Bertrand Marquis References: <46497134-fb7c-3d1f-6414-539138856480@huskydog.org.uk> <6AB44468-BD6A-4140-B0EF-3D2E5EDC99A0@arm.com> <8013f2db-3732-0679-81f6-7b274b39c44f@xen.org> <49e5b539-145a-726a-fb80-a93e65e44ca0@huskydog.org.uk> From: Richard Simpson Message-ID: Date: Sat, 27 Jun 2020 00:02:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: xen-devel , nd , Stefano Stabellini Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Hello Julien, I also have been busy and unable to reply. On 6/24/20 1:42 PM, Julien Grall wrote: > > > On 17/06/2020 23:28, Richard Simpson wrote: >> Hello Julien, > > Hello Richard, > > Apologies for the late answer. > >> I have just tried 4.14-rc2 and it seems to work fine. > > Glad to hear that. Thank you for the testing! > >> I think that the most useful page regarding the board is the one for >> the Ibox3399 since this refers to the RK3399 chip which the RockPro64 >> uses (shouldn't the page actually be called RK3399 to make it more >> generic). > > I agree with the renaming here. > >> Perhaps I can most usefully record what I did by updating that page >> and making sure that the instructions work correctly. If there is >> additional stuff relevant to the RockPro64 over and above the generic >> RK3399 info then I'll give some thought to how to best record it.  I >> will eventually be writing a fuller report on my progress on my blog >> at funfoodfreedom.huskydog.org.uk. > > Any additional content on the wiki will be greatly appreciated. By > default new wiki account doesn't have write permission, but we can > enable it for you if you provide us your username. I now have editor access on the Wiki and have made a small test edit in the hardware section.  I will now try to make other changes as I learn more whilst trying very hard not to break anything! >> >> I now need to finish automating the boot process (still requires >> manual u-boot command) and figure out how to get the console log to >> work. > > I wrote a small u-boot script in the past to try to automate the boot > (see [2]). > > I vaguely remember some quoting issue and missing 0x in front of > values depending on the U-boot configuration you use. So you may have > to tweak it a bit. I now have a boot script that seems to automate the boot OK.  I am sure it could be better and I would like to add a boot menu but these are refinements I can do later.  I will see what I can learn from your example. > >> Currently I can either see the xen and linux kernel boot messages OR >> see the dom0 console, but not both. > > Can you provide the kernel/xen command lines you use in the two cases? > > As an aside, I know that on some setup Linux will try to disable the > clock of the UART used by Xen. One of the symptoms is the UART is > becoming completely unusable half way through Linux boot. > > You may want to try to pass clk_ignored_unused to see if it helps. I still haven't fixed the boot message problem but I got very confused about what changes were having which effect.  Hopefully this weekend I will systematically try the various xen and Linux options and produce a table of what the effect is each time.  I'll also try your clk_ignored suggestion.  If I don't find a working combination then I'll post a question and I guess this should be on the users list rather than this one. > >> On one more related note:  I suspect that Xen would run on the >> PineBookPro as well as I get the impression that it uses very similar >> hardware.  Of course that would rely on the GPU etc which I haven't >> tested at all as I am using the serial console. > I wouldn't expect any issue to use the GPU in dom0 at least if you > don't have an IOMMU on the platform. The trouble may be more with the > bootloader if it doesn't drop you in hypervisor mode. > >> >> Finally, when I joined this mailing list I asked for a daily digest. >> However I seem to be getting a new digest every hour or so.  Is this >> right? > > I haven't used the digest myself. I CC Ian Jackson who may be able to > help you. > > Cheers, > > [2] https://xenbits.xen.org/people/julieng/load-xen-tftp.scr.txt >