Hi Jan,
On Tue, May 17, 2022 at 12:44 PM Jan Kiszka <[email protected]> wrote:
>
> On 16.05.22 20:01, Lad, Prabhakar wrote:
> > Hi Jan,
> >
> > On Mon, May 16, 2022 at 6:57 AM Jan Kiszka <[email protected]> wrote:
> >>
> >> On 13.05.22 18:28, Lad, Prabhakar wrote:
> >>> Hi Jan,
> >>>
> >>> On Fri, May 13, 2022 at 4:33 PM Jan Kiszka <[email protected]> wrote:
> >>>>
> >>>> On 13.05.22 17:20, Lad, Prabhakar wrote:
> >>>>> On Fri, May 13, 2022 at 1:18 PM Jan Kiszka <[email protected]>
> >>>>> wrote:
> >>>>>>
> >>>>>> On 13.05.22 13:32, Lad, Prabhakar wrote:
> >>>>>>>> Could it be that arm_dcaches_flush was a red herring? Maybe we are
> >>>>>>>> actually crashing on hvc in arch_entry, and that because of Linux not
> >>>>>>>> starting in HVC mode, thus no hypervisor take-over stub being
> >>>>>>>> installed.
> >>>>>>>>
> >>>>>>>> Could you share the boot log of the kernel?
> >>>>>>>>
> >>>>>>> Attached is the complete log.
> >>>>>>>
> >>>>>>
> >>>>>> "CPU: All CPU(s) started at EL1"
> >>>>>>
> >>>>>> As suspected. Must be EL2 or HYP. Reconfigure your firmware to enable
> >>>>>> that.
> >>>>>>
> >>>>> Argh my bad, I've now enabled it to start in EL2 mode (attached are
> >>>>> the complete logs). Now I see the below panic,
> >>>>>
> >>>>> [ 33.920507] jailhouse: loading out-of-tree module taints kernel.
> >>>>> Reading configuration set:
> >>>>> Root cell: Renesas RZ/V2L SMARC (renesas-r9a07g054l2.cell)
> >>>>> Overlapping memory regions inside cell: None
> >>>>> Overlapping memory regions with hypervisor: None
> >>>>> Missing resource interceptions for architecture arm64: None
> >>>>> [ 34.741847] Bad mode in Synchronous Abort handler detected on CPU0,
> >>>>> code 0x5a000000 -- HVC (AArch64)
> >>
> >> "HVC instruction execution in AArch64 state, when HVC is not disabled",
> >> origin: EL2 (hypervisor mode).
> >>
> >> Is KVM off again when you start Jailhouse here? Does the CPU support VHE
> >> (Virtualization Host Extension)? Is CONFIG_ARM64_VHE enabled? Try to
> >> turn that off.
> >>
> > KVM was OFF, I have enabled both CONFIG_VIRTUALIZATION and CONFIG_KVM
> > (I have attached the complete kernel config). Yes the CPU does have
> > VHE support. I did it by disabling CONFIG_ARM64_VHE which did not make
> > any difference.
> >
> > With the VHE disable now I get the below output:
> > root@smarc-rzg2l:~# dmesg | grep -i kvm
> > [ 0.095927] kvm [1]: IPA Size Limit: 40 bits
> > [ 0.096895] kvm [1]: GICv3: no GICV resource entry
> > [ 0.096916] kvm [1]: disabling GICv2 emulation
> > [ 0.096949] kvm [1]: GIC system register CPU interface enabled
> > [ 0.097045] kvm [1]: vgic interrupt IRQ9
> > [ 0.097156] kvm [1]: Hyp mode initialized successfully
> > root@smarc-rzg2l:~#
> >
> > Now with the above configs I don't get any output on the console when
> > the root cell is enabled:
> >
> > root@smarc-rzg2l:~# sh -x ./hyp.sh
> > + insmod jailhouse.ko
> > [ 35.379219] jailhouse: loading out-of-tree module taints kernel.
> > + jailhouse config check -a arm64 renesas-r9a07g054l2.cell
> > Reading configuration set:
> > Root cell: Renesas RZ/V2L SMARC (renesas-r9a07g054l2.cell)
> > Overlapping memory regions inside cell: None
> > Overlapping memory regions with hypervisor: None
> > Missing resource interceptions for architecture arm64: None
> > + jailhouse enable renesas-r9a07g054l2.cell
> > [ 36.217465] obcode @arm_dcaches_flush: d53b0024
> > [ 36.217469] obcode @arm_dcaches_flush: d53b0024
> >
> > Any pointers on debugging this further, has anyone tried jailhouse on
> > Cortex-A55 before?
>
> Hmm, at least not I so far. Might be the point that we are missing some
> subtle difference here around the way the setup works then.
>
Right.
> In any case, the fact that at least the previous crash is gone indicates
> that something changed. You could check if you reach now the second hvc
> by adding a ret in front of it. If you, you may end up in hyp mode,
> maybe just not have a working UART yet (is the model you have on the
> board in principle already supported by Jailhouse?), run into a
> different issue, but just don't see Jailhouse report of it.
>
It's not going pass the arm_dcaches_flush statement.
With the below diff, I don't see any logs on console
option #1
diff --git a/hypervisor/arch/arm64/caches.S b/hypervisor/arch/arm64/caches.S
index 39dad4af..ce29b8e8 100644
--- a/hypervisor/arch/arm64/caches.S
+++ b/hypervisor/arch/arm64/caches.S
@@ -40,6 +40,7 @@
*/
.global arm_dcaches_flush
arm_dcaches_flush:
+ ret
dcache_line_size x3, x4
add x1, x0, x1
sub x4, x3, #1
diff --git a/hypervisor/arch/arm64/entry.S b/hypervisor/arch/arm64/entry.S
index a9cabf7f..c8ebf695 100644
--- a/hypervisor/arch/arm64/entry.S
+++ b/hypervisor/arch/arm64/entry.S
@@ -97,6 +97,7 @@ arch_entry:
ldr x1, [x0, #HEADER_CORE_SIZE]
mov x2, DCACHE_CLEAN_AND_INVALIDATE_ASM
bl arm_dcaches_flush
+ ret
/* install bootstrap_vectors */
ldr x1, =bootstrap_vectors
option#2: I get "JAILHOUSE_ENABLE: Success"
diff --git a/hypervisor/arch/arm64/entry.S b/hypervisor/arch/arm64/entry.S
index a9cabf7f..4e98b292 100644
--- a/hypervisor/arch/arm64/entry.S
+++ b/hypervisor/arch/arm64/entry.S
@@ -96,6 +96,7 @@ arch_entry:
*/
ldr x1, [x0, #HEADER_CORE_SIZE]
mov x2, DCACHE_CLEAN_AND_INVALIDATE_ASM
+ ret
bl arm_dcaches_flush
/* install bootstrap_vectors */
Attached are the logs.
Cheers,
Prabhakar
--
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/CA%2BV-a8vUAEZUkbhhHEHKHzf-OhXqnfMkojP5o0nSEtgBdSbRQw%40mail.gmail.com.
NOTICE: BL2: v2.6(release):9cbfb52b4-dirty
NOTICE: BL2: Built : 16:04:11, May 13 2022
NOTICE: BL2: Booting BL31
NOTICE: BL31: v2.6(release):9cbfb52b4-dirty
NOTICE: BL31: Built : 16:04:12, May 13 2022
U-Boot 2021.10-g90edad6e00 (May 13 2022 - 16:04:19 +0100)
CPU: Renesas Electronics K rev 16.15
Model: smarc-rzv2l
DRAM: 1.9 GiB
MMC: sd@11c00000: 0, sd@11c10000: 1
Loading Environment from MMC... OK
In: serial@1004b800
Out: serial@1004b800
Err: serial@1004b800
Net:
Error: ethernet@11c20000 address not set.
No ethernet found.
Hit any key to stop autoboot: 0
9491745 bytes read in 591 ms (15.3 MiB/s)
23907 bytes read in 3 ms (7.6 MiB/s)
Uncompressed size: 25940480 = 0x18BD200
Moving Image from 0x48080000 to 0x48200000, end=49b40000
## Flattened Device Tree blob at 48000000
Booting using the fdt blob at 0x48000000
Loading Device Tree to 0000000057ff7000, end 0000000057fffd62 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
[ 0.000000] Linux version 5.10.112-cip6+ (prasmi@prasmi)
(aarch64-linux-gnu-gcc (Linaro GCC 7.5-2019.12) 7.5.0, GNU ld
(Linaro_Binutils-2012
[ 0.000000] Machine model: Renesas SMARC EVK based on r9a07g054l2
[ 0.000000] efi: UEFI not found.
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem
0x0000000048000000-0x00000000bfffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0xbfca0b00-0xbfca2fff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000048000000-0x00000000bfffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000048000000-0x00000000a7efffff]
[ 0.000000] node 0: [mem 0x00000000a7f00000-0x00000000b7efffff]
[ 0.000000] node 0: [mem 0x00000000b7f00000-0x00000000bfffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000048000000-0x00000000bfffffff]
[ 0.000000] cma: Reserved 16 MiB at 0x00000000bc000000
[ 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.2
[ 0.000000] percpu: Embedded 23 pages/cpu s54680 r8192 d31336 u94208
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 483840
[ 0.000000] Policy zone: DMA
[ 0.000000] Kernel command line: root=/dev/sda1 rw rootwait rootfstype=ext4
ip=off vmalloc=512M
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152
bytes, linear)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes,
linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 1622184K/1966080K available (12608K kernel code, 2164K
rwdata, 5804K rodata, 4608K init, 485K bss, 327512K reserved, 16)
[ 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 event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
[ 0.000000] Trampoline variant of 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: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 480 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: CPU0: found redistributor 0 region 0:0x0000000011940000
[ 0.000000] random: get_random_bytes called from start_kernel+0x31c/0x4e8
with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff
max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every
4398046511097ns
[ 0.000170] Console: colour dummy device 80x25
[ 0.000585] printk: console [tty0] enabled
[ 0.000687] Calibrating delay loop (skipped), value calculated using timer
frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.000714] pid_max: default: 32768 minimum: 301
[ 0.000804] LSM: Security Framework initializing
[ 0.000878] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes,
linear)
[ 0.000903] Mountpoint-cache hash table entries: 4096 (order: 3, 32768
bytes, linear)
[ 0.002754] rcu: Hierarchical SRCU implementation.
[ 0.003563] Detected Renesas RZ/V2L r9a07g054
[ 0.004066] EFI services will not be available.
[ 0.004517] smp: Bringing up secondary CPUs ...
[ 0.005100] Detected VIPT I-cache on CPU1
[ 0.005142] GICv3: CPU1: found redistributor 100 region 0:0x0000000011960000
[ 0.005205] CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
[ 0.005373] smp: Brought up 1 node, 2 CPUs
[ 0.005426] SMP: Total of 2 processors activated.
[ 0.005440] CPU features: detected: Privileged Access Never
[ 0.005451] CPU features: detected: LSE atomic instructions
[ 0.005464] CPU features: detected: User Access Override
[ 0.005477] CPU features: detected: 32-bit EL0 Support
[ 0.005489] CPU features: detected: Common not Private translations
[ 0.005502] CPU features: detected: RAS Extension Support
[ 0.005513] CPU features: detected: Data cache clean to the PoU not required
for I/D coherence
[ 0.005529] CPU features: detected: CRC32 instructions
[ 0.005540] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[ 0.005554] CPU features: detected: 32-bit EL1 Support
[ 0.026201] CPU: All CPU(s) started at EL2
[ 0.026286] alternatives: patching kernel code
[ 0.028718] devtmpfs: initialized
[ 0.033597] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 7645041785100000 ns
[ 0.033653] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.034320] pinctrl core: initialized pinctrl subsystem
[ 0.035558] DMI not present or invalid.
[ 0.036209] NET: Registered protocol family 16
[ 0.038147] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[ 0.038340] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic
allocations
[ 0.038547] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic
allocations
[ 0.038669] audit: initializing netlink subsys (disabled)
[ 0.038966] audit: type=2000 audit(0.036:1): state=initialized
audit_enabled=0 res=1
[ 0.039982] thermal_sys: Registered thermal governor 'step_wise'
[ 0.040126] cpuidle: using governor menu
[ 0.040358] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.040450] ASID allocator initialised with 65536 entries
[ 0.041412] Serial: AMBA PL011 UART driver
[ 0.073719] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.073758] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.073772] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.073786] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.075295] cryptd: max_cpu_qlen set to 1000
[ 0.078047] ACPI: Interpreter disabled.
[ 0.080582] iommu: Default domain type: Translated
[ 0.080809] vgaarb: loaded
[ 0.081165] SCSI subsystem initialized
[ 0.081679] usbcore: registered new interface driver usbfs
[ 0.081749] usbcore: registered new interface driver hub
[ 0.081797] usbcore: registered new device driver usb
[ 0.082547] pps_core: LinuxPPS API ver. 1 registered
[ 0.082562] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo
Giometti <[email protected]>
[ 0.082589] PTP clock support registered
[ 0.084147] clocksource: Switched to clocksource arch_sys_counter
[ 0.084419] VFS: Disk quotas dquot_6.6.0
[ 0.084499] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.084755] pnp: PnP ACPI: disabled
[ 0.091745] NET: Registered protocol family 2
[ 0.092028] IP idents hash table entries: 32768 (order: 6, 262144 bytes,
linear)
[ 0.093365] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2,
16384 bytes, linear)
[ 0.093491] TCP established hash table entries: 16384 (order: 5, 131072
bytes, linear)
[ 0.093620] TCP bind hash table entries: 16384 (order: 6, 262144 bytes,
linear)
[ 0.093905] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.094118] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.094169] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.094363] NET: Registered protocol family 1
[ 0.094997] RPC: Registered named UNIX socket transport module.
[ 0.095029] RPC: Registered udp transport module.
[ 0.095042] RPC: Registered tcp transport module.
[ 0.095054] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.095074] PCI: CLS 0 bytes, default 64
[ 0.095925] kvm [1]: IPA Size Limit: 40 bits
[ 0.096900] kvm [1]: GICv3: no GICV resource entry
[ 0.096919] kvm [1]: disabling GICv2 emulation
[ 0.096953] kvm [1]: GIC system register CPU interface enabled
[ 0.097051] kvm [1]: vgic interrupt IRQ9
[ 0.097163] kvm [1]: Hyp mode initialized successfully
[ 0.099253] Initialise system trusted keyrings
[ 0.099552] workingset: timestamp_bits=42 max_order=19 bucket_order=0
[ 0.106596] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.107528] NFS: Registering the id_resolver key type
[ 0.107584] Key type id_resolver registered
[ 0.107597] Key type id_legacy registered
[ 0.107710] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.107729] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver
Registering...
[ 0.107967] 9p: Installing v9fs 9p2000 file system support
[ 0.144838] Key type asymmetric registered
[ 0.144876] Asymmetric key parser 'x509' registered
[ 0.144946] Block layer SCSI generic (bsg) driver version 0.4 loaded (major
247)
[ 0.144966] io scheduler mq-deadline registered
[ 0.144979] io scheduler kyber registered
[ 0.170988] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.173503] SuperH (H)SCI(F) driver initialized
[ 0.174088] msm_serial: driver initialized
[ 0.184844] loop: module loaded
[ 0.190802] tun: Universal TUN/TAP device driver, 1.6
[ 0.192246] e1000e: Intel(R) PRO/1000 Network Driver
[ 0.192278] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 0.192357] igb: Intel(R) Gigabit Ethernet Network Driver
[ 0.192372] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 0.192420] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[ 0.192434] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 0.192890] sky2: driver version 1.30
[ 0.194912] VFIO - User Level meta-driver version: 0.3
[ 0.197505] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.197539] ehci-pci: EHCI PCI platform driver
[ 0.197601] ehci-platform: EHCI generic platform driver
[ 0.198385] ehci-orion: EHCI orion driver
[ 0.198606] ehci-exynos: EHCI Exynos driver
[ 0.198783] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.198837] ohci-pci: OHCI PCI platform driver
[ 0.198912] ohci-platform: OHCI generic platform driver
[ 0.199534] ohci-exynos: OHCI Exynos driver
[ 0.200454] usbcore: registered new interface driver usb-storage
[ 0.203668] i2c /dev entries driver
[ 0.208559] sdhci: Secure Digital Host Controller Interface driver
[ 0.208591] sdhci: Copyright(c) Pierre Ossman
[ 0.209115] Synopsys Designware Multimedia Card Interface Driver
[ 0.210435] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.212450] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[ 0.213271] usbcore: registered new interface driver usbhid
[ 0.213292] usbhid: USB HID core driver
[ 0.216322] NET: Registered protocol family 10
[ 0.217374] Segment Routing with IPv6
[ 0.217466] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 0.218018] NET: Registered protocol family 17
[ 0.218195] 9pnet: Installing 9P2000 support
[ 0.218277] Key type dns_resolver registered
[ 0.218800] registered taskstats version 1
[ 0.218822] Loading compiled-in X.509 certificates
[ 0.229489] gpio-153 (gpio_sd0_pwr_en): hogged as output/high
[ 0.229548] gpio-449 (sd0_dev_sel): hogged as output/high
[ 0.229586] gpio-458 (can0_stb): hogged as output/low
[ 0.229615] gpio-459 (can1_stb): hogged as output/low
[ 0.229651] gpio-434 (sd1_pwr_en): hogged as output/high
[ 0.230426] pinctrl-rzg2l 11030000.pinctrl: pinctrl-rzg2l support registered
[ 0.235980] 1004b800.serial: ttySC0 at MMIO 0x1004b800 (irq = 22, base_baud
= 0) is a scif
[ 1.324352] printk: console [ttySC0] enabled
[ 1.330566] 1004c000.serial: ttySC1 at MMIO 0x1004c000 (irq = 27, base_baud
= 0) is a scif
[ 1.341046] renesas_spi 1004b000.spi: dma_request_slave_channel_compat failed
[ 1.348248] renesas_spi 1004b000.spi: DMA not available, using PIO
[ 1.354843] renesas_spi 1004b000.spi: probed
[ 1.360968] ravb 11c20000.ethernet: no valid MAC address supplied, using a
random one
[ 1.371632] ravb 11c20000.ethernet eth0: Base address at 0x11c20000,
0a:4b:b5:cd:1b:44, IRQ 85.
[ 1.382187] ravb 11c30000.ethernet: no valid MAC address supplied, using a
random one
[ 1.392601] ravb 11c30000.ethernet eth1: Base address at 0x11c30000,
46:24:e8:c5:b6:41, IRQ 88.
[ 1.428190] ehci-platform 11c50100.usb: EHCI Host Controller
[ 1.433907] ehci-platform 11c50100.usb: new USB bus registered, assigned bus
number 1
[ 1.441887] ehci-platform 11c50100.usb: irq 93, io mem 0x11c50100
[ 1.460152] ehci-platform 11c50100.usb: USB 2.0 started, EHCI 1.10
[ 1.467096] hub 1-0:1.0: USB hub found
[ 1.470894] hub 1-0:1.0: 1 port detected
[ 1.476828] ehci-platform 11c70100.usb: EHCI Host Controller
[ 1.482544] ehci-platform 11c70100.usb: new USB bus registered, assigned bus
number 2
[ 1.490473] ehci-platform 11c70100.usb: irq 94, io mem 0x11c70100
[ 1.512166] ehci-platform 11c70100.usb: USB 2.0 started, EHCI 1.10
[ 1.519063] hub 2-0:1.0: USB hub found
[ 1.522860] hub 2-0:1.0: 1 port detected
[ 1.528728] ohci-platform 11c50000.usb: Generic Platform OHCI controller
[ 1.535481] ohci-platform 11c50000.usb: new USB bus registered, assigned bus
number 3
[ 1.543471] ohci-platform 11c50000.usb: irq 91, io mem 0x11c50000
[ 1.638901] hub 3-0:1.0: USB hub found
[ 1.642718] hub 3-0:1.0: 1 port detected
[ 1.648575] ohci-platform 11c70000.usb: Generic Platform OHCI controller
[ 1.655317] ohci-platform 11c70000.usb: new USB bus registered, assigned bus
number 4
[ 1.663302] ohci-platform 11c70000.usb: irq 92, io mem 0x11c70000
[ 1.758888] hub 4-0:1.0: USB hub found
[ 1.762692] hub 4-0:1.0: 1 port detected
[ 1.769436] i2c-riic 10058000.i2c: registered with 100000Hz bus speed
[ 1.778393] i2c-riic 10058400.i2c: registered with 100000Hz bus speed
[ 1.787444] i2c-riic 10058c00.i2c: registered with 400000Hz bus speed
[ 1.846717] renesas_sdhi_internal_dmac 11c00000.mmc: mmc0 base at
0x0000000011c00000, max clock rate 133 MHz
[ 1.849569] renesas_sdhi_internal_dmac 11c10000.mmc: mmc1 base at
0x0000000011c10000, max clock rate 133 MHz
[ 1.867080] Waiting for root device /dev/sda1...
[ 1.960433] mmc0: new HS200 MMC card at address 0001
[ 1.966125] mmcblk0: mmc0:0001 S0J58X 59.3 GiB
[ 1.970907] mmcblk0boot0: mmc0:0001 S0J58X partition 1 31.5 MiB
[ 1.977012] mmcblk0boot1: mmc0:0001 S0J58X partition 2 31.5 MiB
[ 1.983172] mmcblk0rpmb: mmc0:0001 S0J58X partition 3 4.00 MiB, chardev
(241:0)
[ 1.991720] mmcblk0: p1
[ 2.248125] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
[ 2.255546] mmcblk1: mmc1:aaaa SC16G 14.8 GiB
[ 2.265484] mmcblk1: p1 p2
[ 2.312166] usb 2-1: new high-speed USB device number 2 using ehci-platform
[ 2.474438] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 2.481129] scsi host0: usb-storage 2-1:1.0
[ 3.493631] scsi 0:0:0:0: Direct-Access General USB Flash Disk 1.00
PQ: 0 ANSI: 2
[ 3.502865] sd 0:0:0:0: [sda] 7831552 512-byte logical blocks: (4.01 GB/3.73
GiB)
[ 3.511078] sd 0:0:0:0: [sda] Write Protect is off
[ 3.516580] sd 0:0:0:0: [sda] No Caching mode page found
[ 3.521911] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 3.531785] sda: sda1 sda2
[ 3.538091] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 3.564603] random: fast init done
[ 3.985118] EXT4-fs (sda1): recovery complete
[ 3.991839] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts:
(null)
[ 3.999576] VFS: Mounted root (ext4 filesystem) on device 8:1.
[ 4.010194] devtmpfs: mounted
[ 4.017672] Freeing unused kernel memory: 4608K
[ 4.022349] Run /sbin/init as init process
[ 4.395256] systemd[1]: System time before build time, advancing clock.
[ 4.445014] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT
-SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -)
[ 4.467113] systemd[1]: Detected architecture arm64.
Welcome to Poky (Yocto Project Reference Distro) 3.1.5 (dunfell)!
[ 4.513465] systemd[1]: Set hostname to <smarc-rzg2l>.
[ 5.002658] random: systemd: uninitialized urandom read (16 bytes read)
[ 5.009622] systemd[1]: system-getty.slice: unit configures an IP firewall,
but the local system does not support BPF/cgroup firewalling.
[ 5.021997] systemd[1]: (This warning is only shown for the first unit using
IP firewalling.)
[ 5.034165] systemd[1]: Created slice system-getty.slice.
[ OK ] Created slice system-getty.slice.
[ 5.056380] random: systemd: uninitialized urandom read (16 bytes read)
[ 5.064700] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ 5.088383] random: systemd: uninitialized urandom read (16 bytes read)
[ 5.096464] systemd[1]: Created slice User and Session Slice.
[ OK ] Created slice User and Session Slice.
[ 5.116805] systemd[1]: Started Dispatch Password Requests to Console
Directory Watch.
[ OK ] Started Dispatch Password �…ts to Console Directory Watch.
[ 5.140708] systemd[1]: Started Forward Password Requests to Wall Directory
Watch.
[ OK ] Started Forward Password R�…uests to Wall Directory Watch.
[ 5.164531] systemd[1]: Reached target Paths.
[ OK ] Reached target Paths.
[ 5.184446] systemd[1]: Reached target Remote File Systems.
[ OK ] Reached target Remote File Systems.
[ 5.204420] systemd[1]: Reached target Slices.
[ OK ] Reached target Slices.
[ 5.224438] systemd[1]: Reached target Swap.
[ OK ] Reached target Swap.
[ 5.258561] systemd[1]: Listening on RPCbind Server Activation Socket.
[ OK ] Listening on RPCbind Server Activation Socket.
[ 5.280476] systemd[1]: Reached target RPC Port Mapper.
[ OK ] Reached target RPC Port Mapper.
[ 5.303217] systemd[1]: Listening on Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ 5.324831] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ OK ] Listening on initctl Compatibility Named Pipe.
[ 5.349320] systemd[1]: Listening on Journal Audit Socket.
[ OK ] Listening on Journal Audit Socket.
[ 5.368984] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 5.393103] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 5.413243] systemd[1]: Listening on Network Service Netlink Socket.
[ OK ] Listening on Network Service Netlink Socket.
[ 5.437176] systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 5.456858] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 5.481765] systemd[1]: Mounting Huge Pages File System...
Mounting Huge Pages File System...
[ 5.505349] systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[ 5.533405] systemd[1]: Mounting Kernel Debug File System...
Mounting Kernel Debug File System...
[ 5.559205] systemd[1]: Mounting Temporary Directory (/tmp)...
Mounting Temporary Directory (/tmp)...
[ 5.581452] systemd[1]: Condition check resulted in Create list of static
device nodes for the current kernel being skipped.
[ 5.597591] systemd[1]: Starting Start psplash boot splash screen...
Starting Start psplash boot splash screen...
[ 5.634452] systemd[1]: Started Hardware RNG Entropy Gatherer Daemon.
[ OK ] Started Hardware RNG Entropy Gatherer Daemon.
[ 5.662682] systemd[1]: Starting RPC Bind...
Starting RPC Bind...
[ 5.680607] systemd[1]: Condition check resulted in File System Check on
Root Device being skipped.
[ 5.697426] systemd[1]: Starting Journal Service...
Starting Journal Service...
[ 5.752346] systemd[1]: Starting Load Kernel Modules...
Starting Load Kernel Modules...
[ 5.785746] systemd[1]: Starting Remount Root and Kernel File Systems...
Starting Remount Root and Kernel File Systems...
[ 5.830445] systemd[1]: Starting udev Coldplug all Devices...
Starting udev Coldplug all Devices...
[ 5.878462] systemd[1]: Started RPC Bind.
[ OK ] Started RPC Bind.
[ 5.889921] EXT4-fs (sda1): re-mounted. Opts: (null)
[ 5.899387] systemd[1]: Mounted Huge Pages File System.
[ OK ] Mounted Huge Pages File System.
[ 5.918066] systemd[1]: Mounted POSIX Message Queue File System.
[ OK ] Mounted POSIX Message Queue File System.
[ 5.946537] systemd[1]: Started Journal Service.
[ OK ] Started Journal Service.
[ OK ] Mounted Kernel Debug File System.
[ OK ] Mounted Temporary Directory (/tmp).
[FAILED] Failed to start Start psplash boot splash screen.
See 'systemctl status psplash-start.service' for details.
[DEPEND] Dependency failed for Star�…progress communication helper.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[ OK ] Started Remount Root and Kernel File Systems.
Mounting Kernel Configuration File System...
Starting Flush Journal to Persistent Storage...
Starting Apply Kernel Variables...
[ 6.185001] systemd-journald[142]: Received client request to flush runtime
journal.
Starting Create Static Device Nodes in /dev...
[ OK ] Mounted Kernel Configuration File System.
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Reached target Local File Systems (Pre).
Mounting /var/volatile...
Starting udev Kernel Device Manager...
[ OK ] Mounted /var/volatile.
Starting Load/Save Random Seed...
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started Create Volatile Files and Directories.
Starting Network Service...
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Started Network Service.
Starting Network Name Resolution...
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target System Time Set.
[ OK ] Reached target System Time Synchronized.
[ OK ] Reached target Timers.
[ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Listening on D-Bus System Message Bus Socket.
Starting sshd.socket.
[ OK ] Listening on sshd.socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ OK ] Started Kernel Logging Service.
[ OK ] Started System Logging Service.
[ OK ] Started D-Bus System Message Bus.
[ 7.428693] random: crng init done
[ 7.432124] random: 7 urandom warning(s) missed due to ratelimiting
Starting rng-tools.service...
Starting Login Service...
[ OK ] Started Network Name Resolution.
[ OK ] Reached target Network.
[ OK ] Reached target Host and Network Name Lookups.
Starting Avahi mDNS/DNS-SD Stack...
Starting Permit User Sessions...
[ OK ] Started Load/Save Random Seed.
[ OK ] Started rng-tools.service.
[ OK ] Started Permit User Sessions.
[ OK ] Started Avahi mDNS/DNS-SD Stack.
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttySC0.
[ OK ] Reached target Login Prompts.
Starting weston.service...
[ OK ] Started weston.service.
[ OK ] Started Login Service.
[ OK ] Reached target Multi-User System.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.
[ 10.444182] Microchip KSZ9131 Gigabit PHY 11c20000.ethernet-ffffffff:07:
attached PHY driver [Microchip KSZ9131 Gigabit PHY] (mii_bus:phy_a)
[ 10.526789] Microchip KSZ9131 Gigabit PHY 11c30000.ethernet-ffffffff:07:
attached PHY driver [Microchip KSZ9131 Gigabit PHY] (mii_bus:phy_a)
Poky (Yocto Project Reference Distro) 3.1.5 smarc-rzg2l ttySC0
BSP: RZG2L/RZG2L-SMARC-EVK/1.1
LSI: RZG2L
Version: 1.1
smarc-rzg2l login: root
[ 16.579739] audit: type=1006 audit(1600598650.180:2): pid=204 uid=0
old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
^[[37;143Rroot@smarc-rzg2l:~# ;143R
-sh: syntax error near unexpected token `;'
root@smarc-rzg2l:~#
root@smarc-rzg2l:~#
root@smarc-rzg2l:~# ./cpy.sh
fsck from util-linux 2.35.1
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
/dev/mmcblk1p2: 11 files, 20814/38357 clusters
[ 19.566941] FAT-fs (mmcblk1p2): Volume was not properly unmounted. Some data
may be corrupt. Please run fsck.
root@smarc-rzg2l:~#
root@smarc-rzg2l:~#
root@smarc-rzg2l:~#
root@smarc-rzg2l:~# ./hyp.sh
[ 22.288093] jailhouse: loading out-of-tree module taints kernel.
Reading configuration set:
Root cell: Renesas RZ/V2L SMARC (renesas-r9a07g054l2.cell)
Overlapping memory regions inside cell: None
Overlapping memory regions with hypervisor: None
Missing resource interceptions for architecture arm64: None
[ 23.274369] obcode @arm_dcaches_flush: d65f03c0
[ 23.274373] obcode @arm_dcaches_flush: d65f03c0
NOTICE: BL2: v2.6(release):9cbfb52b4-dirty
NOTICE: BL2: Built : 16:04:11, May 13 2022
NOTICE: BL2: Booting BL31
NOTICE: BL31: v2.6(release):9cbfb52b4-dirty
NOTICE: BL31: Built : 16:04:12, May 13 2022
U-Boot 2021.10-g90edad6e00 (May 13 2022 - 16:04:19 +0100)
CPU: Renesas Electronics K rev 16.15
Model: smarc-rzv2l
DRAM: 1.9 GiB
MMC: sd@11c00000: 0, sd@11c10000: 1
Loading Environment from MMC... OK
In: serial@1004b800
Out: serial@1004b800
Err: serial@1004b800
Net:
Error: ethernet@11c20000 address not set.
No ethernet found.
Hit any key to stop autoboot: 0
9491745 bytes read in 591 ms (15.3 MiB/s)
23907 bytes read in 3 ms (7.6 MiB/s)
Uncompressed size: 25940480 = 0x18BD200
Moving Image from 0x48080000 to 0x48200000, end=49b40000
## Flattened Device Tree blob at 48000000
Booting using the fdt blob at 0x48000000
Loading Device Tree to 0000000057ff7000, end 0000000057fffd62 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
[ 0.000000] Linux version 5.10.112-cip6+ (prasmi@prasmi)
(aarch64-linux-gnu-gcc (Linaro GCC 7.5-2019.12) 7.5.0, GNU ld
(Linaro_Binutils-2012
[ 0.000000] Machine model: Renesas SMARC EVK based on r9a07g054l2
[ 0.000000] efi: UEFI not found.
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem
0x0000000048000000-0x00000000bfffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0xbfca0b00-0xbfca2fff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000048000000-0x00000000bfffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000048000000-0x00000000a7efffff]
[ 0.000000] node 0: [mem 0x00000000a7f00000-0x00000000b7efffff]
[ 0.000000] node 0: [mem 0x00000000b7f00000-0x00000000bfffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000048000000-0x00000000bfffffff]
[ 0.000000] cma: Reserved 16 MiB at 0x00000000bc000000
[ 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.2
[ 0.000000] percpu: Embedded 23 pages/cpu s54680 r8192 d31336 u94208
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 483840
[ 0.000000] Policy zone: DMA
[ 0.000000] Kernel command line: root=/dev/sda1 rw rootwait rootfstype=ext4
ip=off vmalloc=512M
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152
bytes, linear)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes,
linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 1622184K/1966080K available (12608K kernel code, 2164K
rwdata, 5804K rodata, 4608K init, 485K bss, 327512K reserved, 16)
[ 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 event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
[ 0.000000] Trampoline variant of 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: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 480 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: CPU0: found redistributor 0 region 0:0x0000000011940000
[ 0.000000] random: get_random_bytes called from start_kernel+0x31c/0x4e8
with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff
max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000004] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every
4398046511097ns
[ 0.000169] Console: colour dummy device 80x25
[ 0.000585] printk: console [tty0] enabled
[ 0.000687] Calibrating delay loop (skipped), value calculated using timer
frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.000714] pid_max: default: 32768 minimum: 301
[ 0.000805] LSM: Security Framework initializing
[ 0.000878] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes,
linear)
[ 0.000905] Mountpoint-cache hash table entries: 4096 (order: 3, 32768
bytes, linear)
[ 0.002755] rcu: Hierarchical SRCU implementation.
[ 0.003561] Detected Renesas RZ/V2L r9a07g054
[ 0.004064] EFI services will not be available.
[ 0.004523] smp: Bringing up secondary CPUs ...
[ 0.005109] Detected VIPT I-cache on CPU1
[ 0.005151] GICv3: CPU1: found redistributor 100 region 0:0x0000000011960000
[ 0.005214] CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
[ 0.005381] smp: Brought up 1 node, 2 CPUs
[ 0.005434] SMP: Total of 2 processors activated.
[ 0.005448] CPU features: detected: Privileged Access Never
[ 0.005460] CPU features: detected: LSE atomic instructions
[ 0.005472] CPU features: detected: User Access Override
[ 0.005484] CPU features: detected: 32-bit EL0 Support
[ 0.005496] CPU features: detected: Common not Private translations
[ 0.005508] CPU features: detected: RAS Extension Support
[ 0.005520] CPU features: detected: Data cache clean to the PoU not required
for I/D coherence
[ 0.005535] CPU features: detected: CRC32 instructions
[ 0.005546] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[ 0.005561] CPU features: detected: 32-bit EL1 Support
[ 0.026129] CPU: All CPU(s) started at EL2
[ 0.026210] alternatives: patching kernel code
[ 0.028654] devtmpfs: initialized
[ 0.033549] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 7645041785100000 ns
[ 0.033606] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.034277] pinctrl core: initialized pinctrl subsystem
[ 0.035521] DMI not present or invalid.
[ 0.036164] NET: Registered protocol family 16
[ 0.038099] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[ 0.038289] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic
allocations
[ 0.038498] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic
allocations
[ 0.038620] audit: initializing netlink subsys (disabled)
[ 0.038922] audit: type=2000 audit(0.036:1): state=initialized
audit_enabled=0 res=1
[ 0.039929] thermal_sys: Registered thermal governor 'step_wise'
[ 0.040071] cpuidle: using governor menu
[ 0.040300] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.040403] ASID allocator initialised with 65536 entries
[ 0.041359] Serial: AMBA PL011 UART driver
[ 0.073661] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.073699] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.073714] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.073729] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.075242] cryptd: max_cpu_qlen set to 1000
[ 0.078033] ACPI: Interpreter disabled.
[ 0.080569] iommu: Default domain type: Translated
[ 0.080804] vgaarb: loaded
[ 0.081162] SCSI subsystem initialized
[ 0.081689] usbcore: registered new interface driver usbfs
[ 0.081754] usbcore: registered new interface driver hub
[ 0.081801] usbcore: registered new device driver usb
[ 0.082545] pps_core: LinuxPPS API ver. 1 registered
[ 0.082561] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo
Giometti <[email protected]>
[ 0.082588] PTP clock support registered
[ 0.084150] clocksource: Switched to clocksource arch_sys_counter
[ 0.084421] VFS: Disk quotas dquot_6.6.0
[ 0.084500] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.084757] pnp: PnP ACPI: disabled
[ 0.091655] NET: Registered protocol family 2
[ 0.091947] IP idents hash table entries: 32768 (order: 6, 262144 bytes,
linear)
[ 0.093351] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2,
16384 bytes, linear)
[ 0.093479] TCP established hash table entries: 16384 (order: 5, 131072
bytes, linear)
[ 0.093607] TCP bind hash table entries: 16384 (order: 6, 262144 bytes,
linear)
[ 0.093875] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.094145] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.094208] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 0.094420] NET: Registered protocol family 1
[ 0.095116] RPC: Registered named UNIX socket transport module.
[ 0.095148] RPC: Registered udp transport module.
[ 0.095160] RPC: Registered tcp transport module.
[ 0.095171] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.095192] PCI: CLS 0 bytes, default 64
[ 0.096013] kvm [1]: IPA Size Limit: 40 bits
[ 0.096985] kvm [1]: GICv3: no GICV resource entry
[ 0.097002] kvm [1]: disabling GICv2 emulation
[ 0.097036] kvm [1]: GIC system register CPU interface enabled
[ 0.097132] kvm [1]: vgic interrupt IRQ9
[ 0.097241] kvm [1]: Hyp mode initialized successfully
[ 0.099425] Initialise system trusted keyrings
[ 0.099698] workingset: timestamp_bits=42 max_order=19 bucket_order=0
[ 0.106669] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.107597] NFS: Registering the id_resolver key type
[ 0.107653] Key type id_resolver registered
[ 0.107668] Key type id_legacy registered
[ 0.107782] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.107802] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver
Registering...
[ 0.108051] 9p: Installing v9fs 9p2000 file system support
[ 0.144830] Key type asymmetric registered
[ 0.144867] Asymmetric key parser 'x509' registered
[ 0.144958] Block layer SCSI generic (bsg) driver version 0.4 loaded (major
247)
[ 0.144978] io scheduler mq-deadline registered
[ 0.144991] io scheduler kyber registered
[ 0.171309] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.174055] SuperH (H)SCI(F) driver initialized
[ 0.174702] msm_serial: driver initialized
[ 0.185039] loop: module loaded
[ 0.191045] tun: Universal TUN/TAP device driver, 1.6
[ 0.192612] e1000e: Intel(R) PRO/1000 Network Driver
[ 0.192643] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 0.192722] igb: Intel(R) Gigabit Ethernet Network Driver
[ 0.192736] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 0.192797] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[ 0.192813] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 0.193286] sky2: driver version 1.30
[ 0.195412] VFIO - User Level meta-driver version: 0.3
[ 0.197787] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.197824] ehci-pci: EHCI PCI platform driver
[ 0.197873] ehci-platform: EHCI generic platform driver
[ 0.198645] ehci-orion: EHCI orion driver
[ 0.198875] ehci-exynos: EHCI Exynos driver
[ 0.199032] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.199086] ohci-pci: OHCI PCI platform driver
[ 0.199162] ohci-platform: OHCI generic platform driver
[ 0.199833] ohci-exynos: OHCI Exynos driver
[ 0.200776] usbcore: registered new interface driver usb-storage
[ 0.203615] i2c /dev entries driver
[ 0.208447] sdhci: Secure Digital Host Controller Interface driver
[ 0.208481] sdhci: Copyright(c) Pierre Ossman
[ 0.209020] Synopsys Designware Multimedia Card Interface Driver
[ 0.210213] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.211955] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[ 0.212834] usbcore: registered new interface driver usbhid
[ 0.212859] usbhid: USB HID core driver
[ 0.215708] NET: Registered protocol family 10
[ 0.216823] Segment Routing with IPv6
[ 0.216915] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 0.217447] NET: Registered protocol family 17
[ 0.217629] 9pnet: Installing 9P2000 support
[ 0.217705] Key type dns_resolver registered
[ 0.218195] registered taskstats version 1
[ 0.218217] Loading compiled-in X.509 certificates
[ 0.228967] gpio-153 (gpio_sd0_pwr_en): hogged as output/high
[ 0.229027] gpio-449 (sd0_dev_sel): hogged as output/high
[ 0.229064] gpio-458 (can0_stb): hogged as output/low
[ 0.229094] gpio-459 (can1_stb): hogged as output/low
[ 0.229129] gpio-434 (sd1_pwr_en): hogged as output/high
[ 0.229883] pinctrl-rzg2l 11030000.pinctrl: pinctrl-rzg2l support registered
[ 0.235415] 1004b800.serial: ttySC0 at MMIO 0x1004b800 (irq = 22, base_baud
= 0) is a scif
[ 1.323870] printk: console [ttySC0] enabled
[ 1.330088] 1004c000.serial: ttySC1 at MMIO 0x1004c000 (irq = 27, base_baud
= 0) is a scif
[ 1.340602] renesas_spi 1004b000.spi: dma_request_slave_channel_compat failed
[ 1.347798] renesas_spi 1004b000.spi: DMA not available, using PIO
[ 1.354402] renesas_spi 1004b000.spi: probed
[ 1.360552] ravb 11c20000.ethernet: no valid MAC address supplied, using a
random one
[ 1.370817] ravb 11c20000.ethernet eth0: Base address at 0x11c20000,
7e:57:8a:02:6b:a6, IRQ 85.
[ 1.381404] ravb 11c30000.ethernet: no valid MAC address supplied, using a
random one
[ 1.391534] ravb 11c30000.ethernet eth1: Base address at 0x11c30000,
2e:e9:22:4b:06:b5, IRQ 88.
[ 1.428199] ehci-platform 11c50100.usb: EHCI Host Controller
[ 1.433922] ehci-platform 11c50100.usb: new USB bus registered, assigned bus
number 1
[ 1.441900] ehci-platform 11c50100.usb: irq 93, io mem 0x11c50100
[ 1.460162] ehci-platform 11c50100.usb: USB 2.0 started, EHCI 1.10
[ 1.467117] hub 1-0:1.0: USB hub found
[ 1.470918] hub 1-0:1.0: 1 port detected
[ 1.476889] ehci-platform 11c70100.usb: EHCI Host Controller
[ 1.482599] ehci-platform 11c70100.usb: new USB bus registered, assigned bus
number 2
[ 1.490520] ehci-platform 11c70100.usb: irq 94, io mem 0x11c70100
[ 1.512168] ehci-platform 11c70100.usb: USB 2.0 started, EHCI 1.10
[ 1.519104] hub 2-0:1.0: USB hub found
[ 1.522902] hub 2-0:1.0: 1 port detected
[ 1.528757] ohci-platform 11c50000.usb: Generic Platform OHCI controller
[ 1.535509] ohci-platform 11c50000.usb: new USB bus registered, assigned bus
number 3
[ 1.543520] ohci-platform 11c50000.usb: irq 91, io mem 0x11c50000
[ 1.638910] hub 3-0:1.0: USB hub found
[ 1.642715] hub 3-0:1.0: 1 port detected
[ 1.648572] ohci-platform 11c70000.usb: Generic Platform OHCI controller
[ 1.655316] ohci-platform 11c70000.usb: new USB bus registered, assigned bus
number 4
[ 1.663288] ohci-platform 11c70000.usb: irq 92, io mem 0x11c70000
[ 1.758895] hub 4-0:1.0: USB hub found
[ 1.762696] hub 4-0:1.0: 1 port detected
[ 1.769443] i2c-riic 10058000.i2c: registered with 100000Hz bus speed
[ 1.778410] i2c-riic 10058400.i2c: registered with 100000Hz bus speed
[ 1.787466] i2c-riic 10058c00.i2c: registered with 400000Hz bus speed
[ 1.847664] renesas_sdhi_internal_dmac 11c00000.mmc: mmc0 base at
0x0000000011c00000, max clock rate 133 MHz
[ 1.849353] renesas_sdhi_internal_dmac 11c10000.mmc: mmc1 base at
0x0000000011c10000, max clock rate 133 MHz
[ 1.867975] Waiting for root device /dev/sda1...
[ 1.959494] mmc0: new HS200 MMC card at address 0001
[ 1.965188] mmcblk0: mmc0:0001 S0J58X 59.3 GiB
[ 1.969974] mmcblk0boot0: mmc0:0001 S0J58X partition 1 31.5 MiB
[ 1.976058] mmcblk0boot1: mmc0:0001 S0J58X partition 2 31.5 MiB
[ 1.982211] mmcblk0rpmb: mmc0:0001 S0J58X partition 3 4.00 MiB, chardev
(241:0)
[ 1.990949] mmcblk0: p1
[ 2.238213] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
[ 2.245540] mmcblk1: mmc1:aaaa SC16G 14.8 GiB
[ 2.255430] mmcblk1: p1 p2
[ 2.320167] usb 2-1: new high-speed USB device number 2 using ehci-platform
[ 2.482438] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 2.489171] scsi host0: usb-storage 2-1:1.0
[ 3.525639] scsi 0:0:0:0: Direct-Access General USB Flash Disk 1.00
PQ: 0 ANSI: 2
[ 3.535128] sd 0:0:0:0: [sda] 7831552 512-byte logical blocks: (4.01 GB/3.73
GiB)
[ 3.543342] sd 0:0:0:0: [sda] Write Protect is off
[ 3.548704] sd 0:0:0:0: [sda] No Caching mode page found
[ 3.554027] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 3.563976] sda: sda1 sda2
[ 3.570340] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 3.592465] random: fast init done
[ 4.019447] EXT4-fs (sda1): recovery complete
[ 4.026175] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts:
(null)
[ 4.033910] VFS: Mounted root (ext4 filesystem) on device 8:1.
[ 4.044489] devtmpfs: mounted
[ 4.052256] Freeing unused kernel memory: 4608K
[ 4.056934] Run /sbin/init as init process
[ 4.429324] systemd[1]: System time before build time, advancing clock.
[ 4.478729] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT
-SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -)
[ 4.500908] systemd[1]: Detected architecture arm64.
Welcome to Poky (Yocto Project Reference Distro) 3.1.5 (dunfell)!
[ 4.549385] systemd[1]: Set hostname to <smarc-rzg2l>.
[ 5.024041] random: systemd: uninitialized urandom read (16 bytes read)
[ 5.030988] systemd[1]: system-getty.slice: unit configures an IP firewall,
but the local system does not support BPF/cgroup firewalling.
[ 5.043332] systemd[1]: (This warning is only shown for the first unit using
IP firewalling.)
[ 5.055445] systemd[1]: Created slice system-getty.slice.
[ OK ] Created slice system-getty.slice.
[ 5.076482] random: systemd: uninitialized urandom read (16 bytes read)
[ 5.084750] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ 5.108382] random: systemd: uninitialized urandom read (16 bytes read)
[ 5.116499] systemd[1]: Created slice User and Session Slice.
[ OK ] Created slice User and Session Slice.
[ 5.136808] systemd[1]: Started Dispatch Password Requests to Console
Directory Watch.
[ OK ] Started Dispatch Password �…ts to Console Directory Watch.
[ 5.160716] systemd[1]: Started Forward Password Requests to Wall Directory
Watch.
[ OK ] Started Forward Password R�…uests to Wall Directory Watch.
[ 5.184563] systemd[1]: Reached target Paths.
[ OK ] Reached target Paths.
[ 5.204454] systemd[1]: Reached target Remote File Systems.
[ OK ] Reached target Remote File Systems.
[ 5.224429] systemd[1]: Reached target Slices.
[ OK ] Reached target Slices.
[ 5.244448] systemd[1]: Reached target Swap.
[ OK ] Reached target Swap.
[ 5.278642] systemd[1]: Listening on RPCbind Server Activation Socket.
[ OK ] Listening on RPCbind Server Activation Socket.
[ 5.300469] systemd[1]: Reached target RPC Port Mapper.
[ OK ] Reached target RPC Port Mapper.
[ 5.323213] systemd[1]: Listening on Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ 5.344858] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ OK ] Listening on initctl Compatibility Named Pipe.
[ 5.369274] systemd[1]: Listening on Journal Audit Socket.
[ OK ] Listening on Journal Audit Socket.
[ 5.389024] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 5.413095] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 5.433260] systemd[1]: Listening on Network Service Netlink Socket.
[ OK ] Listening on Network Service Netlink Socket.
[ 5.457136] systemd[1]: Listening on udev Control Socket.
[ OK ] Listening on udev Control Socket.
[ 5.476863] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 5.501833] systemd[1]: Mounting Huge Pages File System...
Mounting Huge Pages File System...
[ 5.525232] systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[ 5.553422] systemd[1]: Mounting Kernel Debug File System...
Mounting Kernel Debug File System...
[ 5.579024] systemd[1]: Mounting Temporary Directory (/tmp)...
Mounting Temporary Directory (/tmp)...
[ 5.601396] systemd[1]: Condition check resulted in Create list of static
device nodes for the current kernel being skipped.
[ 5.617556] systemd[1]: Starting Start psplash boot splash screen...
Starting Start psplash boot splash screen...
[ 5.655021] systemd[1]: Started Hardware RNG Entropy Gatherer Daemon.
[ OK ] Started Hardware RNG Entropy Gatherer Daemon.
[ 5.686196] systemd[1]: Starting RPC Bind...
Starting RPC Bind...
[ 5.704647] systemd[1]: Condition check resulted in File System Check on
Root Device being skipped.
[ 5.720326] systemd[1]: Starting Journal Service...
Starting Journal Service...
[ 5.784112] systemd[1]: Starting Load Kernel Modules...
Starting Load Kernel Modules...
[ 5.809526] systemd[1]: Starting Remount Root and Kernel File Systems...
Starting Remount Root and Kernel File Systems...
[ 5.842818] systemd[1]: Starting udev Coldplug all Devices...
Starting udev Coldplug all Devices...
[ 5.883030] systemd[1]: Started RPC Bind.
[ OK ] Started RPC Bind.
[ 5.913274] systemd[1]: Mounted Huge Pages File System.
[ OK ] Mounted Huge Pages File System.
[ 5.939328] systemd[1]: Mounted POSIX Message Queue File System.
[ 5.945804] EXT4-fs (sda1): re-mounted. Opts: (null)
[ OK ] Mounted POSIX Message Queue File System.
[ 5.971664] systemd[1]: Mounted Kernel Debug File System.
[ OK ] Mounted Kernel Debug File System.
[ 5.997098] systemd[1]: Started Journal Service.
[ OK ] Started Journal Service.
[ OK ] Mounted Temporary Directory (/tmp).
[FAILED] Failed to start Start psplash boot splash screen.
See 'systemctl status psplash-start.service' for details.
[DEPEND] Dependency failed for Star�…progress communication helper.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[ OK ] Started Remount Root and Kernel File Systems.
Mounting Kernel Configuration File System...
Starting Flush Journal to Persistent Storage...
Starting Apply Kernel Variables...
Startin[ 6.223560] systemd-journald[142]: Received client request
to flush runtime journal.
g Create Static Device Nodes in /dev...
[ OK ] Mounted Kernel Configuration File System.
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Reached target Local File Systems (Pre).
Mounting /var/volatile...
Starting udev Kernel Device Manager...
[ OK ] Mounted /var/volatile.
Starting Load/Save Random Seed...
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started Create Volatile Files and Directories.
Starting Network Service...
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started Network Service.
Starting Network Name Resolution...
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target System Time Set.
[ OK ] Reached target System Time Synchronized.
[ OK ] Reached target Timers.
[ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Listening on D-Bus System Message Bus Socket.
Starting sshd.socket.
[ OK ] Listening on sshd.socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ OK ] Started Kernel Logging Service.
[ OK ] Started System Logging Service.
[ OK ] Started D-Bus System Message Bus.
Starting rng-tools.service...
Starting Login Service...
[ OK ] Started Network Name Resolution.
[ OK ] Reached target Network.
[ OK ] Reached target Host and Network Name Lookups.
Starting Avahi mDNS/DNS-SD Stack...
[ 7.569369] random: crng init done
[ 7.572875] random: 7 urandom warning(s) missed due to ratelimiting
Starting Permit User Sessions...
[ 9.802214] Microchip KSZ9131 Gigabit PHY 11c20000.ethernet-ffffffff:07:
attached PHY driver [Microchip KSZ9131 Gigabit PHY] (mii_bus:phy_a)
[ 9.915635] Microchip KSZ9131 Gigabit PHY 11c30000.ethernet-ffffffff:07:
attached PHY driver [Microchip KSZ9131 Gigabit PHY] (mii_bus:phy_a)
[ OK ] Started Load/Save Random Seed.
[ OK ] Started rng-tools.service.
[ OK ] Started Permit User Sessions.
[ OK ] Started Avahi mDNS/DNS-SD Stack.
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttySC0.
[ OK ] Reached target Login Prompts.
Starting weston.service...
[ OK ] Started Login Service.
[ OK ] Started weston.service.
[ OK ] Reached target Multi-User System.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.
Poky (Yocto Project Reference Distro) 3.1.5 smarc-rzg2l ttySC0
BSP: RZG2L/RZG2L-SMARC-EVK/1.1
LSI: RZG2L
Version: 1.1
smarc-rzg2l login: root
[ 13.695889] audit: type=1006 audit(1600598647.264:2): pid=208 uid=0
old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
root@smarc-rzg2l:~# ;143R
-sh: syntax error near unexpected token `;'
root@smarc-rzg2l:~#
root@smarc-rzg2l:~#
root@smarc-rzg2l:~# ./cpy.sh
fsck from util-linux 2.35.1
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
/dev/mmcblk1p2: 11 files, 20814/38357 clusters
[ 17.891177] FAT-fs (mmcblk1p2): Volume was not properly unmounted. Some data
may be corrupt. Please run fsck.
root@smarc-rzg2l:~#
root@smarc-rzg2l:~#
root@smarc-rzg2l:~# ./hyp.sh
[ 20.040381] jailhouse: loading out-of-tree module taints kernel.
Reading configuration set:
Root cell: Renesas RZ/V2L SMARC (renesas-r9a07g054l2.cell)
Overlapping memory regions inside cell: None
Overlapping memory regions with hypervisor: None
Missing resource interceptions for architecture arm64: None
[ 21.010522] obcode @arm_dcaches_flush: d53b0024
[ 21.010527] obcode @arm_dcaches_flush: d53b0024
JAILHOUSE_ENABLE: Success
root@smarc-rzg2l:~#
root@smarc-rzg2l:~#
root@smarc-rzg2l:~#