9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Thaddeus Woskowiak <tswoskowiak@gmail.com>
To: 9front@9front.org
Subject: Re: [9front] Pi 4 Compute Module + IO Board Issues
Date: Mon, 22 Feb 2021 08:48:26 -0500	[thread overview]
Message-ID: <CAG3JMtZ_MykqccuF0F8vw7QOaOiP4mTMQKt8=_pAbPaSrBFfVQ@mail.gmail.com> (raw)
In-Reply-To: <D41D2BBB4B93FFBA14E4CE616E037E4A@felloff.net>

On Sun, Feb 21, 2021 at 2:43 PM <cinap_lenrek@felloff.net> wrote:
>
> > The first roadblock is the USB appears to be non functional as no hubs
> > are reported and the keyboard and mouse do not work.
> > http://9systems.org/img/pi_4_compute_9boot.jpg
>
> yeah, we went thru this with the pi400 and it turned out to be some
> new assumptions of the xhci firmware load procedure by the firmware.
>
> i might have forgoten to update the firmware files and dtb's during
> the build?
>
> can you check the files under:
>
> https://github.com/raspberrypi/firmware/raw/master/boot
>
> and see if adding the dtb: bcm2711-rpi-cm4.dtb (currently missing)
>
> and newer versions of: bootcode.bin fixup_cd.dat start_cd.elf fixup4cd.dat start4cd.elf
>
> (see /sys/src/boot/bcm/mkfile)
>
> the image has a fat partition that you should be able to modify
> from anywhere... just copy the files into it.

I downloaded all the latest firmware files from the git repo and
unfortunately no USB. Just to clarify, this board lacks USB 3.0 and
only has two 2.0 ports. The PCIe port is instead broken out to a
standard x1 slot.

Additionally, this pi uses emmc in place of an sd card. There is a
jumper that puts the board into usb boot mode and you use a program to
load the pi boot binaries over usb. That puts the emmc into mass
storage mode and it shows up as a block device.
https://github.com/raspberrypi/usbboot (emmcfs when...)

> > I hooked up a serial console and pressed enter at the boot prompt to
> > see what happens and I get the same list of emmc errors printed. I'll
> > have to try tls booting but I don't yet have a disk server configured.
> > http://okturing.com/src/10469/body
>
> that is alot harder to debug without a fileserver. once we have
> usb working, you could at least boot into a filesystem on the
> usb drive...
>
> good luck
>
> --
> cinap

I got tcp boot going yesterday and was able to boot the pi. I have a
sysinfo if that helps any: http://okturing.com/src/10480/body

Pointless yet fun things to add:
Just for the hell of it I gave doom a shot. Of course without USB I
lost input from the serial console.
http://9systems.org/img/pi4computedoom.jpg

The kernel sees an NVMe disk plugged into PCIe but no drivers of
course. That would be a fun alternative to emmc.
http://9systems.org/img/pi4computenvme.jpg

  reply	other threads:[~2021-02-22 13:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-21  0:41 Thaddeus Woskowiak
2021-02-21 18:36 ` cinap_lenrek
2021-02-22 13:48   ` Thaddeus Woskowiak [this message]
2021-02-22 23:11     ` 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='CAG3JMtZ_MykqccuF0F8vw7QOaOiP4mTMQKt8=_pAbPaSrBFfVQ@mail.gmail.com' \
    --to=tswoskowiak@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).