Hi,
I think you must keep the u-boot&"boot env partitions, the others depend on
your requirement.
------------------ Original ------------------
From: "Flávio Silveir"<[email protected]>;
Date: Mon, Jun 24, 2013 05:50 AM
To: "OpenWrt Development List"<[email protected]>;
Subject: [OpenWrt-Devel] Help with DTS file
Good evening,
I'm trying to create a dts file for my router which is not supported yet
and I'm stuck on the definition of partitions.
Do I have to follow the same as stock firmware?
Router's serial log with stock firmware shows this:
Creating 8 MTD partitions on "raspi":
0x000000150060-0x0000003cc060 : "rootfs"
0x000000050000-0x0000003e0000 : "upgrade"
0x000000040000-0x000000050000 : "devconf"
0x000000030000-0x000000040000 : "devdata"
0x0000003e0000-0x000000400000 : "langpack"
0x000000000000-0x000000400000 : "flash"
0x000000000000-0x000000030000 : "u-boot"
0x000000030000-0x000000038000 : "boot env"
So I thought something like:
partition@0 {
label = "u-boot";
reg = <0x0 0x30000>;
read-only;
};
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x8000>;
read-only;
};
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3e0000>;
};
};
};
Please review, thanks!
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel