But aren't I supposed to have a .ko file after building the module?
--- In Don Tucker <> wrote:
>
> In addition to building the module, you also need to tell the kernel to
> expect that it's there. This is done by editing the .config file
> beforehand, and then running "|depmod -a -F System.map|" on the
> System.map created when you compiled the kernel, and copied onto the
> board after all of the modules were copied over.
>
> Don
> On 11/6/2011 4:20 PM, danthackett wrote:
> >
> > Hello everyone,
> > I am trying to get started compiling a kernel module for a TS-7260. I
> > have followed the instructions on the following pages in order to try
> > to compile a simple hello world module:
> >
> > I created an SD card using these instructions:
> > http://www.embeddedarm.com/software/arm-linux-fastboot-ts7300.php
> >
> > Then I compiled the kernel following these instructions:
> > http://www.embeddedarm.com/about/resource.php?item=485
> >
> > I created a directory ~/ts7200_kernel which is where I uncompressed
> > the crosstools tar and compiled the kernel which is located in
> > ~/ts7200_kernel/linux24
> >
> > Then I tried to follow the instructions on this page:
> > http://embeddedfreak.wordpress.com/2009/02/03/hello-world-module-for-ts-7260/
> >
> > I used the following command within my "hellomod" directory that
> > contains hello.c and the Makefile from the embeddedfreak page to try
> > to compile the module:
> > $ sudo make KERNELDIR=/home/dan/ts7200_kernel/linux24
> > CROSS_COMPILE=/home/dan/ts7200_kernel/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-
> >
> > I got the following output:
> > make -C /home/dan/ts7200_kernel/linux24
> > M=/home/dan/ts7200_kernel/hellomod modules
> > make[1]: Entering directory `/home/dan/ts7200_kernel/linux24'
> > make -C kernel CFLAGS="-D__KERNEL__
> > -I/home/dan/ts7200_kernel/linux24/include -Wall -Wstrict-prototypes
> > -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common
> > -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi
> > -msoft-float -Uarm -DMODULE" MAKING_MODULES=1 modules
> > make[2]: Entering directory `/home/dan/ts7200_kernel/linux24/kernel'
> > make[2]: Nothing to be done for `modules'.
> > make[2]: Leaving directory `/home/dan/ts7200_kernel/linux24/kernel'
> > make -C drivers CFLAGS="-D__KERNEL__
> > -I/home/dan/ts7200_kernel/linux24/include -Wall -Wstrict-prototypes
> > -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common
> > -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi
> > -msoft-float -Uarm -DMODULE" MAKING_MODULES=1 modules
> > make[2]: Entering directory `/home/dan/ts7200_kernel/linux24/drivers'
> > make -C block modules
> > make[3]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/block'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/drivers/block'
> > make -C bluetooth modules
> > make[3]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/bluetooth'
> > /home/dan/ts7200_kernel/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-ld
> >
> > -r -o hci_uart.o hci_ldisc.o hci_h4.o hci_bcsp.o
> > make[3]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/drivers/bluetooth'
> > make -C cdrom modules
> > make[3]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/cdrom'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/drivers/cdrom'
> > make -C char modules
> > make[3]: Entering directory `/home/dan/ts7200_kernel/linux24/drivers/char'
> > make -C joystick modules
> > make[4]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/char/joystick'
> > make[4]: Nothing to be done for `modules'.
> > make[4]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/drivers/char/joystick'
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/drivers/char'
> > make -C hotplug modules
> > make[3]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/hotplug'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/drivers/hotplug'
> > make -C input modules
> > make[3]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/input'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/drivers/input'
> > make -C media modules
> > make[3]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/media'
> > make -C radio modules
> > make[4]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/media/radio'
> > make[4]: Nothing to be done for `modules'.
> > make[4]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/drivers/media/radio'
> > make -C video modules
> > make[4]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/media/video'
> > make[4]: Nothing to be done for `modules'.
> > make[4]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/drivers/media/video'
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/drivers/media'
> > make -C misc modules
> > make[3]: Entering directory `/home/dan/ts7200_kernel/linux24/drivers/misc'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/drivers/misc'
> > make -C mtd modules
> > make[3]: Entering directory `/home/dan/ts7200_kernel/linux24/drivers/mtd'
> > make -C chips modules
> > make[4]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/mtd/chips'
> > make[4]: Nothing to be done for `modules'.
> > make[4]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/drivers/mtd/chips'
> > make -C devices modules
> > make[4]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/mtd/devices'
> > make[4]: Nothing to be done for `modules'.
> > make[4]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/drivers/mtd/devices'
> > make -C maps modules
> > make[4]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/mtd/maps'
> > make[4]: Nothing to be done for `modules'.
> > make[4]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/drivers/mtd/maps'
> > make -C nand modules
> > make[4]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/mtd/nand'
> > make[4]: Nothing to be done for `modules'.
> > make[4]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/drivers/mtd/nand'
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/drivers/mtd'
> > make -C net modules
> > make[3]: Entering directory `/home/dan/ts7200_kernel/linux24/drivers/net'
> > make -C irda modules
> > make[4]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/net/irda'
> > make[4]: Nothing to be done for `modules'.
> > make[4]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/drivers/net/irda'
> > make -C wireless modules
> > make[4]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/net/wireless'
> > make -C at76c503 modules
> > make[5]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/net/wireless/at76c503'
> > make[5]: Nothing to be done for `modules'.
> > make[5]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/drivers/net/wireless/at76c503'
> > make -C wlan-ng modules
> > make[5]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/net/wireless/wlan-ng'
> > make -C p80211 modules
> > make[6]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/net/wireless/wlan-ng/p80211'
> > make[6]: Nothing to be done for `modules'.
> > make[6]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/drivers/net/wireless/wlan-ng/p80211'
> > make -C prism2 modules
> > make[6]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/net/wireless/wlan-ng/prism2'
> > make[6]: Nothing to be done for `modules'.
> > make[6]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/drivers/net/wireless/wlan-ng/prism2'
> > make[5]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/drivers/net/wireless/wlan-ng'
> > make[4]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/drivers/net/wireless'
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/drivers/net'
> > make -C parport modules
> > make[3]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/parport'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/drivers/parport'
> > make -C pld modules
> > make[3]: Entering directory `/home/dan/ts7200_kernel/linux24/drivers/pld'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/drivers/pld'
> > make -C scsi modules
> > make[3]: Entering directory `/home/dan/ts7200_kernel/linux24/drivers/scsi'
> > /home/dan/ts7200_kernel/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-ld
> >
> > -r -o scsi_mod.o scsi.o hosts.o scsi_ioctl.o constants.o scsicam.o
> > scsi_proc.o scsi_error.o scsi_obsolete.o scsi_queue.o scsi_lib.o
> > scsi_merge.o scsi_dma.o scsi_scan.o scsi_syms.o
> > /home/dan/ts7200_kernel/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-ld
> >
> > -r -o sd_mod.o sd.o
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/drivers/scsi'
> > make -C serial modules
> > make[3]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/serial'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/drivers/serial'
> > make -C sound modules
> > make[3]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/sound'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/drivers/sound'
> > make -C usb modules
> > make[3]: Entering directory `/home/dan/ts7200_kernel/linux24/drivers/usb'
> > /home/dan/ts7200_kernel/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-ld
> >
> > -r -o usbcore.o usb.o usb-debug.o hub.o devio.o inode.o drivers.o
> > devices.o hcd.o
> > /home/dan/ts7200_kernel/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-ld
> >
> > -r -o hid.o hid-core.o hid-input.o
> > make -C host modules
> > make[4]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/usb/host'
> > make[4]: Nothing to be done for `modules'.
> > make[4]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/drivers/usb/host'
> > make -C serial modules
> > make[4]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/usb/serial'
> > make[4]: Nothing to be done for `modules'.
> > make[4]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/drivers/usb/serial'
> > make -C storage modules
> > make[4]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/usb/storage'
> > /home/dan/ts7200_kernel/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-ld
> >
> > -r -o usb-storage.o scsiglue.o protocol.o transport.o usb.o
> > initializers.o shuttle_usbat.o sddr09.o sddr55.o freecom.o dpcm.o
> > datafab.o jumpshot.o
> > make[4]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/drivers/usb/storage'
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/drivers/usb'
> > make -C video modules
> > make[3]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/drivers/video'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/drivers/video'
> > make[2]: Leaving directory `/home/dan/ts7200_kernel/linux24/drivers'
> > make -C mm CFLAGS="-D__KERNEL__
> > -I/home/dan/ts7200_kernel/linux24/include -Wall -Wstrict-prototypes
> > -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common
> > -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi
> > -msoft-float -Uarm -DMODULE" MAKING_MODULES=1 modules
> > make[2]: Entering directory `/home/dan/ts7200_kernel/linux24/mm'
> > make[2]: Nothing to be done for `modules'.
> > make[2]: Leaving directory `/home/dan/ts7200_kernel/linux24/mm'
> > make -C fs CFLAGS="-D__KERNEL__
> > -I/home/dan/ts7200_kernel/linux24/include -Wall -Wstrict-prototypes
> > -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common
> > -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi
> > -msoft-float -Uarm -DMODULE" MAKING_MODULES=1 modules
> > make[2]: Entering directory `/home/dan/ts7200_kernel/linux24/fs'
> > make -C cramfs modules
> > make[3]: Entering directory `/home/dan/ts7200_kernel/linux24/fs/cramfs'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/fs/cramfs'
> > make -C fat modules
> > make[3]: Entering directory `/home/dan/ts7200_kernel/linux24/fs/fat'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/fs/fat'
> > make -C msdos modules
> > make[3]: Entering directory `/home/dan/ts7200_kernel/linux24/fs/msdos'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/fs/msdos'
> > make -C nls modules
> > make[3]: Entering directory `/home/dan/ts7200_kernel/linux24/fs/nls'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/fs/nls'
> > make -C vfat modules
> > make[3]: Entering directory `/home/dan/ts7200_kernel/linux24/fs/vfat'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/fs/vfat'
> > make[2]: Leaving directory `/home/dan/ts7200_kernel/linux24/fs'
> > make -C net CFLAGS="-D__KERNEL__
> > -I/home/dan/ts7200_kernel/linux24/include -Wall -Wstrict-prototypes
> > -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common
> > -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi
> > -msoft-float -Uarm -DMODULE" MAKING_MODULES=1 modules
> > make[2]: Entering directory `/home/dan/ts7200_kernel/linux24/net'
> > make -C 8021q modules
> > make[3]: Entering directory `/home/dan/ts7200_kernel/linux24/net/8021q'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/net/8021q'
> > make -C bluetooth modules
> > make[3]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/net/bluetooth'
> > /home/dan/ts7200_kernel/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-ld
> >
> > -r -o bluez.o af_bluetooth.o hci_core.o hci_conn.o hci_event.o
> > hci_sock.o lib.o syms.o
> > make -C bnep modules
> > make[4]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/net/bluetooth/bnep'
> > make[4]: Nothing to be done for `modules'.
> > make[4]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/net/bluetooth/bnep'
> > make -C rfcomm modules
> > make[4]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/net/bluetooth/rfcomm'
> > make[4]: Nothing to be done for `modules'.
> > make[4]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/net/bluetooth/rfcomm'
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/net/bluetooth'
> > make -C core modules
> > make[3]: Entering directory `/home/dan/ts7200_kernel/linux24/net/core'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/net/core'
> > make -C ipv4 modules
> > make[3]: Entering directory `/home/dan/ts7200_kernel/linux24/net/ipv4'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/net/ipv4'
> > make -C irda modules
> > make[3]: Entering directory `/home/dan/ts7200_kernel/linux24/net/irda'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/net/irda'
> > make -C netlink modules
> > make[3]: Entering directory `/home/dan/ts7200_kernel/linux24/net/netlink'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/net/netlink'
> > make -C packet modules
> > make[3]: Entering directory `/home/dan/ts7200_kernel/linux24/net/packet'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/net/packet'
> > make -C sched modules
> > make[3]: Entering directory `/home/dan/ts7200_kernel/linux24/net/sched'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory `/home/dan/ts7200_kernel/linux24/net/sched'
> > make[2]: Leaving directory `/home/dan/ts7200_kernel/linux24/net'
> > make -C ipc CFLAGS="-D__KERNEL__
> > -I/home/dan/ts7200_kernel/linux24/include -Wall -Wstrict-prototypes
> > -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common
> > -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi
> > -msoft-float -Uarm -DMODULE" MAKING_MODULES=1 modules
> > make[2]: Entering directory `/home/dan/ts7200_kernel/linux24/ipc'
> > make[2]: Nothing to be done for `modules'.
> > make[2]: Leaving directory `/home/dan/ts7200_kernel/linux24/ipc'
> > make -C lib CFLAGS="-D__KERNEL__
> > -I/home/dan/ts7200_kernel/linux24/include -Wall -Wstrict-prototypes
> > -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common
> > -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi
> > -msoft-float -Uarm -DMODULE" MAKING_MODULES=1 modules
> > make[2]: Entering directory `/home/dan/ts7200_kernel/linux24/lib'
> > make -C zlib_deflate modules
> > make[3]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/lib/zlib_deflate'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/lib/zlib_deflate'
> > make -C zlib_inflate modules
> > make[3]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/lib/zlib_inflate'
> > make[3]: Nothing to be done for `modules'.
> > make[3]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/lib/zlib_inflate'
> > make[2]: Leaving directory `/home/dan/ts7200_kernel/linux24/lib'
> > make -C crypto CFLAGS="-D__KERNEL__
> > -I/home/dan/ts7200_kernel/linux24/include -Wall -Wstrict-prototypes
> > -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common
> > -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi
> > -msoft-float -Uarm -DMODULE" MAKING_MODULES=1 modules
> > make[2]: Entering directory `/home/dan/ts7200_kernel/linux24/crypto'
> > make[2]: Nothing to be done for `modules'.
> > make[2]: Leaving directory `/home/dan/ts7200_kernel/linux24/crypto'
> > make -C arch/arm/mach-ep93xx CFLAGS="-D__KERNEL__
> > -I/home/dan/ts7200_kernel/linux24/include -Wall -Wstrict-prototypes
> > -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common
> > -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi
> > -msoft-float -Uarm -DMODULE" MAKING_MODULES=1 modules
> > make[2]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/arch/arm/mach-ep93xx'
> > make[2]: Nothing to be done for `modules'.
> > make[2]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/arch/arm/mach-ep93xx'
> > make -C arch/arm/kernel CFLAGS="-D__KERNEL__
> > -I/home/dan/ts7200_kernel/linux24/include -Wall -Wstrict-prototypes
> > -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common
> > -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi
> > -msoft-float -Uarm -DMODULE" MAKING_MODULES=1 modules
> > make[2]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/arch/arm/kernel'
> > make[2]: Nothing to be done for `modules'.
> > make[2]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/arch/arm/kernel'
> > make -C arch/arm/mm CFLAGS="-D__KERNEL__
> > -I/home/dan/ts7200_kernel/linux24/include -Wall -Wstrict-prototypes
> > -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common
> > -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi
> > -msoft-float -Uarm -DMODULE" MAKING_MODULES=1 modules
> > make[2]: Entering directory `/home/dan/ts7200_kernel/linux24/arch/arm/mm'
> > make[2]: Nothing to be done for `modules'.
> > make[2]: Leaving directory `/home/dan/ts7200_kernel/linux24/arch/arm/mm'
> > make -C arch/arm/lib CFLAGS="-D__KERNEL__
> > -I/home/dan/ts7200_kernel/linux24/include -Wall -Wstrict-prototypes
> > -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common
> > -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi
> > -msoft-float -Uarm -DMODULE" MAKING_MODULES=1 modules
> > make[2]: Entering directory `/home/dan/ts7200_kernel/linux24/arch/arm/lib'
> > make[2]: Nothing to be done for `modules'.
> > make[2]: Leaving directory `/home/dan/ts7200_kernel/linux24/arch/arm/lib'
> > make -C arch/arm/nwfpe CFLAGS="-D__KERNEL__
> > -I/home/dan/ts7200_kernel/linux24/include -Wall -Wstrict-prototypes
> > -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common
>
> > -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi
> > -msoft-float -Uarm -DMODULE" MAKING_MODULES=1 modules
> > make[2]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/arch/arm/nwfpe'
> > make[2]: Nothing to be done for `modules'.
> > make[2]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/arch/arm/nwfpe'
> > make -C arch/arm/fastfpe CFLAGS="-D__KERNEL__
> > -I/home/dan/ts7200_kernel/linux24/include -Wall -Wstrict-prototypes
> > -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common
> > -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi
> > -msoft-float -Uarm -DMODULE" MAKING_MODULES=1 modules
> > make[2]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/arch/arm/fastfpe'
> > make[2]: Nothing to be done for `modules'.
> > make[2]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/arch/arm/fastfpe'
> > make -C arch/arm/common CFLAGS="-D__KERNEL__
> > -I/home/dan/ts7200_kernel/linux24/include -Wall -Wstrict-prototypes
> > -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -Uarm -fno-common
> > -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm9tdmi
> > -msoft-float -Uarm -DMODULE" MAKING_MODULES=1 modules
> > make[2]: Entering directory
> > `/home/dan/ts7200_kernel/linux24/arch/arm/common'
> > make[2]: Nothing to be done for `modules'.
> > make[2]: Leaving directory
> > `/home/dan/ts7200_kernel/linux24/arch/arm/common'
> > make[1]: Leaving directory `/home/dan/ts7200_kernel/linux24'
> >
> > >From what I think I understand, I am supposed to have a hello.ko file
> > afterwards that I can copy to my sdcard and run insmod hello.ko on the
> > TS-7260, but no file is created in my "hellomod" directory that
> > contains my hello.c and Makefile.
> >
> > All I am trying to do is get started making a kernel module for my
> > TS-7260, but this does not seem to be working.
> >
> > Can anybody help me? I would appreciate your patience as I am very new
> > to all of this and I think I could be missing a step in here or maybe
> > I am going about this all wrong.
> >
> >
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|