9front - general discussion about 9front
 help / color / mirror / Atom feed
From: cinap_lenrek@felloff.net
To: 9front@9front.org
Subject: Re: [9front] 9front on Raspberry Pi 400
Date: Sat, 30 Jan 2021 06:54:28 +0100	[thread overview]
Message-ID: <745B36637AFFB49CDF95B03D2859A0B7@felloff.net> (raw)
In-Reply-To: <01000177512cbf36-f7a8198c-3461-4d02-b5b4-24dc0287284e-000000@email.amazonses.com>

> I wonder whether the Adafruit USB to TTL serial adapter can be seen by 9.

if not, it should be quite easy to add support. the problem with the rasperry
pi uart is that it uses 3.3V, so is not really TTL. you have to be carefull.

for the previous test, i think i made a mistake in the device tree parsing.

i took the parent bus address instead of the child bus address
in the dma-ranges case.

that might be the reason why *pcidmawin had a zero offset in your case.

the offset should appear in the child bus address field and *pcidmawin should
actually be the difference between them for the translation.

i didnt notice in my case as with the pi4 8GB, there is no translation and
both fields addresses are zero.

http://felloff.net/usr/cinap_lenrek/9pi4-pciwin2
http://felloff.net/usr/cinap_lenrek/s9pi4-pciwin2

12f215453abe5bf601cb49861f33b187bfbe8898	9pi4
0c405178ce7d4cc667d5a12176749682ff5a24cb	s9pi4

never give up!

--
cinap

  reply	other threads:[~2021-01-30  6:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-20 17:23 Mack Wallace
2021-01-23 16:11 ` cinap_lenrek
2021-01-23 21:08   ` Mack Wallace
2021-01-23 21:13   ` Mack Wallace
2021-01-23 23:42     ` cinap_lenrek
2021-01-24 15:01       ` cinap_lenrek
2021-01-26  3:33         ` Mack Wallace
2021-01-26  3:35         ` Mack Wallace
2021-01-26 11:21           ` cinap_lenrek
2021-01-26 12:09           ` cinap_lenrek
2021-01-27  2:32             ` Mack Wallace
2021-01-27 14:30               ` cinap_lenrek
2021-01-27 17:04               ` cinap_lenrek
2021-01-27 17:57               ` cinap_lenrek
2021-01-29 14:58               ` cinap_lenrek
2021-01-30  2:43                 ` Mack Wallace
2021-01-30  5:54                   ` cinap_lenrek [this message]
2021-01-30 19:23                     ` Mack Wallace
2021-01-30 19:41                       ` cinap_lenrek
2021-01-30 19:46                       ` cinap_lenrek
2021-02-01  1:16                         ` Mack Wallace

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=745B36637AFFB49CDF95B03D2859A0B7@felloff.net \
    --to=cinap_lenrek@felloff.net \
    --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).