Modify

Opened 2 years ago

Last modified 2 years ago

#20964 new defect

Astoria ARV7519RW22 leave room for newer U-Boot versions

Reported by: howl Owned by: developers
Priority: high Milestone:
Component: base system Version: Trunk
Keywords: Cc:

Description

This patch resizes uboot partition one page more, moves uboot-env and firmware start one page and shrinks one page firmware.

This is done to allow U-Boot 2014.7 and above to be able to run in this board as u-boot.bin now needs the first the pages instead of the first two.

--- a/target/linux/lantiq/dts/ARV7519RW22.dts	2015-11-24 17:19:34.224190722 +0100
+++ b/target/linux/lantiq/dts/ARV7519RW22.dts	2015-11-24 17:23:01.454932402 +0100
@@ -24,19 +24,19 @@
 
 				partition@0 {
 					label = "uboot";
-					reg = <0x0 0x60000>;
+					reg = <0x0 0x80000>;
 					read-only;
 				};
 
-				partition@60000 {
+				partition@80000 {
 					label = "uboot-env";
-					reg = <0x60000 0x20000>;
+					reg = <0x80000 0x20000>;
 					read-only;
 				};
 
-				partition@80000 {
+				partition@a0000 {
 					label = "firmware";
-					reg = <0x80000 0x1e00000>;
+					reg = <0xa0000 0x1de0000>;
 				};
 
 				partition@1e80000 {

Attachments (0)

Change History (5)

comment:1 Changed 2 years ago by howl

Can this be added to trunk? The changes have been tested and works ok, we are waiting for this to start making final installation instructions for this device with more predefined U-Boot variables in the binary like the kernel_addr and the write-openwrt with the 0xB00A000 position.

comment:2 follow-up: Changed 2 years ago by howl

Recently the dsl_fw has been removed, why not to include also this change? http://git.openwrt.org/?p=openwrt.git;a=commitdiff;h=90ed7c08baaf98d5495fcade912d446e793c0898

Actually the patch is the same despite firmware partition length now it should be 0x1ee0000. I can provide a new patch if needed.

comment:3 Changed 2 years ago by howl

C'mon some love for this ticket.

comment:4 in reply to: ↑ 2 Changed 2 years ago by anonymous

Replying to howl:

Recently the dsl_fw has been removed, why not to include also this change? http://git.openwrt.org/?p=openwrt.git;a=commitdiff;h=90ed7c08baaf98d5495fcade912d446e793c0898

Quite easy to answer: You're doing it wrong!

You will have to submit your patch to the openwrt-devel mailing list (https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel) for review.

Follow the outlined steps in https://dev.openwrt.org/wiki/SubmittingPatches to get your patch merged.

comment:5 Changed 2 years ago by howl

Thank you for pointing me into the right direction, I will also include a little more things like this in the patch, name of the device and in the kernel menuconfig...

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.