This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How should I do if I want to enable only one single CPU on a Cortex A9 MPCore(2 CPUs)

Hi, all

When I was porting Minix 3 OS to Zedboard (Zynq 7000 All Programmable SoC) the system always hanged

at refresh_tlb. What's strange is that refresh_tlb had been performed at KERNEL booting up, but when a user

space process VM (for Virtual Memory Management) was brought up, refresh_tlb made the system booting

hang. I don't figure out the clue at all.

My guess is that the KERNEL was booted up on the primary CPU(CPU0), the secondary CPU(CPU1) is idle

but when VM started up, on which CPU does it run? Alas, each CPU has its own 32 KB L1 cache. When

KERNEL performs a TLB refresh there is something wrong with cache coherency between two CPU cores.

So I want to use only single CPU on a dual-core Cortex A9 MPCore to test my guess. How should I take

control of the number of CPU cores which are enabled on the OS boot.

Thank you!

Best Regards,

Channing M.