Jailhouse in imx8qmmek board: cannot see logs on ttyLP2

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

Jailhouse in imx8qmmek board: cannot see logs on ttyLP2

1,698 Views
lorenzo_sarchi
Contributor I

Good morning,

I have been trying Jailhouse on mek board.

As per dedicated jailhouse AN, the commands from the root are the following;

"
# insmod /lib/modules/4.14.98-imx_4.14.98_2.0.0_ga+g5d6cbeafb80c/extra/driver/jailhouse.ko
# insmod /lib/modules/4.14.98-imx_4.14.98_2.0.0_ga+g5d6cbeafb80c/extra/driver/uio_ivshmem.ko
export PATH=$PATH:/usr/share/jailhouse/tools
# jailhouse enable /usr/share/jailhouse/cells/imx8qm-veth.cell
 
# /usr/sbin/jailhouse \
cell linux /usr/share/jailhouse/cells/imx8qm-linux-demo.cell \
/run/media/mmcblk1p1/Image \
-d /run/media/mmcblk1p1/fsl-imx8qm-mek-inmate.dtb \
-c "clk_ignore_unused console=ttyLP2,115200 \
earlycon=lpuart32,0x5a060000,115200 \
root=/dev/mmcblk0p2 rootwait rw"

 

But I cannot see nothing on ttyUSB1 on the Minicom of my PC, connected to the ttyLP2 rs232 on the baseboard

I understood that that used serial should be put on the ttyLP2 (I tried others too anyway).

The root is a Yocto compiled 4.14.98 Sumo.

The filesystem flashed in the eMMC is a 4.14.78, downloaded from the Web and flashed with the UUU Tool. Using the inmate dtb coompiled with Yocto root, I expect to see anyway some messages.

 

I see this log on the ttyUSB0, where I have the root OS, but this terminal is still i the "root"

(the jh_command.sh is just the long command mentioned above, that I repeat:

/usr/sbin/jailhouse \
cell linux /usr/share/jailhouse/cells/imx8qm-linux-demo.cell \
/run/media/mmcblk1p1/Image \
-d /run/media/mmcblk1p1/fsl-imx8qm-mek-inmate.dtb \
-c "clk_ignore_unused console=ttyLP2,115200 \
earlycon=lpuart32,0x5a060000,115200 \
root=/dev/mmcblk0p2 rootwait rw"

)

 

root@imx8qmmek:/usr/share/jailhouse# source ./jh_command.sh 
Cell "imx8qm-linux-demo" can be loaded
Started cell "imx8qm-linux-demo"
 
 
 
