rootfs not getting mounted on imx6ull EVK custom design

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

rootfs not getting mounted on imx6ull EVK custom design

Jump to solution
226 Views
asurti9
Contributor III

Hello iMX community,

I am trying to boot our custom hardware based on iMX6ULL EVK with NAND config. I am using iMX YOCTO BSP version imx-6.6.3-1.0.0.xml.

I have made necessary changes under local.conf for u-boot. I built image for imx-image-core. I am able to flash the images via UUU, but after flashing when I boot from NAND there is issue with mounting rootfs.

Kernel panic occurs and logs states that rootfs not found. Below are the logs:

U-Boot 2023.04+gf8a2983ec8+p0 (Mar 04 2024 - 07:25:04 +0000)

CPU:   i.MX6ULL rev1.1 900 MHz (running at 396 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 53C
Reset cause: POR
Model: i.MX6 ULL 14x14 EVK Board
Board: MX6ULL 14x14 EVK
DRAM:  512 MiB
Core:  68 devices, 20 uclasses, devicetree: separate
NAND:  512 MiB
MMC:   FSL_SDHC: 0
Loading Environment from NAND... *** Warning - bad CRC, using default environment

[*]-Video Link 0 (480 x 272)
        [0] lcdif@21c8000, video
In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x4000000, size 0xc00000
 12582912 bytes read: OK

NAND read: device 0 offset 0x5000000, size 0x100000
 1048576 bytes read: OK
Kernel image @ 0x80800000 [ 0x000000 - 0x902d98 ]
## Flattened Device Tree blob at 83000000
   Booting using the fdt blob at 0x83000000
Working FDT set to 83000000
   Using Device Tree in place at 83000000, end 8300e40f
Working FDT set to 83000000
Modify /soc/bus@2200000/epdc@228c000 disabled

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.6.3-lts-next-gac2d7686eaaf (oe-user@oe-host) (arm-poky-linux-gnueabi-gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41.0.20230926) #1 SMP PREEMPT Thu Feb 29 08:37:44 UTC 2024
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Freescale i.MX6 ULL 14x14 EVK Board
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x96000000, size 160 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] OF: reserved mem: 0x96000000..0x9fffffff (163840 KiB) map reusable linux,cma
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x000000009fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fffffff]
[    0.000000] percpu: Embedded 12 pages/cpu s18900 r8192 d22060 u49152
[    0.000000] Kernel command line: console=ttymxc0,115200 ubi.mtd=nandrootfs root=ubi0:rootfs rootfstype=ubifs mtdparts=gpmi-nand:64m(nandboot),16m(nandkernel),16m(nanddtb),16m(nandtee),-(nandrootfs)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] Memory: 332600K/524288K available (14336K kernel code, 1378K rwdata, 4508K rodata, 1024K init, 425K bss, 27848K reserved, 163840K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] Switching to timer-based delay loop, resolution 41ns
[    0.000003] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000042] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.003393] Console: colour dummy device 80x30
[    0.003485] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.003527] CPU: Testing write buffer coherency: ok
[    0.003631] pid_max: default: 32768 minimum: 301
[    0.004061] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.004111] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.006320] CPU0: update cpu_capacity 1024
[    0.006365] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.009756] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.010309] Setting up static identity map for 0x80100000 - 0x80100060
[    0.010845] rcu: Hierarchical SRCU implementation.
[    0.010868] rcu:     Max phase no-delay instances is 1000.
[    0.012437] smp: Bringing up secondary CPUs ...
[    0.012505] smp: Brought up 1 node, 1 CPU
[    0.012533] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.012555] CPU: All CPU(s) started in SVC mode.
[    0.013848] devtmpfs: initialized
[    0.035710] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.036421] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.036483] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.048720] pinctrl core: initialized pinctrl subsystem
[    0.053719] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.071560] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.075065] thermal_sys: Registered thermal governor 'step_wise'
[    0.075282] cpuidle: using governor menu
[    0.075779] CPU identified as i.MX6ULL, silicon rev 1.1
[    0.092151] platform soc: Fixed dependency cycle(s) with /soc/bus@2000000/gpc@20dc000
[    0.138288] failed to find ocotp node
[    0.138754] failed to find ocotp node
[    0.139223] No ATAGs?
[    0.139353] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.139383] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.142719] imx6ul-pinctrl 20e0000.pinctrl: initialized IMX pinctrl driver
[    0.147221] imx6ul-pinctrl 2290000.iomuxc-snvs: no groups defined in /soc/bus@2200000/iomuxc-snvs@2290000
[    0.147298] imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
[    0.150762] imx mu driver is registered.
[    0.151917] imx rpmsg driver is registered.
[    0.155453] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[    0.160014] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.165710] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.171290] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.177047] gpio gpiochip3: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.182822] gpio gpiochip4: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.196482] SCSI subsystem initialized
[    0.198000] usbcore: registered new interface driver usbfs
[    0.198114] usbcore: registered new interface driver hub
[    0.198241] usbcore: registered new device driver usb
[    0.203806] i2c i2c-0: IMX I2C adapter registered
[    0.207472] i2c 1-003c: Fixed dependency cycle(s) with /soc/bus@2100000/csi@21c4000/port/endpoint
[    0.207761] i2c i2c-1: IMX I2C adapter registered
[    0.208857] mc: Linux media interface: v0.10
[    0.209114] videodev: Linux video capture interface: v2.00
[    0.209319] pps_core: LinuxPPS API ver. 1 registered
[    0.209336] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.209391] PTP clock support registered
[    0.214153] MIPI CSI2 driver module loaded
[    0.214296] Advanced Linux Sound Architecture Driver Initialized.
[    0.216788] Bluetooth: Core ver 2.22
[    0.216938] NET: Registered PF_BLUETOOTH protocol family
[    0.216955] Bluetooth: HCI device and connection manager initialized
[    0.216990] Bluetooth: HCI socket layer initialized
[    0.217010] Bluetooth: L2CAP socket layer initialized
[    0.217062] Bluetooth: SCO socket layer initialized
[    0.218128] vgaarb: loaded
[    0.219434] clocksource: Switched to clocksource mxc_timer1
[    0.220158] VFS: Disk quotas dquot_6.6.0
[    0.220291] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.252735] NET: Registered PF_INET protocol family
[    0.253401] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.257429] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.257515] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.257555] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.257664] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.257932] TCP: Hash tables configured (established 4096 bind 4096)
[    0.258143] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.258226] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.258644] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.260260] RPC: Registered named UNIX socket transport module.
[    0.260298] RPC: Registered udp transport module.
[    0.260310] RPC: Registered tcp transport module.
[    0.260320] RPC: Registered tcp-with-tls transport module.
[    0.260332] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.264210] PCI: CLS 0 bytes, default 64
[    0.265934] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.270795] Bus freq driver module loaded
[    0.273589] Initialise system trusted keyrings
[    0.274322] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.276195] NFS: Registering the id_resolver key type
[    0.276327] Key type id_resolver registered
[    0.276344] Key type id_legacy registered
[    0.276456] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.276480] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.276573] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.277454] fuse: init (API version 7.39)
[    0.715463] Key type asymmetric registered
[    0.715502] Asymmetric key parser 'x509' registered
[    0.715666] io scheduler mq-deadline registered
[    0.715689] io scheduler kyber registered
[    0.715758] io scheduler bfq registered
[    0.737686] mxsfb 21c8000.lcdif: supply lcd not found, using dummy regulator
[    0.850715] sii902x bound to mxs-lcdif from 21c8000.lcdif
[    0.853796] Console: switching to colour frame buffer device 60x34
[    0.952729] mxsfb 21c8000.lcdif: initialized
[    0.965730] imx-sdma 20ec000.dma-controller: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[    0.965782] imx-sdma 20ec000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.bin
[    0.970794] mxs-dma 1804000.dma-controller: initialized
[    0.982372] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 201, base_baud = 5000000) is a IMX
[    0.982524] printk: console [ttymxc0] enabled
[    1.883275] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 202, base_baud = 5000000) is a IMX
[    1.892758] serial serial0: tty port ttymxc1 registered
[    1.933496] imx_rngc 2284000.rng: Freescale RNGB registered (HW revision 2.129)
[    1.941617] random: crng init done
[    1.946170] imx sema4 driver is registered.
[    1.990438] brd: module loaded
[    2.010094] loop: module loaded
[    2.024689] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xdc
[    2.031222] nand: Macronix MX30LF4G28AC
[    2.035089] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 112
[    2.044226] Bad block table found at page 262080, version 0x01
[    2.050815] Bad block table found at page 262016, version 0x01
[    2.057068] 5 cmdlinepart partitions found on MTD device gpmi-nand
[    2.063373] Creating 5 MTD partitions on "gpmi-nand":
[    2.068464] 0x000000000000-0x000004000000 : "nandboot"
[    2.078164] 0x000004000000-0x000005000000 : "nandkernel"
[    2.088106] 0x000005000000-0x000006000000 : "nanddtb"
[    2.097549] 0x000006000000-0x000007000000 : "nandtee"
[    2.106798] 0x000007000000-0x000020000000 : "nandrootfs"
[    2.119657] gpmi-nand 1806000.nand-controller: driver registered.
[    2.139641] tun: Universal TUN/TAP device driver, 1.6
[    2.145343] CAN device driver interface
[    2.154965] pps pps0: new PPS source ptp0
[    2.166180] fec 20b4000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[    2.173206] fec 20b4000.ethernet: Using random MAC address: c6:53:71:26:3b:27
[    2.189048] fec 20b4000.ethernet eth0: registered PHC device 0
[    2.199015] pps pps1: new PPS source ptp1
[    2.210629] fec 2188000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[    2.217427] fec 2188000.ethernet: Using random MAC address: de:de:f3:b7:e7:45
[    2.227275] fec 2188000.ethernet eth1: registered PHC device 1
[    2.234001] e1000e: Intel(R) PRO/1000 Network Driver
[    2.239004] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    2.246135] usbcore: registered new device driver r8152-cfgselector
[    2.252662] usbcore: registered new interface driver r8152
[    2.258272] usbcore: registered new interface driver lan78xx
[    2.264116] usbcore: registered new interface driver asix
[    2.269686] usbcore: registered new interface driver ax88179_178a
[    2.275895] usbcore: registered new interface driver cdc_ether
[    2.281898] usbcore: registered new interface driver smsc95xx
[    2.287786] usbcore: registered new interface driver net1080
[    2.293780] usbcore: registered new interface driver cdc_subset
[    2.299899] usbcore: registered new interface driver zaurus
[    2.305590] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[    2.313177] usbcore: registered new interface driver cdc_ncm
[    2.318956] usbcore: registered new interface driver r8153_ecm
[    2.325390] usbcore: registered new interface driver usb-storage
[    2.335889] imx_usb 2184000.usb: No over current polarity defined
[    2.525616] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    2.530824] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    2.569725] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    2.575695] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    2.584100] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.591404] usb usb1: Product: EHCI Host Controller
[    2.596312] usb usb1: Manufacturer: Linux 6.6.3-lts-next-gac2d7686eaaf ehci_hcd
[    2.603689] usb usb1: SerialNumber: ci_hdrc.1
[    2.610101] hub 1-0:1.0: USB hub found
[    2.614012] hub 1-0:1.0: 1 port detected
[    2.624279] input: 20cc000.snvs:snvs-powerkey as /devices/platform/soc/2000000.bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0
[    2.638399] SPI driver ads7846 has no spi_device_id for ti,tsc2046
[    2.645819] SPI driver ads7846 has no spi_device_id for ti,ads7843
[    2.652200] SPI driver ads7846 has no spi_device_id for ti,ads7845
[    2.658411] SPI driver ads7846 has no spi_device_id for ti,ads7873
[    2.668258] input: iMX6UL Touchscreen Controller as /devices/platform/soc/2000000.bus/2040000.tsc/input/input1
[    2.686384] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0
[    2.692814] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T00:00:00 UTC (0)
[    2.702386] i2c_dev: i2c /dev entries driver
[    2.711750] pxp-v4l2 pxp_v4l2: initialized
[    2.726321] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
[    2.735008] softdog:              soft_reboot_cmd=<not set> soft_active_on_boot=0
[    2.743029] Bluetooth: HCI UART driver ver 2.3
[    2.747519] Bluetooth: HCI UART protocol H4 registered
[    2.752772] Bluetooth: HCI UART protocol BCSP registered
[    2.758247] Bluetooth: HCI UART protocol LL registered
[    2.763562] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    2.769986] Bluetooth: HCI UART protocol Marvell registered
[    2.775705] usbcore: registered new interface driver btusb
[    2.783836] sdhci: Secure Digital Host Controller Interface driver
[    2.790172] sdhci: Copyright(c) Pierre Ossman
[    2.794558] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.807011] sdhci-esdhc-imx 2190000.mmc: Got CD GPIO
[    2.814395] usbcore: registered new interface driver usbhid
[    2.826032] usbhid: USB HID core driver
[    2.833142] mma8452 0-001e: mounting matrix not found: using identity...
[    2.840109] mma8452 0-001e: supply vdd not found, using dummy regulator
[    2.847230] mma8452 0-001e: supply vddio not found, using dummy regulator
[    2.867583] mmc0: SDHCI controller on 2190000.mmc [2190000.mmc] using ADMA
[    2.881073] wm8960 1-001a: supply DCVDD not found, using dummy regulator
[    2.888250] wm8960 1-001a: supply DBVDD not found, using dummy regulator
[    2.895392] wm8960 1-001a: supply AVDD not found, using dummy regulator
[    2.902252] wm8960 1-001a: supply SPKVDD1 not found, using dummy regulator
[    2.909276] wm8960 1-001a: supply SPKVDD2 not found, using dummy regulator
[    2.918038] wm8960 1-001a: Failed to issue reset
[    2.928644] rpmsg-codec-wm8960 1-001a: Failed to issue reset
[    2.956152] NET: Registered PF_LLC protocol family
[    2.962343] NET: Registered PF_INET6 protocol family
[    2.971002] Segment Routing with IPv6
[    2.974799] In-situ OAM (IOAM) with IPv6
[    2.979001] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.986837] NET: Registered PF_PACKET protocol family
[    2.992041] can: controller area network core
[    2.996588] NET: Registered PF_CAN protocol family
[    3.001497] can: raw protocol
[    3.004508] can: broadcast manager protocol
[    3.008731] can: netlink gateway - max_hops=1
[    3.013744] Bluetooth: RFCOMM TTY layer initialized
[    3.018709] Bluetooth: RFCOMM socket layer initialized
[    3.024014] Bluetooth: RFCOMM ver 1.11
[    3.027824] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.033219] Bluetooth: BNEP filters: protocol multicast
[    3.038493] Bluetooth: BNEP socket layer initialized
[    3.043526] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.049541] Bluetooth: HIDP socket layer initialized
[    3.055113] lib80211: common routines for IEEE802.11 drivers
[    3.061038] Key type dns_resolver registered
[    3.094428] Registering SWP/SWPB emulation handler
[    3.125669] Loading compiled-in X.509 certificates
[    3.176567] imx_thermal 20c8000.anatop:tempmon: Commercial CPU temperature grade - max:95C critical:90C passive:85C
[    3.190927] ubi0: default fastmap pool size: 160
[    3.195583] ubi0: default fastmap WL pool size: 80
[    3.200504] ubi0: attaching mtd4
[    3.643668] ubi0: scanning is finished
[    3.655698] ubi0: attached mtd4 (name "nandrootfs", size 400 MiB)
[    3.661921] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.668828] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.675683] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.682718] ubi0: good PEBs: 3196, bad PEBs: 4, corrupted PEBs: 0
[    3.688824] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[    3.696113] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 3692091414
[    3.705279] ubi0: available PEBs: 0, total reserved PEBs: 3196, PEBs reserved for bad PEB handling: 76
[    3.714643] ubi0: background thread "ubi_bgt0d" started, PID 60
[    3.721508] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.733343] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.739251] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.748046] clk: Disabling unused clocks
[    3.752059] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[    3.760176] ALSA device list:
[    3.763165]   No soundcards found.
[    3.767131] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,253): error -19
[    3.775821] Please append a correct "root=" boot option; here are the available partitions:
[    3.784359] 0100           65536 ram0
[    3.784376]  (driver?)
[    3.790583] 0101           65536 ram1
[    3.790595]  (driver?)
[    3.796710] 0102           65536 ram2
[    3.796719]  (driver?)
[    3.802885] 0103           65536 ram3
[    3.802896]  (driver?)
[    3.809009] 0104           65536 ram4
[    3.809017]  (driver?)
[    3.815207] 0105           65536 ram5
[    3.815218]  (driver?)
[    3.821382] 0106           65536 ram6
[    3.821391]  (driver?)
[    3.827508] 0107           65536 ram7
[    3.827518]  (driver?)
[    3.833657] 0108           65536 ram8
[    3.833666]  (driver?)
[    3.839831] 0109           65536 ram9
[    3.839842]  (driver?)
[    3.845958] 010a           65536 ram10
[    3.845966]  (driver?)
[    3.852191] 010b           65536 ram11
[    3.852203]  (driver?)
[    3.858402] 010c           65536 ram12
[    3.858411]  (driver?)
[    3.864670] 010d           65536 ram13
[    3.864679]  (driver?)
[    3.870901] 010e           65536 ram14
[    3.870913]  (driver?)
[    3.877111] 010f           65536 ram15
[    3.877119]  (driver?)
[    3.883350] 1f00           65536 mtdblock0
[    3.883360]  (driver?)
[    3.889953] 1f01           16384 mtdblock1
[    3.889965]  (driver?)
[    3.896512] 1f02           16384 mtdblock2
[    3.896522]  (driver?)
[    3.903094] 1f03           16384 mtdblock3
[    3.903103]  (driver?)
[    3.909708] 1f04          409600 mtdblock4
[    3.909719]  (driver?)
[    3.916275] List of all bdev filesystems:
[    3.920346]  ext3
[    3.920355]  ext4
[    3.922288]  ext2
[    3.924217]  vfat
[    3.926145]  fuseblk
[    3.928074]
[    3.931788] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,253)
[    3.940241] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,253) ]---

