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
[ 3.770934] bus: 'platform': add driver fsl-ifc
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
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
Please refer to the following RCW definition, IFC is multiplexed with QSPI on LS1020A.