Dear OFW developers,
I'm going to a "new" PCI device on our custom (Geode LX based) board.
I already add standard PCI support to our build (${BP}/dev/pcibus.fth),
plus enabling some debugging stuff:
true value pcimsg?
true value probemsg?
Is it possible to see its vendor/device ID from OFW? (we are going to
create a custom OFW driver soon, but it will be enough to see it IDs for
debugging purpose)
AFAIK I also have to add "something" on PCI IRQ table to let the OS (in
our case Linux) …
[View More]to attach its driver to the right IRQ.
I found something like that inside vsapci.fth source
(cpu/x86/pc/*/vsapci.fth) but it seems that this is used only for Geode
companion chip devices.
Any clue in how enumerate and assign IRQ to PCI devices with OFW?
Thanks in advance and best regards,
--
Andrea
DAVE Srl - Electronics System House
e-mail address: r&d4(a)dave-tech.it
[View Less]
Dear OFW developers,
I've found that inside
dev/geode/lpcflash.fth
it seem there is the Forth code to program an LPC Flash.
I try to use it (like on OLPC) but I have the following undefines:
./build neptune.rom
--- ${BP}/cpu/x86/pc/neptune/devices.fth is newer than the target file
fw.img
--- Rebuilding fw.img
--- Cmd:
/home/shared/devel/neptune/sw/ofw/openfirmware.git/cpu/x86/Linux/x86forth
/home/shared/devel/neptune/sw/ofw/openfirmware.git/cpu/x86/build/basefw.dic
../fw.bth
${BP}/dev/…
[View More]geode/lpcflash.fth:57: ?file ?
${BP}/dev/geode/lpcflash.fth:68: /flash ?
${BP}/dev/geode/lpcflash.fth:70: flash-buf ?
${BP}/dev/geode/lpcflash.fth:74: get-file ?
--- Saving fw.dic ...
--- Saving fw.img ...
--- fw.img is newer than the target file neptune.rom
--- Rebuilding neptune.rom
--- Cmd:
/home/shared/devel/neptune/sw/ofw/openfirmware.git/cpu/x86/Linux/forth
/home/shared/devel/neptune/sw/ofw/openfirmware.git/cpu/x86/Linux/../build/builder.dic
../neptune.bth
--- Saving as neptune.rom - Direct ROM format
As far as I understand this are dependency that are declared inside:
dev/olpc/spiflash
(due the fact that on OLPC LPC flash is an SPI flash connected via
KB3700, correct me if I'm wrong)
Can this lpcflash.fth device be used for a "standard" LPC flash too? or
it's only some kind of "wrapper" for the OLPC's SPI flash?
Thanks in advance and best regards,
--
Andrea
DAVE Srl - Electronics System House
e-mail address: r&d4(a)dave-tech.it
[View Less]
Dear OpenFirmware enthusiasts,
we recently created a new mailing list around Firmworks' OpenFirmware
implementation (the one that is used on OLPC for example):
https://www.openfirmware.info/mailman/listinfo/openfirmware
Due to this new mailing list, commit messages to Mitch's OpenFirmware
repository will go to the new mailing list from now on.
Best regards,
Stefan Reinauer
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
…
[View More]Email: info(a)coresystems.de • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866
[View Less]