[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd041]
[    0.000000] Linux version 6.12.0-rc4-mt8167 (pmos@karma) (aarch64-alpine-linux-musl-gcc (Alpine 14.2.0) 14.2.0, GNU ld (GNU Binutils) 2.42) #26 SMP Thu Oct 24 21:26:44 UTC 2024
[    0.000000] Machine model: MT8167S
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000011005000 (options '')
[    0.000000] printk: legacy bootconsole [uart8250] enabled
[    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
[    0.000000] OF: reserved mem: 0x000000007ee00000..0x000000007effffff (2048 KiB) nomap non-reusable consys-reserve-memory
[    0.000000] OF: reserved mem: 0x0000000043000000..0x000000004301ffff (128 KiB) nomap non-reusable secmon@43000000
[    0.000000] OF: reserved mem: 0x0000000054400000..0x000000005440ffff (64 KiB) nomap non-reusable mblock-3-ram_console
[    0.000000] OF: reserved mem: 0x0000000054410000..0x00000000544effff (896 KiB) nomap non-reusable mblock-4-pstore
[    0.000000] OF: reserved mem: 0x00000000544f0000..0x00000000544fffff (64 KiB) nomap non-reusable mblock-5-minirdump
[    0.000000] OF: reserved mem: 0x0000000054600000..0x000000005462ffff (192 KiB) nomap non-reusable atf-reserved-memory
[    0.000000] OF: reserved mem: 0x000000007f1c0000..0x000000007f9bffff (8192 KiB) nomap non-reusable mblock-6-framebuffer
[    0.000000] OF: reserved mem: 0x000000007f9c0000..0x000000007ffbffff (6144 KiB) nomap non-reusable mblock-2-tee
[    0.000000] OF: reserved mem: 0x000000007ffc0000..0x000000007fffffff (256 KiB) nomap non-reusable mblock-1-atf-log-reserved
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000042ffffff]
[    0.000000]   node   0: [mem 0x0000000043000000-0x000000004301ffff]
[    0.000000]   node   0: [mem 0x0000000043020000-0x00000000543fffff]
[    0.000000]   node   0: [mem 0x0000000054400000-0x00000000544fffff]
[    0.000000]   node   0: [mem 0x0000000054500000-0x00000000545fffff]
[    0.000000]   node   0: [mem 0x0000000054600000-0x000000005462ffff]
[    0.000000]   node   0: [mem 0x0000000054630000-0x000000007edfffff]
[    0.000000]   node   0: [mem 0x000000007ee00000-0x000000007effffff]
[    0.000000]   node   0: [mem 0x000000007f000000-0x000000007f1bffff]
[    0.000000]   node   0: [mem 0x000000007f1c0000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 19 pages/cpu s39768 r8192 d29864 u77824
[    0.000000] pcpu-alloc: s39768 r8192 d29864 u77824 alloc=19*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=tty0 console=ttyS0,921600n1 earlycon=uart8250,mmio32,0x11005000 pmos.debug-shell androidboot.boot_devices=bootdevice,soc/11120000.mmc root=/dev/ram  androidboot.verifiedbootstate=orange bootopt=64S3,32N2,64N2 buildvariant=user console=tty0 root=/dev/ram0 clk_ignore_unused pd_ignore_unused regulator_ignore_unused  pmos_boot_uuid=fdd9ed78-55e6-49c0-8aaa-61e2363279cd pmos_root_uuid=f40fd51d-7fee-4644-bb68-fddd28943841 pmos_rootfsopts=defaults androidboot.atm=disabled androidboot.meta_log_disable=0 printk.disable_uart=1 bootprof.pl_t=4222 bootprof.lk_t=6530 androidboot.serialno=29433A0W503136 androidboot.mi.serialno=29433/A0W503136 androidboot.bootreason=usb mrdump_ddrsv=no androidboot.dtb_idx=0 androidboot.dtbo_idx=0
[    0.000000] Unknown kernel command line parameters "bootopt=64S3,32N2,64N2 buildvariant=user pmos_boot_uuid=fdd9ed78-55e6-49c0-8aaa-61e2363279cd pmos_root_uuid=f40fd51d-7fee-4644-bb68-fddd28943841 pmos_rootfsopts=defaults mrdump_ddrsv=no", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 262144
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 1MB
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x000000007d980000-0x000000007da80000] (1MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    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] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] gicirq is 30, type is 8
[    0.000000] gic_configure_irq returned 0
[    0.000000] gicirq is 30, type is 8
[    0.000000] gic_configure_irq returned 0
[    0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[    0.000000] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.001329] Console: colour dummy device 80x30
[    0.001917] printk: legacy console [tty0] enabled
[    0.002538] printk: legacy bootconsole [uart8250] disabled
[    0.003286] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.003306] pid_max: default: 32768 minimum: 301
[    0.003410] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.003430] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.004042] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.007458] rcu: Hierarchical SRCU implementation.
[    0.007471] rcu:     Max phase no-delay instances is 1000.
[    0.007699] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[    0.017064] smp: Bringing up secondary CPUs ...
[    0.037611] Detected VIPT I-cache on CPU1
[    0.037696] gicirq is 30, type is 8
[    0.037703] gic_configure_irq returned 0
[    0.037715] CPU1: Booted secondary processor 0x0000000001 [0x410fd041]
[    0.057614] Detected VIPT I-cache on CPU2
[    0.057696] gicirq is 30, type is 8
[    0.057703] gic_configure_irq returned 0
[    0.057714] CPU2: Booted secondary processor 0x0000000002 [0x410fd041]
[    0.067765] Detected VIPT I-cache on CPU3
[    0.067847] gicirq is 30, type is 8
[    0.067853] gic_configure_irq returned 0
[    0.067864] CPU3: Booted secondary processor 0x0000000003 [0x410fd041]
[    0.067971] smp: Brought up 1 node, 4 CPUs
[    0.068044] SMP: Total of 4 processors activated.
[    0.068052] CPU: All CPU(s) started at EL2
[    0.068064] CPU features: detected: 32-bit EL0 Support
[    0.068075] CPU features: detected: CRC32 instructions
[    0.068122] alternatives: applying system-wide alternatives
[    0.068948] Memory: 985248K/1048576K available (7168K kernel code, 1114K rwdata, 2752K rodata, 2624K init, 336K bss, 59916K reserved, 0K cma-reserved)
[    0.069320] devtmpfs: initialized
[    0.072225] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.072263] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.072335] 29216 pages in range for non-PLT usage
[    0.072340] 520736 pages in range for PLT usage
[    0.072411] pinctrl core: initialized pinctrl subsystem
[    0.073366] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.073761] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.073798] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.073835] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.074311] cpuidle: using governor menu
[    0.074426] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.074501] ASID allocator initialised with 65536 entries
[    0.082651] gic_set_type+0x0/0xcc with 4
[    0.082691] gicirq is 166, type is 4
[    0.082703] gic_configure_irq returned 0
[    0.086718] iommu: Default domain type: Translated
[    0.086747] iommu: DMA domain TLB invalidation policy: strict mode
[    0.087102] SCSI subsystem initialized
[    0.087256] libata version 3.00 loaded.
[    0.087318] usbcore: registered new interface driver usbfs
[    0.087356] usbcore: registered new interface driver hub
[    0.087391] usbcore: registered new device driver usb
[    0.087542] pps_core: LinuxPPS API ver. 1 registered
[    0.087554] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.087577] PTP clock support registered
[    0.088666] vgaarb: loaded
[    0.088964] clocksource: Switched to clocksource arch_sys_counter
[    0.093827] NET: Registered PF_INET protocol family
[    0.093990] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.095051] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    0.095082] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.095101] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.095171] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.095360] TCP: Hash tables configured (established 8192 bind 8192)
[    0.095457] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.095489] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.095598] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.095632] PCI: CLS 0 bytes, default 64
[    0.095918] Unpacking initramfs...
[    0.098534] workingset: timestamp_bits=62 max_order=18 bucket_order=0
[    0.098787] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.098807] io scheduler mq-deadline registered
[    0.098819] io scheduler kyber registered
[    0.103443] simple-framebuffer 7f1c0000.framebuffer: framebuffer at 0x7f1c0000, 0x119400 bytes
[    0.103480] simple-framebuffer 7f1c0000.framebuffer: format=r8g8b8, mode=480x800x24, linelength=1440
[    0.103636] simple-framebuffer 7f1c0000.framebuffer: fb0: simplefb registered!
[    0.139368] gic_set_type+0x0/0xcc with 4
[    0.139408] gicirq is 236, type is 4
[    0.139420] gic_configure_irq returned 0
[    0.172995] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.174858] printk: legacy console [ttyS0] disabled
[    0.195239] 11005000.serial: ttyS0 at MMIO 0x11005000 (irq = 191, base_baud = 1625000) is a ST16650V2
[    0.195322] printk: legacy console [ttyS0] enabled
[    0.266898] Freeing initrd memory: 5320K
[    0.268383] mtk_rng 1020c000.rng: registered RNG driver
[    0.268919] random: crng init done
[    0.322009] loop: module loaded
[    0.325838] mt6397-rtc mt6397-rtc: registered as rtc0
[    0.326664] mt6397-rtc mt6397-rtc: setting system clock to 2020-04-06T00:00:11 UTC (1586131211)
[    0.328252] gic_set_type+0x0/0xcc with 1
[    0.328770] gicirq is 230, type is 1
[    0.329232] gic_configure_irq returned -22
[    0.329757] genirq: Setting trigger mode 2 for irq 196 failed (mtk_sysirq_set_type+0x0/0x120)
[    0.330922] mtk-wdt 10007000.watchdog: probe with driver mtk-wdt failed with error -22
[    0.332697] usbcore: registered new interface driver usbhid
[    0.333411] usbhid: USB HID core driver
[    0.335835] gic_set_type+0x0/0xcc with 4
[    0.336370] gicirq is 36, type is 4
[    0.336821] gic_configure_irq returned 0
[    0.337350] gic_set_type+0x0/0xcc with 4
[    0.337859] gicirq is 37, type is 4
[    0.338308] gic_configure_irq returned 0
[    0.338825] gic_set_type+0x0/0xcc with 4
[    0.339333] gicirq is 38, type is 4
[    0.339782] gic_configure_irq returned 0
[    0.340322] gic_set_type+0x0/0xcc with 4
[    0.340831] gicirq is 39, type is 4
[    0.341280] gic_configure_irq returned 0
[    0.342042] hw perfevents: enabled with armv8_cortex_a35 PMU driver, 7 (0,8000003f) counters available
[    0.343918] NET: Registered PF_INET6 protocol family
[    0.345131] Segment Routing with IPv6
[    0.345630] In-situ OAM (IOAM) with IPv6
[    0.346171] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.347279] NET: Registered PF_PACKET protocol family
[    0.367012] mtk-iommu 10203000.m4u: bound 14016000.larb (ops 0xffff8000808c0cd0)
[    0.367985] mtk-iommu 10203000.m4u: bound 15001000.larb (ops 0xffff8000808c0cd0)
[    0.368931] mtk-iommu 10203000.m4u: bound 16010000.larb (ops 0xffff8000808c0cd0)
[    0.370820] usb_phy_generic usb_phy_generic.4.auto: dummy supplies not allowed for exclusive requests (id=vbus)
[    0.372616] gic_set_type+0x0/0xcc with 4
[    0.373137] gicirq is 104, type is 4
[    0.373599] gic_configure_irq returned 0
[    0.374981] clk: Not disabling unused clocks
[    0.375545] PM: genpd: Not disabling unused power domains
[    0.383611] Freeing unused kernel memory: 2624K
[    0.384251] Run /init as init process
[    0.384722]   with arguments:
[    0.384727]     /init
[    0.384731]   with environment:
[    0.384735]     HOME=/
[    0.384740]     TERM=linux
[    0.384744]     bootopt=64S3,32N2,64N2
[    0.384749]     buildvariant=user
[    0.384754]     pmos_boot_uuid=fdd9ed78-55e6-49c0-8aaa-61e2363279cd
[    0.384759]     pmos_root_uuid=f40fd51d-7fee-4644-bb68-fddd28943841
[    0.384764]     pmos_rootfsopts=defaults
[    0.384769]     mrdump_ddrsv=no
[    0.410505] tmpfs: Unknown parameter 'mode'
[    0.422819] syslogd started: BusyBox v1.37.0
[    0.425044] [pmOS-rd]: Configuring kernel firmware image search path
[    0.432339] udevd[85]: starting version 3.2.14
[    0.446547] udevd[86]: starting eudev-3.2.14
[    0.636746] [pmOS-rd]: Setting framebuffer mode to: U:480x800p-0
[    0.653107] [pmOS-rd]: ls: /hooks: No such file or directory
[    0.655764] [pmOS-rd]: Setup usb network
[    0.656317] [pmOS-rd]:   /sys/class/android_usb does not exist, skipping android_usb
[    0.657331] [pmOS-rd]: tfb_acquire_fb() failed with error code: 7
[    0.658134] [pmOS-rd]:   Setting up an USB gadget through configfs
[    0.669333] configfs-gadget.g1 gadget.0: HOST MAC ca:95:8f:52:b3:56
[    0.670162] configfs-gadget.g1 gadget.0: MAC ce:9b:d1:d3:38:e9
[    0.677869] [pmOS-rd]: Starting unudhcpd with server ip 172.16.42.1, client ip: 172.16.42.2
[    0.684200] [pmOS-rd]:   Using interface usb0
[    0.684821] [pmOS-rd]:   Starting the DHCP daemon
[    0.685573] [pmOS-rd]: Trying to start server with parameters: Server IP addr: 172.16.42.1:67, client IP addr: 172.16.42.2, interface: usb0
[    0.687350] [pmOS-rd]: Entering debug shell
[    0.779705] gic_set_type+0x0/0xcc with 4
[    0.780246] gicirq is 116, type is 4
[    0.780712] gic_configure_irq returned 0
~ #
