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..
- I downloaded the 3.2.16 kernel sources from Linux.org
- Using the TI SDK I modified Rules.make to build this version
- I used the am335x_evm_defconfig file as they suggested in the notes.
- At the top level sdk I ran make linux_clean – this worked ok
- 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
- Instead of using the am335x_evm_defconfig I used tisdk_am335x_evm_defconfig as this is what the Rules.make used originally
- I cleaned and rebuilt everything – this compiled ok and gave me a uImage file
- I tried to boot the board with the uImage produced from (7)
- The kernel image check-summed ok
- The kernel image loaded ok
- 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