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.

AM335x-evm - kernel building and booting problem

Hello,

I'm trying to build and boot a different kernel to the one supplied with the AM335x-evm sdk and I'm having problems with it. I've only just got this

board so I'm not an expert yet, this is what I've attempted to do..

  1. I downloaded the 3.2.16 kernel sources from Linux.org
  2. Using the TI SDK I modified Rules.make to build this version
  3. I used the am335x_evm_defconfig file as they suggested in the notes.
  4. At the top level sdk  I ran make linux_clean – this worked ok
  5. I then ran make linux – the compilation failed with the following errors:

 drivers/built-in.o: In function `musb_free'

clkdev.c:(.text+0xbe9e8): undefined reference to `dma_controller_destroy'

drivers/built-in.o: In function `musb_probe':

clkdev.c:(.init.text+0x5e98): undefined reference to `dma_controller_create'

make[1]: *** [.tmp_vmlinux1] Error 1

make[1]: Leaving directory `/home/ffei/ti-sdk-am335x-evm-05.03.02.00/board-support/linux-3.2.16'

make: *** [linux] Error 2

 

  1. Instead of using the am335x_evm_defconfig I used tisdk_am335x_evm_defconfig as this is what the Rules.make used originally
  2. I cleaned and rebuilt everything – this compiled ok and gave me a uImage file
  3. I tried to boot the board with the uImage produced from (7)
  4. The kernel image check-summed ok
  5. The kernel image loaded ok
  6. It then said Starting Kernel – just hangs at this point

 

Also I made a completely new copy of all the original sdk supplied kernel sources and built that and it compiled, downloaded and  booted ok on the board.

Does the mainline at kernel.org  support using a more recent kernel  or do I have to stick with the one that comes with the evm sdk e.g 3.1.0.

 Thanks,

Adrian