OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Patricio Stegmann - 07.07.2021

FS#3919 - TPLink RE450 wrong DTS

Supply the following if possible:
- Device problem occurs on:
TPLink RE450 v2

- Software versions of OpenWrt/LEDE release, packages, etc.
openwrt snapshot 21.02

- Steps to reproduce
install basic firmware, check for available space, which is <500kB even if the firmware is 5MB and the device has 8MB flash.

Apparently wrong dts here: https://github.com/openwrt/openwrt/blob/master/target/linux/ath79/dts/qca9563_tplink_re450-v2.dts in particular:

partition@630000 {
	label = "config";
	reg = <0x630000 **0x020000**>;
	read-only;
};
art: partition@7f0000 {
	label = "art";
	reg = <0x7f0000 0x010000>;
	read-only;
};

should be changed to:

partition@630000 {
	label = "config";
	reg = <0x630000 **0x01c0000**>;
	read-only;
};
art: partition@7f0000 {
	label = "art";
	reg = <0x7f0000 0x010000>;
	read-only;
};
 


Patricio Stegmann commented on 21.10.2021 07:54

Bumping this and clarifying: in the original dts, the 'config' partition starts at 0x630000 and the next one at 0x7f0000, which gives us 1C0000 free space for it. However, we only use 0x020000 (~320kB) instead of 0x1C0000 (~1.8MB), which makes this device pretty unusable if one wants to install even base packages. I confirm that changing the dts made more room on it. However the change is not on the main repo so every update, the change is lost.

Patricio Stegmann commented on 21.10.2021 08:51

Another look at partitions on a booted re450-v2 using 21.02:

[ 0.402453] 0x000000520000-0x0000005e0000 : "rootfs_data"
[ 0.408910] 0x000000600000-0x000000610000 : "partition-table"
[ 0.415738] 0x000000610000-0x000000630000 : "info"
[ 0.421570] 0x000000630000-0x000000650000 : "config"
[ 0.427596] 0x0000007f0000-0x000000800000 : "art"

rootfs_data is way too small !

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing