Skip to content

Commit

Permalink
v2.5: assign additional flash space to overlay
Browse files Browse the repository at this point in the history
This grows the users ubi overlay partition from ~30 Mib to 205 Mib
  • Loading branch information
svenrademakers committed May 10, 2024
1 parent fff523d commit 736bae3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tp2bmc/board/tp2bmc/overlay/sbin/mount_overlay
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -euo pipefail
MOUNTPOINT=/mnt/overlay
MMC_PARTLABEL=overlay
UBI_OVERLAY=overlay
UBI_SIZE=29204480 # 230 LEBs
UBI_SIZE=$((126976*1691)) # 1691 LEB

#
# setup_mmc DEVPATH
Expand Down
14 changes: 7 additions & 7 deletions tp2bmc/board/tp2bmc/sun8i-t113s-turing-pi2-v2.5.dts
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,10 @@
};
#endif

//&flash0 {
// partitions {
// partition@100000 {
// reg = <0x00100000 0x0FF00000>;
// };
// };
//};
&flash0 {
partitions {
partition@100000 {
reg = <0x00100000 0x0FF00000>;
};
};
};

0 comments on commit 736bae3

Please sign in to comment.