|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
目前板子的flash是2片32MB的flash,配置dts后,文件系统起不来,出现如下错误:of-flash: probe of fe000000.flash failed with error -16
通过cat命令查看mtd没有任何打印
[root@mpc8308erdb /]# cat proc/mtd
dev: size erasesize name
我的dts配置文件flash部分如下:
localbus@e0005000 {
#address-cells = <2>;
#size-cells = <1>;
compatible = "fsl,mpc8315-elbc", "fsl,elbc", "simple-bus";
reg = <0xe0005000 0x1000>;
interrupts = <77 0x8>;
interrupt-parent = <&ipic>;
// CS0 and CS1 are swapped when
// booting from nand, but the
// addresses are the same.
ranges = <0x0 0x0 0xfc000000 0x04000000
0x1 0x0 0xe0600000 0x00002000
0x2 0x0 0xf0000000 0x00020000
0x3 0x0 0xfa000000 0x00008000>;
flash@0,0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "cfi-flash";
reg = <0x0 0x0 0x4000000>;
bank-width = <2>;
device-width = <2>;
u-boot@0 {
reg = <0x0 0x100000>;
read-only;
};
fs@100000 {
reg = <0x100000 0x2000000>;
};
kernel@2100000 {
reg = <0x2100000 0x300000>;
};
dtb@2400000 {
reg = <0x2400000 0x100000>;
};
env@2500000 {
reg = <0x2500000 0x200000>;
};
app@2700000 {
reg = <0x2700000 0x3400000>;
};
};
请问有哪里设置错误或还需要设置什么内容可以让文件系统起来,谢谢! |
|