Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork841
Does thistransition_to_single_core_main
work on the rpi4?#140
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
I guess this is more of a question than an issue but I've found that the rpi4 doesnt produce the expected result when using atomic operations. So, I have 2 atomic operations lined up one after the other. I'd have expected an Ok(1) after the compare and swap. info!("kernel_state: {:?}", state::state_manager().0.load(Ordering::Acquire));info!("compare and swap {:?}", state::state_manager().0.compare_exchange( state::StateManager::INIT, state::StateManager::SINGLE_CORE_MAIN,Ordering::Acquire,Ordering::Relaxed,)); but instead I get an error. [ 0.481485] kernel_state: 0[ 0.484178] compare and swap Err(1) Question: Note:
|
BetaWas this translation helpful?Give feedback.
All reactions
MMU must be enabled.
See:#132
Replies: 2 comments
-
MMU must be enabled. See:#132 |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
Thank you. I must say - (for an opensource tutorial) the turn around time on a response here is awesome (something I wish more projects emulated). Thanks again 👍 |
BetaWas this translation helpful?Give feedback.
All reactions
This discussion was converted from issue #137 on January 09, 2022 16:12.