From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f66.google.com ([209.85.218.66]) by ewsd; Thu Jun 4 20:15:07 EDT 2020 Received: by mail-ej1-f66.google.com with SMTP id o15so8073515ejm.12 for <9front@9front.org>; Thu, 04 Jun 2020 17:15:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=F5+ACPRfompOf2/86pyvk3sHVtxtZLJg1kdtbGxNcxI=; b=nJUwtvC2GuCgGD+YazNAg7FQbLyKYRj1hebVU1DFcWUh3f2JlDwexnGc1ybeOk8JKa DCfri3SKJ4gje0yUhpA5bOzJcUIy7fQVYgQD+y73dqGjuDEfJXl3mbLD5J0gQL6iOR91 sDNpB5zMAtROingZxoTJUN6BJjJwxhdnw4mOxaR5OtxACGpbVtnC9LYaDxP08Fqqmt/K x7UAoecpvmdYseCN5Y2tatBTBjHWLtyiiVKdOxgs3ukL7rF+0nA9hsTmJFUTMRV5rBk4 UnmuAGjDQYu1agpgStZDOQWBnub300lG31AlmhNrWlU8U4z2uYJcxYD6hVWeOeg0Qqst NCEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=F5+ACPRfompOf2/86pyvk3sHVtxtZLJg1kdtbGxNcxI=; b=UxQ0GJHeedneqWx9y1FCxfSXLig4IQCqe7gs4IUVmFbxGQDTLD7ulL3MFB3/JQKy5Y uU6APBY6j/5/WTDTgUur480p147mErI3Ddb6tLmN56H4FRBUtBw5xFUH1wZT6S3ubMTI Tn0Qrwy6Hyikc/BuQwsF2hn+qz2lHf3cz2QkqOw8aMCiaGUKwYEm6tgA4hqoOX70B+bL jOgfNYxJ8ApacR0hu/v+NZ21uMOvzUxhP4x69O68jvGtIpxBTXQOoTKVZhEGrCWTnyVg Gsyiruese4LRucvcqzhIGdrY+J2FK3Ol6/ayRzRfEfjYr8YebJot//PQiF26SsWBVS7b fJuw== X-Gm-Message-State: AOAM532c14QLQWzH/1Vdlp5bGSEtokJva5WJfdIeGysVB5HjBl7eVOYd CcKzUTMkWQx81hJZ67RPWv0AA4C1Row= X-Google-Smtp-Source: ABdhPJyMweWl5O6ZY/YpxYQ3CAB+atf+LrFkjKpz+8ODNgXjeni1bWyabLK8OEMB34m8w2A8U6/ysg== X-Received: by 2002:a17:906:2c08:: with SMTP id e8mr6023367ejh.385.1591316102334; Thu, 04 Jun 2020 17:15:02 -0700 (PDT) Return-Path: Received: from ubuntu-nuc.jimerickson.info ([2604:2d80:4985:52f1:184c:6d1b:cce7:1b3f]) by smtp.gmail.com with ESMTPSA id bg21sm3202263ejb.90.2020.06.04.17.15.01 for <9front@9front.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Jun 2020 17:15:01 -0700 (PDT) Subject: Re: [9front] 9front and raspberry pi 4 8gb model To: 9front@9front.org References: <8E4C3147C1267DCDC62534C942FF1A46@felloff.net> From: JimErickson Message-ID: <8eb3649e-8da6-5bd6-d065-dbfdae3bdd27@gmail.com> Date: Thu, 4 Jun 2020 19:14:59 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <8E4C3147C1267DCDC62534C942FF1A46@felloff.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: base hypervisor information persistence database well i got the may 20,2020 image of plan9 from fromhttps://9p.io/sources/contrib/miller/9pi.img.gz but it does not boot in the 8gb model. i suppose i need a newer image. guess i will have to wait till he updates it. unless anyone knows how to get the newest image. thanks for all you responses. how would i get in touch with richard miller? On 6/4/20 12:21 PM, cinap_lenrek@felloff.net wrote: > i do know as much as you about this issue. > > maybe you also need to update bootcode.bin in the image? > or it needs another device tree file? or some new file we dont > know about? > > the next steps would be to print the return value of xhcireset()... > maybe that can give us a hint if the command was supported by the > firmware or not. > > you can also ask richard miller about this... maybe download his > image and see if this works. and see what firmware and device tree > files he has there. > > we could also to take a look at raspbian image. and in see what > they do in the linux kernel. > > the diff i send is based on richard millers patch. > i only tested that it doesnt break my raspberry pi 4 with 1gb ram. > i had to move the xhcireset() call to archinit() tho which is > basically just after pci controller reset and after we mapped > the bus and programmed the membars. > > originally, the xhcireset() call was after firmware handoff in > the usbxhci driver itself, but i asked richard if he could try > to do the reset earlier because our xhci driver is in port/, > and this is very raspberry pi specific quirk that doesnt belong > into the portable driver. > > richard confirmed that it still works when doing the firmware > call before the pcienable(), but maybe theres some other side > effect. could even be just timing. > > good luck. > > -- > cinap