PReP residual to device-tree converter

Johannes Berg johannes at sipsolutions.net
Wed Jul 9 21:29:12 EST 2008


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):

iomem:
c0000000-feffffff : PCI host bridge
  c80000f0-c80000ff : 0000:00:01.0

ioports:
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
  000004d0-000004d1 : 8259 edge control


FWIW, my qemu command line was:

qemu-system-ppc -initrd initrd  -kernel linux/arch/ppc/boot/images/zImage.prep -M prep -cpu 604 -serial stdio

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/28cf384e/attachment.pgp>


More information about the Linuxppc-dev mailing list