PReP residual to device-tree converter
Johannes Berg
johannes at sipsolutions.net
Wed Jul 9 21:39:01 EST 2008
On Wed, 2008-07-09 at 13:29 +0200, Johannes Berg wrote:
> On Wed, 2008-07-09 at 12:48 +0200, Johannes Berg wrote:
> > > I would like people that have PReP machines to take a copy of
> > > /proc/residual, run this program on it, and check that the output is
> > > sane. If it isn't, or if it is missing bits, send me the residual
> > > blob with a description of what's wrong in the generated dts.
> >
> > Here's the output from qemu:
> [...]
>
> Milton wanted iomem and ioports, I didn't manage to get userspace
> working so I printed them in the kernel (hopefully correctly):
I printed them far too early. After letting it probe drivers first, I
get:
iomem:
c0000000-feffffff : PCI host bridge
c0000000-c000000f : 0000:00:03.0
c1100000-c110000f : 0000:00:02.0
c80000f0-c80000ff : 0000:00:01.0
ioport:
00000000-007fffff : PCI host bridge
00000000-0000001f : dma1
00000020-00000021 : 8259 (master)
00000040-0000005f : timer
00000080-0000008f : dma page reg
000000a0-000000a1 : 8259 (slave)
000000c0-000000df : dma2
000001f0-000001f7 : ide0
000003f2-000003f5 : floppy
000003f6-000003f6 : ide0
000003f7-000003f7 : floppy DIR
000003f8-000003ff : serial
000004d0-000004d1 : 8259 edge control
which was with usb too:
qemu-system-ppc -initrd initrd -kernel linux/arch/ppc/boot/images/zImage.prep -M prep -cpu 604 -serial stdio -net nic,model=ne2k_pci -usb
johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080709/f3a5b5ee/attachment.pgp>
More information about the Linuxppc-dev
mailing list