raspberry-vanilla / android_local_manifest

136 stars 54 forks source link

failed to boot for "kvm: exiting hardware virtualization" #17

Closed leelwh closed 1 year ago

leelwh commented 1 year ago

I sync the android and kernel code, build and use rpi4-mkimg.sh to generate ”RaspberryVanillaAOSP13-20230605-rpi4.img“, but failed to boot for the reason "kvm: exiting hardware virtualization", and I can boot successfully with "AOSP13-20230412-KonstaKANG-rpi4.img" on my rpi4b device

reboot log: [ 4.981167] init: Wait for partitions returned after 916ms [ 4.988036] init: DSU not detected, proceeding with normal boot [ 4.995012] init: [libfs_mgr]superblock s_max_mnt_count:65535,/dev/block/sda2 [ 5.006097] EXT4-fs (sda2): mounted filesystem without journal. Opts: barrier=1. Quota mode: none. [ 5.015352] init: [libfs_mgr]__mount(source=/dev/block/sda2,target=/system,type=ext4)=0: Success [ 5.048633] kvm: exiting hardware virtualization [ 5.068571] sd 0:0:0:0: [sda] Synchronizing SCSI cache [ 5.090449] reboot: Restarting system with command 'bootloader'

full log: [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083] [ 0.000000] Linux version 5.15.104-v8-g5e9686786425 (build-user@build-host) (Android (8508608, based on r450784e) clang version 14.0.7 (https://android.googlesource.com/toolchain/llvm-project 4c603efb0cca074e9238af8b4106c30add4418f6), LLD 14.0.7) #1 SMP PREEMPT Fri Apr 28 09:04:50 UTC 2023 [ 0.000000] random: crng init done [ 0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.2 [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created CMA memory pool at 0x000000000ec00000, size 512 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000000000-0x000000003fffffff] [ 0.000000] DMA32 [mem 0x0000000040000000-0x000000007fffffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x000000003b2fffff] [ 0.000000] node 0: [mem 0x0000000040000000-0x000000007fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff] [ 0.000000] On node 0, zone DMA32: 19712 pages in unavailable ranges [ 0.000000] percpu: Embedded 29 pages/cpu s80216 r8192 d30376 u118784 [ 0.000000] Detected PIPT I-cache on CPU0 [ 0.000000] CPU features: detected: Spectre-v2 [ 0.000000] CPU features: detected: Spectre-v3a [ 0.000000] CPU features: detected: Spectre-v4 [ 0.000000] CPU features: detected: Spectre-BHB [ 0.000000] CPU features: kernel page table isolation forced ON by KASLR [ 0.000000] CPU features: detected: Kernel page table isolation (KPTI) [ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 496692 [ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:640x480M@60 smsc95xx.macaddr=DC:A6:32:C0:05:6C vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=ttyS0,115200 no_console_suspend root=/dev/ram0 rootwait androidboot.hardware=rpi4 androidboot.selinux=permissive androidboot.serialno=1000000042152e73 androidboot.btmacaddr=11:22:42:15:2e:73 [ 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:all(zero), heap alloc:off, heap free:off [ 0.000000] software IO TLB: mapped [mem 0x0000000037300000-0x000000003b300000] (64MB) [ 0.000000] Memory: 1354412K/2018304K available (16768K kernel code, 2142K rwdata, 7204K rodata, 1536K init, 1365K bss, 139604K reserved, 524288K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] ftrace: allocating 49224 entries in 193 pages [ 0.000000] ftrace: allocated 193 pages with 3 groups [ 0.000000] trace event string verifier disabled [ 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] Rude variant of Tasks 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=4 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] Root IRQ handler: gic_handle_irq [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] irq_brcmstb_l2: registered L2 intc (/soc/interrupt-controller@7ef00100, parent irq: 10) [ 0.000000] kfence: initialized - using 2097152 bytes for 255 objects at 0x(ptrval)-0x(ptrval) [ 0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns [ 0.000000] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns [ 0.000321] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000) [ 0.000358] pid_max: default: 32768 minimum: 301 [ 0.000507] LSM: Security Framework initializing [ 0.000564] SELinux: Initializing. [ 0.000834] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.000877] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.002610] cgroup: Disabling memory control group subsystem [ 0.006585] rcu: Hierarchical SRCU implementation. [ 0.008066] EFI services will not be available. [ 0.008795] smp: Bringing up secondary CPUs ... [ 0.010220] Detected PIPT I-cache on CPU1 [ 0.010293] CPU1: Booted secondary processor 0x0000000001 [0x410fd083] [ 0.011952] Detected PIPT I-cache on CPU2 [ 0.012002] CPU2: Booted secondary processor 0x0000000002 [0x410fd083] [ 0.013567] Detected PIPT I-cache on CPU3 [ 0.013615] CPU3: Booted secondary processor 0x0000000003 [0x410fd083] [ 0.013862] smp: Brought up 1 node, 4 CPUs [ 0.013915] SMP: Total of 4 processors activated. [ 0.013932] CPU features: detected: 32-bit EL0 Support [ 0.013948] CPU features: detected: 32-bit EL1 Support [ 0.013966] CPU features: detected: CRC32 instructions [ 0.014364] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching [ 0.072485] CPU: All CPU(s) started at EL2 [ 0.072616] alternatives: patching kernel code [ 0.074559] devtmpfs: initialized [ 0.089393] Enabled cp15_barrier support [ 0.089444] Enabled setend support [ 0.089474] KASLR enabled [ 0.089810] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.089852] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.103432] pinctrl core: initialized pinctrl subsystem [ 0.104593] DMI not present or invalid. [ 0.105296] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.109868] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations [ 0.110201] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.111317] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.111443] audit: initializing netlink subsys (disabled) [ 0.111822] audit: type=2000 audit(0.108:1): state=initialized audit_enabled=0 res=1 [ 0.112530] thermal_sys: Registered thermal governor 'step_wise' [ 0.112828] cpuidle: using governor menu [ 0.113093] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.113341] ASID allocator initialised with 32768 entries [ 0.113524] Serial: AMBA PL011 UART driver [ 0.130221] bcm2835-mbox fe00b880.mailbox: mailbox enabled [ 0.164654] raspberrypi-firmware soc:firmware: Attached to firmware from 2023-01-18T12:28:54, variant start_x [ 0.168671] raspberrypi-firmware soc:firmware: Firmware hash is 658f02cc8edcb68a568273f05d2b6ceede181e15 [ 0.233963] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1 [ 0.239388] vgaarb: loaded [ 0.239936] SCSI subsystem initialized [ 0.240210] usbcore: registered new interface driver usbfs [ 0.240280] usbcore: registered new interface driver hub [ 0.240360] usbcore: registered new device driver usb [ 0.240855] usb_phy_generic phy: supply vcc not found, using dummy regulator [ 0.241214] usb_phy_generic phy: dummy supplies not allowed for exclusive requests [ 0.241973] mc: Linux media interface: v0.10 [ 0.242027] videodev: Linux video capture interface: v2.00 [ 0.242211] pps_core: LinuxPPS API ver. 1 registered [ 0.242230] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 0.242263] PTP clock support registered [ 0.242824] Advanced Linux Sound Architecture Driver Initialized. [ 0.244541] clocksource: Switched to clocksource arch_sys_counter [ 0.357307] VFS: Disk quotas dquot_6.6.0 [ 0.357448] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.357671] FS-Cache: Loaded [ 0.357955] CacheFiles: Loaded [ 0.359226] simple-framebuffer 3e997000.framebuffer: framebuffer at 0x3e997000, 0x12c000 bytes [ 0.359253] simple-framebuffer 3e997000.framebuffer: format=a8r8g8b8, mode=640x480x32, linelength=2560 [ 0.359538] simple-framebuffer 3e997000.framebuffer: fb0: simplefb registered! [ 0.361348] NET: Registered PF_INET protocol family [ 0.361646] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.363842] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 0.363888] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.363918] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.364032] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear) [ 0.364233] TCP: Hash tables configured (established 16384 bind 16384) [ 0.364456] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.364510] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.364810] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.365571] PCI: CLS 0 bytes, default 64 [ 0.366178] Trying to unpack rootfs image as initramfs... [ 0.387072] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available [ 0.387479] kvm [1]: IPA Size Limit: 44 bits [ 0.389580] kvm [1]: vgic interrupt IRQ9 [ 0.389889] kvm [1]: Hyp mode initialized successfully [ 0.398906] Initialise system trusted keyrings [ 0.399378] workingset: timestamp_bits=46 max_order=19 bucket_order=0 [ 0.409484] zbud: loaded [ 0.412143] fuse: init (API version 7.36) [ 0.464343] Freeing initrd memory: 1400K [ 0.476291] Key type asymmetric registered [ 0.476317] Asymmetric key parser 'x509' registered [ 0.476495] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244) [ 0.476936] io scheduler mq-deadline registered [ 0.476961] io scheduler kyber registered [ 0.488091] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges: [ 0.488142] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff] [ 0.488247] brcm-pcie fd500000.pcie: MEM 0x0600000000..0x063fffffff -> 0x00c0000000 [ 0.488351] brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x007fffffff -> 0x0400000000 [ 0.538651] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC) [ 0.539153] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00 [ 0.539179] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.539204] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff]) [ 0.539307] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400 [ 0.539608] pci 0000:00:00.0: PME# supported from D0 D3hot [ 0.543830] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 0.544250] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330 [ 0.544387] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit] [ 0.544941] pci 0000:01:00.0: PME# supported from D0 D3cold [ 0.560169] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01 [ 0.560223] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff] [ 0.560254] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit] [ 0.560303] pci 0000:00:00.0: PCI bridge to [bus 01] [ 0.560332] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff] [ 0.570945] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled [ 0.574299] iproc-rng200 fe104000.rng: hwrng registered [ 0.574931] vc-mem: phys_addr:0x00000000 mem_base=0x3eb00000 mem_size:0x3ff00000(1023 MiB) [ 0.576850] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000 [ 0.589037] fb0: switching to vc4 from simple [ 0.621473] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops) [ 0.640575] brd: module loaded [ 0.653056] loop: module loaded [ 0.654613] Loading iSCSI transport class v2.0-870. [ 0.658591] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. [ 0.658619] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld Jason@zx2c4.com. All Rights Reserved. [ 0.661941] tun: Universal TUN/TAP device driver, 1.6 [ 0.663134] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000 [ 0.728729] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus [ 0.729981] PPP generic driver version 2.4.2 [ 0.730269] PPP BSD Compression module registered [ 0.730293] PPP Deflate Compression module registered [ 0.730327] PPP MPPE Compression module registered [ 0.730347] NET: Registered PF_PPPOX protocol family [ 0.730366] PPTP driver version 0.8.5 [ 0.731391] usbcore: registered new interface driver brcmfmac [ 0.731475] usbcore: registered new interface driver r8152 [ 0.731547] usbcore: registered new interface driver lan78xx [ 0.731615] usbcore: registered new interface driver asix [ 0.731686] usbcore: registered new interface driver ax88179_178a [ 0.731758] usbcore: registered new interface driver cdc_ether [ 0.731830] usbcore: registered new interface driver smsc95xx [ 0.731890] usbcore: registered new interface driver net1080 [ 0.731953] usbcore: registered new interface driver cdc_subset [ 0.732013] usbcore: registered new interface driver zaurus [ 0.732106] usbcore: registered new interface driver cdc_ncm [ 0.732165] usbcore: registered new interface driver r8153_ecm [ 0.732186] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.732205] ehci-pci: EHCI PCI platform driver [ 0.734000] pci 0000:00:00.0: enabling device (0000 -> 0002) [ 0.734051] xhci_hcd 0000:01:00.0: enabling device (0000 -> 0002) [ 0.734164] xhci_hcd 0000:01:00.0: xHCI Host Controller [ 0.734202] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1 [ 0.735008] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0001e40000000890 [ 0.735912] xhci_hcd 0000:01:00.0: xHCI Host Controller [ 0.735941] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2 [ 0.735972] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed [ 0.736452] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15 [ 0.736480] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.736501] usb usb1: Product: xHCI Host Controller [ 0.736563] usb usb1: Manufacturer: Linux 5.15.104-v8-g5e9686786425 xhci-hcd [ 0.736583] usb usb1: SerialNumber: 0000:01:00.0 [ 0.737517] hub 1-0:1.0: USB hub found [ 0.737627] hub 1-0:1.0: 1 port detected [ 0.738844] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15 [ 0.738872] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.738892] usb usb2: Product: xHCI Host Controller [ 0.738911] usb usb2: Manufacturer: Linux 5.15.104-v8-g5e9686786425 xhci-hcd [ 0.738930] usb usb2: SerialNumber: 0000:01:00.0 [ 0.739804] hub 2-0:1.0: USB hub found [ 0.739902] hub 2-0:1.0: 4 ports detected [ 0.742029] dwc_otg: version 3.00a 10-AUG-2012 (platform bus) [ 0.768825] dwc2 fe980000.usb: supply vusb_d not found, using dummy regulator [ 0.769093] dwc2 fe980000.usb: supply vusb_a not found, using dummy regulator [ 0.870712] dwc2 fe980000.usb: EPs: 8, dedicated fifos, 4080 entries in SPRAM [ 0.872006] usbcore: registered new interface driver cdc_acm [ 0.872027] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 0.872441] usbcore: registered new interface driver uas [ 0.872590] usbcore: registered new interface driver usb-storage [ 0.872753] usbcore: registered new interface driver cp210x [ 0.872797] usbserial: USB Serial support registered for cp210x [ 0.872893] usbcore: registered new interface driver pl2303 [ 0.872934] usbserial: USB Serial support registered for pl2303 [ 0.873471] mousedev: PS/2 mouse device common for all mice [ 0.873623] usbcore: registered new interface driver xpad [ 0.873704] usbcore: registered new interface driver usb_acecad [ 0.873780] usbcore: registered new interface driver aiptek [ 0.873854] usbcore: registered new interface driver hanwang [ 0.873940] usbcore: registered new interface driver kbtab [ 0.873961] SPI driver ads7846 has no spi_device_id for ti,tsc2046 [ 0.873978] SPI driver ads7846 has no spi_device_id for ti,ads7843 [ 0.873994] SPI driver ads7846 has no spi_device_id for ti,ads7845 [ 0.874010] SPI driver ads7846 has no spi_device_id for ti,ads7873 [ 0.874209] usbcore: registered new interface driver usbtouchscreen [ 0.874931] i2c_dev: i2c /dev entries driver [ 0.876887] brcmstb-i2c fef04500.i2c: @97500hz registered in polling mode [ 0.877723] brcmstb-i2c fef09500.i2c: @97500hz registered in polling mode [ 0.879290] IR NEC protocol handler initialized [ 0.879312] IR RC5(x/sz) protocol handler initialized [ 0.879332] IR RC6 protocol handler initialized [ 0.879351] IR JVC protocol handler initialized [ 0.879369] IR Sony protocol handler initialized [ 0.879386] IR SANYO protocol handler initialized [ 0.879404] IR Sharp protocol handler initialized [ 0.879421] IR MCE Keyboard/mouse protocol handler initialized [ 0.879440] IR XMP protocol handler initialized [ 0.879457] ir_imon_decoder: IR iMON protocol handler initialized [ 0.879476] IR RCMM protocol handler initialized [ 0.880405] usbcore: registered new interface driver uvcvideo [ 0.884439] device-mapper: uevent: version 1.0.3 [ 0.884888] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com [ 0.889767] sdhci: Secure Digital Host Controller Interface driver [ 0.889793] sdhci: Copyright(c) Pierre Ossman [ 0.890654] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.894879] ledtrig-cpu: registered to indicate activity on CPUs [ 0.895058] hid: raw HID events driver (C) Jiri Kosina [ 0.899137] usbcore: registered new interface driver usbhid [ 0.899147] usbhid: USB HID core driver [ 0.900059] rpivid feb10000.codec: Device registered as /dev/video19 [ 0.900641] ashmem: initialized [ 0.911081] bcm2835_audio bcm2835_audio: card created with 8 channels [ 0.992613] usb 1-1: new high-speed USB device number 2 using xhci_hcd [ 1.143499] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21 [ 1.143529] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 1.143550] usb 1-1: Product: USB2.0 Hub [ 1.145890] hub 1-1:1.0: USB hub found [ 1.146177] hub 1-1:1.0: 4 ports detected [ 1.230661] bcm2835_vc_sm_cma_probe: Videocore shared memory driver

[ 1.231340] [vc_sm_connected_init]: installed successfully [ 1.234276] bcm2835-codec bcm2835-codec: Device registered as /dev/video10 [ 1.234330] bcm2835-codec bcm2835-codec: Loaded V4L2 decode [ 1.236768] bcm2835-codec bcm2835-codec: Device registered as /dev/video11 [ 1.236811] bcm2835-codec bcm2835-codec: Loaded V4L2 encode [ 1.241205] bcm2835-codec bcm2835-codec: Device registered as /dev/video12 [ 1.241239] bcm2835-codec bcm2835-codec: Loaded V4L2 isp [ 1.243000] bcm2835-codec bcm2835-codec: Device registered as /dev/video18 [ 1.243025] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx [ 1.246311] bcm2835-codec bcm2835-codec: Device registered as /dev/video31 [ 1.246336] bcm2835-codec bcm2835-codec: Loaded V4L2 encode_image [ 1.250678] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13 [ 1.250968] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14 [ 1.251217] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15 [ 1.251427] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16 [ 1.251449] bcm2835-isp bcm2835-isp: Register output node 0 with media controller [ 1.251468] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller [ 1.251484] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller [ 1.251501] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller [ 1.253941] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video20 [ 1.254249] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video21 [ 1.254487] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video22 [ 1.254702] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video23 [ 1.254723] bcm2835-isp bcm2835-isp: Register output node 0 with media controller [ 1.254741] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller [ 1.254757] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller [ 1.254782] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller [ 1.254907] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp [ 1.255038] SPI driver st-accel-spi has no spi_device_id for st,lis302dl-spi [ 1.255051] SPI driver st-accel-spi has no spi_device_id for st,lis3lv02dl-accel [ 1.255063] SPI driver st-accel-spi has no spi_device_id for st,lis3dh-accel [ 1.255074] SPI driver st-accel-spi has no spi_device_id for st,lsm330d-accel [ 1.255086] SPI driver st-accel-spi has no spi_device_id for st,lsm330dl-accel [ 1.255097] SPI driver st-accel-spi has no spi_device_id for st,lsm330dlc-accel [ 1.255109] SPI driver st-accel-spi has no spi_device_id for st,lis331dlh-accel [ 1.255120] SPI driver st-accel-spi has no spi_device_id for st,lsm330-accel [ 1.255131] SPI driver st-accel-spi has no spi_device_id for st,lsm303agr-accel [ 1.255142] SPI driver st-accel-spi has no spi_device_id for st,lis2dh12-accel [ 1.255153] SPI driver st-accel-spi has no spi_device_id for st,lng2dm-accel [ 1.255164] SPI driver st-accel-spi has no spi_device_id for st,h3lis331dl-accel [ 1.255175] SPI driver st-accel-spi has no spi_device_id for st,lis331dl-accel [ 1.255386] SPI driver st-magn-spi has no spi_device_id for st,lis3mdl-magn [ 1.255398] SPI driver st-magn-spi has no spi_device_id for st,lsm303agr-magn [ 1.255410] SPI driver st-magn-spi has no spi_device_id for st,lsm9ds1-magn [ 1.255478] SPI driver bmp280 has no spi_device_id for bosch,bmp085 [ 1.255848] usbcore: registered new interface driver snd-usb-audio [ 1.262998] netem: version 1.3 [ 1.263014] u32 classifier [ 1.263022] input device check on [ 1.263029] Actions configured [ 1.264396] xt_time: kernel timezone is -0000 [ 1.264554] gre: GRE over IPv4 demultiplexor driver [ 1.264568] IPv4 over IPsec tunneling driver [ 1.265048] Initializing XFRM netlink socket [ 1.265076] IPsec XFRM device driver [ 1.265453] NET: Registered PF_INET6 protocol family [ 1.266673] Segment Routing with IPv6 [ 1.266700] In-situ OAM (IOAM) with IPv6 [ 1.266788] mip6: Mobile IPv6 [ 1.267252] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 1.268012] NET: Registered PF_PACKET protocol family [ 1.268040] NET: Registered PF_KEY protocol family [ 1.268074] l2tp_core: L2TP core driver, V2.0 [ 1.268091] l2tp_ppp: PPPoL2TP kernel driver, V2.0 [ 1.268101] l2tp_netlink: L2TP netlink interface [ 1.269005] usb 2-1: new SuperSpeed USB device number 2 using xhci_hcd [ 1.269166] registered taskstats version 1 [ 1.269197] Loading compiled-in X.509 certificates [ 1.270098] Key type .fscrypt registered [ 1.270111] Key type fscrypt-provisioning registered [ 1.279720] uart-pl011 fe201000.serial: there is not valid maps for state default [ 1.279932] uart-pl011 fe201000.serial: cts_event_workaround enabled [ 1.280045] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 19, base_baud = 0) is a PL011 rev2 [ 1.288287] bcm2835-aux-uart fe215040.serial: there is not valid maps for state default [ 1.288685] printk: console [ttyS0] disabled [ 1.288755] fe215040.serial: ttyS0 at MMIO 0xfe215040 (irq = 20, base_baud = 62500000) is a 16550 [ 1.292017] usb 2-1: New USB device found, idVendor=05e3, idProduct=0626, bcdDevice= 6.55 [ 1.295186] printk: console [ttyS0] enabled [ 1.321262] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1.349818] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops) [ 1.352300] usb 2-1: Product: USB3.1 Hub [ 3.510875] usb 2-1: Manufacturer: GenesysLogic [ 3.516908] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops) [ 3.522221] hub 2-1:1.0: USB hub found [ 3.527115] hub 2-1:1.0: 4 ports detected [ 3.532117] vc4-drm gpu: bound fef05700.hdmi (ops vc4_hdmi_ops) [ 3.538429] vc4-drm gpu: bound fe004000.txp (ops vc4_txp_ops) [ 3.544471] vc4-drm gpu: bound fe206000.pixelvalve (ops vc4_crtc_ops) [ 3.551205] vc4-drm gpu: bound fe207000.pixelvalve (ops vc4_crtc_ops) [ 3.557926] vc4-drm gpu: bound fe20a000.pixelvalve (ops vc4_crtc_ops) [ 3.564580] vc4-drm gpu: bound fe216000.pixelvalve (ops vc4_crtc_ops) [ 3.571225] vc4-drm gpu: bound fec12000.pixelvalve (ops vc4_crtc_ops) [ 3.579674] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 0 [ 3.596551] usb 1-1.1: new high-speed USB device number 3 using xhci_hcd [ 3.612779] vc4-drm gpu: [drm] fb0: vc4drmfb frame buffer device [ 3.619626] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer [ 3.626372] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver [ 3.634448] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0 [ 3.640550] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated [ 3.679416] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 1 [ 3.691968] of_cfs_init [ 3.694516] of_cfs_init: OK [ 3.697567] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 3.707025] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 3.708480] usb 1-1.1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice= 6.55 [ 3.711870] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA [ 3.729495] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 3.737044] usb 1-1.1: Product: USB2.1 Hub [ 3.741272] usb 1-1.1: Manufacturer: GenesysLogic [ 3.741276] ALSA device list: [ 3.747831] hub 1-1.1:1.0: USB hub found [ 3.749061] #0: bcm2835 Headphones [ 3.749067] #1: vc4-hdmi-0 [ 3.749072] #2: vc4-hdmi-1 [ 3.763084] hub 1-1.1:1.0: 4 ports detected [ 3.767166] Freeing unused kernel memory: 1536K [ 3.788685] Run /init as init process [ 3.798657] init: init first stage started! [ 3.803130] init: Unable to open /lib/modules, skipping module loading. [ 3.810291] init: Copied ramdisk prop to /second_stage_resources/system/etc/ramdisk/build.prop [ 3.823805] init: Using Android DT directory /proc/device-tree/firmware/android/ [ 3.828973] usb 2-1.1: new SuperSpeed USB device number 3 using xhci_hcd [ 3.831425] init: Failed to read vbmeta partitions. [ 3.839485] mmc1: new high speed SDIO card at address 0001 [ 3.855845] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6 [ 3.858291] usb 2-1.1: New USB device found, idVendor=0781, idProduct=5588, bcdDevice= 1.00 [ 3.864833] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin failed with error -2 [ 3.873101] usb 2-1.1: New USB device strings: Mfr=2, Product=3, SerialNumber=1 [ 3.892429] usb 2-1.1: Product: USB Extreme Pro [ 3.897181] usb 2-1.1: Manufacturer: SanDisk [ 3.901604] usb 2-1.1: SerialNumber: 53345678E2FF [ 3.910141] usb-storage 2-1.1:1.0: USB Mass Storage device detected [ 3.917131] scsi host0: usb-storage 2-1.1:1.0 [ 3.960558] usb 1-1.3: new full-speed USB device number 4 using xhci_hcd [ 4.049280] init: bool android::init::BlockDevInitializer::InitDevices(std::set): partition(s) not found in /sys, waiting for their uevent(s): sda1, sda2, sda3 [ 4.078015] usb 1-1.3: New USB device found, idVendor=0eef, idProduct=0005, bcdDevice= 1.11 [ 4.086536] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 4.093980] usb 1-1.3: Product: WS170120 [ 4.097977] usb 1-1.3: Manufacturer: WaveShare [ 4.102502] usb 1-1.3: SerialNumber: 210719 [ 4.121635] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6 [ 4.122080] input: WaveShare WS170120 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/0003:0EEF:0005.0001/input/input0 [ 4.130484] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6 [ 4.155383] hid-multitouch 0003:0EEF:0005.0001: input,hiddev96,hidraw0: USB HID v1.11 Device [WaveShare WS170120] on usb-0000:01:00.0-1.3/input0 [ 4.174144] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jan 4 2021 19:56:29 version 7.45.229 (617f1f5 CY) FWID 01-2dbd9d2e [ 4.248585] usb 1-1.4: new full-speed USB device number 5 using xhci_hcd [ 4.367144] usb 1-1.4: New USB device found, idVendor=046d, idProduct=c52f, bcdDevice=30.00 [ 4.375734] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 4.383196] usb 1-1.4: Product: USB Receiver [ 4.387548] usb 1-1.4: Manufacturer: Logitech [ 4.403992] logitech-djreceiver 0003:046D:C52F.0002: hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:01:00.0-1.4/input0 [ 4.483403] logitech-djreceiver 0003:046D:C52F.0003: hiddev97,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:01:00.0-1.4/input1 [ 4.557811] logitech-djreceiver 0003:046D:C52F.0003: device of type eQUAD step 4 DJ (0x04) connected on slot 1 [ 4.579174] input: Logitech B330/M330/M331 as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.1/0003:046D:C52F.0003/0003:046D:4057.0004/input/input2 [ 4.597553] logitech-hidpp-device 0003:046D:4057.0004: input,hidraw3: USB HID v1.11 Mouse [Logitech B330/M330/M331] on usb-0000:01:00.0-1.4/input1:1 [ 4.933428] scsi 0:0:0:0: Direct-Access SanDisk Extreme Pro 0 PQ: 0 ANSI: 6 [ 4.943645] sd 0:0:0:0: [sda] 250085376 512-byte logical blocks: (128 GB/119 GiB) [ 4.951968] sd 0:0:0:0: [sda] Write Protect is off [ 4.957601] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 4.970132] sda: sda1 sda2 sda3 sda4 [ 4.976691] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 4.981167] init: Wait for partitions returned after 916ms [ 4.988036] init: DSU not detected, proceeding with normal boot [ 4.995012] init: [libfs_mgr]superblock s_max_mnt_count:65535,/dev/block/sda2 [ 5.006097] EXT4-fs (sda2): mounted filesystem without journal. Opts: barrier=1. Quota mode: none. [ 5.015352] init: [libfs_mgr]__mount(source=/dev/block/sda2,target=/system,type=ext4)=0: Success [ 5.048633] kvm: exiting hardware virtualization [ 5.068571] sd 0:0:0:0: [sda] Synchronizing SCSI cache [ 5.090449] reboot: Restarting system with command 'bootloader'

