> Get linux-2.4.0-cvs20010115.diff.bz2 from that directory and apply it directly 
> to the 2.4.0 tree from ftp.kernel.org.  I think my 7500 config file is 
> included in there too.

Here is what I did and what I've got..
After untaring and applying the patch I've edited the Top level Makefile
----------
ARCH := arm
...
CROSS_COMPILE   =/opt/arm-linux/bin/arm-unknown-linux-gnu-
...
---------
When I run menuconfig I get..
-----------
rm -f include/asm-arm/arch include/asm-arm/proc
rm: include/asm-arm/arch: is a directory
rm: include/asm-arm/proc: is a directory
make: *** [archsymlinks] Error 1
------------
So I've moved ../asm-arm/arch & proc to arch.back & proc.back
and created link as----#ln -s arch-cl7500 arch---#ln -s proc-armv proc.
Then, for menuconfig I've loaded ../arch/arm/def-configs/clps7500.
( why under network device support cs8900 is disabled?)
make dep was ok.
make zImage gives the following error..
-------------
....
pc_keyb.c: In function `open_aux':
pc_keyb.c:917: warning: implicit declaration of function `aux_request_irq'
pc_keyb.c:921: `KBD_CCMD_MOUSE_ENABLE' undeclared (first use in this
function)
pc_keyb.c: In function `psaux_init':
pc_keyb.c:1044: `KBD_CCMD_MOUSE_DISABLE' undeclared (first use in this
function)make[3]: *** [pc_keyb.o] Error 1
make[3]: Leaving directory `/home/saran/linux/drivers/char'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/home/saran/linux/drivers/char'
make[1]: *** [_subdir_char] Error 2
make[1]: Leaving directory `/home/saran/linux/drivers'
make: *** [_dir_drivers] Error 2
------------
Then I hashed the following from .config file 
...
CONFIG_DS1620=y
CONFIG_NWBUTTON=y
CONFIG_NWBUTTON_REBOOT=y
CONFIG_NWFLASH=y
CONFIG_CLPS7500_FLASH=y
....
CONFIG_PC_KEYB=y
CONFIG_PC_KEYMAP=y
........
(I've disabled Watchdog because after disabling KEYB.. the zImage stops at
..ds1620..)
I've also added from ../asm-arm/arch.back/dma.h file macro
#define DMA_ISA_CASCADE         4
to ../asm-arm/arch-cl7500/dma.h file, since it gave me error while
compiling.
        Now I get error message as following..
-------------------
        -o vmlinux
drivers/block/block.o: In function `blk_dev_init':
drivers/block/block.o(.text.init+0xa0): undefined reference to
`fld7500_init'
drivers/block/block.o(.text.init+0xa0): relocation truncated to fit:
R_ARM_PC24
fld7500_init
drivers/net/net.o: In function `hp100_start_xmit':
drivers/net/net.o(.text+0x1b98): undefined reference to `memcpy_toio'
drivers/net/net.o(.text+0x1b98): relocation truncated to fit: R_ARM_PC24
memcpy_toio
drivers/net/net.o(.text+0x1bb4): undefined reference to `memset_io'
drivers/net/net.o(.text+0x1bb4): relocation truncated to fit: R_ARM_PC24
memset_io
drivers/net/net.o: In function `hp100_rx':
drivers/net/net.o(.text+0x1f10): undefined reference to `memcpy_fromio'
drivers/net/net.o(.text+0x1f10): relocation truncated to fit: R_ARM_PC24
memcpy_fromio
drivers/net/net.o: In function `hp100_probe1':
drivers/net/net.o(.text.init+0x8b8): undefined reference to
`__arch_ioremap'
drivers/net/net.o(.text.init+0x8b8): relocation truncated to fit:
R_ARM_PC24 __arch_ioremap
make: *** [vmlinux] Error 1
---------------------
How to get rid of this.I've tryed various combination (Hashing .config and
removing it)Nothing was fruitfull.
I'm sorry for this prolonged mail as I wanted to give you clear picture in
the same order as I'm getting.I'll make sure my future mails are concise.

Thanks,
-Saran







_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to