What does CONFIG_FSL_IFC mean in uboot.cfg

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What does CONFIG_FSL_IFC mean in uboot.cfg

572 Views
tmorrison
Contributor III

a) I am trying to debug a custom LS1043A-RGW board SPL  code (using the u-boot-spl ELF file built with flex-builder).

b) This runs out of OCRAM, so I import into CodeWarrior and point the source code at the proper directory. 

c) I start the debug session, and I set a  breakpoint in fsl_lsch2_early_init_f() and it calls init_early_memctl_regs()

d) It seems to lose its mind somewhere in the middle of this routine...

I can't get  any further without understanding this.

note: we have the same NAND part number (just a bigger size). Does the LS1043A-RDB have a completely different

         nand part that could be causing issues?

Tom

Labels (1)
0 Kudos
1 Reply

504 Views
bpe
NXP Employee
NXP Employee

CONFIG_FSL_IFC enables support of the on-chip Integrated Flash Controller,
IFC. Details can be found in LS1043ARM, Chapter 25.
Function init_early_memctl_regs() performs IFC  initializations based
on various Flash parameters defined as macros. It only copies constants
to registers while running from a non-IFC controlled memory, so it is
not clear how the processor can "lose its mind" in that routine.
If an exception occurs during a register initialization,
it is most likely because the address of the target register is calculated
incorrectly. Use your debugger to verify the target addresses of the
registers being initialized against the addresses specified in the
Manual.


Have a great day,
Platon

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos