Find the answer to your Linux question:
Results 1 to 2 of 2
I'm trying to cross-compile the Linux kernel for an ARM9-device (the kernel config file is sam9_l9260_defconfig), but I can't seem to compile modules. I keep getting The present kernel configuration ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2004
    Posts
    23

    Crosscompilation and modules


    I'm trying to cross-compile the Linux kernel for an ARM9-device (the kernel config file is sam9_l9260_defconfig), but I can't seem to compile modules.

    I keep getting
    The present kernel configuration has modules disabled. Type 'make config' and enable loadable module support. Then build a kernel with module support enabled.
    So, I do make config and select yes for every option in 'Enable loadable module support', and I still get the above error.

    The steps I do are:
    1. If with the default config:
    Code:
    make ARCH=arm CROSS_COMPILE=arm-unknown-linux-gnu- sam9_l9260_defconfig
    make ARCH=arm CROSS_COMPILE=arm-unknown-linux-gnu- uImage
    2. Own config:
    Code:
    make config ARCH=arm CROSS_COMPILE=arm-unknown-linux-gnu-
    make ARCH=arm CROSS_COMPILE=arm-unknown-linux-gnu- uImage
    What should I do to be able to compile modules?

    Edit: extra information: I'm using 2.6.23 with the patches from AT91 Linux 2.6 Patches

  2. #2
    Just Joined!
    Join Date
    Jun 2006
    Posts
    29
    Is Toolchain for ARM installed on your PC ?
    to know this type

    #arm- <TAB>

    you can crosscompile modules or kernel when u have toolchain installed on PC.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •