From: Erwin Authried (eauth@softsys.co.at)
Date: Wed Jan 31 2001 - 05:35:37 EST
s Mohamed Jifry[SMTP:jifry@mediasolv.com] wrote:
> Hi all
> I am Jifry from Sri Lanka.
> I am interest in Embedded system development in linux platform. Now my
> interest is to port uclinux to some ARM7TDMI development board. In this
> regard I bought EB63 board from Atmel. Just for the beginning I did the
> following to make it to work for the EB01 board.
> 1. I have downloaded uclinux-2.0.38.1pre3 kernel tree , apilio.trio SDK
> (cross compiler. dbk etc) and and the patch file for EB01 from
> (http://uclinux.home.at, Architectures -> ARM7 -> Atmel EB01)
> 2. I applied the patch file to the kernel tree and it worked fine
> 3. I changed the cross compiler name and run the command "make
> mrproper". It worked fine
> 4. I applied "make config".
> 5. Once I apply the "make dep" it say some error. last line of the error
> massages are given bellow
> make: *** mtd: No such file or directory. Stop.
> make[1]: *** {fastdep] Error 2
> make: *** [dep-files] Error 2
The config is designed to skip MTD (Memory Technology Device Subsystem)
if it isn't available. There is a bug in drivers/Makefile that gives the error message
if MTD isn't here. The patch below should solve this in case you don't want to use MTD.
On the other hand, I have not included support for the blkmem driver, thus you won't
get a usable romdisk without MTD. You have to checkout MTD via CVS from
http://www.linux-mtd.infradead.org/.
Regards,
Erwin
RCS file: /u/cvs/uclinux/kernel/drivers/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- drivers/Makefile 2000/11/16 16:35:55 1.2
+++ drivers/Makefile 2001/01/07 23:31:56
@@ -10,7 +10,7 @@
SUB_DIRS := block char net #streams
MOD_SUB_DIRS := $(SUB_DIRS)
-ALL_SUB_DIRS := $(SUB_DIRS) pci sbus scsi sound cdrom isdn mtd
+ALL_SUB_DIRS := $(SUB_DIRS) pci sbus scsi sound cdrom isdn
ifdef CONFIG_PCI
SUB_DIRS += pci
@@ -56,9 +56,11 @@
ifeq ($(CONFIG_MTD),y)
SUB_DIRS += mtd
MOD_SUB_DIRS += mtd
+ALL_SUB_DIRS += mtd
else
ifeq ($(CONFIG_MTD),m)
MOD_SUB_DIRS += mtd
+ ALL_SUB_DIRS += mtd
endif
endif
This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/
This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:28 EDT