Greetings,
I am bringing up a proprietary board that uses the AM3352 CPU running. I have custom U-Boot and Linux BSPs based on the AM335x EVM. My board boots fine and runs the kernel fine when booting the same image from UART0, but not from NOR.
My SYSBOOT pins are mapped for the following boot order: UART0, XIP....
Using CCS (booting from NOR) I set a H/W breakpoint at 08000000 and can step through the NOR code and have verified the code is correct. It seems to taking an exception when processing the boot_params in save_boot_params, which is executed very early (lowlevel_init.S). I don't think I have a hardware issue, but rather a software one.
I have tried flashing 08000000 with both u-boot.bin and u-boot-spl.bin. Not sure if the spl one is needed based on stuff I've read on other TI forums, but tried it after the non-spl file took an exception in the same place. So it seems some basic boot parameters are not set in NOR that are when booting from UART0.
Also, I have CONFIG_ENV_IS_NOWHERE set because the ENV area of my NOR is currently blank. My goal is to write the are using 'saveenv' once I boot from NOR.
My questions:
1. Is this the right forum for this kind of sw question? If not, which one?
2. When booting for NOR is an SPL image required?
3. Is having "no environment" causing the boot_params issue?
Thanks