Working custom board for STM32MP151 - Found the solution
Hi!
I notice one thing when I build my STM32MP151 custom board and implemented OpenSTLinux with my own .dtb and Linux kernel.
I hade enormous issues to get a basic setup of STM32MP151 up and running with Linux. I found out that the Linux kernel is destroying the working queue, which results that the linux kernel halts.
I have posted the working custom board for STM32MP151 project here. Give it a star so other knows that this is a working board for STM32MP151.
https://github.com/DanielMartensson/STM32-Computer/
Question:
When I comment this line in the file kernel/trace/trace.c, my board just works like a charm. So why is it that? I need to disable the destruction of the working queue eval_map_wp in order to make the board lose it's critical errors?
static int __init trace_eval_sync(void)
{
/* Make sure the eval map updates are finished */
if (eval_map_wq){
/*destroy_workqueue(eval_map_wq); */
}
return 0;
}
Feel free to download the gerber files and build the board. The unique thing with the board, is that it has no SD-card slot. Only an eMMC that being flashed through the USB OTG. The manufacturing cost is about 100 USD for a total build. Compare that to STM32MP157-EV board which cost 470 USD.
