-
Notifications
You must be signed in to change notification settings - Fork 682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kernel fails to boot on Nitrogen6_SoloX (or missing setup instructions) #631
Comments
The same also occurs with bootelf via tftp:
The same thing happens when ElfloaderImage=binary:
bootefi just hangs (when ElfloaderImage="efi"):
bootm seems to be the only config that works (ElfloaderImage="uimage"):
|
Issue seems to be due to the default uboot loading the elfloader with caches enabled and dirty. The elfloader doesn't currently have a PL310 L2 Cache controller driver that it can use to flush the cache before disabling it. So when it tries to enable the MMU the return address stored on the stack gets corrupted and when the function for enabling the mmu returns the processor jumps to a bad address and later aborts. An easy way to use these other uboot methods is to first call |
The default sel4test image for this platform produces an elfloader ELF file inside ./images. Trying to boot this file on a new board doesn't seem to work, there are no other instructions for how to run this platform:
Built with:
../init-build.sh -DPLATFORM=nitrogen6sx && ninja
The text was updated successfully, but these errors were encountered: