Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When I trace kernel in head.S I found problems that may be caused by __turn_mmu_on. Any idea ?

caused IDEA Kernel problems trace
0
Posted

When I trace kernel in head.S I found problems that may be caused by __turn_mmu_on. Any idea ?

0

/* * Enable the MMU. This completely changes the structure of the visible * memory space. You will not be able to trace execution through this. * If you have an enquiry about this, *please* check the linux-arm-kernel * mailing list archives BEFORE sending another post to the list. */ The main issue here is that developers do not realise what “enabling the MMU” means. It means that all of the addressable memory will change, and this normally means various regions you’d like to write to no longer have a valid mapping and appear not to exist. If there is debugging code present that doesn’t cater for a complete change in the memory structure, then that debugging code is buggy. The best advice is if you’re using your own debugging code, remove it. Use the debugging printascii() stuff for your platform in arch/arm/kernel/debug-armv.S (enabled by CONFIG_DEBUG_LL) and drop a printascii() into printk() (kernel/printk.c) just after the vsprintf() call, and monitor the relevant serial port. • Whe

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123