Which Khadas SBC do you use?
VIM3
Which system do you use? Android, Ubuntu, OOWOW or others?
Andriod
Which version of system do you use? Khadas official images, self built images, or others?
self built images (this image is verified can bring up on couple of VIM3 boards)
Please describe your issue below:
I built an Android image, it’s verified on couple of VIM3 boards.
My VIM3 device can bring up with this image before as well.
But recently, it’s failed to bring up with this identical image (no change on this image).
Not sure if any module (eMMC or other module) is broken.
Post a console log of your issue below:
U-Boot 2021.01-00035-gde44e287b6 (Feb 02 2021 - 18:02:13 +0100) khadas-vim3
Model: Khadas VIM3
SoC: Amlogic Meson G12B (A311D) Revision 29:b (10:2)
DRAM: 3.8 GiB
MMC:
sd@ffe03000: 0, sd@ffe05000: 1, mmc@ffe07000: 2
Loading Environment from MMC...
*** Warning - bad CRC, using default environment
In: serial@3000
Out: serial@3000
Err: serial@3000
Net: eth0: ethernet@ff3f0000
Verify GPT: success!
switch to partitions #0, OK
mmc2(part 0) is current device
MMC read: dev # 2, block # 1024, count 4096 ...
4096 blocks read: OK
There is no valid bmp file at the given address
Hit any key to stop autoboot: 2
1
0
Verify GPT: success!
dev: pinctrl@14
dev: pinctrl@40
gpio: pin 88 (gpio 88) value is 1
Loading Android boot partition...
switch to partitions #0, OK
mmc2(part 0) is current device
Running without AVB...
MMC read: dev # 2, block # 23552, count 65536 ...
65536 blocks read: OK
Preparing FDT...
Reading DTB for vim3...
Reading DTBO for vim3...
MMC read: dev # 2, block # 6144, count 16384 ...
16384 blocks read: OK
Applying DTBOs...
0x48f (1167)
Running Android...
## Booting Android Image at 0x01080000 ...
Kernel load addr 0x11080000 size 20875 KiB
Kernel command line: no_console_suspend console=ttyAML0,115200 earlycon printk.devkmsg=on androidboot.boot_devices=soc/ffe07000.mmc init=/init firmware_class.path=/vendor/firmware androidboot.hardware=yukawa androidboot.selinux=permissive buildvariant=userdebug
RAM disk load addr 0x11000000 size 1333 KiB
## Flattened Device Tree blob at 01000000
Booting using the fdt blob at 0x1000000
Uncompressing Kernel Image
Loading Ramdisk to 7feb2000, end 7ffff158 ... OK
Loading Device Tree to 000000007fe2f000, end 000000007feb1fff ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.10.74-ge7ee32103b2f-dirty (andy_kuo@bobee) (Android (6875598, based on r399163b) clang version 11.0.5 (https://android.googlesource.com/toolchain/llvm-project 87f1315dfbea7c137aa2e6d362dbb457e388158d), LLD 11.0.5 (/buildbot/tmp/tmpx1DlI_ 87f1315dfbea7c137aa2e6d362dbb457e388158d)) #16 SMP PREEMPT Wed Aug 10 17:26:06 CST 2022
[ 0.000000] Machine model: Khadas VIM3
[ 0.000000] earlycon: meson0 at MMIO 0x00000000ff803000 (options '115200n8')
[ 0.000000] printk: bootconsole [meson0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
[ 0.000000] OF: fdt: Reserved memory: failed to reserve memory for node 'secmon@5000000': base 0x0000000005000000, size 3 MiB
[ 0.000000] Reserved memory: created CMA memory pool at 0x00000000e4c00000, size 256 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-poo
l
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000000f4e5afff]
[ 0.000000] NUMA: NODE_DATA [mem 0xe464a300-0xe464bfff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000000000000-0x00000000f4e5afff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x00000000f4e5afff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000f4e5afff]
[ 0.000000] On node 0, zone DMA32: 421 pages in unavailable ranges
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.0 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] percpu: Embedded 33 pages/cpu s96152 r8192 d30824 u135168
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[ 0.000000]
Built 1 zonelists, mobility grouping on. Total pages: 987425
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line: androidboot.verifiedbootstate=orange androidboot.dtbo_idx=3 androidboot.serialno=7EC4DB2A3131 no_console_suspend console=ttyAML0,115200 earlycon printk.devkmsg=on androidboot.boot_devices=soc/ffe07000.mmc init=/init firmware_class.path=/vendor/firmware androidboot.hardware=yukawa androidboot.selinux=permissive buildvariant=userdebug
[ 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] Memory: 3631756K/4012396K available (18304K kernel code, 3804K rwdata, 9800K rodata, 1280K init, 903K bss, 118496K reserved, 262144K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, 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=8 to nr_cpu_ids=6.
[ 0.000000] Trampoline variant of Tas
ks RCU enabled.
[ 0.000000] Tracing 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=6
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] random: get_random_bytes called from start_kernel+0x1f0/0x3c0 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.008285] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.018388] pid_max: default: 32768 minimum: 301
[ 0.023089] LSM: Security Framework initializing
[ 0.027684] SELinux: Initializing.
[ 0.031228] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.038610] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.048674] rcu: Hierarch
ical SRCU implementation.
[ 0.052404] EFI services will not be available.
[ 0.056293] smp: Bringing up secondary CPUs ...
[ 0.061225] Detected VIPT I-cache on CPU1
[ 0.061280] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.062663] CPU features: detected: ARM erratum 858921
[ 0.062672] CPU features: detected: Spectre-v2
[ 0.062675] CPU features: detected: Spectre-v4
[ 0.062682] Detected VIPT I-cache on CPU2
[ 0.062704] arch_timer: Enabling local workaround for ARM erratum 858921
[ 0.062718] arch_timer: CPU2: Trapping CNTVCT access
[ 0.062730] CPU2: Booted secondary processor 0x0000000100 [0x410fd092]
[ 0.063542] Detected VIPT I-cache on CPU3
[ 0.063558] arch_timer: Enabling local workaround for ARM erratum 858921
[ 0.063564] arch_timer: CPU3: Trapping CNTVCT access
[ 0.063572] CPU3: Booted secondary processor 0x0000000101 [0x410fd092]
[ 0.064376] Detected VIPT I-cache on CPU4
[ 0.064391] arch_timer: Enabling local workaround for ARM erratum 858921
[ 0.064398] arch_timer: CPU4: Trapping CNTVCT access
[ 0.064406] CPU4: Booted secondary processor 0x0000000102 [0x410fd092]
[ 0.065235] Detecte
d VIPT I-cache on CPU5
[ 0.065250] arch_timer: Enabling local workaround for ARM erratum 858921
[ 0.065257] arch_timer: CPU5: Trapping CNTVCT access
[ 0.065266] CPU5: Booted secondary processor 0x0000000103 [0x410fd092]
[ 0.065377] smp: Brought up 1 node, 6 CPUs
[ 0.178443] SMP: Total of 6 processors activated.
[ 0.183154] CPU features: detected: 32-bit EL0 Support
[ 0.188329] CPU features: detected: CRC32 instructions
[ 0.193473] CPU features: detected: 32-bit EL1 Support
[ 0.198720] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 0.207037] CPU: All CPU(s) started at EL2
[ 0.211179] alternatives: patching kernel code
[ 0.218236] devtmpfs: initialized
[ 0.227235] Registered cp15_barrier emulation handler
[ 0.227270] Registered setend emulation handler
[ 0.231215] KASLR disabled due to lack of seed
[ 0.235791] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.245468] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[ 0.257548] pinctrl core: initialized pinctrl subsystem
[ 0.258157] DMI not present or invalid.
[ 0.261853] NET: Registered protocol family 16
[ 0.267942] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[ 0.274019] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.281311] audit: initializing netlink subsys (disabled)
[ 0.286792] audit: type=2000 audit(0.220:1): state=initialized audit_enabled=0 res=1
[ 0.287137] thermal_sys: Registered thermal governor 'step_wise'
[ 0.294464] thermal_sys: Registered thermal governor 'user_space'
[ 0.300897] cpuidle: using governor ladder
[ 0.310747] cpuidle: using governor menu
[ 0.314811] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.321622] ASID allocator initialised with 65536 entries
[ 0.327018] Serial: AMBA PL011 UART driver
[ 0.332103] printk: console [ramoops-1] enabled
[ 0.335723] pstore: Registered ramoops as persistent store backend
[ 0.341801] ramoops: using 0x100000@0xd000000, ecc: 0
... ...
[ 40.245165] logd: logdr: UID=1002 GID=1002 PID=2262 n tail=0 logMask=8 pid=2213 start=0ns deadline=0ns
[ 40.251015] logd: logdr: UID=1002 GID=1002 PID=2262 n tail=0 logMask=1 pid=2213 start=0ns deadline=0ns
[ 40.314607] init: Untracked pid 2262 exited with status 0
[ 40.323194] init: Untracked pid 2264 exited with status 0
[ 40.330536] binder: release 2213:2253 transaction 38416 in, still active
[ 40.331617] binder: release 2213:2253 transaction 38411 out, still active
[ 40.338478] binder: send failed reply for transaction 38416 to 2258:2258
[ 40.345121] binder: 2258:2258 transaction failed 29189/0, size 4-0 line 2654
[ 40.345749] binder: send failed reply for transaction 38484 to 598:653
[ 40.358574] binder: send failed reply for transaction 38411, target dead
[ 40.399993] logd: logdr: UID=1002 GID=1002 PID=2271 n tail=0 logMask=8 pid=2258 start=0ns deadline=0ns
[ 40.405991] logd: logdr: UID=1002 GID=1002 PID=2271 n tail=0 logMask=1 pid=2258 start=0ns deadline=0ns
[ 40.425792] binder: undelivered death notification, b400e081bd6be090
[ 40.426720] init: Service 'vendor.bluetooth-1-1' (pid 2258) received signal 11
[ 40.433849] init: Sending signal 9 to service 'vendor.bluetooth-1-1' (pid 2258) process group...
[ 40.443594] libprocessgroup: Successfully killed process cgroup uid 1002 pid 2258 in 0ms
[ 40.451660] init: process with updatable com
ponents 'vendor.bluetooth-1-1' exited 4 times in 4 minutes
[ 40.460291] init: Untracked pid 2273 exited with status 0
[ 40.465030] init: Untracked pid 2271 exited with status 0
[ 40.470475] init: processing action (sys.init.updatable_crashing=1) from (/system/etc/init/flags_health_check.rc:10)
[ 40.482026] init: starting service 'exec 20 (/system/bin/flags_health_check UPDATABLE_CRASHING)'...
[ 40.491857] init: SVC_EXEC service 'exec 20 (/system/bin/flags_health_check UPDATABLE_CRASHING)' pid 2276 (uid 1000 gid 1000+0 context default) started; waiting...
[ 40.507059] init: Service 'exec 20 (/system/bin/flags_health_check UPDATABLE_CRASHING)' (pid 2276) exited with status 0 waiting took 0.016000 seconds
[ 40.517813] init: Sending signal 9 to service 'exec 20 (/system/bin/flags_health_check UPDATABLE_CRASHING)' (pid 2276) process group...
[ 40.529866] libprocessgroup: Successfully killed process cgroup uid 1000 pid 2276 in 0ms
[ 40.741773] ueventd: LoadWithAliases was unable to load platform:regulatory
[ 44.065476] ueventd: LoadWithAliases was unable to load platform:regulatory
[ 44.758742] init: starting service 'vendor.bluetooth-1-1'...
[ 44.761294] libprocessgroup: Failed to open /dev/stune/foreground/tasks: No such file or directory: No such file or directory
[ 44.769999] libprocessgroup: Failed to apply HighPerformance task profile: No such file or directory
[ 47.393533] ueventd: LoadWithAliases was unable to load platform:regulatory