This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PSP for AM1808 kernel build errors

Other Parts Discussed in Thread: AM1808, OMAPL138

Got through all the menu driven configuration stuff and the build started. It errors on the serial driver build, I may have missed excluding this during the long option selection process.

  CC      drivers/serial/8250.o
drivers/serial/8250.c:46:26: error: mach/cputype.h: No such file or directory
drivers/serial/8250.c: In function ‘serial8250_config_port’:
drivers/serial/8250.c:2605: error: implicit declaration of function ‘cpu_is_davinci_da850’
make[2]: *** [drivers/serial/8250.o] Error 1
make[1]: *** [drivers/serial] Error 2
make: *** [drivers] Error 2

 

I can see that header file in about 4 different /arch directories but do not know how to let the compiler know the path. Is there a makefile script that I can just go in and edit out this driver?

 

Thanks,

Dennis

 

  • Realistically, there should be no need to deviate from the default configuration for the AM1808 (ie. dm850_omapl138_defconfig).  I don't see a need to run menuconfig, per your other post.

    If you would, please use the default configuration and try to build uImage with it to ensure you can successfully build it.  Then at that point if you want to modify configuration settings, you know you have a good base to start from.

    [prompt] make distclean ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
    [prompt] make da850_omapl138_defconfig ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
    [prompt] make uImage ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-