新手接触,作为记录,参照我的记录出现问题概不负责!!!
&partitions { partition@60000 { label = "overlay"; reg = <0x60000 0x100000>; read-only; }; }
改为
&spi0 { status = "okay"; flash@0 { compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <10000000>; partitions { compatible = "fixed-partitions"; #address-cells = <1>; #size-cells = <1>; partition@0 { label = "u-boot"; reg = <0x0 0x30000>; read-only; }; partition@30000 { label = "u-boot-env"; reg = <0x30000 0x10000>; read-only; }; factory: partition@40000 { label = "factory"; reg = <0x40000 0x10000>; read-only; }; partition@50000 { compatible = "denx,uimage"; label = "firmware"; reg = <0x50000 0xfb0000>; }; }; }; };
4. 此时进行编译,哎嘿,正常来说刷进去就可以了,这时分为两种情况(针对使用openwrt来说,如果用的lede编译正常此时就已经正常启动了):
本文作者:vLai
本文链接:
版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!