Make modules and kernel for ARM - Linux

This is a discussion on Make modules and kernel for ARM - Linux ; After make zImage when i give "make modules_install INSTALL_MOD_PATH=/root/opt/ln2440/rootfs" to install the kernel and modules inside root file system i am getting the following errors. make[1]: Entering directory `/root/opt/ln2440/ clabsys_kernel_2.4.20_rel1.0/drivers' make -C base modules_install make[2]: Entering directory `/root/opt/ln2440/ clabsys_kernel_2.4.20_rel1.0/drivers/base' make[2]: ...

+ Reply to Thread
Results 1 to 7 of 7

Thread: Make modules and kernel for ARM

  1. Make modules and kernel for ARM

    After make zImage when i give
    "make modules_install INSTALL_MOD_PATH=/root/opt/ln2440/rootfs"

    to install the kernel and modules inside root file system i am
    getting the following errors.

    make[1]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers'
    make -C base modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/base'
    make[2]: Nothing to be done for `modules_install'.
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/base'
    make -C block modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/block'
    make[2]: Nothing to be done for `modules_install'.
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/block'
    make -C cdrom modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/cdrom'
    make[2]: Nothing to be done for `modules_install'.
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/cdrom'
    make -C char modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/char'
    make[2]: Nothing to be done for `modules_install'.
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/char'
    make -C ha modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/ha'
    make[2]: Nothing to be done for `modules_install'.
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/ha'
    make -C hotplug modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/hotplug'
    make[2]: Nothing to be done for `modules_install'.
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/hotplug'
    make -C i2c modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/i2c'
    make[2]: Nothing to be done for `modules_install'.
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/i2c'
    make -C l3 modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/l3'
    make[2]: Nothing to be done for `modules_install'.
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/l3'
    make -C media modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/media'
    make -C radio modules_install
    make[3]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/media/radio'
    make[3]: Nothing to be done for `modules_install'.
    make[3]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/media/radio'
    make -C video modules_install
    make[3]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/media/video'
    make[3]: Nothing to be done for `modules_install'.
    make[3]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/media/video'
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/media'
    make -C misc modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/misc'
    make[2]: Nothing to be done for `modules_install'.
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/misc'
    make -C mmc modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/mmc'
    make[2]: Nothing to be done for `modules_install'.
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/mmc'
    make -C mtd modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/mtd'
    make -C chips modules_install
    make[3]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/mtd/chips'
    make[3]: Nothing to be done for `modules_install'.
    make[3]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/mtd/chips'
    make -C devices modules_install
    make[3]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/mtd/devices'
    make[3]: Nothing to be done for `modules_install'.
    make[3]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/mtd/devices'
    make -C maps modules_install
    make[3]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/mtd/maps'
    make[3]: Nothing to be done for `modules_install'.
    make[3]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/mtd/maps'
    make -C nand modules_install
    make[3]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/mtd/nand'
    make[3]: Nothing to be done for `modules_install'.
    make[3]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/mtd/nand'
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/mtd'
    make -C net modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/net'
    make[2]: Nothing to be done for `modules_install'.
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/net'
    make -C parport modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/parport'
    make[2]: Nothing to be done for `modules_install'.
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/parport'
    make -C scsi modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/scsi'
    make[2]: Nothing to be done for `modules_install'.
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/scsi'
    make -C serial modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/serial'
    make[2]: Nothing to be done for `modules_install'.
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/serial'
    make -C sound modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/sound'
    make[2]: Nothing to be done for `modules_install'.
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/sound'
    make -C usb modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/usb'
    make[2]: Nothing to be done for `modules_install'.
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/usb'
    make -C video modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/video'
    make[2]: Nothing to be done for `modules_install'.
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers/video'
    make[1]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/drivers'
    make -C mm modules_install
    make[1]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/mm'
    make[1]: Nothing to be done for `modules_install'.
    make[1]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/mm'
    make -C fs modules_install
    make[1]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/fs'
    make -C nls modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/fs/nls'
    make[2]: Nothing to be done for `modules_install'.
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/fs/nls'
    make[1]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/fs'
    make -C net modules_install
    make[1]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/net'
    make -C core modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/net/core'
    make[2]: Nothing to be done for `modules_install'.
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/net/core'
    make -C ipv4 modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/net/ipv4'
    make[2]: Nothing to be done for `modules_install'.
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/net/ipv4'
    make -C netlink modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/net/netlink'
    make[2]: Nothing to be done for `modules_install'.
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/net/netlink'
    make -C sched modules_install
    make[2]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/net/sched'
    make[2]: Nothing to be done for `modules_install'.
    make[2]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/net/sched'
    make[1]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/net'
    make -C ipc modules_install
    make[1]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/ipc'
    make[1]: Nothing to be done for `modules_install'.
    make[1]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/ipc'
    make -C lib modules_install
    make[1]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/lib'
    make[1]: Nothing to be done for `modules_install'.
    make[1]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/lib'
    make -C arch/arm/mach-s3c2440 modules_install
    make[1]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/arch/arm/mach-s3c2440'
    make[1]: Nothing to be done for `modules_install'.
    make[1]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/arch/arm/mach-s3c2440'
    make -C arch/arm/kernel modules_install
    make[1]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/arch/arm/kernel'
    make[1]: Nothing to be done for `modules_install'.
    make[1]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/arch/arm/kernel'
    make -C arch/arm/mm modules_install
    make[1]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/arch/arm/mm'
    make[1]: Nothing to be done for `modules_install'.
    make[1]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/arch/arm/mm'
    make -C arch/arm/lib modules_install
    make[1]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/arch/arm/lib'
    make[1]: Nothing to be done for `modules_install'.
    make[1]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/arch/arm/lib'
    make -C arch/arm/nwfpe modules_install
    make[1]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/arch/arm/nwfpe'
    make[1]: Nothing to be done for `modules_install'.
    make[1]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/arch/arm/nwfpe'
    make -C arch/arm/fastfpe modules_install
    make[1]: Entering directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/arch/arm/fastfpe'
    make[1]: Nothing to be done for `modules_install'.
    make[1]: Leaving directory `/root/opt/ln2440/
    clabsys_kernel_2.4.20_rel1.0/arch/arm/fastfpe'
    cd /root/opt/ln2440/rootfs/lib/modules/2.4.20_CLabSys_elfin-r1.0; \
    mkdir -p pcmcia; \
    find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{}
    pcmcia
    if [ "/usr/local/arm/2.95.3/bin/arm-linux-" = "" ]; then \
    if [ -r System.map ]; then \
    "/sbin/"depmod -ae -F System.map -b /root/opt/ln2440/
    rootfs -r 2.4.20_CLabSys_elfin-r1.0;fi;fi


    Suggest me the reason for this.
    How can i install the kernel and modules inside ramdisk.
    Please help.

    Regards
    Vina

    i am not getting modules and other object files inside RAMDISK

  2. Re: Make modules and kernel for ARM

    vinayagamenmsol@gmail.com wrote:
    > After make zImage when i give
    > "make modules_install INSTALL_MOD_PATH=/root/opt/ln2440/rootfs"


    > to install the kernel and modules inside root file system i am
    > getting the following errors.


    There is not a single error in all that listing.

    > make[1]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers'
    > make -C base modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/base'
    > make[2]: Nothing to be done for `modules_install'.
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/base'
    > make -C block modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/block'
    > make[2]: Nothing to be done for `modules_install'.
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/block'
    > make -C cdrom modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/cdrom'
    > make[2]: Nothing to be done for `modules_install'.
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/cdrom'
    > make -C char modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/char'
    > make[2]: Nothing to be done for `modules_install'.
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/char'
    > make -C ha modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/ha'
    > make[2]: Nothing to be done for `modules_install'.
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/ha'
    > make -C hotplug modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/hotplug'
    > make[2]: Nothing to be done for `modules_install'.
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/hotplug'
    > make -C i2c modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/i2c'
    > make[2]: Nothing to be done for `modules_install'.
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/i2c'
    > make -C l3 modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/l3'
    > make[2]: Nothing to be done for `modules_install'.
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/l3'
    > make -C media modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/media'
    > make -C radio modules_install
    > make[3]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/media/radio'
    > make[3]: Nothing to be done for `modules_install'.
    > make[3]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/media/radio'
    > make -C video modules_install
    > make[3]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/media/video'
    > make[3]: Nothing to be done for `modules_install'.
    > make[3]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/media/video'
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/media'
    > make -C misc modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/misc'
    > make[2]: Nothing to be done for `modules_install'.
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/misc'
    > make -C mmc modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/mmc'
    > make[2]: Nothing to be done for `modules_install'.
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/mmc'
    > make -C mtd modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/mtd'
    > make -C chips modules_install
    > make[3]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/chips'
    > make[3]: Nothing to be done for `modules_install'.
    > make[3]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/chips'
    > make -C devices modules_install
    > make[3]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/devices'
    > make[3]: Nothing to be done for `modules_install'.
    > make[3]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/devices'
    > make -C maps modules_install
    > make[3]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/maps'
    > make[3]: Nothing to be done for `modules_install'.
    > make[3]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/maps'
    > make -C nand modules_install
    > make[3]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/nand'
    > make[3]: Nothing to be done for `modules_install'.
    > make[3]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/nand'
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/mtd'
    > make -C net modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/net'
    > make[2]: Nothing to be done for `modules_install'.
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/net'
    > make -C parport modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/parport'
    > make[2]: Nothing to be done for `modules_install'.
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/parport'
    > make -C scsi modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/scsi'
    > make[2]: Nothing to be done for `modules_install'.
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/scsi'
    > make -C serial modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/serial'
    > make[2]: Nothing to be done for `modules_install'.
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/serial'
    > make -C sound modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/sound'
    > make[2]: Nothing to be done for `modules_install'.
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/sound'
    > make -C usb modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/usb'
    > make[2]: Nothing to be done for `modules_install'.
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/usb'
    > make -C video modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/video'
    > make[2]: Nothing to be done for `modules_install'.
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers/video'
    > make[1]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/drivers'
    > make -C mm modules_install
    > make[1]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/mm'
    > make[1]: Nothing to be done for `modules_install'.
    > make[1]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/mm'
    > make -C fs modules_install
    > make[1]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/fs'
    > make -C nls modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/fs/nls'
    > make[2]: Nothing to be done for `modules_install'.
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/fs/nls'
    > make[1]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/fs'
    > make -C net modules_install
    > make[1]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/net'
    > make -C core modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/net/core'
    > make[2]: Nothing to be done for `modules_install'.
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/net/core'
    > make -C ipv4 modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/net/ipv4'
    > make[2]: Nothing to be done for `modules_install'.
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/net/ipv4'
    > make -C netlink modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/net/netlink'
    > make[2]: Nothing to be done for `modules_install'.
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/net/netlink'
    > make -C sched modules_install
    > make[2]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/net/sched'
    > make[2]: Nothing to be done for `modules_install'.
    > make[2]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/net/sched'
    > make[1]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/net'
    > make -C ipc modules_install
    > make[1]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/ipc'
    > make[1]: Nothing to be done for `modules_install'.
    > make[1]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/ipc'
    > make -C lib modules_install
    > make[1]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/lib'
    > make[1]: Nothing to be done for `modules_install'.
    > make[1]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/lib'
    > make -C arch/arm/mach-s3c2440 modules_install
    > make[1]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/arch/arm/mach-s3c2440'
    > make[1]: Nothing to be done for `modules_install'.
    > make[1]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/arch/arm/mach-s3c2440'
    > make -C arch/arm/kernel modules_install
    > make[1]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/arch/arm/kernel'
    > make[1]: Nothing to be done for `modules_install'.
    > make[1]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/arch/arm/kernel'
    > make -C arch/arm/mm modules_install
    > make[1]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/arch/arm/mm'
    > make[1]: Nothing to be done for `modules_install'.
    > make[1]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/arch/arm/mm'
    > make -C arch/arm/lib modules_install
    > make[1]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/arch/arm/lib'
    > make[1]: Nothing to be done for `modules_install'.
    > make[1]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/arch/arm/lib'
    > make -C arch/arm/nwfpe modules_install
    > make[1]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/arch/arm/nwfpe'
    > make[1]: Nothing to be done for `modules_install'.
    > make[1]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/arch/arm/nwfpe'
    > make -C arch/arm/fastfpe modules_install
    > make[1]: Entering directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/arch/arm/fastfpe'
    > make[1]: Nothing to be done for `modules_install'.
    > make[1]: Leaving directory `/root/opt/ln2440/
    > clabsys_kernel_2.4.20_rel1.0/arch/arm/fastfpe'
    > cd /root/opt/ln2440/rootfs/lib/modules/2.4.20_CLabSys_elfin-r1.0; \
    > mkdir -p pcmcia; \
    > find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{}
    > pcmcia
    > if [ "/usr/local/arm/2.95.3/bin/arm-linux-" = "" ]; then \
    > if [ -r System.map ]; then \
    > "/sbin/"depmod -ae -F System.map -b /root/opt/ln2440/
    > rootfs -r 2.4.20_CLabSys_elfin-r1.0;fi;fi


    > Suggest me the reason for this.


    For what? That you don't get any errors?

    > How can i install the kernel and modules inside ramdisk.
    > i am not getting modules and other object files inside RAMDISK


    What is "ramdisk" or "RAMDISK"? You tell make to install stuff
    in /root/opt/ln2440/rootfs and it seems to do that.

    Regards, Jens
    --
    \ Jens Thoms Toerring ___ jt@toerring.de
    \__________________________ http://toerring.de

  3. Re: Make modules and kernel for ARM

    On May 31, 10:33 am, j...@toerring.de (Jens Thoms Toerring) wrote:
    > vinayagamenm...@gmail.com wrote:
    > > After make zImage when i give
    > > "make modules_install INSTALL_MOD_PATH=/root/opt/ln2440/rootfs"
    > > to install the kernel and modules inside root file system i am
    > > getting the following errors.

    >
    > There is not a single error in all that listing.
    >
    > > make[1]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers'
    > > make -C base modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/base'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/base'
    > > make -C block modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/block'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/block'
    > > make -C cdrom modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/cdrom'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/cdrom'
    > > make -C char modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/char'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/char'
    > > make -C ha modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/ha'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/ha'
    > > make -C hotplug modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/hotplug'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/hotplug'
    > > make -C i2c modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/i2c'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/i2c'
    > > make -C l3 modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/l3'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/l3'
    > > make -C media modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/media'
    > > make -C radio modules_install
    > > make[3]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/media/radio'
    > > make[3]: Nothing to be done for `modules_install'.
    > > make[3]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/media/radio'
    > > make -C video modules_install
    > > make[3]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/media/video'
    > > make[3]: Nothing to be done for `modules_install'.
    > > make[3]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/media/video'
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/media'
    > > make -C misc modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/misc'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/misc'
    > > make -C mmc modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mmc'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mmc'
    > > make -C mtd modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd'
    > > make -C chips modules_install
    > > make[3]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/chips'
    > > make[3]: Nothing to be done for `modules_install'.
    > > make[3]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/chips'
    > > make -C devices modules_install
    > > make[3]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/devices'
    > > make[3]: Nothing to be done for `modules_install'.
    > > make[3]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/devices'
    > > make -C maps modules_install
    > > make[3]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/maps'
    > > make[3]: Nothing to be done for `modules_install'.
    > > make[3]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/maps'
    > > make -C nand modules_install
    > > make[3]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/nand'
    > > make[3]: Nothing to be done for `modules_install'.
    > > make[3]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/nand'
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd'
    > > make -C net modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/net'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/net'
    > > make -C parport modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/parport'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/parport'
    > > make -C scsi modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/scsi'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/scsi'
    > > make -C serial modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/serial'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/serial'
    > > make -C sound modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/sound'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/sound'
    > > make -C usb modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/usb'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/usb'
    > > make -C video modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/video'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/video'
    > > make[1]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers'
    > > make -C mm modules_install
    > > make[1]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/mm'
    > > make[1]: Nothing to be done for `modules_install'.
    > > make[1]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/mm'
    > > make -C fs modules_install
    > > make[1]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/fs'
    > > make -C nls modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/fs/nls'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/fs/nls'
    > > make[1]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/fs'
    > > make -C net modules_install
    > > make[1]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/net'
    > > make -C core modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/net/core'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/net/core'
    > > make -C ipv4 modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/net/ipv4'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/net/ipv4'
    > > make -C netlink modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/net/netlink'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/net/netlink'
    > > make -C sched modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/net/sched'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/net/sched'
    > > make[1]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/net'
    > > make -C ipc modules_install
    > > make[1]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/ipc'
    > > make[1]: Nothing to be done for `modules_install'.
    > > make[1]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/ipc'
    > > make -C lib modules_install
    > > make[1]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/lib'
    > > make[1]: Nothing to be done for `modules_install'.
    > > make[1]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/lib'
    > > make -C arch/arm/mach-s3c2440 modules_install
    > > make[1]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/arch/arm/mach-s3c2440'
    > > make[1]: Nothing to be done for `modules_install'.
    > > make[1]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/arch/arm/mach-s3c2440'

    >
    > ...
    >
    > read more


    Hi,
    There is no error.
    But the driver modules(*.o) and other kernel modules are not there
    inside the
    RAMDISK. Insidse lib/modules/,
    i should have modules.dep , and many object files
    But those files are missing.

    Is these anything wrong with this.
    Once i copy my own driver named test.o to /lib/modules/ Version>/test.o
    and once i boot my device i am getting the following error.

    attempt to access beyond end of device
    01:00: rw=0, want=8198, limit=8192
    EXT2-fs error (device ramdisk(1,0)): ext2_read_inode: unable to read
    inode bloc7insmod: /lib/modules/2.4.20: Input/output error
    insmod: /lib/modules: Input/output error
    insmod: test.o: no module by that name found



    Suggest me how to resolve this.

    Regards,
    Vina















  4. Re: Make modules and kernel for ARM

    On May 31, 11:03 am, vinayagamenm...@gmail.com wrote:
    > On May 31, 10:33 am, j...@toerring.de (Jens Thoms Toerring) wrote:
    >
    > > vinayagamenm...@gmail.com wrote:
    > > > After make zImage when i give
    > > > "make modules_install INSTALL_MOD_PATH=/root/opt/ln2440/rootfs"
    > > > to install the kernel and modules inside root file system i am
    > > > getting the following errors.

    >
    > > There is not a single error in all that listing.

    >
    > > > make[1]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers'
    > > > make -C base modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/base'
    > > > make[2]: Nothing to be done for `modules_install'.
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/base'
    > > > make -C block modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/block'
    > > > make[2]: Nothing to be done for `modules_install'.
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/block'
    > > > make -C cdrom modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/cdrom'
    > > > make[2]: Nothing to be done for `modules_install'.
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/cdrom'
    > > > make -C char modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/char'
    > > > make[2]: Nothing to be done for `modules_install'.
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/char'
    > > > make -C ha modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/ha'
    > > > make[2]: Nothing to be done for `modules_install'.
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/ha'
    > > > make -C hotplug modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/hotplug'
    > > > make[2]: Nothing to be done for `modules_install'.
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/hotplug'
    > > > make -C i2c modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/i2c'
    > > > make[2]: Nothing to be done for `modules_install'.
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/i2c'
    > > > make -C l3 modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/l3'
    > > > make[2]: Nothing to be done for `modules_install'.
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/l3'
    > > > make -C media modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/media'
    > > > make -C radio modules_install
    > > > make[3]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/media/radio'
    > > > make[3]: Nothing to be done for `modules_install'.
    > > > make[3]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/media/radio'
    > > > make -C video modules_install
    > > > make[3]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/media/video'
    > > > make[3]: Nothing to be done for `modules_install'.
    > > > make[3]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/media/video'
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/media'
    > > > make -C misc modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/misc'
    > > > make[2]: Nothing to be done for `modules_install'.
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/misc'
    > > > make -C mmc modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/mmc'
    > > > make[2]: Nothing to be done for `modules_install'.
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/mmc'
    > > > make -C mtd modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd'
    > > > make -C chips modules_install
    > > > make[3]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/chips'
    > > > make[3]: Nothing to be done for `modules_install'.
    > > > make[3]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/chips'
    > > > make -C devices modules_install
    > > > make[3]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/devices'
    > > > make[3]: Nothing to be done for `modules_install'.
    > > > make[3]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/devices'
    > > > make -C maps modules_install
    > > > make[3]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/maps'
    > > > make[3]: Nothing to be done for `modules_install'.
    > > > make[3]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/maps'
    > > > make -C nand modules_install
    > > > make[3]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/nand'
    > > > make[3]: Nothing to be done for `modules_install'.
    > > > make[3]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/nand'
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd'
    > > > make -C net modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/net'
    > > > make[2]: Nothing to be done for `modules_install'.
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/net'
    > > > make -C parport modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/parport'
    > > > make[2]: Nothing to be done for `modules_install'.
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/parport'
    > > > make -C scsi modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/scsi'
    > > > make[2]: Nothing to be done for `modules_install'.
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/scsi'
    > > > make -C serial modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/serial'
    > > > make[2]: Nothing to be done for `modules_install'.
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/serial'
    > > > make -C sound modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/sound'
    > > > make[2]: Nothing to be done for `modules_install'.
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/sound'
    > > > make -C usb modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/usb'
    > > > make[2]: Nothing to be done for `modules_install'.
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/usb'
    > > > make -C video modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/video'
    > > > make[2]: Nothing to be done for `modules_install'.
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers/video'
    > > > make[1]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/drivers'
    > > > make -C mm modules_install
    > > > make[1]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/mm'
    > > > make[1]: Nothing to be done for `modules_install'.
    > > > make[1]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/mm'
    > > > make -C fs modules_install
    > > > make[1]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/fs'
    > > > make -C nls modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/fs/nls'
    > > > make[2]: Nothing to be done for `modules_install'.
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/fs/nls'
    > > > make[1]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/fs'
    > > > make -C net modules_install
    > > > make[1]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/net'
    > > > make -C core modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/net/core'
    > > > make[2]: Nothing to be done for `modules_install'.
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/net/core'
    > > > make -C ipv4 modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/net/ipv4'
    > > > make[2]: Nothing to be done for `modules_install'.
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/net/ipv4'
    > > > make -C netlink modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/net/netlink'
    > > > make[2]: Nothing to be done for `modules_install'.
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/net/netlink'
    > > > make -C sched modules_install
    > > > make[2]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/net/sched'
    > > > make[2]: Nothing to be done for `modules_install'.
    > > > make[2]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/net/sched'
    > > > make[1]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/net'
    > > > make -C ipc modules_install
    > > > make[1]: Entering directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/ipc'
    > > > make[1]: Nothing to be done for `modules_install'.
    > > > make[1]: Leaving directory `/root/opt/ln2440/
    > > > clabsys_kernel_2.4.20_rel1.0/ipc'
    > > > make -C lib modules_install
    > > > make[1]: Entering directory

    >
    > ...
    >
    > read more


    i,
    These is no error. But once i give
    make modules_install INSTALL_MOD_PATH=/root/opt/ln2440/rootfs
    I should get the object files of drivers and kernel inside
    /lib/modules/
    But no modules.dep and object files for me
    And if i copy my own driver object file named test.o to /lib/modules
    and if i boot my device i am getting the following error.

    attempt to access beyond end of device
    01:00: rw=0, want=8198, limit=8192
    EXT2-fs error (device ramdisk(1,0)): ext2_read_inode: unable to read
    inode bloc7insmod: /lib/modules/2.4.20: Input/output error
    insmod: /lib/modules: Input/output error
    insmod: test.o: no module by that name found


    Suggest me how to resolve this.

    Regards
    Vina

  5. Re: Make modules and kernel for ARM

    On May 31, 10:33 am, j...@toerring.de (Jens Thoms Toerring) wrote:
    > vinayagamenm...@gmail.com wrote:
    > > After make zImage when i give
    > > "make modules_install INSTALL_MOD_PATH=/root/opt/ln2440/rootfs"
    > > to install the kernel and modules inside root file system i am
    > > getting the following errors.

    >
    > There is not a single error in all that listing.
    >
    > > make[1]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers'
    > > make -C base modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/base'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/base'
    > > make -C block modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/block'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/block'
    > > make -C cdrom modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/cdrom'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/cdrom'
    > > make -C char modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/char'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/char'
    > > make -C ha modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/ha'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/ha'
    > > make -C hotplug modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/hotplug'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/hotplug'
    > > make -C i2c modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/i2c'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/i2c'
    > > make -C l3 modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/l3'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/l3'
    > > make -C media modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/media'
    > > make -C radio modules_install
    > > make[3]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/media/radio'
    > > make[3]: Nothing to be done for `modules_install'.
    > > make[3]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/media/radio'
    > > make -C video modules_install
    > > make[3]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/media/video'
    > > make[3]: Nothing to be done for `modules_install'.
    > > make[3]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/media/video'
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/media'
    > > make -C misc modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/misc'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/misc'
    > > make -C mmc modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mmc'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mmc'
    > > make -C mtd modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd'
    > > make -C chips modules_install
    > > make[3]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/chips'
    > > make[3]: Nothing to be done for `modules_install'.
    > > make[3]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/chips'
    > > make -C devices modules_install
    > > make[3]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/devices'
    > > make[3]: Nothing to be done for `modules_install'.
    > > make[3]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/devices'
    > > make -C maps modules_install
    > > make[3]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/maps'
    > > make[3]: Nothing to be done for `modules_install'.
    > > make[3]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/maps'
    > > make -C nand modules_install
    > > make[3]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/nand'
    > > make[3]: Nothing to be done for `modules_install'.
    > > make[3]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd/nand'
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/mtd'
    > > make -C net modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/net'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/net'
    > > make -C parport modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/parport'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/parport'
    > > make -C scsi modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/scsi'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/scsi'
    > > make -C serial modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/serial'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/serial'
    > > make -C sound modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/sound'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/sound'
    > > make -C usb modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/usb'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/usb'
    > > make -C video modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/video'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers/video'
    > > make[1]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/drivers'
    > > make -C mm modules_install
    > > make[1]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/mm'
    > > make[1]: Nothing to be done for `modules_install'.
    > > make[1]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/mm'
    > > make -C fs modules_install
    > > make[1]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/fs'
    > > make -C nls modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/fs/nls'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/fs/nls'
    > > make[1]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/fs'
    > > make -C net modules_install
    > > make[1]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/net'
    > > make -C core modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/net/core'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/net/core'
    > > make -C ipv4 modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/net/ipv4'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/net/ipv4'
    > > make -C netlink modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/net/netlink'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/net/netlink'
    > > make -C sched modules_install
    > > make[2]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/net/sched'
    > > make[2]: Nothing to be done for `modules_install'.
    > > make[2]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/net/sched'
    > > make[1]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/net'
    > > make -C ipc modules_install
    > > make[1]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/ipc'
    > > make[1]: Nothing to be done for `modules_install'.
    > > make[1]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/ipc'
    > > make -C lib modules_install
    > > make[1]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/lib'
    > > make[1]: Nothing to be done for `modules_install'.
    > > make[1]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/lib'
    > > make -C arch/arm/mach-s3c2440 modules_install
    > > make[1]: Entering directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/arch/arm/mach-s3c2440'
    > > make[1]: Nothing to be done for `modules_install'.
    > > make[1]: Leaving directory `/root/opt/ln2440/
    > > clabsys_kernel_2.4.20_rel1.0/arch/arm/mach-s3c2440'

    >
    > ...
    >
    > read more

    Hi,
    These is no error. But once i give
    make modules_install INSTALL_MOD_PATH=/root/opt/ln2440/rootfs
    I should get the object files of drivers and kernel inside
    /lib/modules/
    But no modules.dep and object files for me
    And if i copy my own driver object file named test.o to /lib/modules
    and if i boot my device i am getting the following error.

    attempt to access beyond end of device
    01:00: rw=0, want=8198, limit=8192
    EXT2-fs error (device ramdisk(1,0)): ext2_read_inode: unable to read
    inode bloc7insmod: /lib/modules/2.4.20: Input/output error
    insmod: /lib/modules: Input/output error
    insmod: test.o: no module by that name found


    Suggest me how to resolve this.

    Regards
    Vina


  6. Re: Make modules and kernel for ARM

    vinayagamenmsol@gmail.com wrote:
    > On May 31, 10:33 am, j...@toerring.de (Jens Thoms Toerring) wrote:
    > > vinayagamenm...@gmail.com wrote:
    > > > After make zImage when i give
    > > > "make modules_install INSTALL_MOD_PATH=/root/opt/ln2440/rootfs"
    > > > to install the kernel and modules inside root file system i am
    > > > getting the following errors.

    > >

    > There is no error.
    > But the driver modules(*.o) and other kernel modules are not there
    > inside the
    > RAMDISK. Insidse lib/modules/,
    > i should have modules.dep , and many object files
    > But those files are missing.


    You ask make to install them in /root/opt/ln2440/rootfs and it
    does. Why should stuff end up in /lib/modules/
    if you tell make explicitely *not* to put it there?

    > Is these anything wrong with this.
    > Once i copy my own driver named test.o to /lib/modules/ > Version>/test.o


    I guess you shouldn't put it there directly but in a msic or
    extra subdirectory. And did you run depmode afterwards?

    > and once i boot my device i am getting the following error.


    > attempt to access beyond end of device
    > 01:00: rw=0, want=8198, limit=8192
    > EXT2-fs error (device ramdisk(1,0)): ext2_read_inode: unable to read
    > inode bloc7insmod: /lib/modules/2.4.20: Input/output error


    Obviously whatever gets read from there has only 8192 bytes of
    space and insmod needs to read more. Since I have no idea what
    you're doing I can't tell you why.

    Regards, Jens
    --
    \ Jens Thoms Toerring ___ jt@toerring.de
    \__________________________ http://toerring.de

  7. Re: Make modules and kernel for ARM

    On May 31, 11:25 am, j...@toerring.de (Jens Thoms Toerring) wrote:
    > vinayagamenm...@gmail.com wrote:
    > > On May 31, 10:33 am, j...@toerring.de (Jens Thoms Toerring) wrote:
    > > > vinayagamenm...@gmail.com wrote:
    > > > > After make zImage when i give
    > > > > "make modules_install INSTALL_MOD_PATH=/root/opt/ln2440/rootfs"
    > > > > to install the kernel and modules inside root file system i am
    > > > > getting the following errors.

    >
    > > There is no error.
    > > But the driver modules(*.o) and other kernel modules are not there
    > > inside the
    > > RAMDISK. Insidse lib/modules/,
    > > i should have modules.dep , and many object files
    > > But those files are missing.

    >
    > You ask make to install them in /root/opt/ln2440/rootfs and it
    > does. Why should stuff end up in /lib/modules/
    > if you tell make explicitely *not* to put it there?
    >
    > > Is these anything wrong with this.
    > > Once i copy my own driver named test.o to /lib/modules/ > > Version>/test.o

    >
    > I guess you shouldn't put it there directly but in a msic or
    > extra subdirectory. And did you run depmode afterwards?
    >
    > > and once i boot my device i am getting the following error.
    > > attempt to access beyond end of device
    > > 01:00: rw=0, want=8198, limit=8192
    > > EXT2-fs error (device ramdisk(1,0)): ext2_read_inode: unable to read
    > > inode bloc7insmod: /lib/modules/2.4.20: Input/output error

    >
    > Obviously whatever gets read from there has only 8192 bytes of
    > space and insmod needs to read more. Since I have no idea what
    > you're doing I can't tell you why.
    >
    > Regards, Jens
    > --
    > \ Jens Thoms Toerring ___ j...@toerring.de
    > \__________________________ http://toerring.de


    Hi,
    Once i boot my device i want my driver to activate automatically.
    What to do for this?
    Please suggest.

+ Reply to Thread