Hi,

 Thank you for your fast response!

My only requirement right now is to make an image able to boot, for me to get the right data (gpios, mac addresses etc).

 Did you check the values I put on the partitions? Do they look correct?

I forgot to give the link of full serial log with stock firmware, here it is: http://codepad.org/stXQWQSQ

Thank you again!

----- Original Message ----- From: socoola
To: OpenWrt Development List
Sent: Sunday, June 23, 2013 11:05 PM
Subject: [Spam] Re: [OpenWrt-Devel] Help with DTS file


Hi,


I think you must keep the u-boot&"boot env partitions, the others depend on your requirement.




------------------ Original ------------------
From:  "Flávio Silveir"<f...@terra.com.br>;
Date:  Mon, Jun 24, 2013 05:50 AM
To:  "OpenWrt Development List"<openwrt-devel@lists.openwrt.org>;
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
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel




_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to