I'm trying to build a kernel for our custom P5020 board with linux SDKv2.0, but my kernel doesn't work.
Our board can be supported by adding an additional match string to corenet-generic.c, and my build system works, as I have tested it by building a 4.1.28 from kernel.org, which works perfectly.
When I attempt to run my SDK kernel the output stops right after the U-Boot line:
'Loading Device Tree to 03f5000, end 031fff57' - no more output on console or serial. The machine has just hung.
I did notice a couple of messages that don't occur with the kernel.org build:
make: Circular arch/powerpc/lib/crtsavres.o <- prepare dependency dropped.
make[1]: 'arch/powerpc/lib/crtsavres.o' is up to date.
What do I need to do to get this to build properly?
Thanks.
Darren
Hello Darren Stevens,
SDK 2.0 Kernel also contains the above build information.
Probably the problem is caused by Kernel configuration or you modification in file corenet-generic.c.
Please try to build image with the attached Kernel configuration.
If your problem remains, would you please provide your Kernel configuration file and the modified corenet-generic.c?
Thanks,
Yiping