We are testing boot from nor flash on AM62x Customer Board. We burned the Image, dtb, ubifs to flash, configured uboot parameters and linux device tree. But the following error was reported after startup.
I found that when the kernel starts, the flash is not devided according to the specified partition. It has only two partitions(data0 and data1) , and it's not what we want.
Our configuration in the Linux device tree is like this
&ospi0 {
spi_nor_flash: flash@0 {
compatible = "jedec,spi-nor";
reg = <0x0>;
spi-tx-bus-width = <4>;
spi-rx-bus-width = <4>;
spi-max-frequency = <25000000>;
cdns,tshsl-ns = <60>;
cdns,tsd2d-ns = <60>;
cdns,tchsh-ns = <60>;
cdns,tslch-ns = <60>;
cdns,read-delay = <4>;
cdns,phy-mode;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "tiboot3";
reg = <0x0 0x80000>;
};
partition@80000 {
label = "tispl";
reg = <0x80000 0x200000>;
};
partition@280000 {
label = "u-boot";
reg = <0x280000 0x400000>;
};
partition@680000 {
label = "env";
reg = <0x680000 0x40000>;
};
partition@6c0000 {
label = "env.backup";
reg = <0x6c0000 0x40000>;
};
partition@700000 {
label = "fdt";
reg = <0x700000 0x20000>;
};
partition@720000 {
label = "kernel";
reg = <0x720000 0x1400000>;
};
partition@1b20000 {
label = "system";
reg = <0x1b20000 0x5ea0000>;
};
partition@79c0000 {
label = "app";
reg = <0x79c0000 0x5000000>;
};
partition@c9c0000 {
label = "datalog";
reg = <0xc9c0000 0x2b00000>;
};
partition@f4c0000 {
label = "syslog";
reg = <0xf4c0000 0xb00000>;
};
partition@ffc0000 {
label = "phypattern";
reg = <0xffc0000 0x40000>;
};
};
};
};
the uboot parameters is likes below
Please help to see if this configuration is ok, and how to mount the ubifs ?
Regards,
Stephen