Thank you Jonas, and I'm sorry, I didn't mean to top-post with no reason.
This is my first attempt of dts file, as I said before, I'm just trying to make the device boot to get proper gpios, mac addresses etc.
From what I understand, if a partition starts at 0x30000 and ends at
0x38000, reg would be <0x30000 0x8000>, right? Anyway, dts file attached for review.If it helps, I'm gonna paste below the link for full serial log and partitions created in stock firmware:
Full serial log: http://codepad.org/stXQWQSQ 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" I hope I get this right the first time!----- Original Message ----- From: "Jonas Gorski" <j...@openwrt.org>
To: "OpenWrt Development List" <openwrt-devel@lists.openwrt.org> Sent: Tuesday, June 25, 2013 9:24 AM Subject: [Spam] Re: [OpenWrt-Devel] Help with DTS file
On Tue, Jun 25, 2013 at 5:19 AM, Flávio Silveira <f...@terra.com.br> wrote:Thanks for your responses, but a few questions still remains.1- I should keep partitions "u-boot", "u-boot env" and "devdata" from stockfirmware, correct?Yes.2- What the second parameter in reg means? Like 0x10000 on the example below: partition@30000 { label = "u-boot-env"; reg = <0x30000 0x8000>; read-only; };I see no "0x10000" here ;-). To answer your question, it's "reg = <offset length>;"3- Would guys help me create proper partitions on my dts file? If some infois missing, please tell me.Don't top-post.----- Original Message ----- From: "Florian Fainelli" <flor...@openwrt.org>Jonas _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
DIR-610-A1.dts
Description: Binary data
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel