map220v / ubuntu-xiaomi-nabu

16 stars 18 forks source link

How to use this on a fresh device? #2

Open lehmanju opened 8 months ago

lehmanju commented 8 months ago

I would like to help with getting proper mainline Linux support for this device but I am a bit lost to get started.

From the Readme, I understand the following:

For grub-install I could boot a recovery, connect the flash drive by usb-c hub and chroot into rootfs.

But how do I boot the system then?

EralpCelebi commented 8 months ago

After doing grub-install, you change the values of /dev/block/sdaXY to /dev/sdaXY from the generated grub.cfg (using grub-mkconfig). It should be enough to just flash the UEFI image without Secure Boot support from the Windows guide. Just keep in mind you have to mount your "esp" in /boot/efi and {proc, sys, dev} in their respective folders inside your rootfs. You also might have to set your PATH variable accordingly.

lehmanju commented 8 months ago

What Windows Install Guide? Does the native Android bootloader support efi? I thought I had to flash/boot a custom boot.img to load Linux.

map220v commented 8 months ago

What Windows Install Guide? Does the native Android bootloader support efi? I thought I had to flash/boot a custom boot.img to load Linux.

Here is uefi without secure boot https://github.com/erdilS/Port-Windows-11-Xiaomi-Pad-5/releases/download/UEFI/uefi-NoSecureboot-v3.img xbl that we have on sm8150 platform is edk2 based uefi bootloader, it then starts LinuxLoader.efi app from abl, and this app can only boot android's boot.img, so we need to chainload our own uefi to boot any other efi apps like grub or bootmgfw

For booting linux you can also use boot.img with mainline kernel instead of grub, read here for more details https://xdaforums.com/t/rom-ubuntu-on-xiaomi-pad-5-nabu.4597149/

lehmanju commented 8 months ago

Thank you for taking the time to answer.

I have done the following now:

Unfortunately it doesn't boot. The flash drive is connected by usb-c hub to the tablet but shows no activity. I thought that the windows bootloader supports USB.

For further development I thought about getting a cheap usb-c docking station with USB hub, ethernet and power delivery.

map220v commented 8 months ago

In this UEFI(xiaomi-nabu_NoSB_USB0Host.zip), USB should work, but only with powered USB hub.

lehmanju commented 8 months ago

IMG_2024-03-30-14-03-55-815.jpg

IMG_2024-03-30-14-02-51-366.jpg

Refind boots, then successfully loads Linux before it panics.

map220v commented 8 months ago

You need to use dtb from mainline kernel, ACPI won't work, because qcom drivers in linux have really bad ACPI support.

lehmanju commented 8 months ago

Thanks, that did indeed work. I copied the kernel and dtb to esp and created an entry. The kernel booted with ACPI disabled. The kernel log appeared for half a second and then the screen went black, no response.

map220v commented 8 months ago

Use 6.7 kernel from here https://github.com/map220v/ubuntu-xiaomi-nabu/actions/runs/8209541902 it uses kernel from Jan 16 2024 that doesn't have test fix for dsi suspend/resume, but dsi will work in it.

lehmanju commented 8 months ago

Now I am hooked! I want to get the console/crash logs for the 6.8 kernel. In sm8150.config pstore is enabled, tried getting kernel logs through that with no success. My guess is that PSTORE_BLK is missing.

My cmdline: root=PARTLABEL=linux dtb=dtb-.0-sm8150 rw pstore_blk.blkdev=PARTUUID=cb7fa315-59c3-4195-b47b-6a0138ab9b27 pstore_blk.kmsg_size=128 pstore_blk.pmsg_size=128 pstore_blk.console_size=128 pstore_blk.ftrace_size=128 printk.always_kmsg_dump=1

map220v commented 8 months ago

Yes, PSTORE_BLK isn't enabled. In this kernel pstore only setted up to save kernel logs in special DDR region at address 0xb0001000-0xb0201000 In android recovery you can check /sys/fs/pstore/console-ramoops* but only if pstore header didn't got corrupted.

lehmanju commented 8 months ago

Thanks for the hint. I managed to get a log from pmsg-ramoops-0. console-ramoops was only garbage. I also compiled the kernel with PSTORE_BLK but that didn't work. As it turns out, the kernel still doesn't find my USB thumb drive.

``` [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x51df805e] [ 0.000000] Linux version 6.8.0-sm8150-g8f4e58135eef (***@***) (aarch64-linux-gnu-gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.42) #1 SMP PREEMPT Sun Mar 31 12:57:36 CEST 2024 [ 0.000000] KASLR enabled [ 0.000000] Machine model: Xiaomi Pad 5 [ 0.000000] efi: EFI v2.7 by DuoWoA authors [ 0.000000] efi: ACPI 2.0=0xb753d018 SMBIOS=0xc1527000 SMBIOS 3.0=0xc1525000 MEMATTR=0xb01da018 RNG=0xb7015c98 MEMRESERVE=0xaeee8f18 [ 0.000000] random: crng init done [ 0.000000] OF: fdt: Reserved memory: failed to reserve memory for node 'ramoops@b0000000': base 0x00000000b0000000, size 4 MiB [ 0.000000] OF: reserved mem: 0x0000000085700000..0x0000000085cfffff (6144 KiB) nomap non-reusable memory@85700000 [ 0.000000] OF: reserved mem: 0x0000000085d00000..0x0000000085e3ffff (1280 KiB) nomap non-reusable memory@85d00000 [ 0.000000] OF: reserved mem: 0x0000000085f00000..0x0000000085f1ffff (128 KiB) nomap non-reusable memory@85f00000 [ 0.000000] OF: reserved mem: 0x0000000085f20000..0x0000000085f3ffff (128 KiB) nomap non-reusable memory@85f20000 [ 0.000000] OF: reserved mem: 0x0000000086000000..0x00000000861fffff (2048 KiB) nomap non-reusable memory@86000000 [ 0.000000] OF: reserved mem: 0x0000000086200000..0x000000008b6fffff (87040 KiB) nomap non-reusable memory@86200000 [ 0.000000] OF: reserved mem: 0x000000008b700000..0x000000008bbfffff (5120 KiB) nomap non-reusable memory@8b700000 [ 0.000000] OF: reserved mem: 0x000000008bc00000..0x000000008bd7ffff (1536 KiB) nomap non-reusable memory@8bc00000 [ 0.000000] OF: reserved mem: 0x000000008bd80000..0x000000008bdfffff (512 KiB) nomap non-reusable memory@8bd80000 [ 0.000000] OF: reserved mem: 0x000000008be00000..0x000000008dffffff (34816 KiB) nomap non-reusable memory@8be00000 [ 0.000000] OF: reserved mem: 0x000000008e000000..0x00000000975fffff (153600 KiB) nomap non-reusable memory@8e000000 [ 0.000000] OF: reserved mem: 0x0000000097600000..0x0000000097afffff (5120 KiB) nomap non-reusable memory@97600000 [ 0.000000] OF: reserved mem: 0x0000000097b00000..0x0000000098efffff (20480 KiB) nomap non-reusable memory@97b00000 [ 0.000000] OF: reserved mem: 0x0000000098f00000..0x0000000098f0ffff (64 KiB) nomap non-reusable memory@98f00000 [ 0.000000] OF: reserved mem: 0x0000000098f10000..0x0000000098f14fff (20 KiB) nomap non-reusable memory@98f10000 [ 0.000000] OF: reserved mem: 0x0000000098f15000..0x0000000098f16fff (8 KiB) nomap non-reusable memory@98f15000 [ 0.000000] OF: reserved mem: 0x0000000099000000..0x00000000990fffff (1024 KiB) nomap non-reusable memory@99000000 [ 0.000000] OF: reserved mem: 0x0000000099100000..0x000000009a4fffff (20480 KiB) nomap non-reusable memory@99100000 [ 0.000000] OF: reserved mem: 0x000000009c000000..0x000000009e3fffff (36864 KiB) nomap non-reusable cont_splash_mem@9c000000 [ 0.000000] OF: reserved mem: 0x000000009e400000..0x000000009f7fffff (20480 KiB) nomap non-reusable memory@9e400000 [ 0.000000] OF: reserved mem: 0x00000000a4c00000..0x00000000a87fffff (61440 KiB) nomap non-reusable memory@a4c00000 [ 0.000000] OF: reserved mem: 0x00000000b0000000..0x00000000b03fffff (4096 KiB) nomap non-reusable ramoops@b0000000 [ 0.000000] OF: reserved mem: 0x00000000fe101000..0x00000000fe400fff (3072 KiB) nomap non-reusable memory@fe101000 [ 0.000000] NUMA: No NUMA configuration found [ 0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x00000001ffffffff] [ 0.000000] NUMA: NODE_DATA [mem 0x1ff46d340-0x1ff46ffff] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal [mem 0x0000000100000000-0x00000001ffffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memor� node ranges [ 0n000000] node 0: [mem 0x0000000080000000-0x00000000829fffff] [ 0.000000] node 0: [mem 0x0000000083722000-0x00000000856fffff] [ 0.000000] node 0: [mem 0x0000000085700000-0x0000000085e3ffff] [ 0.000000] node 0: [mem 0x0000000085e40000-0x0000000085efffff] [ 0.000000] node 0: [mem 0x0000000085f00000-0x0000000085f4ffff] [ 0.000000] node 0: [mem 0x0000000085f50000-0x0000000085ffffff] [ 0.000000] node 0: [mem 0x0000000086000000-0x00000000861fffff] [ 0.000000] node 0: [mem 0x000000008b700000-0x000000009aafffff] [ 0.000000] node 0: [mem 0x000000009ab00000-0x000000009bffffff] [ 0.000000] node 0: [mem 0x000000009c000000-0x000000009f7fffff] [ 0.000000] node 0: [mem 0x000000009f800000-0x000000009ff8ffff] [ 0.000000] node 0: [mem 0x000000009ff90000-0x000000009ff91fff] [ 0.000000] node 0: [mem 0x000000009ff92000-0x000000009ffcffff] [ 0.000000] node 0: [mem 0x000000009ffd0000-0x000000009fffffff] [ 0.000000] node 0: [mem 0x00000000a0000000-0x00000000a4bfffff] [ 0.000000] node 0: [mem 0x00000000a4c00000-0x00000000a87fffff] [ 0.000000] node 0: [mem 0x00000000a8800000-0x00000000b036cfff] [ 0.000000] node 0: [mem 0x00000000b036d000-0x00000000b03e0fff] [ 0.000000] node 0: [mem 0x00000000b03e1000-0x00000000b07fdfff] [ 0.000000] node 0: [mem 0x00000000b07fe000-0x00000000b083dfff] [ 0.000000] node 0: [mem 0x00000000b083e000-0x00000000b7008fff] [ 0.000000] node 0: [mem 0x00000000b7009000-0x00000000b7009fff] [ 0.000000] node 0: [mem 0x00000000b700a000-0x00000000b7338fff] [ 0.000000] node 0: [mem 0x00000000b7339000-0x00000000b7468fff] [ 0.000000] node 0: [mem 0x00000000b7469000-0x00000000b98fffff] [ 0.000000] node 0: [mem 0x00000000c0000000-0x00000000c02fffff] [ 0.000000] node 0: [mem 0x00000000c0300000-0x00000000c12dbfff] [ 0.000000] node 0: [mem 0x00000000c12dc000-0x00000000c16c3fff] [ 0.000000] node 0: [mem 0x00000000c16c4000-0x00000000fe100fff] [ 0.000000] node 0: [mem 0x00000000fe101000-0x00000000fe400fff] [ 0.000000] node 0: [mem 0x00000000fe401000-0x00000001ffffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000001ffffffff] [ 0.000000] On node 0, zone DMA: 3362 pages in unavailable ranges [ 0.000000] On node 0, zone DMA: 21760 pages in unavailable ranges [ 0.000000] On node 0, zone DMA: 26368 pages in unavailable ranges [ 0.000000] cma: Reserved 32 MiB at 0x00000000fc000000 on node -1 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.1 [ 0.000000] psci: OSI mode supported. [ 0.000000] psci: [Firmware Bug]: failed to set PC mode: -3 [ 0.000000] percpu: Embedded 22 pages/cpu s50408 r8192 d31512 u90112 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 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] alternatives: applying boot alternatives [ 0.000000] Kernel command line: root=PARTLABEL=linux dtb=dtb-6.8.0-sm8150 rw pstore_blk.blkdev=PARTUUID=cb7fa315-59c3-4195-b47b-6a0138ab9b27 printk.always_kmsg_dump=1 [ 0.000000] Unknown kernel command line parameters "dtb=dtb-6.8.0-sm8150", will be passed to user space. [ 0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear) [ 0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.000000] Fallback order for Node 0: 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1497602 [ 0.000000] Policy zone: Normal [ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off [ 0.000000] software IO TLB: area num 8. [ 0.000000] software IO TLB: mapped [mem 0x00000000f8000000-0x00000000fc000000] (64MB) [ 0.000000] Memory: 5440784K/6085496K available (15872K kernel code, 2666K rwdata, 7048K rodata, 4928K init, 505K bss, 611944K reserved, 32768K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies. [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: 928 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] Root IRQ handler: gic_handle_irq [ 0.000000] GICv3: GICv3 features: 16 PPIs [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000017a60000 [ 0.000000] ITS: No ITS available, not enabling LPIs [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] arch_timer: cp15 and mmio timer(s) running at 19.20MHz (virt/virt). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns [ 0.000000] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns [ 0.000224] Console: colour dummy device 80x25 [ 0.000232] printk: legacy console [tty0] enabled [ 0.000873] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=19200) [ 0.000891] pid_max: default: 32768 minimum: 301 [ 0.000954] LSM: initializing lsm=capability,integrity [ 0.001067] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.001091] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.002473] RCU Tasks: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1. [ 0.002526] RCU Tasks Trace: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1. [ 0.002703] rcu: Hierarchical SRCU implementation. [ 0.002713] rcu: Max phase no-delay instances is 400. [ 0.003381] Remapping and enabling EFI services. [ 0.003708] smp: Bringing up secondary CPUs ... [ 0.004774] Detected VIPT I-cache on CPU1 [ 0.004831] GICv3: CPU1: found redistributor 100 region 0:0x0000000017a80000 [ 0.004872] CPU1: Booted secondary processor 0x0000000100 [0x51df805e] [ 0.005888] Detected VIPT I-cache on CPU2 [ 0.005932] GICv3: CPU2: found redistributor 200 region 0:0x0000000017aa0000 [ 0.005967] CPU2: Booted secondary processor 0x0000000200 [0x51df805e] [ 0.007045] Detected VIPT I-cache on CPU3 [ 0.007087] GICv3: CPU3: found redistributor 300 region 0:0x0000000017ac0000 [ 0.007120] CPU3: Booted secondary processor 0x0000000300 [0x51df805e] [ 0.008794] CPU features: detected: Spectre-v2 [ 0.008801] CPU features: detected: Spectre-v4 [ 0.008806] CPU features: detected: ARM erratum 1418040 [ 0.008809] CPU features: detected: Qualcomm erratum 1009, or ARM erratum 1286807, 2441009 [ 0.008810] Detected PIPT I-cache on CPU4 [ 0.008834] GICv3: CPU4: found redistributor 400 region 0:0x0000000017ae0000 [ 0.008846] arch_timer: Enabling local workaround for ARM erratum 1418040 [ 0.008860] CPU4: Booted secondary processor 0x0000000400 [0x51df804e] [ 0.010091] Detected PIPT I-cache on CPU5 [ 0.010117] GICv3: CPU5: found redistributor 500 region 0:0x0000000017b00000 [ 0.010130] arch_timer: Enabling local workaround for ARM erratum 1418040 [ 0.010143] CPU5: Booted secondary processor 0x0000000500 [0x51df804e] [ 0.011466] Detected PIPT I-cache on CPU6 [ 0.011494] GICv3: CPU6: found redistributor 600 region 0:0x0000000017b20000 [ 0.011506] arch_timer: Enabling local workaround for ARM erratum 1418040 [ 0.011520] CPU6: Booted secondary processor 0x0000000600 [0x51df804e] [ 0.013399] Detected PIPT I-cache on CPU7 [ 0.013425] GICv3: CPU7: found redistributor 700 region 0:0x0000000017b40000 [ 0.013437] arch_timer: Enabling local workaround for ARM erratum 1418040 [ 0.013449] CPU7: Booted secondary processor 0x0000000700 [0x51df804e] [ 0.013483] smp: Brought up 1 node, 8 CPUs [ 0.013619] SMP: Total of 8 processors activated. [ 0.013626] CPU: All CPU(s) started at EL1 [ 0.013642] CPU features: detected: 32-bit EL0 Support [ 0.013649] CPU features: detected: Data cache clean to the PoU not required for I/D coherence [ 0.013659] CPU features: detected: Common not Private translations [ 0.013666] CPU features: detected: CRC32 instructions [ 0.013673] CPU features: detected: RCpc load-acquire (LDAPR) [ 0.013681] CPU features: detected: LSE atomic instructions [ 0.013688] CPU features: detected: Privileged Access Never [ 0.013694] CPU features: detected: RAS Extension Support [ 0.013745] alternatives: applying system-wide alternatives [ 0.017452] CPU features: detected: Hardware dirty bit management on CPU4-7 [ 0.019498] devtmpfs: initialized [ 0.022540] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.022551] futex hash table entries: 2048 (order: 5, 131072 bytes, linear) [ 0.022794] pinctrl core: initialized pinctrl subsystem [ 0.022961] SMBIOS 3.3.0 present. [ 0.022967] DMI: Xiaomi Pad 5/K82, BIOS 001.2023.11.26 11/08/2023 [ 0.023209] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.023533] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations [ 0.023663] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.023759] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.023774] audit: initializing netlink subsys (disabled) [ 0.023834] audit: type=2000 audit(0.020:1): state=initialized audit_enabled=0 res=1 [ 0.023946] thermal_sys: Registered thermal governor 'step_wise' [ 0.023948] thermal_sys: Registered thermal governor 'power_allocator' [ 0.023964] cpuidle: using governor menu [ 0.024020] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.024098] ASID allocator initialised with 32768 entries [ 0.024272] Serial: AMBA PL011 UART driver [ 0.027141] ramoops: error in header, 4 [ 0.027161] ramoops: error in header, 5 [ 0.027194] ramoops: error in header, 8 [ 0.027216] ramoops: uncorrectable error in header [ 0.027238] ramoops: uncorrectable error in header [ 0.027261] ramoops: uncorrectable error in header [ 0.028546] ramoops: error in header, 4 [ 0.028565] ramoops: uncorrectable error in header [ 0.028589] ramoops: uncorrectable error in header [ 0.028611] ramoops: uncorrectable error in header [ 0.028634] ramoops: uncorrectable error in header [ 0.028655] ramoops: uncorrectable error in header [ 0.028682] ramoops: uncorrectable error in header [ 0.028700] ramoops: uncorrectable error in header [ 0.030631] ramoops: error in header, 5 [ 0.030727] pstore: Using crash dump compression: deflate [ 0.030731] printk: legacy console [ramoops-1] enabled [ 0.044586] pstore: Registered ramoops as persistent store backend [ 0.044673] ramoops: using 0x400000@0xb0000000, ecc: 16 [ 0.048453] platform 1d84000.ufshc: Fixed dependency cycle(s) with /soc@0/phy@1d87000 [ 0.048590] platform 1d84000.ufshc: Fixed dependency cycle(s) with /soc@0/phy@1d87000 [ 0.048688] platform 1d87000.phy: Fixed dependency cycle(s) with /soc@0/ufshc@1d84000 [ 0.049321] amba 6002000.stm: Fixed dependency cycle(s) with /soc@0/funnel@6041000 [ 0.049441] amba 6002000.stm: Fixed dependency cycle(s) with /soc@0/funnel@6041000 [ 0.049540] amba 6041000.funnel: Fixed dependency cycle(s) with /soc@0/stm@6002000 [ 0.049607] amba 6041000.funnel: Fixed dependency cycle(s) with /soc@0/funnel@6045000 [ 0.049714] amba 6042000.funnel: Fixed dependency cycle(s) with /soc@0/replicator@6b0a000 [ 0.049810] amba 6042000.funnel: Fixed dependency cycle(s) with /soc@0/funnel@6045000 [ 0.049916] amba 6043000.funnel: Fixed dependency cycle(s) with /soc@0/funnel@7810000 [ 0.049971] amba 6043000.funnel: Fixed dependency cycle(s) with /soc@0/funnel@6045000 [ 0.050078] amba 6043000.funnel: Fixed dependency cycle(s) with /soc@0/funnel@6045000 [ 0.050183] amba 6042000.funnel: Fixed dependency cycle(s) with /soc@0/funnel@6045000 [ 0.050249] amba 6041000.funnel: Fixed dependency cycle(s) with /soc@0/funnel@6045000 [ 0.050347] amba 6045000.funnel: Fixed dependency cycle(s) with /soc@0/funnel@6043000 [ 0.050444] amba 6045000.funnel: Fixed dependency cycle(s) with /soc@0/funnel@6042000 [ 0.050500] amba 6045000.funnel: Fixed dependency cycle(s) with /soc@0/funnel@6041000 [ 0.050596] amba 6045000.funnel: Fixed dependency cycle(s) with /soc@0/etf@6047000 [ 0.050705] amba 6046000.replicator: Fixed dependency cycle(s) with /soc@0/etf@6047000 [ 0.050760] amba 6046000.replicator: Fixed dependency cycle(s) with /soc@0/replicator@604a000 [ 0.050847] amba 6046000.replicator: Fixed dependency cycle(s) with /soc@0/etr@6048000 [ 0.050952] amba 6046000.replicator: Fixed dependency cycle(s) with /soc@0/etf@6047000 [ 0.051052] amba 6045000.funnel: Fixed dependency cycle(s) with /soc@0/etf@6047000 [ 0.051115] amba 6047000.etf: Fixed dependency cycle(s) with /soc@0/funnel@6045000 [ 0.051218] amba 6047000.etf: Fixed dependency cycle(s) with /soc@0/replicator@6046000 [ 0.051326] amba 6046000.replicator: Fixed dependency cycle(s) with /soc@0/etr@6048000 [ 0.051397] amba 6048000.etr: Fixed dependency cycle(s) with /soc@0/replicator@6046000 [ 0.051514] amba 6046000.replicator: Fixed dependency cycle(s) with /soc@0/replicator@604a000 [ 0.051617] amba 604a000.replicator: Fixed dependency cycle(s) with /soc@0/replicator@6046000 [ 0.051720] amba 604a000.replicator: Fixed dependency cycle(s) with /soc@0/funnel@6b08000 [ 0.051790] amba 604a000.replicator: Fixed dependency cycle(s) with /soc@0/funnel@6b08000 [ 0.051890] amba 6b08000.funnel: Fixed dependency cycle(s) with /soc@0/replicator@604a000 [ 0.052018] amba 6b08000.funnel: Fixed dependency cycle(s) with /soc@0/etf@6b09000 [ 0.052087] amba 6b08000.funnel: Fixed dependency cycle(s) with /soc@0/etf@6b09000 [ 0.052189] amba 6b09000.etf: Fixed dependency cycle(s) with /soc@0/funnel@6b08000 [ 0.052293] amba 6b09000.etf: Fixed dependency cycle(s) with /soc@0/replicator@6b0a000 [ 0.052362] amba 6b09000.etf: Fixed dependency cycle(s) with /soc@0/replicator@6b0a000 [ 0.052425] amba 6042000.funnel: Fixed dependency cycle(s) with /soc@0/replicator@6b0a000 [ 0.052526] amba 6b0a000.replicator: Fixed dependency cycle(s) with /soc@0/etf@6b09000 [ 0.052628] amba 6b0a000.replicator: Fixed dependency cycle(s) with /soc@0/funnel@6042000 [ 0.052706] amba 7040000.etm: Fixed dependency cycle(s) with /soc@0/funnel@7800000 [ 0.052817] amba 7140000.etm: Fixed dependency cycle(s) with /soc@0/funnel@7800000 [ 0.052927] amba 7240000.etm: Fixed dependency cycle(s) with /soc@0/funnel@7800000 [ 0.052997] amba 7340000.etm: Fixed dependency cycle(s) with /soc@0/funnel@7800000 [ 0.053104] amba 7440000.etm: Fixed dependency cycle(s) with /soc@0/funnel@7800000 [ 0.053214] amba 7540000.etm: Fixed dependency cycle(s) with /soc@0/funnel@7800000 [ 0.053286] amba 7640000.etm: Fixed dependency cycle(s) with /soc@0/funnel@7800000 [ 0.053396] amba 7740000.etm: Fixed dependency cycle(s) with /soc@0/funnel@7800000 [ 0.053506] amba 7740000.etm: Fixed dependency cycle(s) with /soc@0/funnel@7800000 [ 0.053573] amba 7640000.etm: Fixed dependency cycle(s) with /soc@0/funnel@7800000 [ 0.053678] amba 7540000.etm: Fixed dependency cycle(s) with /soc@0/funnel@7800000 [ 0.053782] amba 7440000.etm: Fixed dependency cycle(s) with /soc@0/funnel@7800000 [ 0.053847] amba 7340000.etm: Fixed dependency cycle(s) with /soc@0/funnel@7800000 [ 0.053950] amba 7240000.etm: Fixed dependency cycle(s) with /soc@0/funnel@7800000 [ 0.054054] amba 7140000.etm: Fixed dependency cycle(s) with /soc@0/funnel@7800000 [ 0.054120] amba 7040000.etm: Fixed dependency cycle(s) with /soc@0/funnel@7800000 [ 0.054214] amba 7800000.funnel: Fixed dependency cycle(s) with /soc@0/etm@7740000 [ 0.054312] amba 7800000.funnel: Fixed dependency cycle(s) with /soc@0/etm@7640000 [ 0.054370] amba 7800000.funnel: Fixed dependency cycle(s) with /soc@0/etm@7540000 [ 0.054463] amba 7800000.funnel: Fixed dependency cycle(s) with /soc@0/etm@7440000 [ 0.054558] amba 7800000.funnel: Fixed dependency cycle(s) with /soc@0/etm@7340000 [ 0.054613] amba 7800000.funnel: Fixed dependency cycle(s) with /soc@0/etm@7240000 [ 0.054706] amba 7800000.funnel: Fixed dependency cycle(s) with /soc@0/etm@7140000 [ 0.054801] amba 7800000.funnel: Fixed dependency cycle(s) with /soc@0/etm@7040000 [ 0.054863] amba 7800000.funnel: Fixed dependency cycle(s) with /soc@0/funnel@7810000 [ 0.054973] amba 7800000.funnel: Fixed dependency cycle(s) with /soc@0/funnel@7810000 [ 0.055074] amba 6043000.funnel: Fixed dependency cycle(s) with /soc@0/funnel@7810000 [ 0.055172] amba 7810000.funnel: Fixed dependency cycle(s) with /soc@0/funnel@7800000 [ 0.055235] amba 7810000.funnel: Fixed dependency cycle(s) with /soc@0/funnel@6043000 [ 0.055757] platform ae00000.display-subsystem: Fixed dependency cycle(s) with /soc@0/clock-controller@af00000 [ 0.055921] platform ae00000.display-subsystem: Fixed dependency cycle(s) with /soc@0/clock-controller@af00000 [ 0.056013] platform af00000.clock-controller: Fixed dependency cycle(s) with /soc@0/display-subsystem@ae00000/phy@ae96400 [ 0.056104] platform af00000.clock-controller: Fixed dependency cycle(s) with /soc@0/display-subsystem@ae00000/phy@ae94400 [ 0.057667] Modules: 2G module region forced by RANDOMIZE_MODULE_REGION_FULL [ 0.057720] Modules: 0 pages in range for non-PLT usage [ 0.057721] Modules: 516496 pages in range for PLT usage [ 0.058095] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 0.058229] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 0.058276] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 0.058364] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 0.058451] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 0.058498] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 0.058584] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 0.058631] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 0.075610] raid6: neonx8 gen() 12814 MB/s [ 0.092654] raid6: neonx4 gen() 12644 MB/s [ 0.109699] raid6: neonx2 gen() 10562 MB/s [ 0.126742] raid6: neonx1 gen() 8264 MB/s [ 0.143789] raid6: int64x8 gen() 5682 MB/s [ 0.160833] raid6: int64x4 gen() 5765 MB/s [ 0.177877] raid6: int64x2 gen() 4937 MB/s [ 0.194921] raid6: int64x1 gen() 3988 MB/s [ 0.194968] raid6: using algorithm neonx8 gen() 12814 MB/s [ 0.211962] raid6: .... xor() 9722 MB/s, rmw enabled [ 0.212047] raid6: using neon recovery algorithm [ 0.212139] ACPI: Interpreter disabled. [ 0.212783] iommu: Default domain type: Translated [ 0.212827] iommu: DMA domain TLB invalidation policy: strict mode [ 0.213205] SCSI subsystem initialized [ 0.213296] usbcore: registered new interface driver usbfs [ 0.213349] usbcore: registered new interface driver hub [ 0.213442] usbcore: registered new device driver usb [ 0.213521] pps_core: LinuxPPS API ver. 1 registered [ 0.213605] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 0.213658] PTP clock support registered [ 0.213712] EDAC MC: Ver: 3.0.0 [ 0.213932] CPUidle PSCI: Initialized CPU PM domain topology using OSI mode [ 0.214104] scmi_core: SCMI protocol bus registered [ 0.214223] efivars: Registered efivars operations [ 0.214352] qcom_scm: convention: smc arm 64 [ 0.214507] qcom_scm firmware:scm: qseecom: found qseecom with version 0x1400000 [ 0.214597] qcom_scm firmware:scm: qseecom: untested machine, skipping [ 0.214834] Advanced Linux Sound Architecture Driver Initialized. [ 0.215199] vgaarb: loaded [ 0.215355] clocksource: Switched to clocksource arch_sys_counter [ 0.215507] VFS: Disk quotas dquot_6.6.0 [ 0.215567] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.215656] pnp: PnP ACPI: disabled [ 0.217963] NET: Registered PF_INET protocol family [ 0.218102] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.219651] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear) [ 0.219784] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.219834] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.220172] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear) [ 0.221344] TCP: Hash tables configured (established 65536 bind 65536) [ 0.221435] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear) [ 0.221623] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear) [ 0.221803] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.222060] RPC: Registered named UNIX socket transport module. [ 0.222146] RPC: Registered udp transport module. [ 0.222188] RPC: Registered tcp transport module. [ 0.222228] RPC: Registered tcp-with-tls transport module. [ 0.222304] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.222355] PCI: CLS 0 bytes, default 64 [ 0.222696] kvm [1]: HYP mode not available [ 0.223068] Initialise system trusted keyrings [ 0.223191] workingset: timestamp_bits=42 max_order=21 bucket_order=0 [ 0.223332] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.223496] NFS: Registering the id_resolver key type [ 0.223551] Key type id_resolver registered [ 0.223598] Key type id_legacy registered [ 0.223685] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.223735] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.224058] Key type cifs.idmap registered [ 0.238155] NET: Registered PF_ALG protocol family [ 0.238244] xor: measuring software checksum speed [ 0.238901] 8regs : 16240 MB/sec [ 0.239607] 32regs : 15911 MB/sec [ 0.240132] arm64_neon : 20620 MB/sec [ 0.240178] xor: using function: arm64_neon (20620 MB/sec) [ 0.240264] Key type asymmetric registered [ 0.240311] Asymmetric key parser 'x509' registered [ 0.240399] Asymmetric key parser 'pkcs8' registered [ 0.240459] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244) [ 0.240619] io scheduler mq-deadline registered [ 0.240675] io scheduler kyber registered [ 0.240728] io scheduler bfq registered [ 0.242527] simple-framebuffer 9c000000.framebuffer: framebuffer at 0x9c000000, 0x2400000 bytes [ 0.242619] simple-framebuffer 9c000000.framebuffer: format=a8r8g8b8, mode=1600x2560x32, linelength=6400 [ 0.245232] Console: switching to colour frame buffer device 200x160 [ 0.247759] simple-framebuffer 9c000000.framebuffer: fb0: simplefb registered! [ 0.247970] EINJ: ACPI disabled. [ 0.251770] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 0.252207] msm_serial: driver initialized [ 0.252309] STM32 USART driver initialized [ 0.252963] arm-smmu 15000000.iommu: probing hardware configuration... [ 0.253047] arm-smmu 15000000.iommu: SMMUv2 with: [ 0.253102] arm-smmu 15000000.iommu: stage 1 translation [ 0.253185] arm-smmu 15000000.iommu: non-coherent table walk [ 0.253234] arm-smmu 15000000.iommu: (IDR0.CTTW overridden by FW configuration) [ 0.253318] arm-smmu 15000000.iommu: stream matching with 94 register groups [ 0.253389] arm-smmu 15000000.iommu: 56 context banks (0 stage-2 only) [ 0.253982] arm-smmu 15000000.iommu: Supported page sizes: 0x61311000 [ 0.254065] arm-smmu 15000000.iommu: Stage-1: 48-bit VA -> 48-bit IPA [ 0.254159] arm-smmu 15000000.iommu: preserved 0 boot mappings [ 0.259088] brd: module loaded [ 0.260325] loop: module loaded [ 0.260668] spmi spmi-0: PMIC arbiter version v5 (0x50000000) [ 0.266471] tun: Universal TUN/TAP device driver, 1.6 [ 0.266608] thunder_xcv, ver 1.0 [ 0.266663] thunder_bgx, ver 1.0 [ 0.266756] nicpf, ver 1.0 [ 0.266811] e1000: Intel(R) PRO/1000 Network Driver [ 0.266863] e1000: Copyright (c) 1999-2006 Intel Corporation. [ 0.266960] e1000e: Intel(R) PRO/1000 Network Driver [ 0.267011] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. [ 0.267131] sky2: driver version 1.30 [ 0.267337] VFIO - User Level meta-driver version: 0.3 [ 0.267672] usbcore: registered new interface driver usb-storage [ 0.273291] rtc-efi rtc-efi.0: registered as rtc0 [ 0.273406] rtc-efi rtc-efi.0: hctosys: unable to read the hardware clock [ 0.273498] i2c_dev: i2c /dev entries driver [ 0.274053] input: pm8941_pwrkey as /devices/platform/soc@0/c440000.spmi/spmi-0/0-00/c440000.spmi:pmic@0:pon@800/c440000.spmi:pmic@0:pon@800:pwrkey/input/input0 [ 0.274529] input: pm8941_resin as /devices/platform/soc@0/c440000.spmi/spmi-0/0-00/c440000.spmi:pmic@0:pon@800/c440000.spmi:pmic@0:pon@800:resin/input/input1 [ 0.275156] qcom-fg c440000.spmi:pmic@2:fuel-gauge@4000: Failed to get charger supply: -19 [ 0.278139] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com [ 0.278612] sdhci: Secure Digital Host Controller Interface driver [ 0.278662] sdhci: Copyright(c) Pierre Ossman [ 0.278756] Synopsys Designware Multimedia Card Interface Driver [ 0.278826] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.279470] ledtrig-cpu: registered to indicate activity on CPUs [ 0.279628] pstore: backend 'ramoops' already in use: ignoring 'efi_pstore' [ 0.279809] hid: raw HID events driver (C) Jiri Kosina [ 0.281577] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available [ 0.283014] NET: Registered PF_PACKET protocol family [ 0.283102] Key type dns_resolver registered [ 0.284882] registered taskstats version 1 [ 0.284993] Loading compiled-in X.509 certificates [ 0.286724] Key type .fscrypt registered [ 0.286803] Key type fscrypt-provisioning registered [ 0.287120] Btrfs loaded, zoned=no, fsverity=no [ 0.295682] platform 18200000.rsc:pm8150-rpmh-regulators: Fixed dependency cycle(s) with /soc@0/rsc@18200000/pm8150-rpmh-regulators/smps5 [ 0.295862] platform 18200000.rsc:pm8150-rpmh-regulators: Fixed dependency cycle(s) with /soc@0/rsc@18200000/pm8150-rpmh-regulators/smps6 [ 0.296434] platform 18200000.rsc:pm8150l-rpmh-regulators: Fixed dependency cycle(s) with /soc@0/rsc@18200000/pm8150l-rpmh-regulators/bob [ 0.296622] platform 18200000.rsc:pm8150l-rpmh-regulators: Fixed dependency cycle(s) with /soc@0/rsc@18200000/pm8150l-rpmh-regulators/smps8 [ 0.313572] gpi 800000.dma-controller: Adding to iommu group 0 [ 0.314660] gpi a00000.dma-controller: Adding to iommu group 1 [ 0.315622] gpi c00000.dma-controller: Adding to iommu group 2 [ 0.318047] bam-dma-engine 1dc4000.dma-controller: Adding to iommu group 3 [ 0.318942] bam-dma-engine 17184000.dma-controller: Adding to iommu group 4 [ 0.320450] geni_se_qup 8c0000.geniqup: Adding to iommu group 5 [ 0.323661] geni_i2c 890000.i2c: Bus frequency not specified, default to 100kHz. [ 0.324326] i2c 1-0043: Fixed dependency cycle(s) with /soc@0/spmi@c440000/pmic@2/typec@1500/connector [ 0.324971] geni_i2c 89c000.i2c: Bus frequency not specified, default to 100kHz. [ 0.326194] geni_se_qup ac0000.geniqup: Adding to iommu group 6 [ 0.326970] a90000.serial: ttyMSM0 at MMIO 0xa90000 (irq = 141, base_baud = 0) is a MSM [ 0.327679] geni_se_qup cc0000.geniqup: Adding to iommu group 7 [ 0.328965] c8c000.serial: ttyHS0 at MMIO 0xc8c000 (irq = 142, base_baud = 0) is a MSM [ 0.329256] serial serial0: tty port ttyHS0 registered [ 0.339019] arm-smmu 2ca0000.iommu: probing hardware configuration... [ 0.339168] arm-smmu 2ca0000.iommu: SMMUv2 with: [ 0.339266] arm-smmu 2ca0000.iommu: stage 1 translation [ 0.339412] arm-smmu 2ca0000.iommu: non-coherent table walk [ 0.339501] arm-smmu 2ca0000.iommu: (IDR0.CTTW overridden by FW configuration) [ 0.339647] arm-smmu 2ca0000.iommu: stream matching with 6 register groups [ 0.339809] arm-smmu 2ca0000.iommu: 5 context banks (0 stage-2 only) [ 0.339915] arm-smmu 2ca0000.iommu: Supported page sizes: 0x61311000 [ 0.340057] arm-smmu 2ca0000.iommu: Stage-1: 48-bit VA -> 48-bit IPA [ 0.340335] arm-smmu 2ca0000.iommu: preserved 0 boot mappings [ 0.343531] adreno 2c00000.gpu: Adding to iommu group 8 [ 0.373798] cpu cpu0: EM: created perf domain [ 0.379449] cpu cpu4: EM: created perf domain [ 0.385112] cpu cpu7: EM: created perf domain [ 0.387889] msm-mdss ae00000.display-subsystem: Adding to iommu group 9 [ 0.388059] bob: Setting 3008000-4000000uV [ 0.388102] platform ae01000.display-controller: Fixed dependency cycle(s) with /soc@0/display-subsystem@ae00000/dsi@ae96000 [ 0.388218] platform ae01000.display-controller: Fixed dependency cycle(s) with /soc@0/display-subsystem@ae00000/dsi@ae94000 [ 0.388537] smps8: Setting 1352000-1352000uV [ 0.388782] ldo1: Setting 1800000-1800000uV [ 0.388831] platform ae01000.display-controller: Fixed dependency cycle(s) with /soc@0/display-subsystem@ae00000/dsi@ae94000 [ 0.388961] platform ae94000.dsi: Fixed dependency cycle(s) with /soc@0/display-subsystem@ae00000/dsi@ae94000/panel@0 [ 0.389053] platform ae94000.dsi: Fixed dependency cycle(s) with /soc@0/display-subsystem@ae00000/display-controller@ae01000 [ 0.389266] ldo2: Setting 1304000-1304000uV [ 0.389571] platform ae01000.display-controller: Fixed dependency cycle(s) with /soc@0/display-subsystem@ae00000/dsi@ae96000 [ 0.389687] platform ae96000.dsi: Fixed dependency cycle(s) with /soc@0/display-subsystem@ae00000/dsi@ae94000/panel@0 [ 0.389727] ldo3: Setting 1200000-1200000uV [ 0.389788] platform ae96000.dsi: Fixed dependency cycle(s) with /soc@0/display-subsystem@ae00000/display-controller@ae01000 [ 0.390179] ldo4: Setting 1704000-2928000uV [ 0.390653] ldo5: Setting 1704000-2928000uV [ 0.390925] ldo6: Setting 1800000-2960000uV [ 0.391297] ldo7: Setting 2856000-3104000uV [ 0.391665] ldo8: Setting 1800000-1800000uV [ 0.392094] ldo9: Setting 2704000-2960000uV [ 0.392440] ldo10: Setting 3000000-3312000uV [ 0.392795] ldo11: Setting 3104000-3312000uV [ 0.393450] platform a600000.usb: Fixed dependency cycle(s) with /soc@0/spmi@c440000/pmic@2/typec@1500/connector [ 0.397184] qcrypto 1dfa000.crypto: Adding to iommu group 3 [ 0.397943] smps5: Setting 1904000-2040000uV [ 0.398221] smps6: Setting 920000-1128000uV [ 0.398442] ldo1: Setting 752000-752000uV [ 0.398952] ldo2: Setting 3072000-3072000uV [ 0.399392] ldo3: Setting 480000-932000uV [ 0.399837] ldo5: Setting 880000-880000uV [ 0.400293] ldo6: Setting 1200000-1200000uV [ 0.400778] ldo7: Setting 1800000-1800000uV [ 0.401196] ldo9: Setting 1200000-1200000uV [ 0.401465] ldo10: Setting 2504000-2950000uV [ 0.401967] ldo11: Setting 800000-800000uV [ 0.402438] ldo12: Setting 1800000-1800000uV [ 0.402860] ldo13: Setting 3000000-3000000uV [ 0.403288] ldo14: Setting 1880000-1880000uV [ 0.403611] ldo15: Setting 1704000-1704000uV [ 0.404105] ldo16: Setting 2704000-2960000uV [ 0.404566] ldo17: Setting 2856000-3008000uV [ 0.415230] OF: graph: no port node found in /soc@0/spmi@c440000/pmic@2/typec@1500 [ 0.417590] ufshcd-qcom 1d84000.ufshc: Adding to iommu group 10 [ 0.418321] ufshcd-qcom 1d84000.ufshc: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled [ 0.427487] msm_dsi ae94000.dsi: supply refgen not found, using dummy regulator [ 0.427900] msm_dsi ae96000.dsi: supply refgen not found, using dummy regulator [ 0.428249] msm_dpu ae01000.display-controller: bound ae94000.dsi (ops dsi_ops) [ 0.429204] msm_dpu ae01000.display-controller: bound ae96000.dsi (ops dsi_ops) [ 0.430435] adreno 2c00000.gpu: supply vdd not found, using dummy regulator [ 0.431429] adreno 2c00000.gpu: supply vddcx not found, using dummy regulator [ 0.434309] platform 2c6a000.gmu: Adding to iommu group 11 [ 0.435978] msm_dpu ae01000.display-controller: bound 2c00000.gpu (ops a3xx_ops) [ 0.437084] Console: switching to colour dummy device 80x25 [ 0.438359] [drm:dpu_kms_hw_init:1048] dpu hardware revision:0x50000001 [ 0.440132] [drm] Initialized msm 1.12.0 20130625 for ae01000.display-controller on minor 0 [ 0.440208] msm_dpu ae01000.display-controller: Direct firmware load for qcom/a630_sqe.fw failed with error -2 [ 0.440283] msm_dpu ae01000.display-controller: [drm:adreno_request_fw] *ERROR* failed to load a630_sqe.fw [ 0.805596] fb0: Framebuffer is not in virtual address space. [ 0.806404] dsi_err_worker: status=4 [ 0.806437] dsi_err_worker: status=4 [ 0.860743] Console: switching to colour frame buffer device 200x160 [ 0.883937] msm_dpu ae01000.display-controller: [drm] fb0: msmdrmfb frame buffer device [ 0.885119] dwc3 a600000.usb: Adding to iommu group 12 [ 0.942461] dwc3 a800000.usb: Adding to iommu group 13 [ 0.996481] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 0.996962] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1 [ 0.997777] xhci-hcd xhci-hcd.1.auto: hcc params 0x0230ffe5 hci version 0x110 quirks 0x0000008000000010 [ 0.998051] xhci-hcd xhci-hcd.1.auto: irq 186, io mem 0x0a800000 [ 0.998481] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 0.998660] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2 [ 0.998923] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.1 Enhanced SuperSpeed [ 0.999371] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.08 [ 0.999623] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.999974] usb usb1: Product: xHCI Host Controller [ 1.000308] usb usb1: Manufacturer: Linux 6.8.0-sm8150-g8f4e58135eef xhci-hcd [ 1.000609] usb usb1: SerialNumber: xhci-hcd.1.auto [ 1.002072] hub 1-0:1.0: USB hub found [ 1.002475] hub 1-0:1.0: 1 port detected [ 1.002842] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 1.003103] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.08 [ 1.003295] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.003433] usb usb2: Product: xHCI Host Controller [ 1.003577] usb usb2: Manufacturer: Linux 6.8.0-sm8150-g8f4e58135eef xhci-hcd [ 1.003700] usb usb2: SerialNumber: xhci-hcd.1.auto [ 1.005386] hub 2-0:1.0: USB hub found [ 1.005736] hub 2-0:1.0: 1 port detected [ 1.013976] OF: graph: no port node found in /soc@0/spmi@c440000/pmic@2/typec@1500 [ 1.018258] ufshcd-qcom 1d84000.ufshc: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled [ 1.019863] ufshcd-qcom 1d84000.ufshc: Found QC Inline Crypto Engine (ICE) v3.1.79 [ 1.022396] scsi host0: ufshcd [ 1.028434] input: gpio-keys as /devices/platform/gpio-keys/input/input2 [ 1.028880] clk: Disabling unused clocks [ 1.029129] ALSA device list: [ 1.029169] No soundcards found. [ 1.245114] scsi 0:0:0:49488: Well-known LUN SAMSUNG KLUDG4UHDC-B0E1 0200 PQ: 0 ANSI: 6 [ 1.246480] usb 1-1: new full-speed USB device number 2 using xhci-hcd [ 1.249041] scsi 0:0:0:49476: Well-known LUN SAMSUNG KLUDG4UHDC-B0E1 0200 PQ: 0 ANSI: 6 [ 1.250789] scsi 0:0:0:49456: Well-known LUN SAMSUNG KLUDG4UHDC-B0E1 0200 PQ: 0 ANSI: 6 [ 1.253372] scsi 0:0:0:0: Direct-Access SAMSUNG KLUDG4UHDC-B0E1 0200 PQ: 0 ANSI: 6 [ 1.255111] scsi 0:0:0:1: Direct-Access SAMSUNG KLUDG4UHDC-B0E1 0200 PQ: 0 ANSI: 6 [ 1.256588] scsi 0:0:0:2: Direct-Access SAMSUNG KLUDG4UHDC-B0E1 0200 PQ: 0 ANSI: 6 [ 1.258239] scsi 0:0:0:3: Direct-Access SAMSUNG KLUDG4UHDC-B0E1 0200 PQ: 0 ANSI: 6 [ 1.260022] scsi 0:0:0:4: Direct-Access SAMSUNG KLUDG4UHDC-B0E1 0200 PQ: 0 ANSI: 6 [ 1.261572] scsi 0:0:0:5: Direct-Access SAMSUNG KLUDG4UHDC-B0E1 0200 PQ: 0 ANSI: 6 [ 1.263441] sd 0:0:0:0: [sda] 30660608 4096-byte logical blocks: (126 GB/117 GiB) [ 1.263821] sd 0:0:0:0: [sda] Write Protect is off [ 1.264270] sd 0:0:0:1: [sdb] 2048 4096-byte logical blocks: (8.39 MB/8.00 MiB) [ 1.264453] sd 0:0:0:1: [sdb] Write Protect is off [ 1.264515] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA [ 1.264619] sd 0:0:0:0: [sda] Preferred minimum I/O size 524288 bytes [ 1.264712] sd 0:0:0:2: [sdc] 2048 4096-byte logical blocks: (8.39 MB/8.00 MiB) [ 1.264731] sd 0:0:0:0: [sda] Optimal transfer size 524288 bytes [ 1.264836] sd 0:0:0:2: [sdc] Write Protect is off [ 1.265163] sd 0:0:0:1: [sdb] Write cache: enabled, read cache: enabled, supports DPO and FUA [ 1.265300] sd 0:0:0:1: [sdb] Preferred minimum I/O size 524288 bytes [ 1.265313] sd 0:0:0:3: [sdd] 8192 4096-byte logical blocks: (33.6 MB/32.0 MiB) [ 1.265329] sd 0:0:0:1: [sdb] Optimal transfer size 524288 bytes [ 1.265820] sd 0:0:0:2: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA [ 1.265959] sd 0:0:0:2: [sdc] Preferred minimum I/O size 524288 bytes [ 1.266069] sd 0:0:0:3: [sdd] Write Protect is off [ 1.266123] sd 0:0:0:2: [sdc] Optimal transfer size 524288 bytes [ 1.266273] sd 0:0:0:5: [sdf] 40960 4096-byte logical blocks: (168 MB/160 MiB) [ 1.266392] sd 0:0:0:5: [sdf] Write Protect is off [ 1.266529] sd 0:0:0:4: [sde] 524288 4096-byte logical blocks: (2.15 GB/2.00 GiB) [ 1.266756] sd 0:0:0:3: [sdd] Write cache: enabled, read cache: enabled, supports DPO and FUA [ 1.266797] sd 0:0:0:4: [sde] Write Protect is off [ 1.266812] sd 0:0:0:5: [sdf] Write cache: enabled, read cache: enabled, supports DPO and FUA [ 1.266816] sd 0:0:0:5: [sdf] Preferred minimum I/O size 524288 bytes [ 1.266818] sd 0:0:0:5: [sdf] Optimal transfer size 524288 bytes [ 1.266850] sd 0:0:0:3: [sdd] Preferred minimum I/O size 524288 bytes [ 1.266877] sd 0:0:0:3: [sdd] Optimal transfer size 524288 bytes [ 1.267356] sd 0:0:0:4: [sde] Write cache: enabled, read cache: enabled, supports DPO and FUA [ 1.267465] sd 0:0:0:4: [sde] Preferred minimum I/O size 524288 bytes [ 1.267564] sd 0:0:0:4: [sde] Optimal transfer size 524288 bytes [ 1.270955] sdb: sdb1 sdb2 [ 1.271187] sd 0:0:0:1: [sdb] Attached SCSI disk [ 1.271312] sdc: sdc1 sdc2 [ 1.271785] sd 0:0:0:2: [sdc] Attached SCSI disk [ 1.271972] sda: sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sda9 sda10 sda11 sda12 sda13 sda14 sda15 sda16 sda17 sda18 sda19 sda20 sda21 sda22 sda23 sda24 sda25 sda26 sda27 sda28 sda29 sda30 sda31 [ 1.272684] sdf: sdf1 sdf2 sdf3 sdf4 sdf5 sdf6 sdf7 sdf8 [ 1.273029] sd 0:0:0:0: [sda] Attached SCSI disk [ 1.273117] sd 0:0:0:5: [sdf] Attached SCSI disk [ 1.273711] sdd: sdd1 sdd2 sdd3 sdd4 sdd5 [ 1.273985] sde: sde1 sde2 sde3 sde4 sde5 sde6 sde7 sde8 sde9 sde10 sde11 sde12 sde13 sde14 sde15 sde16 sde17 sde18 sde19 sde20 sde21 sde22 sde23 sde24 sde25 sde26 sde27 sde28 sde29 sde30 sde31 sde32 sde33 sde34 sde35 sde36 sde37 sde38 sde39 sde40 sde41 sde42 sde43 sde44 sde45 sde46 sde47 sde48 sde49 sde50 sde51 sde52 sde53 sde54 sde55 sde56 sde57 sde58 sde59 sde60 sde61 sde62 sde63 sde64 sde65 sde66 sde67 [ 1.275144] sd 0:0:0:3: [sdd] Attached SCSI disk [ 1.276225] sd 0:0:0:4: [sde] Attached SCSI disk [ 1.276657] /dev/root: Can't open blockdev [ 1.276735] VFS: Cannot open root device "PARTLABEL=linux" or unknown-block(0,0): error -6 [ 1.276854] Please append a correct "root=" boot option; here are the available partitions: [ 1.276974] 0100 8192 ram0 [ 1.276977] (driver?) [ 1.277094] 0101 8192 ram1 [ 1.277096] (driver?) [ 1.277255] 0102 8192 ram2 [ 1.277257] (driver?) [ 1.277377] 0103 8192 ram3 [ 1.277379] (driver?) [ 1.277541] 0104 8192 ram4 [ 1.277542] (driver?) [ 1.277660] 0105 8192 ram5 [ 1.277662] (driver?) [ 1.277823] 0106 8192 ram6 [ 1.277825] (driver?) [ 1.277941] 0107 8192 ram7 [ 1.277943] (driver?) [ 1.278101] 0108 8192 ram8 [ 1.278103] (driver?) [ 1.278218] 0109 8192 ram9 [ 1.278219] (driver?) [ 1.278339] 010a 8192 ram10 [ 1.278340] (driver?) [ 1.278495] 010b 8192 ram11 [ 1.278497] (driver?) [ 1.278616] 010c 8192 ram12 [ 1.278618] (driver?) [ 1.278774] 010d 8192 ram13 [ 1.278776] (driver?) [ 1.278893] 010e 8192 ram14 [ 1.278894] (driver?) [ 1.279054] 010f 8192 ram15 [ 1.279055] (driver?) [ 1.279174] 0800 122642432 sda [ 1.279176] driver: sd [ 1.279332] 0801 8 sda1 0da0cd9a-d0bd-1c16-bc2f-bf439f59613b [ 1.279336] [ 1.279499] 0802 32 sda2 4279b5eb-faa9-9c0f-13ab-a5fd7b0f4043 [ 1.279501] [ 1.281411] fb0: Framebuffer is not in virtual address space. [ 1.283280] 0803 32 sda3 0c662eb6-c5c7-ad0c-bb2b-f41a301f4cbc [ 1.284916] [ 1.287914] 0804 32 sda4 9308ae3a-7003-978d-8f20-d6f5d2b0fff0 [ 1.287916] [ 1.290608] 0805 128 sda5 9d627736-f55b-5595-ed54-d16ffe87275a [ 1.290610] [ 1.293116] 0806 256 sda6 c8df6af9-4f45-a288-8178-c985e251d610 [ 1.293118] [ 1.295550] 0807 512 sda7 44c0b7d0-7f22-8041-ca4b-8c5584a81c76 [ 1.295552] [ 1.297947] 0808 512 sda8 f4550e7a-f88e-c9fb-d7e5-b232d95491b9 [ 1.297949] [ 1.300306] 0809 512 sda9 c1fea31c-c3ac-326a-d827-e859f6618efa [ 1.300307] [ 1.302692] 080a 2048 sda10 0137b590-c80b-8e37-f12a-1fb0315b95b1 [ 1.302694] [ 1.305074] 080b 4096 sda11 65b07c00-7d77-09ca-a86f-f156d3a59e1f [ 1.305075] [ 1.307446] 080c 4096 sda12 0b251ec5-6396-67db-a46f-84a06c501780 [ 1.307447] [ 1.309772] 080d 4096 sda13 90233f79-3aa1-9b76-f3d9-9ddff3f764e1 [ 1.309773] [ 1.312126] 080e 8192 sda14 b03ec5a5-6183-564f-72c1-bba99c3ea173 [ 1.312127] [ 1.314484] 080f 8192 sda15 08477c2c-20e2-150f-88a2-1058108ad059 [ 1.314485] [ 1.316846] 103:00000 16384 sda16 458273cb-9b61-49e9-8a9f-a70af37975a0 [ 1.316848] [ 1.319174] 103:00001 16384 sda17 e2c45e13-83ec-e287-deaa-bb2cfed28b81 [ 1.319176] [ 1.321544] 103:00002 16384 sda18 52b168c4-b191-69a2-0a2e-da215f41c0f4 [ 1.321545] [ 1.323912] 103:00003 16384 sda19 f9416332-7b91-6840-bfb9-e113de5d80e6 [ 1.323914] [ 1.326282] 103:00004 32112 sda20 f487eed0-add7-4786-7ffb-4d8077da11f1 [ 1.326284] [ 1.328625] 103:00005 33424 sda21 046047b9-42c8-b7db-49b3-03e2558e5e43 [ 1.328627] [ 1.330996] 103:00006 32768 sda22 012e3d57-fc58-b177-6d2e-3d3c5fa72d48 [ 1.330997] [ 1.333375] 103:00007 8912896 sda23 d55de4fe-3462-fc5f-faae-b841f86ec091 [ 1.333377] [ 1.335763] 103:00008 128 sda24 52407af5-e391-5ba6-e666-88d4e8acad6e [ 1.335765] [ 1.338111] 103:00009 128 sda25 f38cbb02-2115-cff9-061d-da0d62a5fa52 [ 1.338112] [ 1.340490] 103:0000a 65536 sda26 d9649163-ca9e-17c9-b1da-4392d1f7d59e [ 1.340491] [ 1.342871] 103:0000b 131072 sda27 8c392d41-7607-b315-daaa-e1c16097b828 [ 1.342872] [ 1.345266] 103:0000c 131072 sda28 3d59e42c-2457-5ed2-9647-64b0630463e3 [ 1.345267] [ 1.347618] 103:0000d 1048576 sda29 faa875f3-c8a7-98e1-b256-01d09ae7d8d9 [ 1.347619] [ 1.350132] 103:0000e 131072 sda30 18fd1035-333a-77eb-2210-c8179537c88a [ 1.350139] [ 1.358900] 103:0000f 112025324 sda31 9081ae2e-c423-9b77-4ca8-955ad0b99559 [ 1.358906] [ 1.367734] 0810 8192 sdb [ 1.367739] driver: sd [ 1.370323] 0811 512 sdb1 8b18de20-c9db-9a22-3d1e-f967141123af [ 1.370346] [ 1.379801] 0812 7168 sdb2 c1ebdfef-af9a-57ee-a462-5dc074f194f9 [ 1.379806] [ 1.381886] usb 1-1: New USB device found, idVendor=3206, idProduct=3ffc, bcdDevice= 0.01 [ 1.382178] 0820 8192 sdc [ 1.400921] driver: sd [ 1.400984] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1.402091] 0821 512 sdc1 60e10457-3e1f-1fcd-df66-fa04a39fe326 [ 1.402093] [ 1.402094] 0822 7168 sdc2 31a75b03-c41a-7716-cd84-21300a1f31cd [ 1.402096] [ 1.402097] 0850 163840 sdf [ 1.402098] driver: sd [ 1.402099] 0851 8192 sdf1 26d5474c-c44b-7d12-bcb0-06219aab3208 [ 1.402100] [ 1.402101] 0852 256 sdf2 347ab9bd-cd04-5e13-1d08-28700ee5e025 [ 1.402102] [ 1.402103] 0853 744 sdf3 19f3fc20-b414-3d05-2123-0dd2b52055c7 [ 1.402104] [ 1.402105] 0854 1024 sdf4 008c1e65-ead0-18be-57cd-adcfa8446f9f [ 1.402106] [ 1.402106] 0855 8192 sdf5 b9b8208a-20d2-d869-8916-d3540177c029 [ 1.402107] [ 1.402108] 0856 8192 sdf6 35c3ae7f-c13c-c774-c21b-715fd3d524de [ 1.402110] [ 1.402110] 0857 65536 sdf7 ab69175f-c385-e397-1f5b-c60616f25928 [ 1.402111] [ 1.402112] 0858 65536 sdf8 15d08734-32c0-c799-d826-6108261935b9 [ 1.415476] usb 1-1: Product: Pad [ 1.416961] [ 1.423055] usb 1-1: Manufacturer: Xiaomi [ 1.424059] 0830 32768 sdd [ 1.429712] usb 1-1: SerialNumber: 803108210231 [ 1.430690] driver: sd [ 1.430692] 0831 32 sdd1 db74b0fc-bc5b-40db-e146-8cc514b88a14 [ 1.430693] [ 1.430694] 0832 128 sdd2 df5074a8-e47e-a545-1492-a955818c302c [ 1.460161] [ 1.469230] 0833 864 sdd3 47b77ef0-e9aa-a983-25ba-bbb4c9b78858 [ 1.469241] [ 1.480032] 0834 1024 sdd4 0a31a040-a6be-f375-0a96-6031d3637f94 [ 1.480042] [ 1.491758] 0835 1024 sdd5 6bc42e63-86ee-aa7a-4e6f-219fd139f810 [ 1.491765] [ 1.500983] 0840 2097152 sde [ 1.501005] driver: sd [ 1.503556] 0841 32 sde1 8aa2eca7-c772-f842-9f11-a9d207de2df9 [ 1.503564] [ 1.507598] 0842 32 sde2 28d57b5b-1c7a-01ee-8e10-e34cfc183083 [ 1.507600] [ 1.509807] 0843 104 sde3 a8bb46b3-28da-194e-c7b8-433abf948efe [ 1.509808] [ 1.512379] 0844 256 sde4 f49c3f27-4dc9-0caf-ce7f-ec86f368dcfb [ 1.512398] [ 1.520584] 0845 256 sde5 b2ca2241-d9b9-ea55-9b50-60293e69feb4 [ 1.520589] [ 1.529385] 0846 512 sde6 162f6f54-f24a-a1e9-cfb3-1eea2ab3de76 [ 1.529680] [ 1.531611] 0847 4096 sde7 e1926c0c-94f4-1278-b9ef-263d87cc4f1f [ 1.531614] [ 1.533522] 0848 8192 sde8 a1f75953-c50a-ea8d-90ee-39316a026ae7 [ 1.533523] [ 1.535435] 0849 327680 sde9 df15145e-0b0e-74de-7aeb-435b1e94232d [ 1.535436] [ 1.537323] 084a 1024 sde10 369eba3b-9ba7-e686-fb8a-ae18970813d6 [ 1.537324] [ 1.539262] 084b 2048 sde11 eb488ae1-3c3a-715f-34b3-23a70d8b9e09 [ 1.539263] [ 1.541206] 084c 65536 sde12 6ac83e6f-554e-1078-9277-16a3d4475295 [ 1.541207] [ 1.543548] 084d 1024 sde13 1b8d57db-dfde-2a84-030a-d11eef2e0614 [ 1.543554] [ 1.545953] 084e 131072 sde14 d1f3dac6-3cee-a018-ee0d-0e93849eda42 [ 1.545955] [ 1.548306] 084f 1024 sde15 458712ed-634b-34ef-3216-6f65da393fbe [ 1.548307] [ 1.550663] 103:00010 1024 sde16 457d0088-d370-7eb1-9faa-fdb9a330e2ea [ 1.550665] [ 1.553030] 103:00011 256 sde17 3713228e-dccd-f77e-af45-df04b794a022 [ 1.553031] [ 1.555383] 103:00012 128 sde18 9fe38368-86ef-4d5b-e691-73c559093647 [ 1.555385] [ 1.557779] 103:00013 128 sde19 4e521c2a-129c-b92a-24f6-282c18859cd5 [ 1.557781] [ 1.560471] 103:00014 32768 sde20 87ba0157-4eaf-9d44-bf2c-c4710d1fc9da [ 1.560481] [ 1.564647] 103:00015 2048 sde21 f06652cf-9bdd-b2a3-ee82-80016d5d8d57 [ 1.564650] [ 1.567391] 103:00016 32 sde22 2620e6a6-f647-d8d9-e20a-7bd5b5227b26 [ 1.567415] [ 1.576960] 103:00017 32 sde23 945bef7b-5a58-9db7-8adf-c34271d68954 [ 1.576978] [ 1.609405] 103:00018 49152 sde24 966b7be3-79f9-6910-6947-f8695d19e4af [ 1.609422] [ 1.628082] 103:00019 98304 sde25 287740f6-50d5-2bad-bdbd-9095404fd80c [ 1.628088] [ 1.637217] 103:0001a 4096 sde26 1858fbc2-4e45-40bf-e067-660a940d8879 [ 1.637222] [ 1.646396] 103:0001b 32768 sde27 f4a0c77c-820c-ee71-88f3-7bedf41e0691 [ 1.646401] [ 1.655580] 103:0001c 65536 sde28 9b6bca77-f8e1-4af9-9193-5b6c4d9ccbb7 [ 1.655585] [ 1.664889] 103:0001d 512 sde29 be295bab-5b5e-67df-5f90-30950840ce53 [ 1.664896] [ 1.674066] 103:0001e 4096 sde30 535f0f93-2f2b-4fa4-fd1f-ff6e6e33f12e [ 1.674072] [ 1.683285] 103:0001f 8192 sde31 2c21bed0-b343-b396-765c-7ed88795bf1f [ 1.683291] [ 1.692525] 103:00020 327680 sde32 9d80a281-b2ce-442b-6275-f501372f2909 [ 1.692531] [ 1.701791] 103:00021 1024 sde33 d8bc035e-d443-6fe6-aa6b-7959b5ec272d [ 1.701796] [ 1.711016] 103:00022 2048 sde34 bd420e33-855b-ff1c-fbe2-6418bd5366ab [ 1.711021] [ 1.720411] 103:00023 65536 sde35 41ffaed2-a0e5-1db2-c451-ac21f0560976 [ 1.720417] [ 1.729699] 103:00024 1024 sde36 d3cb67dc-c77a-e7be-e65e-72dd3b67d46e [ 1.729704] [ 1.738997] 103:00025 131072 sde37 129889e7-506c-0cc0-d277-be6949fcd674 [ 1.739002] [ 1.748264] 103:00026 1024 sde38 cc7de0be-59c2-4bac-21b7-1e003a88ade8 [ 1.748269] [ 1.757527] 103:00027 1024 sde39 19831212-36d3-4331-c8ae-16c6223bb27c [ 1.757533] [ 1.766838] 103:00028 256 sde40 131e468d-58db-6b14-3dd9-241ff6ed35dd [ 1.766843] [ 1.776258] 103:00029 128 sde41 26f9e51c-7f0b-7efb-a745-103be970c9f0 [ 1.776264] [ 1.785583] 103:0002a 128 sde42 ca19001b-77ae-df88-4471-ae40068c3317 [ 1.785589] [ 1.794836] 103:0002b 32768 sde43 e0d51393-f7fb-bb1d-0a8f-47c85e4040d4 [ 1.794841] [ 1.804145] 103:0002c 2048 sde44 883ea32d-3aa7-ae08-fbe2-b9dc5e21e0ed [ 1.804150] [ 1.813451] 103:0002d 32 sde45 d7f1ad27-cbd1-5a56-4382-23c38457782b [ 1.813457] [ 1.822745] 103:0002e 32 sde46 2d6e8d69-bb57-b685-2c3d-1e9a25d80a25 [ 1.822750] [ 1.832741] 103:0002f 49152 sde47 ef9fe2d2-3ed5-5a5d-569b-a2d8261c1819 [ 1.832747] [ 1.834954] 103:00030 98304 sde48 a561e311-9d59-1561-16ed-06888202043f [ 1.834955] [ 1.837082] 103:00031 4096 sde49 1827e00c-568b-54e5-4488-d02c9f2fb94b [ 1.837083] [ 1.839206] 103:00032 32768 sde50 8a3c6ec3-b7a3-974e-1c2a-b41f4dc27751 [ 1.839207] [ 1.841284] 103:00033 65536 sde51 51f3fd65-5ce5-79ea-16bf-8b9fef000432 [ 1.841285] [ 1.843388] 103:00034 128 sde52 6215adc1-8c17-18e3-f1fe-9cf79b70bbd7 [ 1.843389] [ 1.845499] 103:00035 128 sde53 29c8ffc0-43af-1ddd-d216-982db764059b [ 1.845500] [ 1.847578] 103:00036 512 sde54 f010cfc6-f3fd-df25-a49b-fafd953662ad [ 1.847579] [ 1.849667] 103:00037 512 sde55 dd567ba9-c413-4d6c-96bc-fbd0de171373 [ 1.849668] [ 1.851785] 103:00038 1024 sde56 1e8a66ea-0f5e-a52a-f99a-2b75786d34a1 [ 1.851786] [ 1.853901] 103:00039 1024 sde57 a83a1302-79e2-c656-8e93-e4824d1d6bf5 [ 1.853902] [ 1.856020] 103:0003a 1024 sde58 df94dde7-60a8-9450-c5db-d2781662f3c1 [ 1.856021] [ 1.858105] 103:0003b 8192 sde59 06b1e64e-806c-c51b-a363-4cf0dc1ad910 [ 1.858106] [ 1.860219] 103:0003c 2048 sde60 28617fb6-6441-494b-8b9c-b6e9f9492064 [ 1.860220] [ 1.862357] 103:0003d 2048 sde61 72a531bf-37d6-e457-1557-be8e4507e4d1 [ 1.862358] [ 1.864798] 103:0003e 2048 sde62 0d1e45c7-1205-6e8d-e33b-1a439250be11 [ 1.864814] [ 1.874532] 103:0003f 4096 sde63 2f0fb93b-1472-5b9c-e9a5-1143abe19ec1 [ 1.874549] [ 1.893976] 103:00040 8192 sde64 afe6297b-d346-374c-d286-682a734ea61c [ 1.893984] [ 1.904600] 103:00041 16384 sde65 248b33ea-c070-00aa-b645-b6162e826827 [ 1.904613] [ 1.927426] 103:00042 22528 sde66 64abbc87-5df1-a940-f8ca-04cf78758356 [ 1.927435] [ 1.930007] 103:00043 174080 sde67 9fb1110c-ab5a-009d-f305-25405cb14d2f [ 1.930009] [ 1.932565] List of all bdev filesystems: [ 1.933853] ext3 [ 1.933854] ext2 [ 1.935102] ext4 [ 1.936344] squashfs [ 1.937588] vfat [ 1.939128] f2fs [ 1.942300] btrfs [ 1.943614] [ 1.946381] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 1.952477] CPU: 6 PID: 1 Comm: swapper/0 Not tainted 6.8.0-sm8150-g8f4e58135eef #1 [ 1.958401] Hardware name: Xiaomi Pad 5/K82, BIOS 001.2023.11.26 11/08/2023 [ 1.964391] Call trace: [ 1.970275] dump_backtrace+0x90/0xe8 [ 1.976186] show_stack+0x18/0x24 [ 1.982134] dump_stack_lvl+0x48/0x60 [ 1.987990] dump_stack+0x18/0x24 [ 1.993814] panic+0x380/0x3b4 [ 1.999705] mount_root_generic+0x254/0x334 [ 2.005536] mount_root+0x16c/0x330 [ 2.011356] prepare_namespace+0x68/0x2a0 [ 2.017240] kernel_init_freeable+0x248/0x288 [ 2.020770] kernel_init+0x24/0x1dc [ 2.021978] ret_from_fork+0x10/0x20 [ 2.023213] SMP: stopping secondary CPUs [ 2.024873] Kernel Offset: 0x202c4d410000 from 0xffff800080000000 [ 2.026108] PHYS_OFFSET: 0xffff8b5e40000000 [ 2.027306] CPU features: 0x0,c0000021,1402014a,2100720b [ 2.028510] Memory Limit: none [ 2.033855] pstore: backend (ramoops) writing error (-28) [ 2.035064] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]--- ```
lehmanju commented 8 months ago

My USB hub is not correctly configured. That's why the drive isn't found. I am not sure which driver is missing, maybe I should wait until I receive a proper development docking station instead of using my Lenovo Notebook docking station for this :laughing:

lehmanju commented 8 months ago

Apparently the dtb is not loaded: Unknown kernel command line parameters "dtb=/dtb-6.8.0-sm8150", will be passed to user space. But EFI_ARMSTUB_DTB_LOADER is enabled, it should recognize the dtb option. I also used the uncompressed image which should support efi.

lehmanju commented 8 months ago

Is there an alternative to the Windows efi bootloader? I would really like to switch between boot_a/b and poweroff the device via onscreen selection. Edk2-porting/edk2-msm seems to provide such interface. Does it work with nabu?

LesGaR commented 8 months ago

Yes Edk2 work fine, more or less.

Now it's working: -Boot android/Linux/windows option it's working -If you like to change slot, at the moment need: Press first option reboot to android, when Babu are rebooting, press up vol to access TWRP and change slot inside TWRP. -Put nabu in USB shci mode, works, but need hard reset nabu when you unmount partitons

-Secure boot Not working.

All credits to @map220v, I only compiled with latests changes.

-You can use boot.img to test if working for you. Please not flash it, only use fastboot boot boot.img

-If you like flash it, reboot to recovery and sideload installer-nabu.img. adb sideload installer-nabu.zip

Ed2k is outdated, I try update with latests changes of map220v.

You can download beta versions here: Post in thread '[ROM]Ubuntu on Xiaomi Pad 5 (nabu)' https://xdaforums.com/t/rom-ubuntu-on-xiaomi-pad-5-nabu.4597149/post-89411357

LesGaR commented 8 months ago

@map220v Any option to boot grub in secure mode? I like to try if it posible boot uefi secure-boot -> grub -> windows. To disable test mode drivers in windows. I try to compile simple-init.efi and attach in esp partition, when I try to load I have a bootloop issue "syncronization error" in your V2 and V3 versions. I try it secure boot V2 and V3 -> load shim.signed (with Microsoft CA certs) but not work. Your V3 secure boot sources are in https://github.com/map220v/MU-sm8150pkg?

I try to remap vol down button to change slot in uefi like mu-uefi for pipa work

Do you think el2 mode in nabu it's possible? For example with slbounce I see this: https://github.com/TravMurav/Qcom-Secure-Launch

I try your latest images and when create linux-image.debs the numbers of versions are missing. I think issue in this line cp arch/arm64/boot/Image.gz ../linux-xiaomi-nabu/boot/vmlinuz-$2.0-sm8150

Maybe like this can fix it: https://github.com/LesGaR/ubuntu-xiaomi-nabu/commit/3225221d78ca0b5240b81b3c80ccbad06ac9d9d4

lehmanju commented 8 months ago

This looks promising, as well as this. It's a fosdem talk by someone who ports U-Boot to qualcomm platforms. U-Boot can do EFI and porting is supposedly easy. I think the end goal for usability would be to flash u-boot with dtb and install any aarch64 linux via USB, just as on desktop.

LesGaR commented 8 months ago

U-boot can boot with el2 mode and secure-boot enabled? I have a old ed2k uefi image can boot USB directly without USB powered hub. I was used to install windows on nabu

lehmanju commented 8 months ago

Yes, u-boot supports efi, secure boot and can use different exception levels. All relatively new features, but u-boot has good documentation.

map220v commented 8 months ago

@map220v Any option to boot grub in secure mode? I like to try if it posible boot uefi secure-boot -> grub -> windows. To disable test mode drivers in windows. I try to compile simple-init.efi and attach in esp partition, when I try to load I have a bootloop issue "syncronization error" in your V2 and V3 versions. I try it secure boot V2 and V3 -> load shim.signed (with Microsoft CA certs) but not work. Your V3 secure boot sources are in https://github.com/map220v/MU-sm8150pkg?

I try to remap vol down button to change slot in uefi like mu-uefi for pipa work

Do you think el2 mode in nabu it's possible? For example with slbounce I see this: https://github.com/TravMurav/Qcom-Secure-Launch

