LS1020a: IFC not probed at boot

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

LS1020a: IFC not probed at boot

1,026 Views
jb2
Contributor III

Hello,

I have a issue with my custom board.

Details:

- Boot UBoot on QSPI: OK

- Copy ubifs to NAND flash in UBoot: OK

- Copy ftd and uImage from NAND to DDR and bootm: OK

- In the boot of the kernel, the IFC driver is not probed. I don't have the log:

fsl-ifc 1530000.ifc: Freescale Integrated Flash Controller
I try with the devboard and log before and after are the same.
 
I enabled CONFIG_DEBUG_KERNEL and I only have this:
[    3.770934] bus: 'platform': add driver fsl-ifc
Do you know why the driver is not probed?
 
Decompiled device tree (in soc):
 

 

		ifc@1530000 {
			compatible = "fsl,ifc", "simple-bus";
			reg = <0x0 0x1530000 0x0 0x10000>;
			big-endian;
			interrupts = <0x0 0x4b 0x4>;
			#address-cells = <0x2>;
			#size-cells = <0x1>;
			ranges = <0x0 0x0 0x0 0x7e800000 0x10000>;
			status = "okay";

			nand@0,0 {
				compatible = "fsl,ifc-nand";
				#address-cells = <0x1>;
				#size-cells = <0x1>;
				reg = <0x0 0x0 0x10000>;

				partition@0 {
					label = "recovery";
					reg = <0x0 0x2000000>;
				};

				partition@1 {
					label = "fw0";
					reg = <0x2000000 0x10000000>;
				};

				partition@2 {
					label = "fw1";
					reg = <0x12000000 0x10000000>;
				};

				partition@3 {
					label = "cfg";
					reg = <0x22000000 0x100000>;
				};

				partition@4 {
					label = "cfgbkp";
					reg = <0x22100000 0x100000>;
				};

				partition@5 {
					label = "vscfw";
					reg = <0x22200000 0x20000>;
				};

				partition@6 {
					label = "log";
					reg = <0x22220000 0x1dde0000>;
				};
			};
		};

 

 

Defconfig

Spoiler
CONFIG_FSL_IFC=y
CONFIG_MTD_NAND_FSL_IFC=y
Tags (1)
0 Kudos
Reply
2 Replies

1,018 Views
jb2
Contributor III

I found the solution but I have one question.

In the U-Boot file arch/arm/cpu/armv7/ls102xa/fdt.c, the node is disabled at the end of the file.

Can I remove this part of code without side effect? I have no conflict between QSPI and NAND on my board.

Thank you,

Jean

0 Kudos
Reply

1,004 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the following RCW definition, IFC is multiplexed with QSPI on LS1020A.

yipingwang_0-1658130382270.png

 

0 Kudos
Reply