arch/powerpc, Xilinx, and mainline kernel support
Koss, Mike (Mission Systems)
mike.koss at ngc.com
Wed May 28 00:31:00 EST 2008
Ok, we tried your patch, Grant, against the 26-rc3 and it bombed (we
were testing w/ the
gen-mhs-devtree.git\testfiles\microblaze-temac-edk92.dts.golden)
:~/linux-2.6-torvalds-tree-2008-5-20> make simpleImage.test
fatal: cannot describe '4341086cdcd1f35f41e811288da1dd1abe52ab64'
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
CALL arch/powerpc/kernel/systbl_chk.sh
CC arch/powerpc/kernel/prom_init.o
CALL arch/powerpc/kernel/prom_init_check.sh
arch/powerpc/boot/dtc -O dtb -o arch/powerpc/boot/test.dtb -b 0
/home/####/linux-2.6-torvalds-tree-2008-5-20/arch/powerpc/boot/dts/test.
dts
DTC: dts->dtb on file
"/home/####/linux-2.6-torvalds-tree-2008-5-20/arch/powerpc/boot/dts/test
.dts"
Warning (reg_format): "reg" property in
/plb_v46/interrupt-controller at 81800000 has invalid length (8 bytes)
(#address-cells == 2, #size-cells == 1) Warning (reg_format): "reg"
property in /plb_v46/mdm at 84400000 has invalid length (8 bytes)
(#address-cells == 2, #size-cells == 1) Warning (reg_format): "reg"
property in /plb_v46/memory at 90000000 has invalid length (8 bytes)
(#address-cells == 2, #size-cells == 1) Warning (reg_format): "reg"
property in /plb_v46/serial at 84000000 has invalid length (8 bytes)
(#address-cells == 2, #size-cells == 1) Warning (reg_format): "reg"
property in /plb_v46/xps_iic at 81600000 has invalid length (8 bytes)
(#address-cells == 2, #size-cells == 1) Warning (reg_format): "reg"
property in /plb_v46/xps_ll_fifo at 81a00000 has invalid length (8 bytes)
(#address-cells == 2, #size-cells == 1) Warning (reg_format): "reg"
property in /plb_v46/xps_ll_temac at 81c00000 has invalid length (8 bytes)
(#address-cells == 2, #size-cells == 1) Warning (reg_format): "reg"
property in /plb_v46/xps_timer at 83c00000 has invalid length (8 bytes)
(#address-cells == 2, #size-cells == 1) Warning
(avoid_default_addr_size): Relying on default #address-cells value for
/plb_v46/interrupt-controller at 81800000
Warning (avoid_default_addr_size): Relying on default #size-cells value
for /plb_v46/interrupt-controller at 81800000
Warning (avoid_default_addr_size): Relying on default #address-cells
value for /plb_v46/mdm at 84400000 Warning (avoid_default_addr_size):
Relying on default #size-cells value for /plb_v46/mdm at 84400000 Warning
(avoid_default_addr_size): Relying on default #address-cells value for
/plb_v46/memory at 90000000 Warning (avoid_default_addr_size): Relying on
default #size-cells value for /plb_v46/memory at 90000000 Warning
(avoid_default_addr_size): Relying on default #address-cells value for
/plb_v46/serial at 84000000 Warning (avoid_default_addr_size): Relying on
default #size-cells value for /plb_v46/serial at 84000000 Warning
(avoid_default_addr_size): Relying on default #address-cells value for
/plb_v46/xps_iic at 81600000 Warning (avoid_default_addr_size): Relying on
default #size-cells value for /plb_v46/xps_iic at 81600000 Warning
(avoid_default_addr_size): Relying on default #address-cells value for
/plb_v46/xps_ll_fifo at 81a00000 Warning (avoid_default_addr_size): Relying
on default #size-cells value for /plb_v46/xps_ll_fifo at 81a00000 Warning
(avoid_default_addr_size): Relying on default #address-cells value for
/plb_v46/xps_ll_temac at 81c00000 Warning (avoid_default_addr_size):
Relying on default #size-cells value for /plb_v46/xps_ll_temac at 81c00000
Warning (avoid_default_addr_size): Relying on default #address-cells
value for /plb_v46/xps_timer at 83c00000 Warning (avoid_default_addr_size):
Relying on default #size-cells value for /plb_v46/xps_timer at 83c00000
WRAP arch/powerpc/boot/simpleImage.test
powerpc-405-linux-gnu-ld: arch/powerpc/boot/simpleboot-test.o: No such
file: No such file or directory
make[1]: *** [arch/powerpc/boot/simpleImage.test] Error 1 rm
arch/powerpc/boot/test.dtb
make: *** [simpleImage.test] Error 2
:~/linux-2.6-torvalds-tree-2008-5-20>
-----Original Message-----
From: glikely at secretlab.ca [mailto:glikely at secretlab.ca] On Behalf Of
Grant Likely
Sent: Friday, May 23, 2008 12:45 PM
To: Stephen Neuendorffer
Cc: Koss, Mike (Mission Systems); linuxppc-embedded at ozlabs.org
Subject: Re: arch/powerpc, Xilinx, and mainline kernel support
On Fri, May 23, 2008 at 10:13 AM, Stephen Neuendorffer
<stephen.neuendorffer at xilinx.com> wrote:
>
> Grant, could you post explicit instructions about how to build the
> simpleImage? I tried it too and couldn't get the makefile rules to
> match my dts.
>
> Mike, Supporting mpmc2 for memory access only is pretty
> straightforward, but supporting the temac/sdma connections is more
> problematic, particularly since we have no plans to update the
> plb_temac driver for ARCH=powerpc.
Oops; my mistake. I've got a trivial patche in my tree that need to be
merged for the build to work. I'll get those out ASAP.
In the mean time, add "simpleImage%" to the BOOT_TARGETS line in
arch/powerpc/Makefile. That will allow you to do:
$ make simpleImage.virtex405-<blah>
where virtex405-<blah> corresponds with a file named
arch/powerpc/boot/dts/virtex405-<blah>.dts
Cheers,
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
More information about the Linuxppc-embedded
mailing list