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

Pali Rohár pali at kernel.org
Sun Sep 4 03:29:01 CEST 2022


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 at kernel.org>
---
 test/nokia_rx51_test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.20.1



More information about the U-Boot mailing list