Can you please let me know what are the changes that needs to be made in order to mount the rootfs correctly?

#imx6ull

Thanks!

Labels (2)
0 Kudos
1 Solution
209 Views
asurti9
Contributor III

This issue is resolved by updating root=nandrootfs in bootargs.

Below is the patch if anyone faces same issue:

--- a/include/configs/mx6ullevk.h
+++ b/include/configs/mx6ullevk.h
@@ -64,7 +64,7 @@
        "tee_addr=0x84000000\0" \
        "console=ttymxc0\0" \
        "bootargs=console=ttymxc0,115200 ubi.mtd=nandrootfs "  \
-               "root=ubi0:rootfs rootfstype=ubifs "                 \
+               "root=ubi0:nandrootfs rootfstype=ubifs "                     \
                BOOTARGS_CMA_SIZE \
                MFG_NAND_PARTITION \
                "\0" \
-- 

Thanks!

View solution in original post

0 Kudos
1 Reply
210 Views
asurti9
Contributor III

This issue is resolved by updating root=nandrootfs in bootargs.

Below is the patch if anyone faces same issue:

--- a/include/configs/mx6ullevk.h
+++ b/include/configs/mx6ullevk.h
@@ -64,7 +64,7 @@
        "tee_addr=0x84000000\0" \
        "console=ttymxc0\0" \
        "bootargs=console=ttymxc0,115200 ubi.mtd=nandrootfs "  \
-               "root=ubi0:rootfs rootfstype=ubifs "                 \
+               "root=ubi0:nandrootfs rootfstype=ubifs "                     \
                BOOTARGS_CMA_SIZE \
                MFG_NAND_PARTITION \
                "\0" \
-- 

Thanks!

0 Kudos