[    0.000000] Booting Linux on physical CPU 0x2
[    0.000000] Linux version 4.14.98-imx_4.14.98_2.0.0_ga+g5d6cbeafb80c (oe-user@oe-host) (gcc version 7.3.0 (GCC)) #1 SMP PREEMPT Mon Nov 16 12:30:19 UTC 2020
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] Machine model: Freescale i.MX8QM MEK
[    0.000000] earlycon: lpuart32 at MMIO 0x000000005a060000 (options '115200')
[    0.000000] bootconsole [lpuart32] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 320 MiB at 0x00000000e8000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000000fd6fffff]
[    0.000000] NUMA: NODE_DATA [mem 0xfd6e8b00-0xfd6ea8ff]
root@imx8qmmek:/usr/share/jailhouse# [    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00000000df700000-0x00000000fd6fffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000df700000-0x00000000fd6fffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000df700000-0x00000000fd6fffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] /cpus/cpu@2: duplicate boot cpu reg property in DT
[    0.000000] /cpus/cpu@3: duplicate cpu reg properties in the DT
[    0.000000] percpu: Embedded 24 pages/cpu @ffff80003d6b3000 s57624 r8192 d32488 u98304
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 120960
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: clk_ignore_unused console=ttyLP0,115200 ip=192.168.0.2:::255.255.255.0::eth0:bootp  earlycon=lpuart32,0x5a060000,115200 root=/w
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] Memory: 124044K/491520K available (13564K kernel code, 1692K rwdata, 6052K rodata, 1280K init, 434K bss, 39796K reserved, 327680K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffff000000000000 - 0xffff000008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000   (129022 GB)
[    0.000000]       .text : 0xffff000008080000 - 0xffff000008dc0000   ( 13568 KB)
[    0.000000]     .rodata : 0xffff000008dc0000 - 0xffff0000093b0000   (  6080 KB)
[    0.000000]       .init : 0xffff0000093b0000 - 0xffff0000094f0000   (  1280 KB)
[    0.000000]       .data : 0xffff0000094f0000 - 0xffff000009697200   (  1693 KB)
[    0.000000]        .bss : 0xffff000009697200 - 0xffff000009703b40   (   435 KB)
[    0.000000]     fixed   : 0xffff7dfffe7f9000 - 0xffff7dfffec00000   (  4124 KB)
[    0.000000]     PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffff7e0000000000 - 0xffff800000000000   (  2048 GB maximum)
[    0.000000]               0xffff7e00007dc000 - 0xffff7e0000f5c000   (     7 MB actual)
[    0.000000]     memory  : 0xffff80001f700000 - 0xffff80003d700000   (   480 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=2.
[    0.000000]  Tasks RCU enabled.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] ITS: No ITS available, not enabling LPIs
[    0.000000] GICv3: CPU0: found redistributor 2 region 0:0x0000000051b40000
[    0.000000] arch_timer: cp15 timer(s) running at 8.33MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1ec0311ec, max_idle_ns: 440795202152 ns
[    0.000006] sched_clock: 56 bits at 8MHz, resolution 120ns, wraps every 2199023255541ns
[    0.008078] Console: colour dummy device 80x25
[    0.012244] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.66 BogoMIPS (lpj=33333)
[    0.022030] pid_max: default: 32768 minimum: 301
[    0.026550] Security Framework initialized
[    0.030733] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.037444] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.043921] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    0.050243] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
[    0.073088] ASID allocator initialised with 32768 entries
[    0.086163] Hierarchical SRCU implementation.
[    0.098465] Cannot request PMIC0_TEMP interrupt
[    0.102670] Cannot request PMIC1_TEMP interrupt
[    0.107003] Cannot request ALARM_RTC interrupt
[    0.111255] Cannot request ON/OFF interrupt
[    0.115256] Cannot request WDOG interrupt
[    0.119084] Cannot request PAD interrupt
[    0.122840] *****Initialized MU
[    0.125844] ***** imx8_init_pm_domains *****
[    0.130031] CPU identified as i.MX8QM, silicon rev 1.1
[    0.135165] EFI services will not be available.
[    0.147399] smp: Bringing up secondary CPUs ...
[    0.179754] Detected VIPT I-cache on CPU1
[    0.179803] GICv3: CPU1: found redistributor 3 region 0:0x0000000051b60000
[    0.179847] CPU1: Booted secondary processor [410fd034]
[    0.179964] smp: Brought up 1 node, 2 CPUs
[    0.199174] SMP: Total of 2 processors activated.
[    0.203678] CPU features: detected feature: GIC system register CPU interface
[    0.210528] CPU features: detected feature: 32-bit EL0 Support
[    0.216106] CPU features: detected feature: Kernel page table isolation (KPTI)
[    0.233617] CPU: All CPU(s) started at EL1
[    0.237417] alternatives: patching kernel code
[    0.242795] devtmpfs: initialized
[    0.247760] random: get_random_u32 called from bucket_table_alloc+0x108/0x260 with crng_init=0
[    0.256602] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.265845] futex hash table entries: 512 (order: 4, 65536 bytes)
[    0.283984] pinctrl core: initialized pinctrl subsystem
[    0.290100] DMI not present or invalid.
[    0.294094] NET: Registered protocol family 16
[    0.306272] cpuidle: using governor menu
[    0.310799] vdso: 2 pages (1 code @ ffff000008dc6000, 1 data @ ffff0000094f4000)
[    0.317837] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.333117] DMA: preallocated 256 KiB pool for atomic allocations
[    0.340469] Serial: AMBA PL011 UART driver
[    0.344535] imx rpmsg driver is registered.
[    0.349573] MU and Power domains initialized
[    0.353535] ***** imx8qm_clocks_init *****
[    0.366867] clk-imx8qm: missing acm node, skipping
[    0.493326] imx8qm-pinctrl iomuxc: initialized IMX pinctrl driver
[    0.539571] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.550521] ACPI: Interpreter disabled.
[    0.554851] vgaarb: loaded
[    0.557681] SCSI subsystem initialized
[    0.565552] usbcore: registered new interface driver usbfs
[    0.570752] usbcore: registered new interface driver hub
[    0.575847] usbcore: registered new device driver usb
[    0.581298] media: Linux media interface: v0.10
[    0.585551] Linux video capture interface: v2.00
[    0.590052] pps_core: LinuxPPS API ver. 1 registered
[    0.594683] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.603462] PTP clock support registered
[    0.607331] EDAC MC: Ver: 3.0.0
[    0.610597] dmi: Firmware registration failed.
[    0.615225] Advanced Linux Sound Architecture Driver Initialized.
[    0.621488] Bluetooth: Core ver 2.22
[    0.624800] NET: Registered protocol family 31
[    0.629026] Bluetooth: HCI device and connection manager initialized
[    0.635126] Bluetooth: HCI socket layer initialized
[    0.639791] Bluetooth: L2CAP socket layer initialized
[    0.644650] Bluetooth: SCO socket layer initialized
[    0.650462] clocksource: Switched to clocksource arch_sys_counter
[    0.656364] VFS: Disk quotas dquot_6.6.0
[    0.660064] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.666739] pnp: PnP ACPI: disabled
[    0.678902] NET: Registered protocol family 2
[    0.683793] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.690580] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
[    0.696713] TCP: Hash tables configured (established 4096 bind 4096)
[    0.702803] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.708327] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.714467] NET: Registered protocol family 1
[    0.718872] RPC: Registered named UNIX socket transport module.
[    0.724425] RPC: Registered udp transport module.
[    0.728912] RPC: Registered tcp transport module.
[    0.733416] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.740631] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.748066] kvm [1]: HYP mode not available
[    0.755094] audit: initializing netlink subsys (disabled)
[    0.760263] audit: type=2000 audit(0.671:1): state=initialized audit_enabled=0 res=1
[    0.767931] workingset: timestamp_bits=44 max_order=17 bucket_order=0
[    0.783460] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.793996] NFS: Registering the id_resolver key type
[    0.798735] Key type id_resolver registered
[    0.802743] Key type id_legacy registered
[    0.806547] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.812990] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
[    0.819459] 9p: Installing v9fs 9p2000 file system support
[    0.832422] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.839397] io scheduler noop registered
[    0.843488] io scheduler cfq registered (default)
[    0.847873] io scheduler mq-deadline registered
[    0.852203] io scheduler kyber registered
[    0.861598] OF: PCI: host bridge /pci@fd700000 ranges:
[    0.867390] OF: PCI:   MEM 0x10000000..0x1000ffff -> 0x10000000
[    0.873001] pci-host-generic fd700000.pci: ECAM at [mem 0xfd700000-0xfd7fffff] for [bus 00]
[    0.881117] pci-host-generic fd700000.pci: PCI host bridge to bus 0000:00
[    0.887509] pci_bus 0000:00: root bus resource [bus 00]
[    0.892591] pci_bus 0000:00: root bus resource [mem 0x10000000-0x1000ffff]
[    0.899470] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x100000ff 64bit]
[    0.910062] Bus freq driver module loaded
[    0.915067] virtio-pci 0000:00:00.0: enabling device (0000 -> 0002)
[    0.926296] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.934658] SuperH (H)SCI(F) driver initialized
[    0.939263] msm_serial: driver initialized
[    0.943473] fsl-lpuart 5a060000.serial: failed to get alias id, errno -19
[    0.949954] imx8qm-pinctrl iomuxc: pin_config_set op failed for pin 23
[    0.956105] fsl-lpuart 5a080000.serial: Error applying setting, reverse things back
[    0.963509] clk: couldn't get clock 0 for /serial@5a080000
[    0.980191] loop: module loaded
[    0.985617] slram: not enough parameters.
[    0.991488] libphy: Fixed MDIO Bus: probed
[    0.995729] NXP PHY: loading NXP PHY driver: [autonomous mode]
[    1.001383] tun: Universal TUN/TAP device driver, 1.6
[    1.006348] CAN device driver interface
[    1.010869] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    1.016321] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.022070] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    1.028665] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.034069] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    1.041506] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.047491] sky2: driver version 1.30
[    1.053915] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.060085] ehci-pci: EHCI PCI platform driver
[    1.064467] ehci-platform: EHCI generic platform driver
[    1.069508] ehci-orion: EHCI orion driver
[    1.073299] ehci-exynos: EHCI EXYNOS driver
[    1.077301] ehci-msm: Qualcomm On-Chip EHCI Host Controller
[    1.082625] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.088506] ohci-pci: OHCI PCI platform driver
[    1.092813] ohci-platform: OHCI generic platform driver
6    1.097820] ohci-exynos: O[H C4I0 3E8X.Y5N0O6S6 3d4r]i vIePrv
c: ADDR[C O N F (1N.E1T0D3E8V0_9U]P u)s:bco ree:t hr1e:g isltienrke di sn enwo ti nrteeardfya
 e driver usb-storage
[    1.113154] usbcore: registered new interface driver usb_ehset_test
[    1.121756] i2c /dev entries driver
[    1.126221] IR NEC protocol handler initialized
[    1.130433] IR RC5(x/sz) protocol handler initialized
[    1.135273] IR RC6 protocol handler initialized
[    1.139598] IR JVC protocol handler initialized
[    1.143945] IR Sony protocol handler initialized
[    1.148356] IR SANYO protocol handler initialized
[    1.152866] IR Sharp protocol handler initialized
[    1.157366] IR MCE Keyboard/mouse protocol handler initialized
[    1.162958] IR XMP protocol handler initialized
[    1.170266] Bluetooth: HCI UART driver ver 2.3
[    1.174410] Bluetooth: HCI UART protocol H4 registered
[    1.179309] Bluetooth: HCI UART protocol BCSP registered
[    1.184403] Bluetooth: HCI UART protocol ATH3K registered
[    1.189564] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    1.195706] Bluetooth: HCI UART protocol Broadcom registered
[    1.200994] Bluetooth: HCI UART protocol QCA registered
[    1.206834] sdhci: Secure Digital Host Controller Interface driver
[    1.212628] sdhci: Copyright(c) Pierre Ossman
[    1.216985] Synopsys Designware Multimedia Card Interface Driver
[    1.223264] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.230516] mmc0: CQHCI version 5.10
[    1.278520] mmc0: SDHCI controller on 5b010000.usdhc [5b010000.usdhc] using ADMA
[    1.291130] ledtrig-cpu: registered to indicate activity on CPUs
[    1.298681] usbcore: registered new interface driver usbhid
[    1.304098] usbhid: USB HID core driver
[    1.313212] NET: Registered protocol family 26
[    1.320332] NET: Registered protocol family 10
[    1.325455] Segment Routing with IPv6
[    1.328887] NET: Registered protocol family 17
[    1.333221] can: controller area network core (rev 20170425 abi 9)
[    1.339101] NET: Registered protocol family 29
[    1.343424] can: raw protocol (rev 20170425)
[    1.347400] can: broadcast manager protocol (rev 20170425 t)
[    1.352830] can: netlink gateway (rev 20170425) max_hops=1
[    1.358319] Bluetooth: RFCOMM TTY layer initialized
[    1.362879] Bluetooth: RFCOMM socket layer initialized
[    1.367800] Bluetooth: RFCOMM ver 1.11
[    1.371389] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    1.376469] Bluetooth: BNEP filters: protocol multicast
[    1.381472] Bluetooth: BNEP socket layer initialized
[    1.386227] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    1.391896] Bluetooth: HIDP socket layer initialized
[    1.396713] lib80211: common routines for IEEE802.11 drivers
[    1.402123] 9pnet: Installing 9P2000 support
[    1.406238] Key type dns_resolver registered
[    1.411204] registered taskstats version 1
[    1.431513] cpu cpu0: failed to init OPP table: -19
[    1.436979] hctosys: unable to open rtc device (rtc0)
[ 4038.863042] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[    1.458515] IP-Config: Complete:
[    1.461532]      device=eth0, hwaddr=fa:f6:b1:d6:96:4f, ipaddr=192.168.0.2, mask=255.255.255.0, gw=255.255.255.255
[    1.471473]      host=192.168.0.2, domain=, nis-domain=(none)
[    1.476947]      bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
[    1.484414] clk: Not disabling unused clocks
[    1.488409] ALSA device list:
[    1.491240]   No soundcards found.
[    1.494482] mmc0: new HS400 MMC card at address 0001
[    1.499229] Warning: unable to open an initial console.
[    1.500376] mmcblk0: mmc0:0001 R1J57L 29.1 GiB 
[    1.509253] mmcblk0boot0: mmc0:0001 R1J57L partition 1 8.00 MiB
[    1.515506] mmcblk0boot1: mmc0:0001 R1J57L partition 2 8.00 MiB
[    1.521757] mmcblk0rpmb: mmc0:0001 R1J57L partition 3 4.00 MiB
[    1.532652]  mmcblk0: p1 p2
[    1.556655] EXT4-fs (mmcblk0p2): recovery complete
[    1.561892] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.569563] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.577231] devtmpfs: mounted
[    1.580840] Freeing unused kernel memory: 1280K
[    1.589235] random: fast init done
[    1.658303] systemd[1]: System time before build time, advancing clock.
[    1.673478] systemd[1]: systemd 237 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ)
[    1.694222] systemd[1]: Detected architecture arm64.
[    1.706245] systemd[1]: Set hostname to <imx8qmmek>.
[    1.811102] systemd[1]: File /lib/systemd/system/systemd-journald.service:35 configures an IP firewall (IPAddressDeny=any), but the local system does not suppo.
[    1.827360] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    1.980190] random: systemd: uninitialized urandom read (16 bytes read)
[    1.986830] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    1.994215] random: systemd: uninitialized urandom read (16 bytes read)
[    2.002373] systemd[1]: Created slice User and Session Slice.
[    2.007833] random: systemd: uninitialized urandom read (16 bytes read)
[    2.014140] systemd[1]: Reached target Host and Network Name Lookups.
[    2.020368] systemd[1]: Reached target Remote File Systems.
[    2.025939] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    2.201303] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    2.335609] systemd-journald[1616]: Received request to flush runtime journal from PID 1
[ 4042.693920] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 4042.861754] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[    5.607939] audit: type=1006 audit(1543187061.947:2): pid=2719 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
[    7.166280] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
 
 
Do there are any suggestions ?
 
Thanks in advance & Best Regards,
Lorenzo
 
0 Kudos
Reply
4 Replies

1,681 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Lorenzo,

As said on the github (https://source.codeaurora.org/external/imx/linux-imx/commit/?h=imx_4.14.78_1.0.0_ga&id=1afdd5020d49f...

 

Add a new init-on-array property, the clk driver will parse this array and prepare enable the related clocks. Previously, the clocks needs to be init on are hardcoded in SoC clk driver.

When we need to support two OSes, some clks needs to be ini on, however such clocks does not need to be init on for Single Linux OS environment.

At current stage using Jailhouse hypervisor supporting Two Linux OS, OS1 use SDHC2, OS2 use SDHC0, they share one IMX8MQ_CLK_NAND_USDHC_BUS_CG, because no power management supported, so we need clk_ignore_unused and make sure this clk being enabled, to make sure the 2nd OS could has SDHC0 working.

 

Regards

 

0 Kudos
Reply

1,626 Views
lorenzo_sarchi
Contributor I

Good morning,

Any other suggestion?

Previous suggestion was not applicable. It was related to another board (imx8mq instead og imx8qm), and was related to 4.14.78 while I am already in 4.14.98.

Best Regards,

Lorenzo

0 Kudos
Reply

1,676 Views
lorenzo_sarchi
Contributor I

Good morning !

 

Thanks for your explanation!

Looking into the patch, it seems than that this is for the imx8qm,

I have the i.MX8QM on mek board : imx8qmmek.

 

Looking the 2 files, clk-imx8qm.c and clk-imx8mq.c, in the clock driver (I use yocto Rel. 4.14.98) it seem they have some relevant differences.

Could you pls address me to the proper patch for the clk-imx8qm.c ?

Thanks in advance and best Regards,

Lorenzo

 

0 Kudos
Reply

1,670 Views
lorenzo_sarchi
Contributor I
Good morning,
 
Just a further note:
 
The first set of errors seem to be indeed related to the serial clock.
 
[   0.939263] msm_serial: driver initialized
[    0.943473] fsl-lpuart 5a060000.serial: failed to get alias id, errno -19
[    0.949954] imx8qm-pinctrl iomuxc: pin_config_set op failed for pin 23
[    0.956105] fsl-lpuart 5a080000.serial: Error applying setting, reverse things back
[    0.963509] clk: couldn't get clock 0 for /serial@5a080000
[    0.980191] loop: module loaded
 
I use anyway the standard imx8qmmek  inmate.dts included  by default in the imx8qmmek board.
 
Best Regards
Lorenzo
0 Kudos
Reply