configs: apalis-tk1: fix boot failure using ext4 rootfs
authorSanchayan Maity <maitysanchayan@gmail.com>
Tue, 8 May 2018 15:34:06 +0000 (17:34 +0200)
committerTom Warren <twarren@nvidia.com>
Thu, 10 May 2018 23:34:20 +0000 (16:34 -0700)
Trying to boot from an ext4 rootfs fails due to us defaulting to ext3.
While the downstream T20/T30 L4T kernel has issues with ext4 later TK1
L4T should work just fine with it. Hence enable ext4 for sdboot and
usbboot on TK1.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
include/configs/apalis-tk1.h

index fe8168458f64757e75cbd5d8d14e459f95ce8801..667d084611826454c43ecd677a97b3a67fb6c842 100644 (file)
@@ -80,7 +80,7 @@
                "&& setenv dtbparam ${fdt_addr_r}\0"
 
 #define SD_BOOTCMD \
-       "sdargs=ip=off root=/dev/mmcblk1p2 rw rootfstype=ext3 rootwait\0" \
+       "sdargs=ip=off root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait\0" \
        "sdboot=run setup; setenv bootargs ${defargs} ${sdargs} ${setupargs} " \
                "${vidargs}; echo Booting from SD card in 8bit slot...; " \
                "run sddtbload; load mmc 1:1 ${kernel_addr_r} " \
@@ -91,7 +91,7 @@
                "&& setenv dtbparam ${fdt_addr_r}\0"
 
 #define USB_BOOTCMD \
-       "usbargs=ip=off root=/dev/sda2 rw rootfstype=ext3 rootwait\0" \
+       "usbargs=ip=off root=/dev/sda2 rw rootfstype=ext4 rootwait\0" \
        "usbboot=run setup; setenv bootargs ${defargs} ${setupargs} " \
                "${usbargs} ${vidargs}; echo Booting from USB stick...; " \
                "usb start && run usbdtbload; load usb 0:1 ${kernel_addr_r} " \