Target: imx8mq evk
bsp: 5.4.24
Created & started linux cell. Does it maintain separate rootfs? How to
run a binary in this 2nd linux (in dedicated CPU)? I didn't found
initrd.img, didn't include in the below given command.
* jailhouse cell linux
/usr/share/jailhouse/cells/imx8mq-linux-demo.cell
/run/media/mmcblk1p1/Image -d /run/media/mmcblk1p1/imx8mq-evk-inmate.dtb -c
"clk_ignore_unused console=ttymxc0,115200
earlycon=ec_imx6q,0x30860000,115200 root=/dev/mmcblk1p2 rootwait rw"*
Below are logs:
*Adding virtual PCI device 00:00.0 to cell "linux-inmate-demo"Shared memory
connection established, peer cells: "imx8mq"Adding virtual PCI device
00:01.0 to cell "linux-inmate-demo"Shared memory connection established,
peer cells: "imx8mq"Created cell "linux-inmate-demo"Page pool usage after
cell creation: mem 80/992, remap 144/131072[ 1021.954940] Created Jailhouse
cell "linux-inmate-demo"Cell "linux-inmate-demo" can be loadedStarted cell
"linux-inmate-demo"[ 0.000000] Booting Linux on physical CPU
0x0000000002 [0x410fd034][ 0.000000] Linux version 5.4.24-2.1.0+gbabac00
(oe-user@oe-host) (gcc version 9.2.0 (GCC)) #1 SMP PREEMPT Tue Jul 28
08:36:15 UTC 2020[ 0.000000] Machine model: Freescale i.MX8MQ EVK[
0.000000] earlycon: ec_imx6q0 at MMIO 0x0000000030860000 (options
'115200')[ 0.000000] printk: bootconsole [ec_imx6q0] 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 0x00000000c0000000-0x00000000fdbfffff][ 0.000000] NUMA:
NODE_DATA [mem 0xfda0d500-0xfda0efff][ 0.000000] Zone ranges:[
0.000000] DMA32 [mem 0x00000000c0000000-0x00000000fdbfffff][
0.000000] Normal empty[ 0.000000] Movable zone start for each
node[ 0.000000] Early memory node ranges[ 0.000000] node 0: [mem
0x00000000c0000000-0x00000000fdbfffff][ 0.000000] Initmem setup node 0
[mem 0x00000000c0000000-0x00000000fdbfffff][ 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] percpu: Embedded 24 pages/cpu s58904
r8192 d31208 u98304[ 0.000000] Detected VIPT I-cache on CPU0[
0.000000] CPU features: detected: ARM erratum 845719[ 0.000000] CPU
features: detected: GIC system register CPU interface[ 0.000000] Built 1
zonelists, mobility grouping on. Total pages: 248976[ 0.000000] Policy
zone: DMA32[ 0.000000] Kernel command line: clk_ignore_unused
console=ttymxc0,115200 earlycon=ec_imx6q,0x30860000,115200
root=/dev/mmcblk1p2 rootwait rw[ 0.000000] Dentry cache hash table
entries: 131072 (order: 8, 1048576 bytes, linear)[ 0.000000] Inode-cache
hash table entries: 65536 (order: 7, 524288 bytes, linear)[ 0.000000]
mem auto-init: stack:off, heap alloc:off, heap free:off[ 0.000000]
Memory: 635512K/1011712K available (16444K kernel code, 1444K rwdata, 6472K
rodata, 2944K init, 1017K bss, 48520K reserved, 327680K cma-reserved)[
0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1[
0.000000] rcu: Preemptible hierarchical RCU implementation.[ 0.000000]
rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.[
0.000000] Tasks RCU enabled.[ 0.000000] rcu: RCU calculated value of
scheduler-enlistment delay is 25 jiffies.[ 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: 128 SPIs
implemented[ 0.000000] GICv3: 0 Extended SPIs implemented[ 0.000000]
GICv3: Distributor has no Range Selector support[ 0.000000] GICv3: 16
PPIs implemented[ 0.000000] GICv3: no VLPI support, no direct LPI
support[ 0.000000] GICv3: CPU0: found redistributor 2 region
0:0x00000000388c0000[ 0.000000] ITS: No ITS available, not enabling
LPIs[ 0.000000] random: get_random_bytes called from
start_kernel+0x2b8/0x44c with crng_init=0[ 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.000004] sched_clock: 56 bits at 8MHz,
resolution 120ns, wraps every 2199023255541ns[ 0.008121] Console: colour
dummy device 80x25[ 0.012473] Calibrating delay loop (skipped), value
calculated using timer frequency.. 16.66 BogoMIPS (lpj=33333)[ 0.022664]
pid_max: default: 32768 minimum: 301[ 0.027337] LSM: Security Framework
initializing[ 0.031915] Mount-cache hash table entries: 2048 (order: 2,
16384 bytes, linear)[ 0.039248] Mountpoint-cache hash table entries:
2048 (order: 2, 16384 bytes, linear)[ 0.071135] ASID allocator
initialised with 32768 entries[ 0.079137] rcu: Hierarchical SRCU
implementation.[ 0.087271] EFI services will not be available.[
0.095177] smp: Bringing up secondary CPUs ...[ 0.127296] Detected VIPT
I-cache on CPU1[ 0.127333] GICv3: CPU1: found redistributor 3 region
0:0x00000000388e0000[ 0.127374] CPU1: Booted secondary processor
0x0000000003 [0x410fd034][ 0.127452] smp: Brought up 1 node, 2 CPUs[
0.146060] SMP: Total of 2 processors activated.[ 0.150745] CPU features:
detected: 32-bit EL0 Support[ 0.155882] CPU features: detected: CRC32
instructions[ 0.171395] CPU: All CPU(s) started at EL1[ 0.172643]
alternatives: patching kernel code[ 0.178327] devtmpfs: initialized[
0.182016] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 7645041785100000 ns[ 0.190093] futex hash table entries:
512 (order: 3, 32768 bytes, linear)[ 0.205814] pinctrl core: initialized
pinctrl subsystem[ 0.208766] DMI not present or invalid.[ 0.212295]
NET: Registered protocol family 16[ 0.226844] DMA: preallocated 256 KiB
pool for atomic allocations[ 0.230091] audit: initializing netlink
subsys (disabled)[ 0.235625] audit: type=2000 audit(0.200:1):
state=initialized audit_enabled=0 res=1[ 0.243221] cpuidle: using
governor menu[ 0.247461] hw-breakpoint: found 6 breakpoint and 4
watchpoint registers.[ 0.254239] Serial: AMBA PL011 UART driver[
0.258022] imx mu driver is registered.[ 0.261865] imx rpmsg driver is
registered.[ 0.283632] HugeTLB registered 1.00 GiB page size,
pre-allocated 0 pages[ 0.287485] HugeTLB registered 32.0 MiB page size,
pre-allocated 0 pages[ 0.294161] HugeTLB registered 2.00 MiB page size,
pre-allocated 0 pages[ 0.300846] HugeTLB registered 64.0 KiB page size,
pre-allocated 0 pages[ 0.309530] cryptd: max_cpu_qlen set to 1000[
0.317166] ACPI: Interpreter disabled.[ 0.318509] iommu: Default domain
type: Translated[ 0.323154] vgaarb: loaded[ 0.325989] SCSI subsystem
initialized[ 0.329830] usbcore: registered new interface driver
usbfs[ 0.334947] usbcore: registered new interface driver hub[
0.340466] usbcore: registered new device driver usb[ 0.345518] mc: Linux
media interface: v0.10[ 0.349507] videodev: Linux video capture
interface: v2.00[ 0.355017] pps_core: LinuxPPS API ver. 1 registered[
0.359900] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo
Giometti <[email protected]>[ 0.369034] PTP clock support registered[
0.372976] EDAC MC: Ver: 3.0.0[ 0.376456] No BMan portals available![
0.379991] QMan: Allocated lookup table at (____ptrval____), entry count
65537[ 0.387121] No QMan portals available![ 0.390844] No USDPAA
memory, no 'fsl,usdpaa-mem' in device-tree[ 0.397047] FPGA manager
framework[ 0.400255] Advanced Linux Sound Architecture Driver
Initialized.[ 0.406683] Bluetooth: Core ver 2.22[ 0.409838] NET:
Registered protocol family 31[ 0.414246] Bluetooth: HCI device and
connection manager initialized[ 0.420580] Bluetooth: HCI socket layer
initialized[ 0.425440] Bluetooth: L2CAP socket layer initialized[
0.430494] Bluetooth: SCO socket layer initialized[ 0.435863]
clocksource: Switched to clocksource arch_sys_counter[ 0.441553] VFS:
Disk quotas dquot_6.6.0[ 0.445367] VFS: Dquot-cache hash table entries:
512 (order 0, 4096 bytes)[ 0.452334] pnp: PnP ACPI: disabled[
0.462170] thermal_sys: Registered thermal governor 'step_wise'[
0.462173] thermal_sys: Registered thermal governor 'power_allocator'[
0.465472] NET: Registered protocol family 2[ 0.476511]
tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes,
linear)[ 0.484540] TCP established hash table entries: 8192 (order: 4,
65536 bytes, linear)[ 0.492302] TCP bind hash table entries: 8192
(order: 5, 131072 bytes, linear)[ 0.499571] TCP: Hash tables configured
(established 8192 bind 8192)[ 0.505845] UDP hash table entries: 512
(order: 2, 16384 bytes, linear)[ 0.512401] UDP-Lite hash table entries:
512 (order: 2, 16384 bytes, linear)[ 0.519510] NET: Registered protocol
family 1[ 0.524157] RPC: Registered named UNIX socket transport
module.[ 0.529649] RPC: Registered udp transport module.[ 0.534334]
RPC: Registered tcp transport module.[ 0.539023] RPC: Registered tcp
NFSv4.1 backchannel transport module.[ 0.545810] PCI: CLS 0 bytes,
default 64[ 0.549924] kvm [1]: HYP mode not available[ 0.559322]
Initialise system trusted keyrings[ 0.561042] workingset:
timestamp_bits=44 max_order=18 bucket_order=0[ 0.574077] squashfs:
version 4.0 (2009/01/31) Phillip Lougher[ 0.577766] NFS: Registering the
id_resolver key type[ 0.582117] Key type id_resolver registered[
0.586255] Key type id_legacy registered[ 0.590256] nfs4filelayout_init:
NFSv4 File Layout Driver Registering...[ 0.596947] jffs2: version 2.2.
(NAND) © 2001-2006 Red Hat, Inc.[ 0.603415] 9p: Installing v9fs 9p2000
file system support[ 0.623963] Key type asymmetric registered[
0.625197] Asymmetric key parser 'x509' registered[ 0.630097] Block layer
SCSI generic (bsg) driver version 0.4 loaded (major 244)[ 0.637464] io
scheduler mq-deadline registered[ 0.641963] io scheduler kyber
registered[ 0.646985] pci-host-generic bfb00000.pci: host bridge
/pci@bfb00000 ranges:[ 0.653010] pci-host-generic bfb00000.pci: MEM
0x10000000..0x1000ffff -> 0x10000000[ 0.660844] pci-host-generic
bfb00000.pci: ECAM at [mem 0xbfb00000-0xbfbfffff] for [bus 00][
0.669234] pci-host-generic bfb00000.pci: PCI host bridge to bus 0000:00[
0.675904] pci_bus 0000:00: root bus resource [bus 00][ 0.681117] pci_bus
0000:00: root bus resource [mem 0x10000000-0x1000ffff][ 0.687999] pci
0000:00:00.0: [110a:4106] type 00 class 0xff0000[ 0.693983] pci
0000:00:00.0: reg 0x10: [mem 0x00000000-0x00000fff][ 0.700441] pci
0000:00:01.0: [110a:4106] type 00 class 0xff0001[ 0.706215] pci
0000:00:01.0: reg 0x10: [mem 0x00000000-0x00000fff][ 0.712846] pci
0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x10000fff][ 0.719226] pci
0000:00:01.0: BAR 0: assigned [mem 0x10001000-0x10001fff][ 0.730661]
EINJ: ACPI disabled.[ 0.731846] Bus freq driver module loaded[
0.738437] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled[
0.743272] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 5, base_baud =
1562500) is a IMX[ 0.758802] loop: module loaded[ 0.760497] imx ahci
driver is registered.[ 0.764652] libphy: Fixed MDIO Bus: probed[
0.768138] tun: Universal TUN/TAP device driver, 1.6[ 0.772584]
thunder_xcv, ver 1.0[ 0.775525] thunder_bgx, ver 1.0[ 0.778759]
nicpf, ver 1.0[ 0.781574] Freescale FM module, FMD API version
21.1.0[ 0.786667] Freescale FM Ports module[ 0.790255] fsl_mac:
fsl_mac: FSL FMan MAC API based driver[ 0.795852] fsl_dpa: FSL DPAA
Ethernet driver[ 0.800190] fsl_advanced: FSL DPAA Advanced drivers:[
0.805098] fsl_proxy: FSL DPAA Proxy initialization driver[ 0.810691]
fsl_oh: FSL FMan Offline Parsing port driver[ 0.816330] hclge is
initializing[ 0.819240] hns3: Hisilicon Ethernet Network Driver for
Hip08 Family - version[ 0.826457] hns3: Copyright (c) 2017 Huawei
Corporation.[ 0.831800] e1000: Intel(R) PRO/1000 Network Driver -
version 7.3.21-k8-NAPI[ 0.838777] e1000: Copyright (c) 1999-2006 Intel
Corporation.[ 0.844545] e1000e: Intel(R) PRO/1000 Network Driver -
3.2.6-k[ 0.850324] e1000e: Copyright(c) 1999 - 2015 Intel
Corporation.[ 0.856268] igb: Intel(R) Gigabit Ethernet Network Driver -
version 5.6.0-k[ 0.863169] igb: Copyright (c) 2007-2014 Intel
Corporation.[ 0.868770] igbvf: Intel(R) Gigabit Virtual Function Network
Driver - version 2.4.0-k[ 0.876539] igbvf: Copyright (c) 2009 - 2012
Intel Corporation.[ 0.882511] sky2: driver version 1.30[ 0.886445]
ivshmem-net 0000:00:01.0: enabling device (0000 -> 0002)[ 0.892506]
ivshmem-net 0000:00:01.0: TX memory at 0x00000000bfe80000, size
0x000000000007f000[ 0.901024] ivshmem-net 0000:00:01.0: RX memory at
0x00000000bfe01000, size 0x000000000007f000_ivshmem 0000:00:00.0:
state_table at 0x00000000bfd00000, size 0x0000000000001000om6s 3] dy[
0.924815] uio_ivshmem 0000:00:00.0: rw_section at 0x00000000bfd01000, size
0x0000000000009000[ 0.933489] uio_ivshmem 0000:00:00.0: input_sections
at 0x00000000bfd0a000, size 0x0000000000006000[ 0.942511] uio_ivshmem
0000:00:00.0: output_section at 0x00000000bfd0e000, size
0x0000000000002000[ 0.951977] VFIO - User Level meta-driver version:
0.3[ 0.957373] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI)
Driver[ 0.963176] ehci-pci: EHCI PCI platform driver[ 0.967627]
ehci-platform: EHCI generic platform driver[ 0.972839] ohci_hcd: USB 1.1
'Open' Host Controller (OHCI) Driver[ 0.978981] ohci-pci: OHCI PCI
platform driver[ 0.983424] ohci-platform: OHCI generic platform
driver[ 0.988740] usbcore: registered new interface driver
usb-storage[ 0.994651] usbcore: registered new interface driver
usbserial_generic[ 1.001115] usbserial: USB Serial support registered
for generic[ 1.007108] usbcore: registered new interface driver
ftdi_sio[ 1.012831] usbserial: USB Serial support registered for FTDI
USB Serial Device[ 1.020135] usbcore: registered new interface driver
usb_serial_simple[ 1.026643] usbserial: USB Serial support registered
for carelink[ 1.032709] usbserial: USB Serial support registered for
zio[ 1.038351] usbserial: USB Serial support registered for funsoft[
1.044350] usbserial: USB Serial support registered for flashloader[
1.050679] usbserial: USB Serial support registered for google[ 1.056583]
usbserial: USB Serial support registered for libtransistor[ 1.063090]
usbserial: USB Serial support registered for vivopay[ 1.069080]
usbserial: USB Serial support registered for moto_modem[ 1.075333]
usbserial: USB Serial support registered for motorola_tetra[ 1.081930]
usbserial: USB Serial support registered for novatel_gps[ 1.088278]
usbserial: USB Serial support registered for hp4x[ 1.093993] usbserial:
USB Serial support registered for suunto[ 1.099901] usbserial: USB
Serial support registered for siemens_mpi[ 1.107246] i2c /dev entries
driver[ 1.110345] Bluetooth: HCI UART driver ver 2.3[ 1.114127]
Bluetooth: HCI UART protocol H4 registered[ 1.119245] Bluetooth: HCI
UART protocol BCSP registered[ 1.124556] Bluetooth: HCI UART protocol LL
registered[ 1.129660] Bluetooth: HCI UART protocol ATH3K registered[
1.135056] Bluetooth: HCI UART protocol Three-wire (H5) registered[
1.141326] Bluetooth: HCI UART protocol Broadcom registered[ 1.146950]
Bluetooth: HCI UART protocol QCA registered[ 1.152285] imx-cpufreq-dt:
probe of imx-cpufreq-dt failed with error -2[ 1.159033] sdhci: Secure
Digital Host Controller Interface driver[ 1.164990] sdhci: Copyright(c)
Pierre Ossman[ 1.169392] Synopsys Designware Multimedia Card Interface
Driver[ 1.175449] sdhci-pltfm: SDHCI platform and OF driver helper[
1.181146] sdhci-esdhc-imx 30b40000.mmc: could not get pinctrl[ 1.218013]
mmc2: SDHCI controller on 30b40000.mmc [30b40000.mmc] using ADMA[
1.222834] ledtrig-cpu: registered to indicate activity on CPUs[
1.229160] usbcore: registered new interface driver usbhid[ 1.233823]
usbhid: USB HID core driver[ 1.238352] No fsl,qman node[ 1.240462]
Freescale USDPAA process driver[ 1.244627] fsl-usdpaa: no region
found[ 1.248477] Freescale USDPAA process IRQ driver[ 1.257304]
pktgen: Packet Generator for packet performance testing. Version: 2.75[
1.262307] NET: Registered protocol family 26[ 1.267090] NET: Registered
protocol family 10[ 1.271591] Segment Routing with IPv6[ 1.274573]
NET: Registered protocol family 17[ 1.279040] Bluetooth: RFCOMM TTY
layer initialized[ 1.283840] Bluetooth: RFCOMM socket layer
initialized[ 1.288955] Bluetooth: RFCOMM ver 1.11[ 1.292683]
Bluetooth: BNEP (Ethernet Emulation) ver 1.3[ 1.297958] Bluetooth: BNEP
filters: protocol multicast[ 1.303185] Bluetooth: BNEP socket layer
initialized[ 1.308126] Bluetooth: HIDP (Human Interface Emulation) ver
1.2[ 1.314021] Bluetooth: HIDP socket layer initialized[ 1.319004]
8021q: 802.1Q VLAN Support v1.8[ 1.323167] lib80211: common routines for
IEEE802.11 drivers[ 1.328915] 9pnet: Installing 9P2000 support[
1.333060] tsn generic netlink module v1 init...[ 1.337781] Key type
dns_resolver registered[ 1.342482] registered taskstats version 1[
1.346064] Loading compiled-in X.509 certificates[ 1.352505] hctosys:
unable to open rtc device (rtc0)[ 1.355965] cfg80211: Loading
compiled-in X.509 certificates for regulatory database[ 1.365244]
cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'[ 1.370196]
platform regulatory.0: Direct firmware load for regulatory.db failed with
error -2[ 1.371872] clk: Not disabling unused clocks[ 1.378719]
platform regulatory.0: Falling back to sysfs fallback for:
regulatory.db[ 1.382975] ALSA device list:[ 1.393625] No soundcards
found.[ 1.397057] Warning: unable to open an initial console.[
1.402301] Waiting for root device /dev/mmcblk1p2...[ 1.417055] mmc2: new
DDR MMC card at address 0001[ 1.419499] mmcblk2: mmc2:0001 DG4016 14.7
GiB[ 1.423711] mmcblk2boot0: mmc2:0001 DG4016 partition 1 4.00 MiB[
1.429619] mmcblk2boot1: mmc2:0001 DG4016 partition 2 4.00 MiB[ 1.435431]
mmcblk2rpmb: mmc2:0001 DG4016 partition 3 4.00 MiB, chardev (237:0)[
1.452011] mmcblk2: p1 p2[ 62.528001] cfg80211: failed to load
regulatory.db*
--
You received this message because you are subscribed to the Google Groups
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jailhouse-dev/11e37b92-3146-4194-877f-f79ab746d971o%40googlegroups.com.