From: Antony Pavlov <antonynpavlov@gmail.com>
To: barebox <barebox@lists.infradead.org>
Subject: barebox PCI support
Date: Tue, 5 Jul 2011 14:19:13 +0400 [thread overview]
Message-ID: <CAA4bVAFxY_fJLbr0OumbyxkBPqnemsq5H2V6OKJ1JGWRGuKuCA@mail.gmail.com> (raw)
Hi!
Qemu can emulate PCI bus, so i decided to add PCI support for qemu-malta board.
I have found that current barebox has no pci support (only one ppc
board has references
to PCI, but there is no common PCI code). Also I found the PCI-related
tasks in the end of TODO file in barebox.git.
Getting PCI support from current linux kernel is not so easy, so, I
got some parts of
lowlevel PCI support from linux-2.6.39 and PCI scan bus function from
very old linux-2.2.
I have disabled any bridging support. Also I didn't get pci resources
(PBARs) reconfiguration code.
My code can register GT64120 PCI controller, scan devices on PCI0 bus
and make chained list of found devices. There is lspci command to show
the chained list.
This is very very draft code.
Please review it or state you consideration on PCI support in barebox.
--
Best regards,
Antony Pavlov
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2011-07-05 10:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-05 10:19 Antony Pavlov [this message]
2011-08-11 21:30 Antony Pavlov
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=CAA4bVAFxY_fJLbr0OumbyxkBPqnemsq5H2V6OKJ1JGWRGuKuCA@mail.gmail.com \
--to=antonynpavlov@gmail.com \
--cc=barebox@lists.infradead.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