9front - general discussion about 9front
 help / color / mirror / Atom feed
From: JimErickson <jimerickso@gmail.com>
To: 9front@9front.org
Subject: Re: [9front] 9front and raspberry pi 4 8gb model
Date: Thu, 4 Jun 2020 19:14:59 -0500	[thread overview]
Message-ID: <8eb3649e-8da6-5bd6-d065-dbfdae3bdd27@gmail.com> (raw)
In-Reply-To: <8E4C3147C1267DCDC62534C942FF1A46@felloff.net>

well i got the may 20,2020 image of plan9 from 
fromhttps://9p.io/sources/contrib/miller/9pi.img.gz 
<https://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


  reply	other threads:[~2020-06-05  0:15 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-02 23:12 JimErickson
2020-06-02 23:23 ` [9front] " Eli Cohen
2020-06-03  7:34   ` hiro
2020-06-03 13:05     ` JimErickson
2020-06-03 17:58       ` cinap_lenrek
2020-06-03 18:28         ` hiro
2020-06-04  1:46         ` JimErickson
2020-06-04  1:57           ` ori
2020-06-04 15:30             ` JimErickson
2020-06-04 17:21               ` cinap_lenrek
2020-06-05  0:14                 ` JimErickson [this message]
2020-07-02 19:27                   ` cinap_lenrek
2020-07-02 22:27                     ` Roman Shaposhnik
2020-06-11 17:46                 ` cinap_lenrek
2020-06-13 18:58                   ` Roman Shaposhnik
2020-06-14  1:56                     ` cinap_lenrek
2020-06-14  2:43                       ` Roman Shaposhnik
2020-06-04 17:37       ` cinap_lenrek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8eb3649e-8da6-5bd6-d065-dbfdae3bdd27@gmail.com \
    --to=jimerickso@gmail.com \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).