Skip to content

Instantly share code, notes, and snippets.

@JamesMenetrey
Last active April 28, 2021 17:43
Show Gist options
  • Save JamesMenetrey/3b76fd291cd9b4eb4b881cde650ab5ef to your computer and use it in GitHub Desktop.
Save JamesMenetrey/3b76fd291cd9b4eb4b881cde650ab5ef to your computer and use it in GitHub Desktop.
OP-TEE boot log on i.MX8
U-Boot SPL 2020.10-rc1 (Apr 28 2021 - 16:33:11 +0000)
PMIC: PFUZE100 ID=0x10
Normal Boot
Trying to boot from MMC2
D/TC:0 get_aslr_seed:1380 Warning: no ASLR seed
D/TC:0 add_phys_mem:564 TEE_SHMEM_START type NSEC_SHM 0xffe00000 size 0x00200000
D/TC:0 add_phys_mem:564 TA_RAM_START type TA_RAM 0xfe200000 size 0x01c00000
D/TC:0 add_phys_mem:564 VCORE_UNPG_RW_PA type TEE_RAM_RW 0xfe062000 size 0x0019e000
D/TC:0 add_phys_mem:564 VCORE_UNPG_RX_PA type TEE_RAM_RX 0xfe000000 size 0x00062000
D/TC:0 add_phys_mem:564 ROUNDDOWN(0x38800000, CORE_MMU_PGDIR_SIZE) type IO_SEC 0x38800000 size 0x00200000
D/TC:0 add_phys_mem:564 ROUNDDOWN(0x30360000, CORE_MMU_PGDIR_SIZE) type IO_SEC 0x30200000 size 0x00400000
D/TC:0 add_phys_mem:564 ROUNDDOWN((0x30860000), CORE_MMU_PGDIR_SIZE) type IO_NSEC 0x30800000 size 0x00400000
D/TC:0 add_va_space:604 type RES_VASPACE size 0x00a00000
D/TC:0 add_va_space:604 type SHM_VASPACE size 0x02000000
D/TC:0 dump_mmap_table:711 type NSEC_SHM va 0xf8800000..0xf89fffff pa 0xffe00000..0xffffffff size 0x00200000 (pgdir)
D/TC:0 dump_mmap_table:711 type TA_RAM va 0xf8a00000..0xfa5fffff pa 0xfe200000..0xffdfffff size 0x01c00000 (pgdir)
D/TC:0 dump_mmap_table:711 type IO_SEC va 0xfa800000..0xfa9fffff pa 0x38800000..0x389fffff size 0x00200000 (pgdir)
D/TC:0 dump_mmap_table:711 type IO_NSEC va 0xfaa00000..0xfadfffff pa 0x30800000..0x30bfffff size 0x00400000 (pgdir)
D/TC:0 dump_mmap_table:711 type IO_SEC va 0xfae00000..0xfb1fffff pa 0x30200000..0x305fffff size 0x00400000 (pgdir)
D/TC:0 dump_mmap_table:711 type RES_VASPACE va 0xfb200000..0xfbbfffff pa 0x00000000..0x009fffff size 0x00a00000 (pgdir)
D/TC:0 dump_mmap_table:711 type SHM_VASPACE va 0xfbe00000..0xfddfffff pa 0x00000000..0x01ffffff size 0x02000000 (pgdir)
D/TC:0 dump_mmap_table:711 type TEE_RAM_RX va 0xfe000000..0xfe061fff pa 0xfe000000..0xfe061fff size 0x00062000 (smallpg)
D/TC:0 dump_mmap_table:711 type TEE_RAM_RW va 0xfe062000..0xfe1fffff pa 0xfe062000..0xfe1fffff size 0x0019e000 (smallpg)
D/TC:0 core_mmu_entry_to_finer_grained:753 xlat tables used 1 / 8
D/TC:0 core_mmu_entry_to_finer_grained:753 xlat tables used 2 / 8
I/TC:
D/TC:0 0 discover_nsec_memory:1157 Warning register_dynamic_shm() is deprecated, please use register_ddr() instead
D/TC:0 0 carve_out_phys_mem:292 No need to carve out 0xfe000000 size 0x200000
D/TC:0 0 carve_out_phys_mem:292 No need to carve out 0xfe200000 size 0x1c00000
D/TC:0 0 carve_out_phys_mem:292 No need to carve out 0xffe00000 size 0x200000
I/TC: OP-TEE version: 3.13.0-rc1-3-gd269f2ec (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 Wed Apr 28 09:40:15 UTC 2021 aarch64
I/TC: Primary CPU initializing
D/TC:0 0 boot_init_primary_late:1239 Executing at offset 0 with virtual load address 0xfe000000
D/TC:0 0 call_initcalls:21 level 1 register_time_source()
D/TC:0 0 call_initcalls:21 level 1 teecore_init_pub_ram()
D/TC:0 0 call_initcalls:21 level 3 mobj_mapped_shm_init()
D/TC:0 0 mobj_mapped_shm_init:434 Shared memory address range: fbe00000, fde00000
D/TC:0 0 call_initcalls:21 level 3 check_ta_store()
D/TC:0 0 check_ta_store:418 TA store: "Secure Storage TA"
D/TC:0 0 check_ta_store:418 TA store: "REE"
D/TC:0 0 call_initcalls:21 level 3 init_user_ta()
D/TC:0 0 call_initcalls:21 level 3 verify_pseudo_tas_conformance()
D/TC:0 0 call_initcalls:21 level 3 tee_cryp_init()
D/TC:0 0 call_initcalls:21 level 4 tee_fs_init_key_manager()
D/TC:0 0 call_initcalls:21 level 6 mobj_init()
D/TC:0 0 call_initcalls:21 level 6 default_mobj_init()
I/TC: Primary CPU switching to normal world boot
U-Boot 2020.10-rc1 (Apr 28 2021 - 16:33:11 +0000)
CPU: Freescale i.MX8MQ rev2.1 at 1000 MHz
Reset cause: POR
Model: NXP i.MX8MQ EVK
DRAM: 3 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: eth0: ethernet@30be0000
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc1 is current device
561 bytes read in 8 ms (68.4 KiB/s)
Running bootscript from mmc ...
## Executing script at 40480000
30031 bytes read in 14 ms (2 MiB/s)
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
optee node missing, trying to add it
optee {
method = "smc";
compatible = "linaro,optee-tz";
};
30317056 bytes read in 1384 ms (20.9 MiB/s)
Moving Image from 0x40480000 to 0x40600000, end=42370000
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
Using Device Tree in place at 0000000043000000, end 000000004300efff
Starting kernel ...
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.9.0-g8d2e568f7 (ubuntu@cervino-1) (aarch64-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Wed Apr 28 09:40:30 UTC 2021
[ 0.000000] Machine model: NXP i.MX8MQ EVK
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 32 MiB at 0x00000000fc000000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000000fdffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0xfb9eb100-0xfb9ecfff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x000000007fffffff]
[ 0.000000] DMA32 [mem 0x0000000080000000-0x00000000fdffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x00000000fdffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000fdffffff]
[ 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: Trusted OS migration not required
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] percpu: Embedded 23 pages/cpu s54104 r8192 d31912 u94208
[ 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] Speculative Store Bypass Disable mitigation not required
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 766080
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk1p2 rootwait rw
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x7bfff000-0x7ffff000] (64MB)
[ 0.000000] Memory: 2922196K/3112960K available (13884K kernel code, 2278K rwdata, 7632K rodata, 5760K init, 482K bss, 157996K reserved, 32768K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, 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=4.
[ 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=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 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: CPU0: found redistributor 0 region 0:0x0000000038880000
[ 0.000000] ITS: No ITS available, not enabling LPIs
[ 0.000000] random: get_random_bytes called from start_kernel+0x310/0x4dc with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 8.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
[ 0.000004] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
[ 0.000806] Console: colour dummy device 80x25
[ 0.000894] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=32000)
[ 0.000905] pid_max: default: 32768 minimum: 301
[ 0.000997] LSM: Security Framework initializing
[ 0.001071] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.001094] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.002571] rcu: Hierarchical SRCU implementation.
[ 0.004797] EFI services will not be available.
[ 0.005001] smp: Bringing up secondary CPUs ...
[ 0.013571] Detected VIPT I-cache on CPU1
[ 0.013604] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000
[ 0.013628] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.022208] Detected VIPT I-cache on CPU2
[ 0.022230] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000
[ 0.022249] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.030821] Detected VIPT I-cache on CPU3
[ 0.030842] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000
[ 0.030862] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.030928] smp: Brought up 1 node, 4 CPUs
[ 0.030952] SMP: Total of 4 processors activated.
[ 0.030961] CPU features: detected: 32-bit EL0 Support
[ 0.030968] CPU features: detected: CRC32 instructions
[ 0.030974] CPU features: detected: 32-bit EL1 Support
[ 0.040008] CPU: All CPU(s) started at EL2
[ 0.040033] alternatives: patching kernel code
[ 0.041958] devtmpfs: initialized
[ 0.047141] KASLR disabled due to lack of seed
[ 0.047463] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.047479] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.048691] pinctrl core: initialized pinctrl subsystem
[ 0.050032] DMI not present or invalid.
[ 0.050581] NET: Registered protocol family 16
[ 0.052217] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.052329] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.052564] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.052634] audit: initializing netlink subsys (disabled)
[ 0.052770] audit: type=2000 audit(0.052:1): state=initialized audit_enabled=0 res=1
[ 0.053911] thermal_sys: Registered thermal governor 'step_wise'
[ 0.053914] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.054326] cpuidle: using governor menu
[ 0.054564] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.054638] ASID allocator initialised with 65536 entries
[ 0.056180] Serial: AMBA PL011 UART driver
[ 0.082588] imx8mq-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver
[ 0.097580] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.097589] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.097597] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.097605] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.098630] cryptd: max_cpu_qlen set to 1000
[ 0.101401] ACPI: Interpreter disabled.
[ 0.103404] iommu: Default domain type: Translated
[ 0.103639] vgaarb: loaded
[ 0.103952] SCSI subsystem initialized
[ 0.104309] usbcore: registered new interface driver usbfs
[ 0.104356] usbcore: registered new interface driver hub
[ 0.104417] usbcore: registered new device driver usb
[ 0.105364] pps_core: LinuxPPS API ver. 1 registered
[ 0.105372] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.105396] PTP clock support registered
[ 0.105532] EDAC MC: Ver: 3.0.0
[ 0.107068] FPGA manager framework
[ 0.107170] Advanced Linux Sound Architecture Driver Initialized.
[ 0.107950] clocksource: Switched to clocksource arch_sys_counter
[ 0.108136] VFS: Disk quotas dquot_6.6.0
[ 0.108194] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.108376] pnp: PnP ACPI: disabled
[ 0.114570] NET: Registered protocol family 2
[ 0.114941] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.114999] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.115258] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[ 0.115781] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.115878] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.115996] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.116201] NET: Registered protocol family 1
[ 0.116551] RPC: Registered named UNIX socket transport module.
[ 0.116557] RPC: Registered udp transport module.
[ 0.116564] RPC: Registered tcp transport module.
[ 0.116568] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.116582] PCI: CLS 0 bytes, default 64
[ 0.117381] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 0.117904] kvm [1]: IPA Size Limit: 40bits
[ 0.118966] kvm [1]: vgic-v2@31020000
[ 0.118989] kvm [1]: GIC system register CPU interface enabled
[ 0.119055] kvm [1]: vgic interrupt IRQ1
[ 0.119184] kvm [1]: Hyp mode initialized successfully
[ 0.122278] Initialise system trusted keyrings
[ 0.122381] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[ 0.129225] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.129884] NFS: Registering the id_resolver key type
[ 0.129907] Key type id_resolver registered
[ 0.129912] Key type id_legacy registered
[ 0.130008] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.130127] 9p: Installing v9fs 9p2000 file system support
[ 0.174633] Key type asymmetric registered
[ 0.174640] Asymmetric key parser 'x509' registered
[ 0.174674] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 0.174682] io scheduler mq-deadline registered
[ 0.174690] io scheduler kyber registered
[ 0.186817] EINJ: ACPI disabled.
[ 0.204053] SoC: i.MX8MQ revision 2.1
[ 0.212821] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.215325] SuperH (H)SCI(F) driver initialized
[ 0.216014] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 27, base_baud = 1562500) is a IMX
[ 1.152160] printk: console [ttymxc0] enabled
[ 1.157460] msm_serial: driver initialized
[ 1.170467] loop: module loaded
[ 1.174759] megasas: 07.714.04.00-rc1
[ 1.183072] spi-nor spi3.0: n25q256a (32768 Kbytes)
[ 1.195581] libphy: Fixed MDIO Bus: probed
[ 1.200748] tun: Universal TUN/TAP device driver, 1.6
[ 1.206964] thunder_xcv, ver 1.0
[ 1.210413] thunder_bgx, ver 1.0
[ 1.213825] nicpf, ver 1.0
[ 1.218487] hclge is initializing
[ 1.221983] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[ 1.229520] hns3: Copyright (c) 2017 Huawei Corporation.
[ 1.235104] e1000: Intel(R) PRO/1000 Network Driver
[ 1.240213] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 1.246250] e1000e: Intel(R) PRO/1000 Network Driver
[ 1.251434] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 1.257650] igb: Intel(R) Gigabit Ethernet Network Driver
[ 1.263281] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 1.269124] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[ 1.275661] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 1.282244] sky2: driver version 1.30
[ 1.287449] VFIO - User Level meta-driver version: 0.3
[ 1.295243] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.302066] ehci-pci: EHCI PCI platform driver
[ 1.306736] ehci-platform: EHCI generic platform driver
[ 1.312345] ehci-orion: EHCI orion driver
[ 1.316654] ehci-exynos: EHCI Exynos driver
[ 1.321125] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.327582] ohci-pci: OHCI PCI platform driver
[ 1.332255] ohci-platform: OHCI generic platform driver
[ 1.337847] ohci-exynos: OHCI Exynos driver
[ 1.342879] usbcore: registered new interface driver usb-storage
[ 1.352497] i2c /dev entries driver
[ 1.364448] sdhci: Secure Digital Host Controller Interface driver
[ 1.370924] sdhci: Copyright(c) Pierre Ossman
[ 1.376157] Synopsys Designware Multimedia Card Interface Driver
[ 1.383717] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.401969] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.409105] SMCCC: SOC_ID: ARCH_FEATURES(ARCH_SOC_ID) returned error: fffffffffffffffd
[ 1.418138] usbcore: registered new interface driver usbhid
[ 1.423953] usbhid: USB HID core driver
[ 1.432406] optee: probing for conduit method.
D/TC:0 tee_entry_exchange_capabilities:102 Dynamic shared memory is enabled
[ 1.437090] optee: revision 3.12 (d269f2ec)
[ 1.444400] optee: dynamic shared memory is enabled
D/TC:0 0 core_mmu_entry_to_finer_grained:753 xlat tables used 3 / 8
D/TC:? 0 tee_ta_init_pseudo_ta_session:299 Lookup pseudo TA 7011a688-ddde-4053-a5a9-7b3c4ddf13b8
D/TC:? 0 tee_ta_init_pseudo_ta_session:312 Open device.pta
D/TC:? 0 tee_ta_init_pseudo_ta_session:329 device.pta : 7011a688-ddde-4053-a5a9-7b3c4ddf13b8
D/TC:? 0 tee_ta_close_session:512 csess 0xfe07eab0 id 1
D/TC:? 0 tee_ta_close_session:531 Destroy session
[ 1.492713] optee: initialized driver
[ 1.497965] NET: Registered protocol family 17
[ 1.502761] 9pnet: Installing 9P2000 support
[ 1.507262] Key type dns_resolver registered
[ 1.512038] registered taskstats version 1
[ 1.516323] Loading compiled-in X.509 certificates
[ 1.542353] gpio-157 (wl-reg-on): hogged as output/high
[ 1.553035] pfuze100-regulator 0-0008: Full layer: 2, Metal layer: 1
[ 1.560313] pfuze100-regulator 0-0008: FAB: 0, FIN: 0
[ 1.565599] pfuze100-regulator 0-0008: pfuze100 found.
[ 1.583901] i2c i2c-0: IMX I2C adapter registered
[ 1.589836] imx8mq-usb-phy 382f0040.usb-phy: supply vbus not found, using dummy regulator
[ 1.612190] pps pps0: new PPS source ptp0
[ 1.618723] libphy: fec_enet_mii_bus: probed
[ 1.624875] fec 30be0000.ethernet eth0: registered PHC device 0
[ 1.633076] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 1.638830] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 1.646930] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe6c hci version 0x110 quirks 0x0000000000010010
[ 1.656775] xhci-hcd xhci-hcd.0.auto: irq 41, io mem 0x38200000
[ 1.663672] hub 1-0:1.0: USB hub found
[ 1.667616] hub 1-0:1.0: 1 port detected
[ 1.671992] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 1.677731] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 1.685725] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[ 1.692587] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 1.701487] hub 2-0:1.0: USB hub found
[ 1.705428] hub 2-0:1.0: 1 port detected
[ 1.736579] mmc0: SDHCI controller on 30b40000.mmc [30b40000.mmc] using ADMA
[ 1.745868] sdhci-esdhc-imx 30b50000.mmc: Got CD GPIO
[ 1.781053] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using ADMA
[ 1.790074] ALSA device list:
[ 1.793198] No soundcards found.
[ 1.796995] Waiting for root device /dev/mmcblk1p2...
[ 1.906334] mmc0: new HS400 MMC card at address 0001
[ 1.912027] mmcblk0: mmc0:0001 DG4016 14.7 GiB
[ 1.916962] mmcblk0boot0: mmc0:0001 DG4016 partition 1 4.00 MiB
[ 1.923363] mmcblk0boot1: mmc0:0001 DG4016 partition 2 4.00 MiB
[ 1.929673] mmcblk0rpmb: mmc0:0001 DG4016 partition 3 4.00 MiB, chardev (234:0)
[ 1.942712] Alternate GPT is invalid, using primary GPT.
[ 1.948331] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15
[ 2.072845] mmc1: host does not support reading read-only switch, assuming write-enable
[ 2.103146] random: fast init done
[ 2.108748] mmc1: new ultra high speed SDR104 SDXC card at address aaaa
[ 2.116129] mmcblk1: mmc1:aaaa SR128 119 GiB
[ 2.129499] mmcblk1: p1 p2
[ 2.166055] EXT4-fs (mmcblk1p2): recovery complete
[ 2.172905] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.181382] VFS: Mounted root (ext4 filesystem) on device 179:98.
[ 2.189001] devtmpfs: mounted
[ 2.194208] Freeing unused kernel memory: 5760K
[ 2.199011] Run /sbin/init as init process
[ 2.248120] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Initializing random number generator: OK
Saving random seed: [ 2.316912] random: dd: uninitialized urandom read (512 bytes read)
OK
Set permissions on /dev/tee*: OK
Create/set permissions on /data/tee: OK
Starting tee-supplicant: OK
D/TC:? 0 tee_ta_init_session_with_context:607 Re-open TA 7011a688-ddde-4053-a5a9-7b3c4ddf13b8
D/TC:? 0 tee_ta_close_session:512 csess 0xfe07e900 id 1
D/TC:? 0 tee_ta_close_session:531 Destroy session
Starting network: OK
Welcome to Buildroot, type root or test to login
U-Boot 2020.10-rc1 (Apr 28 2021 - 17:40:12 +0000)
CPU: Freescale i.MX8MQ rev2.1 at 1000 MHz
Reset cause: POR
Model: NXP i.MX8MQ EVK
DRAM: 3 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: eth0: ethernet@30be0000
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc1 is current device
624 bytes read in 8 ms (76.2 KiB/s)
Running bootscript from mmc ...
## Executing script at 40480000
30031 bytes read in 13 ms (2.2 MiB/s)
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
optee node missing, trying to add it
optee {
method = "smc";
compatible = "linaro,optee-tz";
};
30317056 bytes read in 1384 ms (20.9 MiB/s)
7544801 bytes read in 356 ms (20.2 MiB/s)
Moving Image from 0x40480000 to 0x40600000, end=42370000
## Loading init Ramdisk from Legacy Image at 43800000 ...
Image Name:
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 7544737 Bytes = 7.2 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
Using Device Tree in place at 0000000043000000, end 000000004300efff
Starting kernel ...
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.9.0-g8d2e568f7 (ubuntu@cervino-1) (aarch64-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Wed Apr 28 09:40:30 UTC 2021
[ 0.000000] Machine model: NXP i.MX8MQ EVK
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 32 MiB at 0x00000000fc000000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000000fdffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0xfb9eb100-0xfb9ecfff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x000000007fffffff]
[ 0.000000] DMA32 [mem 0x0000000080000000-0x00000000fdffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x00000000fdffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000fdffffff]
[ 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: Trusted OS migration not required
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] percpu: Embedded 23 pages/cpu s54104 r8192 d31912 u94208
[ 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] Speculative Store Bypass Disable mitigation not required
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 766080
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line:
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x7bfff000-0x7ffff000] (64MB)
[ 0.000000] Memory: 2914824K/3112960K available (13884K kernel code, 2278K rwdata, 7632K rodata, 5760K init, 482K bss, 165368K reserved, 32768K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, 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=4.
[ 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=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 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: CPU0: found redistributor 0 region 0:0x0000000038880000
[ 0.000000] ITS: No ITS available, not enabling LPIs
[ 0.000000] random: get_random_bytes called from start_kernel+0x310/0x4dc with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 8.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
[ 0.000004] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
[ 0.000801] Console: colour dummy device 80x25
[ 0.001325] printk: console [tty0] enabled
[ 0.001409] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=32000)
[ 0.001435] pid_max: default: 32768 minimum: 301
[ 0.001535] LSM: Security Framework initializing
[ 0.001618] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.001652] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.003149] rcu: Hierarchical SRCU implementation.
[ 0.005361] EFI services will not be available.
[ 0.005572] smp: Bringing up secondary CPUs ...
[ 0.014146] Detected VIPT I-cache on CPU1
[ 0.014180] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000
[ 0.014203] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.022779] Detected VIPT I-cache on CPU2
[ 0.022798] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000
[ 0.022816] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.031388] Detected VIPT I-cache on CPU3
[ 0.031409] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000
[ 0.031429] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.031495] smp: Brought up 1 node, 4 CPUs
[ 0.031594] SMP: Total of 4 processors activated.
[ 0.031610] CPU features: detected: 32-bit EL0 Support
[ 0.031623] CPU features: detected: CRC32 instructions
[ 0.031636] CPU features: detected: 32-bit EL1 Support
[ 0.040682] CPU: All CPU(s) started at EL2
[ 0.040715] alternatives: patching kernel code
[ 0.042645] devtmpfs: initialized
[ 0.047601] KASLR disabled due to lack of seed
[ 0.047930] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.047961] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.049144] pinctrl core: initialized pinctrl subsystem
[ 0.050492] DMI not present or invalid.
[ 0.051043] NET: Registered protocol family 16
[ 0.052552] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.052674] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.052921] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.053000] audit: initializing netlink subsys (disabled)
[ 0.053143] audit: type=2000 audit(0.052:1): state=initialized audit_enabled=0 res=1
[ 0.054276] thermal_sys: Registered thermal governor 'step_wise'
[ 0.054279] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.054697] cpuidle: using governor menu
[ 0.054842] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.054921] ASID allocator initialised with 65536 entries
[ 0.056443] Serial: AMBA PL011 UART driver
[ 0.082629] imx8mq-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver
[ 0.097895] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.097919] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.097935] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.097951] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.098996] cryptd: max_cpu_qlen set to 1000
[ 0.101798] ACPI: Interpreter disabled.
[ 0.103791] iommu: Default domain type: Translated
[ 0.104037] vgaarb: loaded
[ 0.104355] SCSI subsystem initialized
[ 0.104733] usbcore: registered new interface driver usbfs
[ 0.104788] usbcore: registered new interface driver hub
[ 0.104860] usbcore: registered new device driver usb
[ 0.105798] pps_core: LinuxPPS API ver. 1 registered
[ 0.105812] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.105846] PTP clock support registered
[ 0.105992] EDAC MC: Ver: 3.0.0
[ 0.107522] FPGA manager framework
[ 0.107629] Advanced Linux Sound Architecture Driver Initialized.
[ 0.108265] clocksource: Switched to clocksource arch_sys_counter
[ 0.108458] VFS: Disk quotas dquot_6.6.0
[ 0.108520] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.108713] pnp: PnP ACPI: disabled
[ 0.114988] NET: Registered protocol family 2
[ 0.115367] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.115439] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.115710] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[ 0.116246] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.116371] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.116475] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.116686] NET: Registered protocol family 1
[ 0.117054] RPC: Registered named UNIX socket transport module.
[ 0.117069] RPC: Registered udp transport module.
[ 0.117081] RPC: Registered tcp transport module.
[ 0.117092] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.117114] PCI: CLS 0 bytes, default 64
[ 0.117301] Unpacking initramfs...
[ 0.505188] Freeing initrd memory: 7360K
[ 0.505777] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 0.506330] kvm [1]: IPA Size Limit: 40bits
[ 0.507482] kvm [1]: vgic-v2@31020000
[ 0.507513] kvm [1]: GIC system register CPU interface enabled
[ 0.507591] kvm [1]: vgic interrupt IRQ1
[ 0.507722] kvm [1]: Hyp mode initialized successfully
[ 0.511030] Initialise system trusted keyrings
[ 0.511144] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[ 0.518028] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.518719] NFS: Registering the id_resolver key type
[ 0.518749] Key type id_resolver registered
[ 0.518761] Key type id_legacy registered
[ 0.518860] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.518991] 9p: Installing v9fs 9p2000 file system support
[ 0.562921] Key type asymmetric registered
[ 0.562936] Asymmetric key parser 'x509' registered
[ 0.562976] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 0.562997] io scheduler mq-deadline registered
[ 0.563010] io scheduler kyber registered
[ 0.574997] EINJ: ACPI disabled.
[ 0.592071] SoC: i.MX8MQ revision 2.1
[ 0.600855] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.603386] SuperH (H)SCI(F) driver initialized
[ 0.604038] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 27, base_baud = 1562500) is a IMX
[ 0.604075] imx-uart 30860000.serial: Console IMX rounded baud rate from 114679 to 114700
[ 1.556407] printk: console [ttymxc0] enabled
[ 1.561715] msm_serial: driver initialized
[ 1.574764] loop: module loaded
[ 1.579095] megasas: 07.714.04.00-rc1
[ 1.587386] spi-nor spi3.0: n25q256a (32768 Kbytes)
[ 1.604066] libphy: Fixed MDIO Bus: probed
[ 1.609199] tun: Universal TUN/TAP device driver, 1.6
[ 1.615440] thunder_xcv, ver 1.0
[ 1.618890] thunder_bgx, ver 1.0
[ 1.622312] nicpf, ver 1.0
[ 1.626972] hclge is initializing
[ 1.630493] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[ 1.638053] hns3: Copyright (c) 2017 Huawei Corporation.
[ 1.643656] e1000: Intel(R) PRO/1000 Network Driver
[ 1.648777] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 1.654829] e1000e: Intel(R) PRO/1000 Network Driver
[ 1.660023] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 1.666250] igb: Intel(R) Gigabit Ethernet Network Driver
[ 1.671892] igb: Copyright (c) 2007-2014 Intel Corporation.
[ 1.677750] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[ 1.684299] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[ 1.690886] sky2: driver version 1.30
[ 1.696094] VFIO - User Level meta-driver version: 0.3
[ 1.703097] imx-pgc imx-pgc-domain.3: failed to command PGC
[ 1.710577] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.717412] ehci-pci: EHCI PCI platform driver
[ 1.722099] ehci-platform: EHCI generic platform driver
[ 1.727716] ehci-orion: EHCI orion driver
[ 1.732043] ehci-exynos: EHCI Exynos driver
[ 1.736528] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.742998] ohci-pci: OHCI PCI platform driver
[ 1.747680] ohci-platform: OHCI generic platform driver
[ 1.753286] ohci-exynos: OHCI Exynos driver
[ 1.758316] usbcore: registered new interface driver usb-storage
[ 1.767916] i2c /dev entries driver
[ 1.779838] sdhci: Secure Digital Host Controller Interface driver
[ 1.786342] sdhci: Copyright(c) Pierre Ossman
[ 1.791543] Synopsys Designware Multimedia Card Interface Driver
[ 1.799138] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.818260] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.825409] SMCCC: SOC_ID: ARCH_FEATURES(ARCH_SOC_ID) returned error: fffffffffffffffd
[ 1.834454] usbcore: registered new interface driver usbhid
[ 1.840279] usbhid: USB HID core driver
[ 1.848739] optee: probing for conduit method.
[ 1.853439] optee: revision 3.12 (d269f2ec)
[ 1.853712] optee: dynamic shared memory is enabled
[ 1.863643] optee: initialized driver
[ 1.868918] NET: Registered protocol family 17
[ 1.873728] 9pnet: Installing 9P2000 support
[ 1.878256] Key type dns_resolver registered
[ 1.882880] registered taskstats version 1
[ 1.887177] Loading compiled-in X.509 certificates
[ 1.913238] gpio-157 (wl-reg-on): hogged as output/high
[ 1.923855] pfuze100-regulator 0-0008: Full layer: 2, Metal layer: 1
[ 1.931156] pfuze100-regulator 0-0008: FAB: 0, FIN: 0
[ 1.936450] pfuze100-regulator 0-0008: pfuze100 found.
[ 1.954690] i2c i2c-0: IMX I2C adapter registered
[ 1.960664] imx8mq-usb-phy 382f0040.usb-phy: supply vbus not found, using dummy regulator
[ 1.983028] pps pps0: new PPS source ptp0
[ 1.989609] libphy: fec_enet_mii_bus: probed
[ 1.997690] fec 30be0000.ethernet eth0: registered PHC device 0
[ 2.006444] imx-pgc imx-pgc-domain.3: failed to command PGC
[ 2.040355] mmc0: SDHCI controller on 30b40000.mmc [30b40000.mmc] using ADMA
[ 2.049618] sdhci-esdhc-imx 30b50000.mmc: Got CD GPIO
[ 2.084820] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using ADMA
[ 2.094546] imx-pgc imx-pgc-domain.3: failed to command PGC
[ 2.102752] imx-pgc imx-pgc-domain.3: failed to command PGC
[ 2.110367] ALSA device list:
[ 2.113500] No soundcards found.
[ 2.119337] Freeing unused kernel memory: 5760K
[ 2.124149] Run /init as init process
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Saving random seed: [ 2.184425] random: dd: uninitialized urandom read (512 bytes read)
OK
Set permissions on /dev/tee*: OK
Create/set permissions on /data[ 2.205330] mmc0: new HS400 MMC card at address 0001
/tee: OK
Starting tee-supplicant: [ 2.213174] mmcblk0: mmc0:0001 DG4016 14.7 GiB
D/TC:? 0 tee_ta_init_session_with_context:607 Re-open TA 7011a688-ddde-4053-a5a9-7b3c4ddf13b8
oot0: mmc0:0001 DG4016 partition 1 4.00 MiB2297e900mmcblk0
D/TC:? 0 tee_ta_close_session:531 Destroy session
OK
Starting network: [ 2.243339] mmcblk0boot1: mmc0:0001 DG4016 partition 2 4.00 MiB
[ 2.251432] mmcblk0rpmb: mmc0:0001 DG4016 partition 3 4.00 MiB, chardev (234:0)
OK
[ 2.263629] Alternate GPT is invalid, using primary GPT.
[ 2.269296] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15
[ 2.282865] imx-pgc imx-pgc-domain.3: failed to command PGC
Welcome to Buildroot, type root or test to login
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment