Forum Discussion
Altera_Forum
Honored Contributor
8 years agoprovided SPL prevents Linux from booting
Hello all, I'm attempting to do some work at the SPL/U-Boot level, and am finding that when replacing the SPL preloader, it boots U-Boot OK, but when U-Boot passes control to zImage, it hangs. ...
Altera_Forum
Honored Contributor
8 years agoI'm learning this stuff too so take this with a grain of salt...
Since you are wanting to customize SPL, I think you will have no choice but to learn a bit of the U-boot code (how and what to modify). So, you should load all of the code in Eclipse (DS-5 version, or any other) as a project so that it can index the code for you. Then you get all of the usual IDE features. This should help: https://community.nxp.com/thread/222791 I think you should really focus on why SPL1 and SPL2 register settings don't match (Clock Manager, Main PLL Group, Peripheral PLL Group). The output of the "md" commands is very helpful. You control all of the clock settings in the Qsys project so if you can find the project associated with SPL1, you should compare it to your custom SPL2 Qsys project.