소스 검색

imx: image: ventana: use squashfs rootfs for non NAND devices

In order to support squashfs+ext4 define rootfstype=squashfs and use P2
as P1 is boot filesystem.

Signed-off-by: Tim Harvey <[email protected]>
Tim Harvey 2 년 전
부모
커밋
43af3c94be
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      target/linux/imx/image/bootscript-ventana

+ 2 - 2
target/linux/imx/image/bootscript-ventana

@@ -44,7 +44,7 @@ if itest.s "x${dtype}" == "xnand" ; then
 	setenv root "ubi0:ubi ubi.mtd=2 rootfstype=squashfs,ubifs"
 else
 	setenv fsload "${fs}load ${dtype} ${disk}:1"
-	part uuid ${dtype} ${disk}:1 uuid
+	part uuid ${dtype} ${disk}:2 uuid
 	if test -z "${uuid}"; then
 		# fallback to bootdev
 		if test -n "$bootdev" ; then
@@ -60,7 +60,7 @@ else
 	else
 		setenv root "root=PARTUUID=${uuid}"
 	fi
-	setenv root "$root rootfstype=${fs} rootwait rw"
+	setenv root "$root rootfstype=squashfs rootwait"
 fi
 
 setenv bootargs "${bootargs}" "${root}" "${video}" "${extra}"