diff mbox series

[4/9] Nokia RX-51: Change UBIFS volume size to 1870 LEBs in test script

Message ID 20220904012906.17718-5-pali@kernel.org
State Accepted
Commit fd986d6021e3a9f31bd062631132c493bae5cea6
Delegated to: Tom Rini
Headers show
Series Nokia RX-51: Small cleanups and UBI boot test case | expand

Commit Message

Pali Rohár Sept. 4, 2022, 1:29 a.m. UTC
Original Nokia UBIFS system image has 1870 LEBs, so set UBIFS volume size
in test script to the same value. Number of 1870 LEBs corresponds to 230MiB
(LEB size * num of LEBs = 126KiB * 1870 = 230MiB).

Signed-off-by: Pali Rohár <pali@kernel.org>
---
 test/nokia_rx51_test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Sept. 15, 2022, 9:55 p.m. UTC | #1
On Sun, Sep 04, 2022 at 03:29:01AM +0200, Pali Rohár wrote:

> Original Nokia UBIFS system image has 1870 LEBs, so set UBIFS volume size
> in test script to the same value. Number of 1870 LEBs corresponds to 230MiB
> (LEB size * num of LEBs = 126KiB * 1870 = 230MiB).
> 
> Signed-off-by: Pali Rohár <pali@kernel.org>

Applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/test/nokia_rx51_test.sh b/test/nokia_rx51_test.sh
index 28aa554ed8bc..abd1712fd791 100755
--- a/test/nokia_rx51_test.sh
+++ b/test/nokia_rx51_test.sh
@@ -129,7 +129,7 @@  cat > ubi.ini << EOF
 mode=ubi
 image=ubifs.img
 vol_id=0
-vol_size=160MiB
+vol_size=230MiB # 1870 LEBs
 vol_type=dynamic
 vol_name=rootfs
 vol_alignment=1