From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 11969 invoked from network); 15 Jan 2021 22:32:38 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 15 Jan 2021 22:32:38 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id 46B8727F51 for ; Fri, 15 Jan 2021 17:32:34 -0500 (EST) (envelope-from bounce.mMc6cc9a0f86241492f9879a53.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 43F6A1201930; Fri, 15 Jan 2021 17:32:34 -0500 (EST) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=iitbombay-org.20150623.gappssmtp.com header.i=@iitbombay-org.20150623.gappssmtp.com header.b=0kqOPqMv header.a=rsa-sha256 header.s=20150623 x-bits=2048; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=iitbombay.org; spf=pass smtp.mailfrom=bakul@iitbombay.org smtp.helo=mail-pg1-f169.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=from:content-type:content-transfer-encoding :mime-version:subject:date:references:to:in-reply-to:message-id :list-help:list-id:list-post:list-subscribe:reply-to :list-unsubscribe; s=sysmsg-1; t=1610749954; bh=aaI7ePaotMzciSui DqIagUZqmK1IFobAiE1yt+LlifI=; b=sl5UyuFv5hwEJjY7mZ+52T7E+QsUZEjh 5o93aE/Wu1l3zlXcGPWj+DDbjLISK+DDrzptpYSwS/zXP0fk3MB/Ku1ouICCOf5O +oIaXzqfqCrs5IcOpgX8dl7RlY1ndzPAypKLfZ53GvIIzgFVLPhPLQ5t1zpK1A29 19Xxeef3m/Q= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1610749954; b=IJ3t56tfbh+D2xwbOmRMswjfrp7lUMzzOJ89ljxk4LfFlPiXst wjWN7DCe0d2huQ5Sg1ZWHNz2eUfePXLW5cs9gmoxmdFMT0BuqFmCKHCL/F3vyjOL v4k95ZmzkPfIzhi5LQKDam9kzwD2nTtm+agB97E7GRL/iVL6Lls0YOF+w= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=iitbombay-org.20150623.gappssmtp.com header.i=@iitbombay-org.20150623.gappssmtp.com header.b=0kqOPqMv header.a=rsa-sha256 header.s=20150623 x-bits=2048; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=iitbombay.org; spf=pass smtp.mailfrom=bakul@iitbombay.org smtp.helo=mail-pg1-f169.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=pass (2048-bit rsa key sha256) header.d=iitbombay-org.20150623.gappssmtp.com header.i=@iitbombay-org.20150623.gappssmtp.com header.b=0kqOPqMv header.a=rsa-sha256 header.s=20150623 x-bits=2048; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=iitbombay.org; iprev=pass smtp.remote-ip=209.85.215.169 (mail-pg1-f169.google.com); spf=pass smtp.mailfrom=bakul@iitbombay.org smtp.helo=mail-pg1-f169.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=E8PBSudN; x-ptr=pass smtp.helo=mail-pg1-f169.google.com policy.ptr=mail-pg1-f169.google.com; x-return-mx=pass header.domain=iitbombay.org policy.is_org=yes (MX Records found: alt2.aspmx.l.google.com,alt1.aspmx.l.google.com,alt4.aspmx.l.google.com,aspmx.l.google.com,alt3.aspmx.l.google.com); x-return-mx=pass smtp.domain=iitbombay.org policy.is_org=yes (MX Records found: alt2.aspmx.l.google.com,alt1.aspmx.l.google.com,alt4.aspmx.l.google.com,aspmx.l.google.com,alt3.aspmx.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=from :content-type:content-transfer-encoding:mime-version:subject :date:references:to:in-reply-to:message-id:list-help:list-id :list-post:list-subscribe:reply-to:list-unsubscribe; s=dkim-1; bh=uJqrQhGhw01SZlh+9VucT0AM6y/Dm7i5Sps/B5Dv8+Y=; b=Bj4zRYFFdvV9 aTeG1sMIOMZ/UX8mhrIZeqKp36mzgFqJ0EDNqjdEzCXh85bST8jEvk2JH4LkmLzC 1Vd6xNLmw79E/C8PpibeY6CDPTo5XFh5AIH1J4PQnqhmW1o/iOpmmLU7K0i5Q/el 8p2vwr65JFU9jPuPbtcUOwjtB4zAtgM= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 3F7761201575 for <9fans@9fans.net>; Fri, 15 Jan 2021 17:32:22 -0500 (EST) (envelope-from bakul@iitbombay.org) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id C5E5106ECF4; Fri, 15 Jan 2021 17:32:22 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1610749942; b=Qwhg/9Zflz+bvUEV/TJQZp8Asp/+YqYu9XzG+xf2JZdfE1sJtE +aOqR0Wbb3n6kVyeL7rkgqmvKGak2Han4HuD7PqkDwYllYh3NLu6MCtToKAAm2Wl 0ZFmct8SyL04AeeqpL/BFOvCSR6xZxdLJ+bwC/aTFsP13SNrbRBh09C1pBYGs4Jp VVKE+MAQmMbLhWECWc5wClfxZzLAzuggZt1u2ZtEG8tPK8ClmvvGtjtJVg/aATSW DDQT6Etw3we3vg9aOWA75UIoQEFAgZl/jPN5iI2NO3TGf6rTEed+az05UEAR26Vr lP8CVW7gJj9Py8Gb/o37awiKvzc3D0uqNbPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=from:content-type:content-transfer-encoding :mime-version:subject:date:references:to:in-reply-to:message-id; s=arcseal; t=1610749942; bh=bbAuz2vDJym5pz98Kzj3K9kzT7ZUL442/a4 2UmUQDH8=; b=YdE78tEa65BoOwjQLQnNoWxPwgbHsGA3ByERRknzfvKmTVnwM6W Ve0FgijOcbYDeJc0bqFql/9dLALd3Fjbs4C8VxRJryhCHdznImuq9Qlu9ZZxYO6H DBuQiNqH56feNr0OCfjE/64sf+offCYk4HT5vH41Euz5XC97q7lbu3Zk1uewMa8G GCBz+AkBS/okLaov0wRHxQXeTvaGxWRhD8DS62fvl3WP5F90stkKq3bTuk5vNiaX 0siVsBg1sUVhJQrVqm9TSkAdUMCQ6+ai9ASBhNUYA4fjHCkrRl/133seLJV9mR61 k1zB0K8yz5oLUW95oOdPddiC11DTb/Wi8zA== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=pass (2048-bit rsa key sha256) header.d=iitbombay-org.20150623.gappssmtp.com header.i=@iitbombay-org.20150623.gappssmtp.com header.b=0kqOPqMv header.a=rsa-sha256 header.s=20150623 x-bits=2048; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=iitbombay.org; iprev=pass smtp.remote-ip=209.85.215.169 (mail-pg1-f169.google.com); spf=pass smtp.mailfrom=bakul@iitbombay.org smtp.helo=mail-pg1-f169.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=E8PBSudN; x-ptr=pass smtp.helo=mail-pg1-f169.google.com policy.ptr=mail-pg1-f169.google.com; x-return-mx=pass header.domain=iitbombay.org policy.is_org=yes (MX Records found: alt2.aspmx.l.google.com,alt1.aspmx.l.google.com,alt4.aspmx.l.google.com,aspmx.l.google.com,alt3.aspmx.l.google.com); x-return-mx=pass smtp.domain=iitbombay.org policy.is_org=yes (MX Records found: alt2.aspmx.l.google.com,alt1.aspmx.l.google.com,alt4.aspmx.l.google.com,aspmx.l.google.com,alt3.aspmx.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeduledrtddvgddufeekucdltddurdegudehrddttd dmucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgf nhhsuhgsshgtrhhisggvpdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttd enucenucfjughrpefhtgfgggfuffhfvfgjkffosehtqhhmtdhhtdejnecuhfhrohhmpeeu rghkuhhlucfuhhgrhhcuoegsrghkuhhlsehiihhtsghomhgsrgihrdhorhhgqeenucggtf frrghtthgvrhhnpeevtdehgeefleevtdelveeludejheejtefhjeetudfgffejveevleej ffetfeeifeenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhtohhpihgtsghogidrtg homhenucfkphepvddtledrkeehrddvudehrdduieelpddujedvrdduvdehrdejjedrudef tdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvtdelrdekhe drvdduhedrudeiledphhgvlhhopehmrghilhdqphhguddqfhduieelrdhgohhoghhlvgdr tghomhdpmhgrihhlfhhrohhmpeeosggrkhhulhesihhithgsohhmsggrhidrohhrgheq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (iitbombay.org: Sender is authorized to use 'bakul@iitbombay.org' in 'mfrom' identity (mechanism 'include:_spf.google.com' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="bakul@iitbombay.org"; helo=mail-pg1-f169.google.com; client-ip=209.85.215.169 Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Fri, 15 Jan 2021 17:32:21 -0500 (EST) (envelope-from bakul@iitbombay.org) Received: by mail-pg1-f169.google.com with SMTP id g15so6908663pgu.9 for <9fans@9fans.net>; Fri, 15 Jan 2021 14:32:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=bbAuz2vDJym5pz98Kzj3K9kzT7ZUL442/a42UmUQDH8=; b=E8PBSudNDUiB8fdyVBnBX0UjeubG4tqWrxrKDjnJHhQ5G2lgRYwUADDJ28XeSSFXwQ nf/WSHqe5U+LaWwUg1oHYv8IExYcWT2HxSHOXE1cHYSCPBbtWAT2wZeyTpOmOjOIUiIQ sZDD7bn/d4BXloKt/5VAtXo15PQbA/tC8IuB/7yuCJQPKRTgumckzsex22KMbkTeXX9j YmS+7d9c92fIAQS/AacA3rSCm0GvvJnJGzFV2M2KZnOw0H/EABAL4g0KA3sq9IgB239g ZqeVsK4w0CW6bNpAy+K2rbMzJRfZicWIeggpFxXPbtVbV1dujuRlCAbQ7fXHUZ2o2d7/ iuPw== X-Gm-Message-State: AOAM5308PHHW1kgjL4Y4yxjgDTlKhFnW/lR7k4/IhcopQgmXpawfyWEq L0Mo6IWSNZqpisxENJjnA0utAC5muB239w== X-Google-Smtp-Source: ABdhPJwUDhsWAIeK2stdfNdLokAyYZ54c7QICUdb13oQhkjnSbDPY/aOBejB42dS3oVLIDcuVb7MsQ== X-Received: by 2002:a63:1220:: with SMTP id h32mr14882477pgl.309.1610749940043; Fri, 15 Jan 2021 14:32:20 -0800 (PST) Received: from [192.168.1.113] (172-125-77-130.lightspeed.sntcca.sbcglobal.net. [172.125.77.130]) by smtp.gmail.com with ESMTPSA id m13sm8632854pff.21.2021.01.15.14.32.18 for <9fans@9fans.net> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Jan 2021 14:32:19 -0800 (PST) From: Bakul Shah Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: [9fans] Plan9 on Raspberry Pi 400? Date: Fri, 15 Jan 2021 14:32:17 -0800 References: <0100017702d1cdc1-592dbc60-0357-40de-9d00-6310ebd8304e-000000@email.amazonses.com> <0100017703434c67-b7a3d36a-2d2d-42ff-85f8-ac39d964354f-000000@email.amazonses.com> <01000177075cc907-b787910a-bc46-41ef-bac3-2314bc37374a-000000@email.amazonses.com> <01000177079d0a2a-975e1bcf-1ca6-40c5-9219-090dd0d6faab-000000@email.amazonses.com> To: 9fans <9fans@9fans.net> In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3654.40.0.2.32) Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 8b8474f6-5781-11eb-a2b9-d49c7fa1bff7 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UMDE3ODEzMmYzZDJlZDY4OS1NYzZjYzlhMGY4NjI0MTQ5MmY5ODc5?= =?UTF-8?B?YTUzPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Mc6cc9a0f86241492f9879a53:1:O__mhzqePDX6tkH4VzvSa8Lco9WhRXDtHiANY9mjv4o Can you netboot Linux followed by netbooting Paln9 and have a working USB? > On Jan 15, 2021, at 1:17 PM, Michael Engel wrote: >=20 > Hi, >=20 > I didn't test Plan 9 on my RPi 400 so far, but I think the reason for the= USB problems=20 > is the following: >=20 > The Raspberry Pi 400 (along with the Compute Module 4 and the 8 GB RAM ve= rsion=20 > of the RPI4) uses a new stepping C0 of the BCM2711. This version does not= have a=20 > dedicated EEPROM for the firmware of the xHCI USB controller and needs an= =20 > additional property mailbox call for loading the xHCI firmware after PCIe= reset.=20 >=20 > Some code to load the firmware can be found in the circle bare-metal libr= ary (l. 88ff): > https://github.com/rsta2/circle/blob/Step42.1/lib/usb/xhcidevice.cpp >=20 > -- Michael >=20 >=20 >> On 15 Jan 2021, at 20:54, Mack Wallace wrote: >>=20 >> I took that microSD card that has the bootable image without USB and put= it into a traditional Pi4. It boots on that without a problem and has mous= e and keyboard. I notices that after the additional CPU cores are detected,= that is mentions usb/hub=E2=80=A6 usb/kbd=E2=80=A6. The image when bootin= g on the Pi 400 never provides those messages. >>=20 >> Regards, >>=20 >> Mack=20 >>=20 >>> On Jan 15, 2021, at 1:44 PM, Mack Wallace wrot= e: >>>=20 >>> Dear Skip, >>>=20 >>> That pushed the ball forward significantly, but I still have issues. (B= ut thank you, every little advancement helps.) So with that flag, I was abl= e to get Richard=E2=80=99s port to boot into Glenda=E2=80=99s account (show= ing acme, faces, stats, etc). However, I do not seem to have any USB; no mo= use; nor keyboard. Stats is moving on the screen, so things are not too loc= ked up. I did try rebooting with an external keyboard and another mouse. St= ill nothing. The external keyboard doesn=E2=80=99t respond to anything (no = caps lock nor num lock.) One mouse is in the USB 2.0 port, another and the = external keyboard are in the USB 3.0 ports.=20 >>>=20 >>> on boot, I see the following: >>> usbxhci: 0x1106 0x3483 port 600000000 size 0x1000 irq0 >>> #u/usb/ep1.0: xhci port 0x0 irq 0 >>>=20 >>> The line before is #l for the network, >>> The line after is the detection of the other three cores. >>>=20 >>> The changing of the enable_gic=3D1 on the 9front image seemed to have t= o effect. >>>=20 >>> Thanks again! >>>=20 >>> Mack >>>=20 >>>=20 >>> On Jan 14, 2021, at 8:15 PM, Skip Tavakkolian wrote: >>>>=20 >>>> I'm using a RPi400 with Richard's port. I'm netbooting without issues = and up for days. The only issue I had was forgetting to set 'enable_gic=3D= 1' as Richard instructed in the sources. Pi4 works ok without it, pi400 doe= sn't. >>>>=20 >>>>=20 >>>> On Thu, Jan 14, 2021, 3:39 PM Mack Wallace wr= ote: >>>> Thank you for the reply Stuart, but no luck. >>>>=20 >>>> I did download Mr. Miller=E2=80=99s image. It would not boot at all un= til I replaced the files that you mention, but the kernel in that image loc= ks up after detecting the fourth core of the CPU. However, from that failur= e I learned that those files, (start_cd.elf, start4cd.elf, fixup_cd.dat, fi= xup4cd.dat) are necessary for the Pi to boot, and that those with the bootc= ode.bin and presumably, but it doesn=E2=80=99t seem to matter whether I use= bcm2711-rpi-4-b.dtb or bcm2711-rpi-400.dtb - the dtbs are vital to the pro= cess. - and that all those files simply need to be copied into the fat part= ition/boot directory. >>>>=20 >>>> So I burned another image (actually many, trying different SD cards, a= nd different configurations, older kernels, etc) and replaced all the files= I=E2=80=99ve mentioned with the ones from https://github.com/raspberrypi/f= irmware/tree/master/boot (hopefully that=E2=80=99s where I should get them)= . My most recent iteration just has the single error repeated: >>>>=20 >>>> sdhc: read error intr 2008002 stat 1fff0000 >>>>=20 >>>> This occurs many times. In the middle of these errors is=20 >>>>=20 >>>> /dev/sdM0: BCM SD Host Controller 02 Version 10 >>>>=20 >>>> then the error repeats itself over 50 times before printing out the li= nes >>>> /dev/sdM0/data >>>> bootargs is (tcp, tls, il, local!device)[] >>>>=20 >>>> At no time during this process is the keyboard or mouse responsive. Th= ough the mouse icon did become visible during the boot process.=20 >>>>=20 >>>> I am hoping I am wrong, but I am thinking there is some sort of driver= issue. At the very least, checking what media there is to mount, or readin= g the SD card. And then possibly for other things, but the former could be = gumming up the works for everything else. >>>>=20 >>>>=20 >>>>> On Jan 14, 2021, at 6:05 PM, Stuart Morrow = wrote: >>>>>=20 >>>>> Try copying the .dtb *and* the start4 and fixup4. >>=20 >> 9fans / 9fans / see discussions + participants + delivery options Permal= ink ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T0178132f3d2ed689-Mc6cc9= a0f86241492f9879a53 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription