Hi,
Recently I got an second-hand Juno r0, and managed to bring up my own customized optee os on it.
Unfortunately, whether I tryed my own compiled binaries or several prebuilt images, the kernel always hangs at "smp: Bringing up secondary CPUs ..."
juno-ack-android-uboot(19.01):
PCIE clock configured... Testing motherboard interfaces (FPGA build 118)... SRAM 32MB test: PASSED LAN9118 test: PASSED KMI1/2 test: PASSED MMC test: PASSED PB/LEDs test: PASSED FPGA UART test: PASSED PCIe init test: PASSED MAC addrs test: PASSED SMC MAC address 0002-F700-5B01 Setting HDMI0 mode for SVGA. Setting HDMI1 mode for SVGA. SoC SMB clock enabled. Testing SMB clock... SMB clock running Releasing system resets... UART0 set to SoC UART0 UART1 set to SoC UART1 NOTICE: Booting Trusted Firmware NOTICE: BL1: v2.1(release):v2.1-743-g6a7cbfd5 NOTICE: BL1: Built : 06:13:54, Oct 19 2019 NOTICE: BL1: Booting BL2 NOTICE: BL2: v2.1(release):v2.1-743-g6a7cbfd5 NOTICE: BL2: Built : 06:13:54, Oct 19 2019 NOTICE: BL1: Booting BL31 NOTICE: BL31: v2.1(release):v2.1-743-g6a7cbfd5 NOTICE: BL31: Built : 06:13:54, Oct 19 2019 U-Boot 2019.07-rc4-gc17c4a29 (Oct 19 2019 - 06:17:40 +0000) vexpress_aemv8a juno aarch64, Build: jenkins-armlt-platforms-180 DRAM: 8 GiB PCIe XR3 Host Bridge enabled: x4 link (Gen 2) Flash: 64 MiB *** Warning - bad CRC, using default environment In: serial_pl01x Out: serial_pl01x Err: serial_pl01x Net: smc911x-0 Hit any key to stop autoboot: 0 loaded region 0 from 08500000 to 80080000, 0130CA00 bytes loaded region 0 from 0A700000 to 82000000, 00006D72 bytes loaded region 0 from 09D00000 to 84000000, 00178F7B bytes ## Loading init Ramdisk from Legacy Image at 84000000 ... Image Name: Android ramdisk Image Type: AArch64 Linux RAMDisk Image (uncompressed) Data Size: 1543995 Bytes = 1.5 MiB Load Address: 84000000 Entry Point: 84000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 82000000 Booting using the fdt blob at 0x82000000 ERROR: reserving fdt memory region failed (addr=fee00000 size=200000) Using Device Tree in place at 0000000082000000, end 0000000082009fff Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x100 [ 0.000000] Linux version 4.14.59-gcb9214c4c (buildslave@8975dc099e00) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11)) #1 SMP PREEMPT Sat Oct 19 06:17:20 UTC 2019 [ 0.000000] Boot CPU: AArch64 Processor [410fd030] [ 0.000000] Machine model: ARM Juno development board (r0) [ 0.000000] earlycon: pl11 at MMIO 0x000000007ff80000 (options '') [ 0.000000] bootconsole [pl11] enabled [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 96 MiB at 0x00000000f8c00000 [ 0.000000] On node 0 totalpages: 2092544 [ 0.000000] DMA zone: 8192 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 519680 pages, LIFO batch:31 [ 0.000000] Normal zone: 24576 pages used for memmap [ 0.000000] Normal zone: 1572864 pages, LIFO batch:31 [ 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.1 [ 0.000000] random: get_random_bytes called from start_kernel+0xac/0x41c with crng_init=0 [ 0.000000] percpu: Embedded 23 pages/cpu @ffffffc97ff3b000 s53272 r8192 d32744 u94208 [ 0.000000] pcpu-alloc: s53272 r8192 d32744 u94208 alloc=23*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: enabling workaround for ARM errata 826319, 827319, 824069 [ 0.000000] CPU features: enabling workaround for ARM erratum 845719 [ 0.000000] Speculative Store Bypass Disable mitigation not required [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 2059776 [ 0.000000] Kernel command line: console=ttyAMA0,115200n8 root=/dev/sda2 rw rootwait earlycon=pl011,0x7ff80000 debug user_debug=31 androidboot.hardware=juno systemd.log_target=null loglevel=9e [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes) [ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 0.000000] software IO TLB [mem 0xf4c00000-0xf8c00000] (64MB) mapped at [ffffffc074c00000-ffffffc078bfffff] [ 0.000000] Memory: 8040024K/8370176K available (11068K kernel code, 1074K rwdata, 3644K rodata, 3648K init, 640K bss, 231848K reserved, 98304K cma-reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB) [ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB) [ 0.000000] .text : 0xffffff8008080000 - 0xffffff8008b50000 ( 11072 KB) [ 0.000000] .rodata : 0xffffff8008b50000 - 0xffffff8008ef0000 ( 3712 KB) [ 0.000000] .init : 0xffffff8008ef0000 - 0xffffff8009280000 ( 3648 KB) [ 0.000000] .data : 0xffffff8009280000 - 0xffffff800938ca00 ( 1075 KB) [ 0.000000] .bss : 0xffffff800938ca00 - 0xffffff800942cab8 ( 641 KB) [ 0.000000] fixed : 0xffffffbefe7fb000 - 0xffffffbefec00000 ( 4116 KB) [ 0.000000] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB) [ 0.000000] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum) [ 0.000000] 0xffffffbf00000000 - 0xffffffbf26000000 ( 608 MB actual) [ 0.000000] memory : 0xffffffc000000000 - 0xffffffc980000000 ( 38912 MB) [ 0.000000] ftrace: allocating 37334 entries in 146 pages [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6. [ 0.000000] Tasks RCU enabled. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] GICv2m: range[mem 0x2c1c0000-0x2c1c0fff], SPI[224:255] [ 0.000000] arch_timer: cp15 timer(s) running at 50.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb8812736b, max_idle_ns: 440795202655 ns [ 0.000006] sched_clock: 56 bits at 50MHz, resolution 20ns, wraps every 4398046511100ns [ 0.008627] clocksource: arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns [ 0.018339] Failed to initialize '/smb@8000000/motherboard/iofpga@3,00000000/timer@120000': -22 [ 0.027535] Calibrating delay loop (skipped), value calculated using timer frequency.. 100.00 BogoMIPS (lpj=200000) [ 0.038018] pid_max: default: 32768 minimum: 301 [ 0.042825] Security Framework initialized [ 0.046943] SELinux: Initializing. [ 0.050526] SELinux: Starting in permissive mode [ 0.055334] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 0.062263] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 0.085691] ASID allocator initialised with 32768 entries [ 0.091224] Hierarchical SRCU implementation. [ 0.104049] EFI services will not be available. [ 0.116637] smp: Bringing up secondary CPUs ...
D/TC:0 0 add_phys_mem:576 TEE_SHMEM_START type NSEC_SHM 0xfee00000 size 0x00200000 D/TC:0 0 add_phys_mem:576 TA_RAM_START type TA_RAM 0xff200000 size 0x00df8000 D/TC:0 0 add_phys_mem:576 VCORE_UNPG_RW_PA type TEE_RAM_RW 0xff057000 size 0x001a9000 D/TC:0 0 add_phys_mem:576 VCORE_UNPG_RX_PA type TEE_RAM_RX 0xff000000 size 0x00057000 D/TC:0 0 add_phys_mem:576 ROUNDDOWN((0x2c010000 + 0x1f000), CORE_MMU_PGDIR_SIZE) type IO_SEC 0x2c000000 size 0x00200000 D/TC:0 0 add_phys_mem:576 ROUNDDOWN((0x2c010000 + 0), CORE_MMU_PGDIR_SIZE) type IO_SEC 0x2c000000 size 0x00200000 D/TC:0 0 add_phys_mem:589 Physical mem map overlaps 0x2c000000 D/TC:0 0 add_phys_mem:576 ROUNDDOWN(0x7ff70000, CORE_MMU_PGDIR_SIZE) type IO_SEC 0x7fe00000 size 0x00200000 D/TC:0 0 verify_special_mem_areas:514 No NSEC DDR memory area defined D/TC:0 0 add_va_space:615 type RES_VASPACE size 0x00a00000 D/TC:0 0 add_va_space:615 type SHM_VASPACE size 0x02000000 D/TC:0 0 dump_mmap_table:751 type TA_RAM va 0xfae00000..0xfbbf7fff pa 0xff200000..0xffff7fff size 0x00df8000 (smal) D/TC:0 0 dump_mmap_table:751 type NSEC_SHM va 0xfbc00000..0xfbdfffff pa 0xfee00000..0xfeffffff size 0x00200000 (pgdi) D/TC:0 0 dump_mmap_table:751 type RES_VASPACE va 0xfbe00000..0xfc7fffff pa 0x00000000..0x009fffff size 0x00a00000 (pgdi) D/TC:0 0 dump_mmap_table:751 type IO_SEC va 0xfca00000..0xfcbfffff pa 0x7fe00000..0x7fffffff size 0x00200000 (pgdi) D/TC:0 0 dump_mmap_table:751 type IO_SEC va 0xfcc00000..0xfcdfffff pa 0x2c000000..0x2c1fffff size 0x00200000 (pgdi) D/TC:0 0 dump_mmap_table:751 type SHM_VASPACE va 0xfce00000..0xfedfffff pa 0x00000000..0x01ffffff size 0x02000000 (pgdi) D/TC:0 0 dump_mmap_table:751 type TEE_RAM_RX va 0xff000000..0xff056fff pa 0xff000000..0xff056fff size 0x00057000 (smal) D/TC:0 0 dump_mmap_table:751 type TEE_RAM_RW va 0xff057000..0xff1fffff pa 0xff057000..0xff1fffff size 0x001a9000 (smal) D/TC:0 0 core_mmu_entry_to_finer_grained:795 xlat tables used 1 / 5 D/TC:0 0 core_mmu_entry_to_finer_grained:795 xlat tables used 2 / 5 D/TC:0 0 core_mmu_entry_to_finer_grained:795 xlat tables used 3 / 5 I/TC: D/TC:0 0 init_canaries:161 #Stack canaries for stack_tmp[0] with top at 0xff0893b8 D/TC:0 0 init_canaries:161 watch *0xff0893bc D/TC:0 0 init_canaries:161 #Stack canaries for stack_tmp[1] with top at 0xff089bf8 D/TC:0 0 init_canaries:161 watch *0xff089bfc D/TC:0 0 init_canaries:161 #Stack canaries for stack_tmp[2] with top at 0xff08a438 D/TC:0 0 init_canaries:161 watch *0xff08a43c D/TC:0 0 init_canaries:161 #Stack canaries for stack_tmp[3] with top at 0xff08ac78 D/TC:0 0 init_canaries:161 watch *0xff08ac7c D/TC:0 0 init_canaries:161 #Stack canaries for stack_tmp[4] with top at 0xff08b4b8 D/TC:0 0 init_canaries:161 watch *0xff08b4bc D/TC:0 0 init_canaries:161 #Stack canaries for stack_tmp[5] with top at 0xff08bcf8 D/TC:0 0 init_canaries:161 watch *0xff08bcfc D/TC:0 0 init_canaries:162 #Stack canaries for stack_abt[0] with top at 0xff080db8 D/TC:0 0 init_canaries:162 watch *0xff080dbc D/TC:0 0 init_canaries:162 #Stack canaries for stack_abt[1] with top at 0xff0819f8 D/TC:0 0 init_canaries:162 watch *0xff0819fc D/TC:0 0 init_canaries:162 #Stack canaries for stack_abt[2] with top at 0xff082638 D/TC:0 0 init_canaries:162 watch *0xff08263c D/TC:0 0 init_canaries:162 #Stack canaries for stack_abt[3] with top at 0xff083278 D/TC:0 0 init_canaries:162 watch *0xff08327c D/TC:0 0 init_canaries:162 #Stack canaries for stack_abt[4] with top at 0xff083eb8 D/TC:0 0 init_canaries:162 watch *0xff083ebc D/TC:0 0 init_canaries:162 #Stack canaries for stack_abt[5] with top at 0xff084af8 D/TC:0 0 init_canaries:162 watch *0xff084afc D/TC:0 0 init_canaries:164 #Stack canaries for stack_thread[0] with top at 0xff086b38 D/TC:0 0 init_canaries:164 watch *0xff086b3c D/TC:0 0 init_canaries:164 #Stack canaries for stack_thread[1] with top at 0xff088b78 D/TC:0 0 init_canaries:164 watch *0xff088b7c I/TC: OP-TEE version: 3.6.0-163-g909c706c (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11)) #1 Sat Oct 19 06:19:16 U4 D/TC:0 0 check_ta_store:638 TA store: "Secure Storage TA" D/TC:0 0 check_ta_store:638 TA store: "REE [buffered]" D/TC:0 0 mobj_mapped_shm_init:447 Shared memory address range: fce00000, fee00000 D/TC:0 0 gic_it_set_cpu_mask:251 cpu_mask: writing 0xff to 0xfcc10874 D/TC:0 0 gic_it_set_cpu_mask:253 cpu_mask: 0x3f D/TC:0 0 gic_it_set_prio:266 prio: writing 0x1 to 0xfcc10474 I/TC: Initialized D/TC:0 0 init_primary_helper:1109 Primary CPU switching to normal world boot
juno-latest-oe-uboot(17.07)
Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000100 [0x410fd030] [ 0.000000] Linux version 4.17.0 (jenkins-ci@oss-platforms-sw-jenkins-agent-04) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11)) #1 SMP PREEMPT Fri Oct 19 17:28:41 BST 2018 [ 0.000000] Machine model: ARM Juno development board (r0) [ 0.000000] earlycon: pl11 at MMIO 0x000000007ff80000 (options '') [ 0.000000] bootconsole [pl11] enabled [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 96 MiB at 0x00000000f9000000 [ 0.000000] On node 0 totalpages: 2093056 [ 0.000000] DMA32 zone: 7168 pages used for memmap [ 0.000000] DMA32 zone: 0 pages reserved [ 0.000000] DMA32 zone: 520192 pages, LIFO batch:31 [ 0.000000] Normal zone: 21504 pages used for memmap [ 0.000000] Normal zone: 1572864 pages, LIFO batch:31 [ 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.1 [ 0.000000] random: get_random_bytes called from start_kernel+0xac/0x484 with crng_init=0 [ 0.000000] percpu: Embedded 24 pages/cpu @ (ptrval) s58264 r8192 d31848 u98304 [ 0.000000] pcpu-alloc: s58264 r8192 d31848 u98304 alloc=24*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: Kernel page table isolation (KPTI) [ 0.000000] CPU features: enabling workaround for ARM errata 826319, 827319, 824069 [ 0.000000] CPU features: enabling workaround for ARM erratum 843419 [ 0.000000] CPU features: enabling workaround for ARM erratum 845719 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 2064384 [ 0.000000] Kernel command line: console=ttyAMA0,115200n8 root=/dev/sda2 rw rootwait earlycon=pl011,0x7ff80000 debug systemd.log_target=null user_debug=31 androidboot.hardware=juno loglevel=9e [ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes) [ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 0.000000] software IO TLB [mem 0xf4fff000-0xf8fff000] (64MB) mapped at [ (ptrval)- (ptrval)] [ 0.000000] Memory: 8064280K/8372224K available (9340K kernel code, 876K rwdata, 2376K rodata, 896K init, 527K bss, 209640K reserved, 98304K cma-reserved) [ 0.000000] ftrace: allocating 31780 entries in 125 pages [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=6. [ 0.000000] Tasks RCU enabled. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] GICv2m: range[mem 0x2c1c0000-0x2c1cffff], SPI[224:255] [ 0.000000] GICv2m: range[mem 0x2c1d0000-0x2c1dffff], SPI[256:287] [ 0.000000] GICv2m: range[mem 0x2c1e0000-0x2c1effff], SPI[288:319] [ 0.000000] GICv2m: range[mem 0x2c1f0000-0x2c1fffff], SPI[320:351] [ 0.000000] arch_timer: cp15 timer(s) running at 50.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb8812736b, max_idle_ns: 440795202655 ns [ 0.000005] sched_clock: 56 bits at 50MHz, resolution 20ns, wraps every 4398046511100ns [ 0.008552] clocksource: arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns [ 0.018262] Failed to initialize '/smb@8000000/motherboard/iofpga@3,00000000/timer@120000': -22 [ 0.027374] Console: colour dummy device 80x25 [ 0.031856] Calibrating delay loop (skipped), value calculated using timer frequency.. 100.00 BogoMIPS (lpj=200000) [ 0.042330] pid_max: default: 32768 minimum: 301 [ 0.047087] Security Framework initialized [ 0.051203] SELinux: Initializing. [ 0.054792] SELinux: Starting in permissive mode [ 0.059598] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 0.066527] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 0.093967] ASID allocator initialised with 32768 entries [ 0.099486] Hierarchical SRCU implementation. [ 0.108247] EFI services will not be available. [ 0.116834] smp: Bringing up secondary CPUs ...
For now, the board can only boot successfully with the recovery files I found from https://silver.arm.com/browse/VEJ20 :
ARM V2M_Juno Firmware v1.3.3 Build Date: Mar 31 2015 Time : 15:06:05 Date : 02:08:2022 Powering up system... Switching on ATXPSU... PMIC RAM configuration (pms_v103.bin)... MBtemp : 29 degC Configuring motherboard (rev B, var B)... IOFPGA image \MB\HBI0262B\io_b117.bit IOFPGA config: PASSED OSC CLK config: PASSED Configuring SCC registers... Writing SCC 0x00000054 with 0x0007FFFE Writing SCC 0x0000005C with 0x00FE001E Writing SCC 0x00000100 with 0x003F1000 Writing SCC 0x00000104 with 0x0001F300 Writing SCC 0x00000108 with 0x00371000 Writing SCC 0x0000010C with 0x0001B300 Writing SCC 0x00000118 with 0x003F1000 Writing SCC 0x0000011C with 0x0001F100 Writing SCC 0x000000F8 with 0x0BEC0000 Writing SCC 0x000000FC with 0xABE40000 Writing SCC 0x0000000C with 0x000000C2 Writing SCC 0x00000010 with 0x000000C2 Peripheral ID0:0x000000AD Peripheral ID1:0x000000B0 The default boot selection will start in 1 seconds PEI 233 ms DXE 1956 ms BDS 867 ms Total Time = 3057 ms [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.15.0-rc8+ (dliviu@e106497-lin) (gcc version 4.9.1 20140505 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.05 - Linaro GCC 4.9-2014.05) ) #1 SMP PREEMPT Fri Oct 4 [ 0.000000] CPU: AArch64 Processor [410fd030] revision 0 [ 0.000000] bootconsole [earlycon0] enabled [ 0.000000] cma: CMA: reserved 32 MiB at fd000000 [ 0.000000] On node 0 totalpages: 2093056 [ 0.000000] DMA zone: 8192 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 520192 pages, LIFO batch:31 [ 0.000000] Normal zone: 24576 pages used for memmap [ 0.000000] Normal zone: 1572864 pages, LIFO batch:31 [ 0.000000] psci: probing function IDs from device-tree [ 0.000000] PERCPU: Embedded 12 pages/cpu @ffffffc97feeb000 s18496 r8192 d22464 u49152 [ 0.000000] pcpu-alloc: s18496 r8192 d22464 u49152 alloc=12*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 2060288 [ 0.000000] Kernel command line: console=ttyAMA0,115200 earlyprintk=pl011,0x7ff80000 root=/dev/sda1 rootwait verbose debug [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes) [ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 0.000000] Memory: 8184036K/8372224K available (6538K kernel code, 579K rwdata, 2536K rodata, 510K init, 450K bss, 188188K reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vmalloc : 0xffffff8000000000 - 0xffffffbbffff0000 (245759 MB) [ 0.000000] vmemmap : 0xffffffbc02000000 - 0xffffffbc28000000 ( 608 MB) [ 0.000000] modules : 0xffffffbffc000000 - 0xffffffc000000000 ( 64 MB) [ 0.000000] memory : 0xffffffc000000000 - 0xffffffc980000000 ( 38912 MB) [ 0.000000] .init : 0xffffffc00095e000 - 0xffffffc0009dd840 ( 511 kB) [ 0.000000] .text : 0xffffffc000080000 - 0xffffffc00095d814 ( 9079 kB) [ 0.000000] .data : 0xffffffc0009de000 - 0xffffffc000a6ec10 ( 580 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6 [ 0.000000] NR_IRQS:64 nr_irqs:64 0 [ 0.000000] Architected cp15 and mmio timer(s) running at 50.00MHz (phys/phys). [ 0.000006] sched_clock: 56 bits at 50MHz, resolution 20ns, wraps every 2748779069440ns [ 0.008351] Console: colour dummy device 80x25 [ 0.020378] allocated 33554432 bytes of page_cgroup [ 0.025320] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.033372] Calibrating delay loop (skipped), value calculated using timer frequency.. 100.00 BogoMIPS (lpj=500000) [ 0.043973] pid_max: default: 32768 minimum: 301 [ 0.048784] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 0.055774] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 0.064069] Initializing cgroup subsys debug [ 0.068423] Initializing cgroup subsys memory [ 0.072848] Initializing cgroup subsys devices [ 0.077352] Initializing cgroup subsys freezer [ 0.081868] Initializing cgroup subsys blkio [ 0.086196] Initializing cgroup subsys perf_event [ 0.090988] ftrace: allocating 22945 entries in 90 pages [ 0.138702] /cpus/cpu@100: Missing clock-frequency property [ 0.144372] /cpus/cpu@101: Missing clock-frequency property [ 0.150067] /cpus/cpu@102: Missing clock-frequency property [ 0.155736] /cpus/cpu@103: Missing clock-frequency property [ 0.161420] /cpus/cpu@0: Missing clock-frequency property [ 0.166917] /cpus/cpu@1: Missing clock-frequency property [ 0.172411] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 7 counters available [ 0.232999] CPU1: Booted secondary processor [ 0.253021] CPU2: Booted secondary processor [ 0.273024] CPU3: Booted secondary processor [ 0.293170] CPU4: Booted secondary processor [ 0.294041] CPU5: Booted secondary processor [ 0.294235] Brought up 6 CPUs [ 0.318872] SMP: Total of 6 processors activated. [ 0.324605] devtmpfs: initialized [ 0.339739] sched: registering cpufreq notifiers for scale-invariant loads [ 0.347562] atomic64 test passed [ 0.351203] regulator-dummy: no parameters [ 0.359248] NET: Registered protocol family 16 [ 0.364207] cpuidle: using governor ladder [ 0.368371] cpuidle: using governor menu [ 0.372407] vdso: 2 pages (1 code, 1 data) at base ffffffc0009e5000 [ 0.378791] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.387053] software IO TLB [mem 0xfcc00000-0xfd000000] (4MB) mapped at [ffffffc07cc00000-ffffffc07cffffff] [ 0.398070] DMA: preallocated 256 KiB pool for atomic allocations [ 0.404289] Serial: AMBA PL011 UART driver [ 0.411935] 7ff80000.uart: ttyAMA0 at MMIO 0x7ff80000 (irq = 115, base_baud = 0) is a PL011 rev3 [ 0.420866] console [ttyAMA0] enabled [ 0.420866] console [ttyAMA0] enabled [ 0.428150] bootconsole [earlycon0] disabled [ 0.428150] bootconsole [earlycon0] disabled [ 0.450676] 3V3: 3300 mV [ 0.453682] SCSI subsystem initialized [ 0.457545] libata version 3.00 loaded. [ 0.461596] usbcore: registered new interface driver usbfs [ 0.467079] usbcore: registered new interface driver hub [ 0.472435] usbcore: registered new device driver usb [ 0.479010] Advanced Linux Sound Architecture Driver Initialized. [ 0.485673] Switched to clocksource arch_sys_counter [ 0.528857] NET: Registered protocol family 2 [ 0.533622] TCP established hash table entries: 65536 (order: 7, 524288 bytes) [ 0.541141] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) [ 0.548336] TCP: Hash tables configured (established 65536 bind 65536) [ 0.554870] TCP: reno registered [ 0.558090] UDP hash table entries: 4096 (order: 5, 131072 bytes) [ 0.564201] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes) [ 0.570931] NET: Registered protocol family 1 [ 0.575545] RPC: Registered named UNIX socket transport module. [ 0.581416] RPC: Registered udp transport module. [ 0.586081] RPC: Registered tcp transport module. [ 0.590734] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.597539] kvm [1]: Error, CPU 0 not supported! [ 0.603298] futex hash table entries: 2048 (order: 5, 131072 bytes) [ 0.610238] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 0.631758] NFS: Registering the id_resolver key type [ 0.636805] Key type id_resolver registered [ 0.640947] Key type id_legacy registered [ 0.644925] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.651775] fuse init (API version 7.23) [ 0.656387] msgmni has been set to 16048 [ 0.661237] io scheduler noop registered [ 0.665337] io scheduler cfq registered (default) [ 0.671456] dma-pl330 7ff00000.dma: Loaded driver for PL330 DMAC-341330 [ 0.678029] dma-pl330 7ff00000.dma: DBUFF-1024x16bytes Num_Chans-8 Num_Peri-8 Num_Events-8 [ 0.686685] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 0.694270] uart-pl011 7ff80000.uart: DMA channel TX dma0chan2 [ 0.700074] uart-pl011 7ff80000.uart: RX DMA disabled - no residue processing [ 0.707364] [drm] Initialized drm 1.1.0 20060810 [ 0.719988] brd: module loaded [ 0.727069] loop: module loaded [ 0.731898] libphy: smsc911x-mdio: probed [ 0.815811] smsc911x 18000000.ethernet eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=18000000.etherne:01, irq=-1) [ 0.827216] smsc911x 18000000.ethernet eth0: MAC Address: 00:02:f7:00:5b:01 [ 0.834148] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.840641] ehci-h20ahb: H20AHB-EHCI Host Controller driver [ 0.846284] ehci-h20ahb 7ffc0000.ehci: EHCI Host Controller [ 0.851820] ehci-h20ahb 7ffc0000.ehci: new USB bus registered, assigned bus number 1 [ 0.859644] ehci-h20ahb 7ffc0000.ehci: irq 149, io mem 0x7ffc0000 [ 0.865695] ehci-h20ahb 7ffc0000.ehci: enabled 64bit DMA [ 0.885684] ehci-h20ahb 7ffc0000.ehci: USB 2.0 started, EHCI 1.00 [ 0.892583] hub 1-0:1.0: USB hub found [ 0.896339] hub 1-0:1.0: 1 port detected [ 0.900612] ULPI transceiver vendor/product ID 0x0424/0x0009 [ 0.906230] Found SMSC USB334x ULPI transceiver. [ 0.910803] ULPI integrity check: passed. [ 0.914917] usbcore: registered new interface driver usb-storage [ 0.921082] mousedev: PS/2 mouse device common for all mice [ 0.927190] rtc-pl031 1c170000.rtc: rtc core: registered pl031 as rtc0 [ 0.933693] i2c /dev entries driver [ 0.939031] usbcore: registered new interface driver usbhid [ 0.944548] usbhid: USB HID core driver [ 0.953396] ion_chunk_heap_create: base 4232052736 size 4194304 align 16384 [ 0.961798] ashmem: initialized [ 0.965613] logger: created 256K log 'log_main' [ 0.970755] logger: created 256K log 'log_events' [ 0.976537] logger: created 256K log 'log_radio' [ 0.981855] logger: created 256K log 'log_system' [ 0.988095] Channel(mhu_ctlr:cpu_to_scp_low) not found! [ 0.993277] scpi_clocks clocks.3: failed to register clock 'vbig' [ 0.999363] platform clocks.3: Driver scpi_clocks requests probe deferral [ 1.006283] mhu_ctlr_drv 2b1f0000.mhu: registered mailbox controller mhu_ctlr [ 1.017405] platform sound.15: Driver asoc-simple-card requests probe deferral [ 1.024692] ERROR: could not get clock /i2s@7ff90000:i2sclk(0) [ 1.030501] platform 7ff90000.i2s: Driver designware-i2s requests probe deferral [ 1.038030] ip_tables: (C) 2000-2006 Netfilter Core Team [ 1.048775] arp_tables: (C) 2002 David S. Miller [ 1.054580] TCP: cubic registered [ 1.058599] NET: Registered protocol family 10 [ 1.064823] mip6: Mobile IPv6 [ 1.067803] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 1.080663] sit: IPv6 over IPv4 tunneling driver [ 1.085817] NET: Registered protocol family 17 [ 1.090326] Key type dns_resolver registered [ 1.187098] platform sound.15: Driver asoc-simple-card requests probe deferral [ 1.194618] platform sound.15: Driver asoc-simple-card requests probe deferral [ 1.202852] rtc-pl031 1c170000.rtc: setting system clock to 2022-08-02 15:06:59 UTC (1659452819) [ 1.212339] ALSA device list: [ 1.215276] No soundcards found. [ 1.216145] usb 1-1: new high-speed USB device number 2 using ehci-h20ahb �[ 1.225697] Waiting for root device /dev/sda1... [ 1.369360] hub 1-1:1.0: USB hub found [ 1.373381] hub 1-1:1.0: 4 ports detected [ 1.381094] platform sound.15: Driver asoc-simple-card requests probe deferral [ 1.656510] usb 1-1.3: new high-speed USB device number 3 using ehci-h20ahb [ 1.801511] usb-storage 1-1.3:1.0: USB Mass Storage device detected [ 1.810524] scsi0 : usb-storage 1-1.3:1.0 [ 1.815511] platform sound.15: Driver asoc-simple-card requests probe deferral [ 1.822887] platform sound.15: Driver asoc-simple-card requests probe deferral [ 2.810134] scsi 0:0:0:0: Direct-Access Kingston DataTraveler 2.0 PMAP PQ: 0 ANSI: 6 [ 2.819816] platform sound.15: Driver asoc-simple-card requests probe deferral [ 2.821736] sd 0:0:0:0: [sda] 30240768 512-byte logical blocks: (15.4 GB/14.4 GiB) [ 2.823310] sd 0:0:0:0: [sda] Write Protect is off [ 2.823320] sd 0:0:0:0: [sda] Mode Sense: 45 00 00 00 [ 2.824306] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 2.990555] GPT:Primary header thinks Alt. header is not at the end of the disk. [ 2.997931] GPT:7634943 != 30240767 [ 3.001387] GPT:Alternate GPT header not at the end of the disk. [ 3.007354] GPT:7634943 != 30240767 [ 3.010810] GPT: Use GNU Parted to correct GPT errors. [ 3.015972] sda: sda1 sda2 sda3 sda4 sda5 [ 3.029418] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 3.044796] List of all partitions: [ 3.048327] 0800 15120384 sda driver: sd [ 3.052916] 0801 4096 sda1 496847ab-56a1-4cd5-a1ad-47f4acf055c9 [ 3.059939] 0802 1311744 sda2 61a36fc1-8efb-4899-84d8-b61642efa723 [ 3.066985] 0803 254976 sda3 65007411-962d-4781-9b2c-51dd7df22cc3 [ 3.073987] 0804 564224 sda4 496847ab-56a1-4cd5-a1ad-47f4acf055c9 [ 3.081021] 0805 68608 sda5 00354bcd-bbcb-4cb3-b5ae-cdefcb5dac43 [ 3.088041] No filesystem could mount root, tried: ext3 ext2 ext4 vfat fuseblk
It seems like optee on core#1 did not give control back to linux kernel ? or is this a hardware issue?
I'm still trying to solve this, could someone give some insight about this?
Thanks in advance!
Regards,
Yujia