I try your latest images and when create linux-image.debs the numbers of versions are missing. I think issue in this line cp arch/arm64/boot/Image.gz ../linux-xiaomi-nabu/boot/vmlinuz-$2.0-sm8150

Maybe like this can fix it: LesGaR@3225221

To boot grub with secure boot you need to sign grub and add your certificate to db.bin.p7 in UEFI sources.

EL2 is impossible without stealing private xiaomi root cert or exploiting hypervisor(or even better trustzone), slbounce just like winload.efi requires Secure Launch to be enabled in devcfg and you must have mssecapp trustzone app, both of them must be signed with xiaomi's root cert which sha384 hash is stored in qfprom in cpu.

lehmanju commented 7 months ago

There is activity on moving u-boot support forward btw: https://social.treehouse.systems/@cas/112248312256277895 I'll wait for the patches to land in U-Boot mainline before continuing. Especially USB console support is necessary in my opinion.

lehmanju commented 2 months ago

Has been a while, but I managed to port u-boot to nabu and it works quite well. especially being able to directly access ramoops dumps, efi booting, booting from usb and overall a lot of customizability. patches are on the list but not merged yet. and my goal is to have simultaneos usb console and usb mass storage. that would let me copy/paste a new kernel to efi and then boot it, read logs on crash. then mainlining is next ...

Blakyrin commented 2 months ago

Has been a while, but I managed to port u-boot to nabu and it works quite well. especially being able to directly access ramoops dumps, efi booting, booting from usb and overall a lot of customizability. patches are on the list but not merged yet. and my goal is to have simultaneos usb console and usb mass storage. that would let me copy/paste a new kernel to efi and then boot it, read logs on crash. then mainlining is next ...

That's really nice!, do you have a repo where can i peek?

lehmanju commented 2 months ago

@Blakyrin https://patchwork.ozlabs.org/project/uboot/list/?series=423480

Blakyrin commented 2 months ago

@lehmanju thank you so much!, this will be very useful for my postmarketOS uefi build :D

lehmanju commented 2 months ago

@Blakyrin you can join #u-boot-qcom:libera.chat or just #u-boot:libera.chat. internal filesystem patches (ufs) are not merged yet, so efi booting wouldn't work right now. my goal is then to use u-boot's fastboot capabilites to boot custom kernel builds and use fastboot oem u-boot commands to readout ramoops messages. still have to test it but eventually want to write some doc for others to use it.

Blakyrin commented 2 months ago

@lehmanju that's great!, that would make mainlining easier, if you happen to have a matrix room for nabu or sdm860 that would be great

lehmanju commented 1 month ago

@Blakyrin i think #sm8150-mainline:matrix.org is the room you are looking for