* Compilation error
@ 2005-07-25 7:16 Susheel Raj
2005-07-25 8:07 ` Xilinx ML300 support in 2.6 Stefan Roese
2005-07-25 15:32 ` porting a mm specific macro from 2.4 to 2.6 Vikas Aggarwal
0 siblings, 2 replies; 3+ messages in thread
From: Susheel Raj @ 2005-07-25 7:16 UTC (permalink / raw)
To: David Wolfe; +Cc: linuxppc-embedded
Hi David,
I ams til trying to make Ethernet work :-(
Last time i compiled the kernel without including
some files but now included everything in Bestcomm
directory.
I am getting the following error which I could figure
out what? could you help me ...
ppc_82xx-ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000
-Bstatic arch/ppc/kernel/head.o
arch/ppc/kernel/idle_6xx.o init/main.o init/version.o
init/do_mounts.o \
--start-group \
arch/ppc/kernel/kernel.o
arch/ppc/platforms/platform.o
arch/ppc/mm/mm.oarch/ppc/lib/lib.o kernel/kernel.o
mm/mm.o fs/fs.o ipc/ipc.o \
drivers/char/char.o drivers/block/block.o
drivers/misc/misc.o drivers/net/net.o
drivers/ide/idedriver.o drivers/scsi/scsidrv.o
drivers/cdrom/driver.o drivers/sound/sounddrivers.o
drivers/pci/driver.o drivers/mtd/mtdlink.o
drivers/macintosh/macintosh.o drivers/video/video.o
drivers/usb/usbdrv.o drivers/media/media.o
arch/ppc/mgt_io/mgt_io.o drivers/mitron/mitron.o \
net/network.o \
/home/nuguru/linux_2_4_21_5200/lib/lib.a \
--end-group \
-o vmlinux
arch/ppc/mgt_io/mgt_io.o: In function
`mgt_sdma_fec_rx_task_setup':
arch/ppc/mgt_io/mgt_io.o(.text+0x3934): undefined
reference to `TaskSetup_TASK_FEC_RX'
arch/ppc/mgt_io/mgt_io.o(.text+0x3934): relocation
truncated to fit: R_PPC_REL24 TaskSetup_TASK_FEC_RX
arch/ppc/mgt_io/mgt_io.o: In function
`mgt_sdma_fec_tx_task_setup':
arch/ppc/mgt_io/mgt_io.o(.text+0x39cc): undefined
reference to `TaskSetup_TASK_FEC_TX'
arch/ppc/mgt_io/mgt_io.o(.text+0x39cc): relocation
truncated to fit: R_PPC_REL24 TaskSetup_TASK_FEC_TX
make: *** [vmlinux] Error 1
nuguru@SW-server:~/linux_2_4_21_5200$
As you know mgt_io is nothing but 5xxx_io for you and
the rest is same. It complains while it is linking
everything. I dint find anything like
"askSetup_TASK_FEC_RX" used in
mgt_sdma_fec_rx_task_setup() -->
arch/ppc/mgt_io/sdma.c.
What could be wrong here????
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
^ permalink raw reply [flat|nested] 3+ messages in thread* Xilinx ML300 support in 2.6
2005-07-25 7:16 Compilation error Susheel Raj
@ 2005-07-25 8:07 ` Stefan Roese
2005-07-25 15:32 ` porting a mm specific macro from 2.4 to 2.6 Vikas Aggarwal
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Roese @ 2005-07-25 8:07 UTC (permalink / raw)
To: linuxppc-embedded; +Cc: Andrei Konovalov
Hi!
I am looking for Xilinx PPC4xx support (e.g. ML300) in 2.6. Please correct me
if I am wrong, but I only found very basic Xilinx related stuff in the
current 2.6er kernel (e.g. pic). Device drivers, especially serial, network
and i2c don't seem to be implemented right now.
Is anybody working on porting the Xilinx PPC4xx support including the device
drivers to 2.6 right now? Any infos or pointer are most welcome.
Best regards,
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* porting a mm specific macro from 2.4 to 2.6
2005-07-25 7:16 Compilation error Susheel Raj
2005-07-25 8:07 ` Xilinx ML300 support in 2.6 Stefan Roese
@ 2005-07-25 15:32 ` Vikas Aggarwal
1 sibling, 0 replies; 3+ messages in thread
From: Vikas Aggarwal @ 2005-07-25 15:32 UTC (permalink / raw)
To: kernelnewbies; +Cc: linuxppc-embedded
Hi,
I am porting a linux driver written for 2.4.28 to kernel 2.6.10. Have
question regarding a MACRO in my old driver.
#define __vpa(va)
((pte_val(*pte_offset(pmd_offset(pgd_offset_k(va),(va)),(va))) &
PAGE_MASK) + (va & ~PAGE_MASK))
Will the above MACRO work as is for 2.6.10 kernel? If not can someone help
me in making 2.6.10 compatible.
I saw in 2.6.10 pte_offset_kernel is introduced and also googling around
showed the pte_offset should be replaced by pte_offset_kernel.
Also my compilation fails when that MACRO expanded complaining
"invalid type argument of `unary *'
The Linux kernel runs on Freescale's MPC8248(ppc arch).
thanks in advance.
-vikas aggarwal
MS CS
SUNY, albany
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-07-25 15:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-25 7:16 Compilation error Susheel Raj
2005-07-25 8:07 ` Xilinx ML300 support in 2.6 Stefan Roese
2005-07-25 15:32 ` porting a mm specific macro from 2.4 to 2.6 Vikas Aggarwal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).