9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Skip Tavakkolian <skip.tavakkolian@gmail.com>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] Plan9 on Raspberry Pi 400?
Date: Fri, 15 Jan 2021 23:19:14 -0800	[thread overview]
Message-ID: <CAJSxfmKH3iZLiWYjNNOOsuGYQoUfztks7aX1KS02rp1zSzycQQ@mail.gmail.com> (raw)
In-Reply-To: <01000177075cc907-b787910a-bc46-41ef-bac3-2314bc37374a-000000@email.amazonses.com>

[-- Attachment #1: Type: text/plain, Size: 4383 bytes --]

Here's the config.txt that I use for my rpi400 (it's on the file server and
handed to rpi via tftp):

start_file=start4cd.elf
fixup_file=fixup4cd.dat
cmdline=xxxxxxx/cmdline.txt
kernel=arm/9pi4
gpu_mem=16
hdmi_group=2
hdmi_mode=82
core_freq=250
enable_gic=1
device_tree=


On Fri, Jan 15, 2021 at 10:45 AM Mack Wallace <mackbw@mapinternet.com>
wrote:

> Dear Skip,
>
> That pushed the ball forward significantly, but I still have issues. (But
> thank you, every little advancement helps.) So with that flag, I was able
> to get Richard’s port to boot into Glenda’s account (showing acme, faces,
> stats, etc). However, I do not seem to have any USB; no mouse; nor
> keyboard. Stats is moving on the screen, so things are not too locked up. I
> did try rebooting with an external keyboard and another mouse. Still
> nothing. The external keyboard doesn’t 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.
>
> on boot, I see the following:
> usbxhci: 0x1106 0x3483 port 600000000 size 0x1000 irq0
> #u/usb/ep1.0: xhci port 0x0 irq 0
>
> The line before is #l for the network,
> The line after is the detection of the other three cores.
>
> The changing of the enable_gic=1 on the 9front image seemed to have to
> effect.
>
> Thanks again!
>
> Mack
>
>
> On Jan 14, 2021, at 8:15 PM, Skip Tavakkolian <skip.tavakkolian@gmail.com>
> wrote:
>
>
> 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=1' as
> Richard instructed in the sources. Pi4 works ok without it, pi400 doesn't.
>
>
> On Thu, Jan 14, 2021, 3:39 PM Mack Wallace <mackbw@mapinternet.com> wrote:
>
>> Thank you for the reply Stuart, but no luck.
>> 
>> I did download Mr. Miller’s image. It would not boot at all until I
>> replaced the files that you mention, but the kernel in that image locks up
>> after detecting the fourth core of the CPU. However, from that failure I
>> learned that those files, (start_cd.elf, start4cd.elf, fixup_cd.dat,
>> fixup4cd.dat) are necessary for the Pi to boot, and that those with the
>> bootcode.bin and presumably, but it doesn’t seem to matter whether I use
>> bcm2711-rpi-4-b.dtb or bcm2711-rpi-400.dtb - the dtbs are vital to the
>> process. - and that all those files simply need to be copied into the fat
>> partition/boot directory.
>> 
>> So I burned another image (actually many, trying different SD cards, and
>> different configurations, older kernels, etc) and replaced all the files
>> I’ve mentioned with the ones from
>> https://github.com/raspberrypi/firmware/tree/master/boot (hopefully
>> that’s where I should get them). My most recent iteration just has the
>> single error repeated:
>> 
>> sdhc: read error intr 2008002 stat 1fff0000
>> 
>> This occurs many times. In the middle of these errors is
>> 
>> /dev/sdM0: BCM SD Host Controller 02 Version 10
>> 
>> then the error repeats itself over 50 times before printing out the lines
>> /dev/sdM0/data
>> bootargs is (tcp, tls, il, local!device)[]
>> 
>> At no time during this process is the keyboard or mouse responsive.
>> Though the mouse icon did become visible during the boot process.
>> 
>> 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 reading
>> the SD card. And then possibly for other things, but the former could be
>> gumming up the works for everything else.
>> 
>> On Jan 14, 2021, at 6:05 PM, Stuart Morrow <morrow.stuart@gmail.com>
>> wrote:
>> 
>> Try copying the .dtb *and* the start4 and fixup4.
>> 
> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions
> <https://9fans.topicbox.com/groups/9fans> + participants
> <https://9fans.topicbox.com/groups/9fans/members> + delivery options
> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
> <https://9fans.topicbox.com/groups/9fans/T0178132f3d2ed689-M3e4eaa51003d3faf4b21f271>
>

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T0178132f3d2ed689-M635cb4e04d6c4b764cab5ea2
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 6566 bytes --]

  parent reply	other threads:[~2021-01-16  7:19 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-14 21:34 Mack Wallace
2021-01-14 23:05 ` Stuart Morrow
2021-01-14 23:37   ` Mack Wallace
2021-01-15  1:15     ` Skip Tavakkolian
2021-01-15 18:44       ` Mack Wallace
2021-01-15 19:54         ` Mack Wallace
2021-01-15 21:17           ` Michael Engel
2021-01-15 21:58             ` Stuart Morrow
2021-01-15 22:32             ` Bakul Shah
2021-01-15 22:52               ` Michael Engel
2021-01-16  0:31                 ` Mack Wallace
2021-01-16  1:01                   ` Michael Engel
2021-01-16 10:24                     ` Richard Miller
2021-01-16 11:28                       ` Michael Engel
2021-01-18 14:51                   ` Richard Miller
2021-01-18 15:42                     ` Mack Wallace
2021-01-18 16:54                       ` ori
2021-01-19  8:20                         ` hiro
2021-01-19  0:54                       ` Stuart Morrow
2021-01-19  4:13                         ` Lucio De Re
2021-01-19  9:52                           ` Richard Miller
2021-01-20 15:25                             ` Mack Wallace
2021-01-16  3:03                 ` Bakul Shah
2021-01-16  7:19         ` Skip Tavakkolian [this message]
2021-01-16 16:15       ` Skip Tavakkolian
2021-01-16 17:12 Richard Miller
2021-01-16 21:24 ` Skip Tavakkolian
2021-01-16 22:14   ` Bakul Shah
2021-01-17  7:11     ` Skip Tavakkolian

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=CAJSxfmKH3iZLiWYjNNOOsuGYQoUfztks7aX1KS02rp1zSzycQQ@mail.gmail.com \
    --to=skip.tavakkolian@gmail.com \
    --cc=9fans@9fans.net \
    /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).