Karthi-Coder-18 commented 1 year ago

Hi leelwh, how did you collected the logs from the raspberry pi which is running on Android.

I have also flashed the android 12 & 13 images, I am able to boot , but I was stuck at " Android is Starting " screen. I am not sure how to collect logs as raspberry pi is running on Android & UI is not working

Could you please elaborate on how you were able to collect the logs

boot_issue_android12.webm

Thank you!!

leelwh commented 1 year ago

Hi leelwh, how did you collected the logs from the raspberry pi which is running on Android.

I have also flashed the android 12 & 13 images, I am able to boot , but I was stuck at " Android is Starting " screen. I am not sure how to collect logs as raspberry pi is running on Android & UI is not working

Could you please elaborate on how you were able to collect the logs

boot_issue_android12.webm Thank you!!

there are many guides on how to use serial console to access raspberry pi, this may help: https://tp4348.medium.com/serial-to-raspberry-pi-da635122b4d0

KonstaT commented 1 year ago

Looks like you're trying to boot from USB device ([ 4.970132] sda: sda1 sda2 sda3 sda4). Please see the relevant wiki section (https://github.com/raspberry-vanilla/android_local_manifest/wiki/USB-boot).

@Karthi-Coder-18 Is that Android Automotive? Raspberry Vanilla doesn't support automotive build variant so you would need ask elsewhere (I'm aware there's at least couple of Android Automotive variants forked from Raspberry Vanilla).

KonstaT commented 1 year ago

Closing as I assume this was resolved.