Skip to content

Instantly share code, notes, and snippets.

@iuncuim
Created July 5, 2023 08:55
Show Gist options
  • Save iuncuim/cef369aeb110a2cfb73e1d6a1f10e999 to your computer and use it in GitHub Desktop.
Save iuncuim/cef369aeb110a2cfb73e1d6a1f10e999 to your computer and use it in GitHub Desktop.
DMESG
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.3.0-rc6-3 (lane@SerialExperiment) (aarch64-linux-gnu-gcc (GCC) 13.1.0, GNU ld (GNU Binutils) 2.40) #1 SMP PREEMPT Wed Jul 5 08:41:56 MSK 2023
[ 0.000000] Machine model: Tanix TX6s (axp313)
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: 0x0000000040000000..0x000000004003ffff (256 KiB) nomap non-reusable secmon@40000000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x000000009fffffff]
[ 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-0x000000004003ffff]
[ 0.000000] node 0: [mem 0x0000000040040000-0x000000009fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000009fffffff]
[ 0.000000] cma: Reserved 64 MiB at 0x000000009a400000
[ 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.2
[ 0.000000] No bootconfig data provided, so skipping bootconfig
[ 0.000000] percpu: Embedded 30 pages/cpu s85480 r8192 d29208 u122880
[ 0.000000] pcpu-alloc: s85480 r8192 d29208 u122880 alloc=30*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] Built 1 zonelists, mobility grouping on. Total pages: 387072
[ 0.000000] Kernel command line: initrd=/initramfs-linux.img console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait audit=0 splash plymouth.ignore-serial-consoles debug
[ 0.000000] audit: disabled (until reboot)
[ 0.000000] Unknown kernel command line parameters "splash", will be passed to user space.
[ 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:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 1435880K/1572864K available (14912K kernel code, 3506K rwdata, 6288K rodata, 6784K init, 570K bss, 71448K reserved, 65536K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-1, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 50886 entries in 199 pages
[ 0.000000] ftrace: allocated 199 pages with 5 groups
[ 0.000000] trace event string verifier disabled
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 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 30 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] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000515] Console: colour dummy device 80x25
[ 0.000562] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[ 0.000574] pid_max: default: 32768 minimum: 301
[ 0.000723] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.000740] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.002629] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.002651] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.002765] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.002875] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.003119] rcu: Hierarchical SRCU implementation.
[ 0.003123] rcu: Max phase no-delay instances is 1000.
[ 0.005383] EFI services will not be available.
[ 0.006095] smp: Bringing up secondary CPUs ...
[ 0.006945] Detected VIPT I-cache on CPU1
[ 0.007058] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.007963] Detected VIPT I-cache on CPU2
[ 0.008066] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.008959] Detected VIPT I-cache on CPU3
[ 0.009062] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.009206] smp: Brought up 1 node, 4 CPUs
[ 0.009215] SMP: Total of 4 processors activated.
[ 0.009221] CPU features: detected: 32-bit EL0 Support
[ 0.009224] CPU features: detected: 32-bit EL1 Support
[ 0.009230] CPU features: detected: CRC32 instructions
[ 0.009310] CPU: All CPU(s) started at EL2
[ 0.009323] alternatives: applying system-wide alternatives
[ 0.011296] devtmpfs: initialized
[ 0.019162] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[ 0.019199] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.021569] pinctrl core: initialized pinctrl subsystem
[ 0.022432] DMI not present or invalid.
[ 0.023025] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.025033] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[ 0.025211] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.025423] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.026704] thermal_sys: Registered thermal governor 'fair_share'
[ 0.026717] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.026721] thermal_sys: Registered thermal governor 'step_wise'
[ 0.026724] thermal_sys: Registered thermal governor 'user_space'
[ 0.026814] cpuidle: using governor ladder
[ 0.026841] cpuidle: using governor menu
[ 0.027110] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.027238] ASID allocator initialised with 65536 entries
[ 0.027776] Serial: AMBA PL011 UART driver
[ 0.064755] cryptd: max_cpu_qlen set to 1000
[ 0.065869] ACPI: Interpreter disabled.
[ 0.067880] iommu: Default domain type: Translated
[ 0.067896] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.068796] SCSI subsystem initialized
[ 0.069059] usbcore: registered new interface driver usbfs
[ 0.069102] usbcore: registered new interface driver hub
[ 0.069160] usbcore: registered new device driver usb
[ 0.069788] pps_core: LinuxPPS API ver. 1 registered
[ 0.069793] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.069814] PTP clock support registered
[ 0.070095] scmi_core: SCMI protocol bus registered
[ 0.070624] Advanced Linux Sound Architecture Driver Initialized.
[ 0.072029] clocksource: Switched to clocksource arch_sys_counter
[ 1.164235] pnp: PnP ACPI: disabled
[ 1.174983] NET: Registered PF_INET protocol family
[ 1.175240] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 1.177595] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 1.177637] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 1.177652] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 1.177790] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
[ 1.178321] TCP: Hash tables configured (established 16384 bind 16384)
[ 1.178526] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 1.178595] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 1.178911] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 1.179617] RPC: Registered named UNIX socket transport module.
[ 1.179631] RPC: Registered udp transport module.
[ 1.179636] RPC: Registered tcp transport module.
[ 1.179639] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.179648] NET: Registered PF_XDP protocol family
[ 1.179669] PCI: CLS 0 bytes, default 64
[ 1.180062] Trying to unpack rootfs image as initramfs...
[ 1.180995] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 1.181559] kvm [1]: IPA Size Limit: 40 bits
[ 1.183388] kvm [1]: vgic interrupt IRQ9
[ 1.183444] kvm [1]: Hyp mode initialized successfully
[ 1.186202] Initialise system trusted keyrings
[ 1.186562] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[ 1.186692] zbud: loaded
[ 1.187356] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.187992] NFS: Registering the id_resolver key type
[ 1.188041] Key type id_resolver registered
[ 1.188046] Key type id_legacy registered
[ 1.188078] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.188085] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 1.230841] NET: Registered PF_ALG protocol family
[ 1.230881] Key type asymmetric registered
[ 1.230888] Asymmetric key parser 'x509' registered
[ 1.230894] Asymmetric key parser 'pkcs8' registered
[ 1.230899] Key type pkcs7_test registered
[ 1.231031] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 1.231372] io scheduler mq-deadline registered
[ 1.231385] io scheduler kyber registered
[ 1.231423] io scheduler bfq registered
[ 1.233744] sun4i-usb-phy 5100400.phy: failed to get clock usb0_phy
[ 1.239391] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 1.241406] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 1.244841] EINJ: ACPI disabled.
[ 1.257500] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 1.260776] Serial: AMBA driver
[ 1.280380] usbcore: registered new interface driver uas
[ 1.280435] usbcore: registered new interface driver usb-storage
[ 1.281693] mousedev: PS/2 mouse device common for all mice
[ 1.283856] sun6i-rtc 7000000.rtc: registered as rtc0
[ 1.283910] sun6i-rtc 7000000.rtc: setting system clock to 1970-01-02T00:00:07 UTC (86407)
[ 1.284074] sun6i-rtc 7000000.rtc: RTC enabled
[ 1.285233] mv64xxx_i2c 5002c00.i2c: can't get pinctrl, bus recovery not supported
[ 1.286283] mv64xxx_i2c 7081400.i2c: can't get pinctrl, bus recovery not supported
[ 1.287146] axp20x-i2c 1-0036: AXP20x variant AXP313a found
[ 1.300149] axp20x-i2c 1-0036: AXP20X driver loaded
[ 1.304639] sdhci: Secure Digital Host Controller Interface driver
[ 1.304655] sdhci: Copyright(c) Pierre Ossman
[ 1.304924] Synopsys Designware Multimedia Card Interface Driver
[ 1.306571] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.307840] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.309020] SMCCC: SOC_ID: ID = jep106:091e:1823 Revision = 0x00000000
[ 1.314741] NET: Registered PF_PACKET protocol family
[ 1.315137] Key type dns_resolver registered
[ 1.328316] registered taskstats version 1
[ 1.328565] Loading compiled-in X.509 certificates
[ 1.329065] zswap: loaded using pool lzo/zbud
[ 1.353721] debugfs: Directory '1100000.mixer' with parent 'regmap' already present!
[ 1.353775] debugfs: Directory '1100000.mixer' with parent 'regmap' already present!
[ 1.369562] sun4i-drm display-engine: bound 1100000.mixer (ops sun8i_mixer_ops)
[ 1.369976] sun4i-drm display-engine: bound 6510000.tcon-top (ops sun8i_tcon_top_ops)
[ 1.370571] sun4i-drm display-engine: bound 6515000.lcd-controller (ops sun4i_tcon_ops)
[ 1.371733] sun8i-dw-hdmi 6000000.hdmi: Detected HDMI TX controller v2.12a with HDCP (DWC HDMI 2.0 TX PHY)
[ 1.372577] sun8i-dw-hdmi 6000000.hdmi: registered DesignWare HDMI I2C bus driver
[ 1.374859] sun4i-drm display-engine: bound 6000000.hdmi (ops sun8i_dw_hdmi_ops)
[ 1.375839] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[ 1.375991] sun4i-drm display-engine: [drm] Cannot find any crtc or sizes
[ 1.379723] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 1.389996] sun50i-h616-pinctrl 300b000.pinctrl: initialized sunXi PIO driver
[ 1.391579] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 1.392168] sun50i-h616-r-pinctrl 7022000.pinctrl: initialized sunXi PIO driver
[ 1.393256] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-ph not found, using dummy regulator
[ 1.394233] printk: console [ttyS0] disabled
[ 1.394375] 5000000.serial: ttyS0 at MMIO 0x5000000 (irq = 295, base_baud = 1500000) is a 16550A
[ 1.394459] printk: console [ttyS0] enabled
[ 1.558603] Freeing initrd memory: 7612K
[ 1.564447] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pg not found, using dummy regulator
[ 2.563126] 5000400.serial: ttyS1 at MMIO 0x5000400 (irq = 296, base_baud = 1500000) is a 16550A
[ 2.572482] serial serial0: tty port ttyS1 registered
[ 2.580894] phy phy-5100400.phy.0: Changing dr_mode to 1
[ 2.581756] ehci-platform 5200000.usb: EHCI Host Controller
[ 2.591977] ehci-platform 5200000.usb: new USB bus registered, assigned bus number 1
[ 2.601364] ehci-platform 5200000.usb: irq 19, io mem 0x05200000
[ 2.602389] ehci-platform 5310000.usb: EHCI Host Controller
[ 2.613128] ehci-platform 5310000.usb: new USB bus registered, assigned bus number 2
[ 2.617214] ehci-platform 5311000.usb: EHCI Host Controller
[ 2.619461] usb_phy_generic usb_phy_generic.4.auto: dummy supplies not allowed for exclusive requests
[ 2.620180] ohci-platform 5200400.usb: Generic Platform OHCI controller
[ 2.620212] ohci-platform 5200400.usb: new USB bus registered, assigned bus number 3
[ 2.620399] ohci-platform 5200400.usb: irq 23, io mem 0x05200400
[ 2.621147] ehci-platform 5310000.usb: irq 20, io mem 0x05310000
[ 2.622071] ohci-platform 5311400.usb: Generic Platform OHCI controller
[ 2.622103] ohci-platform 5311400.usb: new USB bus registered, assigned bus number 4
[ 2.622140] ohci-platform 5310400.usb: Generic Platform OHCI controller
[ 2.622159] ohci-platform 5310400.usb: new USB bus registered, assigned bus number 5
[ 2.622287] ohci-platform 5311400.usb: irq 25, io mem 0x05311400
[ 2.622318] ohci-platform 5310400.usb: irq 24, io mem 0x05310400
[ 2.622383] ehci-platform 5200000.usb: USB 2.0 started, EHCI 1.00
[ 2.622735] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
[ 2.622746] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.622753] usb usb1: Product: EHCI Host Controller
[ 2.622759] usb usb1: Manufacturer: Linux 6.3.0-rc6-3 ehci_hcd
[ 2.622765] usb usb1: SerialNumber: 5200000.usb
[ 2.627115] hub 1-0:1.0: USB hub found
[ 2.648699] ehci-platform 5310000.usb: USB 2.0 started, EHCI 1.00
[ 2.650156] hub 1-0:1.0: 1 port detected
[ 2.753865] ehci-platform 5311000.usb: new USB bus registered, assigned bus number 6
[ 2.754122] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.03
[ 2.761810] ehci-platform 5311000.usb: irq 22, io mem 0x05311000
[ 2.769902] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.783130] usb usb3: Product: Generic Platform OHCI controller
[ 2.788712] ehci-platform 5311000.usb: USB 2.0 started, EHCI 1.00
[ 2.789052] usb usb3: Manufacturer: Linux 6.3.0-rc6-3 ohci_hcd
[ 2.800962] usb usb3: SerialNumber: 5200400.usb
[ 2.806299] hub 3-0:1.0: USB hub found
[ 2.810119] hub 3-0:1.0: 1 port detected
[ 2.814744] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.03
[ 2.823185] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.830424] usb usb5: Product: Generic Platform OHCI controller
[ 2.836349] usb usb5: Manufacturer: Linux 6.3.0-rc6-3 ohci_hcd
[ 2.842186] usb usb5: SerialNumber: 5310400.usb
[ 2.847485] hub 5-0:1.0: USB hub found
[ 2.851308] hub 5-0:1.0: 1 port detected
[ 2.855943] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
[ 2.864297] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.871536] usb usb2: Product: EHCI Host Controller
[ 2.876422] usb usb2: Manufacturer: Linux 6.3.0-rc6-3 ehci_hcd
[ 2.882266] usb usb2: SerialNumber: 5310000.usb
[ 2.887581] hub 2-0:1.0: USB hub found
[ 2.891401] hub 2-0:1.0: 1 port detected
[ 2.896066] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.03
[ 2.904367] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.911603] usb usb4: Product: Generic Platform OHCI controller
[ 2.917528] usb usb4: Manufacturer: Linux 6.3.0-rc6-3 ohci_hcd
[ 2.923365] usb usb4: SerialNumber: 5311400.usb
[ 2.928633] hub 4-0:1.0: USB hub found
[ 2.932479] hub 4-0:1.0: 1 port detected
[ 2.937115] usb usb6: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
[ 2.945557] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.952804] usb usb6: Product: EHCI Host Controller
[ 2.957689] usb usb6: Manufacturer: Linux 6.3.0-rc6-3 ehci_hcd
[ 2.963525] usb usb6: SerialNumber: 5311000.usb
[ 2.968821] hub 6-0:1.0: USB hub found
[ 2.972642] hub 6-0:1.0: 1 port detected
[ 3.598824] ehci-platform 5101000.usb: EHCI Host Controller
[ 3.598856] ohci-platform 5101400.usb: Generic Platform OHCI controller
[ 3.603751] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pf not found, using dummy regulator
[ 3.604478] ehci-platform 5101000.usb: new USB bus registered, assigned bus number 7
[ 3.606227] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pc not found, using dummy regulator
[ 3.611169] ohci-platform 5101400.usb: new USB bus registered, assigned bus number 8
[ 3.611737] ALSA device list:
[ 3.611753] No soundcards found.
[ 3.620018] ehci-platform 5101000.usb: irq 18, io mem 0x05101000
[ 3.627699] ohci-platform 5101400.usb: irq 21, io mem 0x05101400
[ 3.638352] sunxi-mmc 4020000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[ 3.638716] sunxi-mmc 4022000.mmc: initialized, max. request size: 2048 KB, uses new timings mode
[ 3.648717] ehci-platform 5101000.usb: USB 2.0 started, EHCI 1.00
[ 3.685302] mmc0: host does not support reading read-only switch, assuming write-enable
[ 3.686697] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
[ 3.696289] mmc0: new high speed SDHC card at address 0001
[ 3.702626] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.709236] mmcblk0: mmc0:0001 SD16G 29.5 GiB
[ 3.715341] usb usb7: Product: EHCI Host Controller
[ 3.723230] mmcblk0: p1 p2
[ 3.724684] usb usb7: Manufacturer: Linux 6.3.0-rc6-3 ehci_hcd
[ 3.733327] usb usb7: SerialNumber: 5101000.usb
[ 3.734023] hub 7-0:1.0: USB hub found
[ 3.741708] hub 7-0:1.0: 1 port detected
[ 3.746369] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.03
[ 3.754695] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.761936] usb usb8: Product: Generic Platform OHCI controller
[ 3.767861] usb usb8: Manufacturer: Linux 6.3.0-rc6-3 ohci_hcd
[ 3.773700] usb usb8: SerialNumber: 5101400.usb
[ 3.779026] hub 8-0:1.0: USB hub found
[ 3.782860] hub 8-0:1.0: 1 port detected
[ 3.793813] mmc2: new DDR MMC card at address 0001
[ 3.798613] Freeing unused kernel memory: 6784K
[ 3.798817] Run /init as init process
[ 3.807146] with arguments:
[ 3.807774] mmcblk2: mmc2:0001 Q316AB 14.7 GiB
[ 3.810149] /init
[ 3.810154] splash
[ 3.810159] with environment:
[ 3.818790] sunxi-mmc 4022000.mmc: data error, sending stop command
[ 3.819474] HOME=/
[ 3.822511] sunxi-mmc 4022000.mmc: send stop command failed
[ 3.828763] TERM=linux
[ 14.862166] EXT4-fs (mmcblk0p2): mounted filesystem d809a8b7-f276-49f2-9f78-988424e95f44 with ordered data mode. Quota mode: disabled.
[ 15.660316] systemd[1]: System time before build time, advancing clock.
[ 15.738878] systemd[1]: Failed to find module 'autofs4'
[ 15.795922] NET: Registered PF_INET6 protocol family
[ 15.802368] Segment Routing with IPv6
[ 15.806128] In-situ OAM (IOAM) with IPv6
[ 15.888761] systemd[1]: systemd 253.4-1-arch running in system mode (+PAM +AUDIT -SELINUX -APPARMOR -IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT -QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK +XKBCOMMON +UTMP -SYSVINIT default-hierarchy=unified)
[ 15.921170] systemd[1]: Detected architecture arm64.
[ 15.927618] systemd[1]: Detected first boot.
[root@manjaro-arm ~]# cat /sys/kernel/debug/regulator/regulator_summary
regulator use open bypass opmode voltage current min max
---------------------------------------------------------------------------------------
regulator-dummy 5 4 0 unknown 0mV 0mA 0mV 0mV
300b000.pinctrl-vcc-pc 1 0mA 0mV 0mV
300b000.pinctrl-vcc-pf 1 0mA 0mV 0mV
300b000.pinctrl-vcc-pg 1 0mA 0mV 0mV
300b000.pinctrl-vcc-ph 1 0mA 0mV 0mV
vcc-5v 8 7 0 unknown 5000mV 0mA 5000mV 5000mV
usb1-vbus 2 1 0 unknown 5000mV 0mA 5000mV 5000mV
5100400.phy-usb1_vbus 1 0mA 0mV 0mV
vdd-gpu 1 0 0 unknown 900mV 0mA 810mV 1160mV
vdd-cpu 1 0 0 unknown 900mV 0mA 810mV 1160mV
vdd-dram 1 0 0 unknown 1200mV 0mA 1200mV 1200mV
vcc1v8 2 1 0 unknown 1800mV 0mA 1800mV 1800mV
6000000.hdmi-hvcc 1 0mA 0mV 0mV
vcc3v3 3 2 0 unknown 3300mV 0mA 3300mV 3300mV
4022000.mmc-vmmc 1 0mA 3300mV 3400mV
4020000.mmc-vmmc 1 0mA 3300mV 3400mV
rtc-ldo 1 0 0 unknown 1800mV 0mA 1800mV 1800mV
vcc-wifi 1 0 0 unknown 3300mV 0mA 3300mV 3300mV
[root@manjaro-arm ~]# cat /sys/kernel/debug/clk/clk_summary
enable prepare protect duty hardware
clock count count count rate accuracy phase cycle enable
-------------------------------------------------------------------------------------------------------
iosc 1 1 0 14483702 300000000 0 50000 Y
iosc-32k 1 1 0 32768 300000000 0 50000 Y
osc32k 1 1 0 32768 300000000 0 50000 Y
rtc-32k 1 1 0 32768 300000000 0 50000 Y
osc32k-fanout 0 0 0 32768 300000000 0 50000 N
osc24M 13 13 0 24000000 0 0 50000 Y
ir 1 1 0 8000000 300000000 0 50000 Y
osc24M-32k 0 0 0 32000 0 0 50000 N
hdmi-slow 2 2 0 24000000 0 0 50000 Y
usb-phy3 1 1 0 24000000 0 0 50000 Y
usb-phy2 4 4 0 24000000 0 0 50000 Y
usb-phy1 1 1 0 24000000 0 0 50000 Y
usb-phy0 1 1 0 24000000 0 0 50000 Y
ts 0 0 0 24000000 0 0 50000 N
spi1 0 0 0 24000000 0 0 50000 N
spi0 0 0 0 24000000 0 0 50000 N
mmc1 0 0 0 12000000 0 0 50000 N
nand1 0 0 0 24000000 0 0 50000 N
nand0 0 0 0 24000000 0 0 50000 N
avs 0 0 0 24000000 0 0 50000 N
apb2 1 1 0 24000000 0 0 50000 Y
bus-i2c4 0 0 0 24000000 0 0 50000 N
bus-i2c3 0 0 0 24000000 0 0 50000 N
bus-i2c2 0 0 0 24000000 0 0 50000 N
bus-i2c1 0 0 0 24000000 0 0 50000 N
bus-i2c0 0 0 0 24000000 0 0 50000 N
bus-uart5 0 0 0 24000000 0 0 50000 N
bus-uart4 0 0 0 24000000 0 0 50000 N
bus-uart3 0 0 0 24000000 0 0 50000 N
bus-uart2 0 0 0 24000000 0 0 50000 N
bus-uart1 0 0 0 24000000 0 0 50000 N
bus-uart0 1 1 0 24000000 0 0 50000 Y
pll-audio-hs 0 0 0 1032000000 0 0 50000 N
pll-audio-4x 0 0 0 43000000 0 0 50000 Y
pll-audio-2x 0 0 0 21500000 0 0 50000 Y
pll-audio-1x 0 0 0 10750000 0 0 50000 Y
audio-hub 0 0 0 10750000 0 0 50000 N
audio-codec-4x 0 0 0 10750000 0 0 50000 N
audio-codec-1x 0 0 0 10750000 0 0 50000 N
dmic 0 0 0 10750000 0 0 50000 N
spdif 0 0 0 10750000 0 0 50000 N
pll-de 1 1 0 600000000 0 0 50000 Y
g2d 0 0 0 600000000 0 0 50000 N
deinterlace 0 0 0 600000000 0 0 50000 N
de 2 2 0 600000000 0 0 50000 Y
wb-div 0 0 0 600000000 0 0 50000 Y
wb 0 0 0 600000000 0 0 50000 N
mixer1-div 0 0 0 600000000 0 0 50000 Y
mixer1 0 0 0 600000000 0 0 50000 N
mixer0-div 1 1 0 600000000 0 0 50000 Y
mixer0 1 1 0 600000000 0 0 50000 Y
pll-ve 0 0 0 432000000 0 0 50000 N
ve 0 0 0 432000000 0 0 50000 N
pll-video2 0 0 0 297000000 0 0 50000 N
pll-video2-4x 0 0 0 1188000000 0 0 50000 Y
pll-video1 0 0 0 297000000 0 0 50000 N
pll-video1-4x 0 0 0 1188000000 0 0 50000 Y
pll-video0 1 1 0 297000000 0 0 50000 Y
tve0 0 0 0 297000000 0 0 50000 N
tcon-tv1 0 0 0 297000000 0 0 50000 N
tcon-tv0 0 0 0 297000000 0 0 50000 N
tcon-top-tv0 0 0 0 297000000 0 0 50000 N
hdmi 1 1 0 297000000 0 0 50000 Y
pll-video0-4x 0 0 0 1188000000 0 0 50000 Y
pll-gpu 0 0 0 432000000 0 0 50000 N
gpu0 0 0 0 432000000 0 0 50000 N
pll-periph1 0 0 0 600000000 0 0 50000 N
pll-periph1-2x 0 0 0 1200000000 0 0 50000 Y
pll-periph0 4 4 0 600000000 0 0 50000 Y
hdcp 0 0 0 600000000 0 0 50000 N
apb1 1 1 0 100000000 0 0 50000 Y
bus-keyadc 0 0 0 100000000 0 0 50000 N
bus-audio-hub 0 0 0 100000000 0 0 50000 N
bus-audio-codec 0 0 0 100000000 0 0 50000 N
bus-dmic 0 0 0 100000000 0 0 50000 N
bus-spdif 0 0 0 100000000 0 0 50000 N
bus-ths 0 0 0 100000000 0 0 50000 N
bus-iommu 0 0 0 100000000 0 0 50000 N
bus-pwm 0 0 0 100000000 0 0 50000 N
ahb3 13 13 0 200000000 0 0 50000 Y
bus-hdcp 0 0 0 200000000 0 0 50000 N
bus-tve0 0 0 0 200000000 0 0 50000 N
bus-tve-top 0 0 0 200000000 0 0 50000 N
bus-tcon-tv1 0 0 0 200000000 0 0 50000 N
bus-tcon-tv0 1 1 0 200000000 0 0 50000 Y
bus-tcon-top 1 1 0 200000000 0 0 50000 Y
bus-hdmi 2 2 0 200000000 0 0 50000 Y
bus-otg 1 1 0 200000000 0 0 50000 Y
bus-ehci3 1 1 0 200000000 0 0 50000 Y
bus-ehci2 5 5 0 200000000 0 0 50000 Y
bus-ehci1 1 1 0 200000000 0 0 50000 Y
bus-ehci0 1 1 0 200000000 0 0 50000 Y
bus-ohci3 2 2 0 200000000 0 0 50000 Y
bus-ohci2 2 2 0 200000000 0 0 50000 Y
bus-ohci1 2 2 0 200000000 0 0 50000 Y
bus-ohci0 2 2 0 200000000 0 0 50000 Y
bus-ts 0 0 0 200000000 0 0 50000 N
bus-emac1 0 0 0 200000000 0 0 50000 N
bus-emac0 0 0 0 200000000 0 0 50000 N
emac-25m 0 0 0 200000000 0 0 50000 N
bus-spi1 0 0 0 200000000 0 0 50000 N
bus-spi0 0 0 0 200000000 0 0 50000 N
bus-mmc2 1 1 0 200000000 0 0 50000 Y
bus-mmc1 0 0 0 200000000 0 0 50000 N
bus-mmc0 0 0 0 200000000 0 0 50000 N
bus-nand 0 0 0 200000000 0 0 50000 N
psi-ahb1-ahb2 2 2 0 200000000 0 0 50000 Y
bus-dram 1 1 0 200000000 0 0 50000 Y
bus-psi 0 0 0 200000000 0 0 50000 N
bus-dbg 0 0 0 200000000 0 0 50000 N
bus-hstimer 0 0 0 200000000 0 0 50000 N
bus-dma 0 0 0 200000000 0 0 50000 N
bus-ve 0 0 0 200000000 0 0 50000 N
bus-ce 0 0 0 200000000 0 0 50000 N
bus-gpu 0 0 0 200000000 0 0 50000 N
bus-g2d 0 0 0 200000000 0 0 50000 N
bus-deinterlace 0 0 0 200000000 0 0 50000 N
bus-de 2 2 0 200000000 0 0 50000 Y
bus-wb 0 0 0 200000000 0 0 50000 N
bus-mixer1 0 0 0 200000000 0 0 50000 N
bus-mixer0 1 1 0 200000000 0 0 50000 Y
pll-periph0-2x 3 3 0 1200000000 0 0 50000 Y
mmc2 1 1 0 100000000 0 0 50000 Y
mmc0 0 0 0 50000000 0 0 50000 N
pll-system-32k 0 0 0 32768 0 0 50000 Y
hdmi-cec 1 1 0 32768 0 0 50000 Y
ce 0 0 0 300000000 0 0 50000 N
gpu1 0 0 0 1200000000 0 0 50000 N
mbus 1 1 0 400000000 0 0 50000 Y
mbus-g2d 0 0 0 400000000 0 0 50000 N
mbus-nand 0 0 0 400000000 0 0 50000 N
mbus-ts 0 0 0 400000000 0 0 50000 N
mbus-ce 0 0 0 400000000 0 0 50000 N
mbus-ve 0 0 0 400000000 0 0 50000 N
mbus-dma 0 0 0 400000000 0 0 50000 N
pll-ddr1 0 0 0 432000000 0 0 50000 N
pll-ddr0 1 1 0 1608000000 0 0 50000 Y
dram 1 1 0 1608000000 0 0 50000 Y
pll-cpux 1 1 0 1032000000 0 0 50000 Y
cpux 1 1 0 1032000000 0 0 50000 Y
cpux-apb 0 0 0 258000000 0 0 50000 Y
axi 0 0 0 516000000 0 0 50000 Y
osc12M 4 4 0 12000000 0 0 50000 Y
usb-ohci3 2 2 0 12000000 0 0 50000 Y
usb-ohci2 2 2 0 12000000 0 0 50000 Y
usb-ohci1 2 2 0 12000000 0 0 50000 Y
usb-ohci0 2 2 0 12000000 0 0 50000 Y
r-apb2 0 0 0 24000000 0 0 50000 Y
r-apb2-rsb 0 0 0 24000000 0 0 50000 N
r-apb2-i2c 0 0 0 24000000 0 0 50000 N
r-ahb 1 1 0 0 0 0 50000 Y
r-apb1 3 3 0 0 0 0 50000 Y
r-apb1-rtc 1 1 0 0 0 0 50000 Y
r-apb1-ir 1 1 0 0 0 0 50000 Y
r-apb1-twd 0 0 0 0 0 0 50000 N
DTS:
// SPDX-License-Identifier: (GPL-2.0+ or MIT)
/*
* Author: piotr.oniszczuk@gmail.com
*/
/dts-v1/;
#include "sun50i-h616.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/leds/common.h>
/ {
model = "Tanix TX6s (axp313)";
compatible = "tanix,tx6s", "allwinner,sun50i-h616";
aliases {
mmc0 = &mmc0;
mmc2 = &mmc2;
ethernet0 = &emac1;
serial0 = &uart0;
};
chosen {
stdout-path = "serial0:115200n8";
};
connector {
compatible = "hdmi-connector";
type = "a";
port {
hdmi_con_in: endpoint {
remote-endpoint = <&hdmi_out_con>;
};
};
};
reg_vcc5v: vcc5v {
/* board wide 5V supply directly from the USB-C socket */
compatible = "regulator-fixed";
regulator-name = "vcc-5v";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
reg_usb1_vbus: usb1-vbus {
compatible = "regulator-fixed";
regulator-name = "usb1-vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&reg_vcc5v>;
enable-active-high;
/* gpio = <&pio 2 16 GPIO_ACTIVE_HIGH>; PC16 */
status = "okay";
};
reg_vcc_wifi: reg_vcc_wifi {
compatible = "regulator-fixed";
regulator-name = "vcc-wifi";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&pio 6 18 GPIO_ACTIVE_HIGH>; /* PG18 WL_REG_ON */
regulator-always-on;
enable-active-high;
status = "okay";
};
openvfd {
compatible = "open,vfd";
dev_name = "openvfd";
openvfd_gpio_clk = <&pio 8 11 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
openvfd_gpio_dat = <&pio 8 12 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
vfd_gpio_chip_name = "0300b000.pinctrl";
openvfd_chars = [02 04 03 02 01];
openvfd_dot_bits = [00 01 03 02 04 05 06];
openvfd_display_type = <0x03000001>;
status = "okay";
};
};
&cpu0 {
cpu-supply = <&reg_dcdc2>;
status = "okay";
};
&de {
status = "okay";
};
&ehci0 {
status = "okay";
};
&ehci1 {
status = "okay";
};
&ehci2 {
status = "okay";
};
&ehci3 {
status = "okay";
};
&hdmi {
hvcc-supply = <&reg_aldo1>;
status = "okay";
};
&hdmi_out {
hdmi_out_con: endpoint {
remote-endpoint = <&hdmi_con_in>;
};
};
&i2c3 {
status = "okay";
};
&emac1 {
pinctrl-names = "default";
pinctrl-0 = <&rmii_pins>;
phy-mode = "rmii";
phy-handle = <&rmii_phy>;
phy-supply = <&reg_aldo1>;
allwinner,rx-delay-ps = <3100>;
allwinner,tx-delay-ps = <700>;
status = "okay";
};
&mdio1 {
rmii_phy: ethernet-phy@1 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <1>;
};
};
&mmc0 {
vmmc-supply = <&reg_dldo1>;
broken-cd;
bus-width = <4>;
status = "okay";
};
&mmc2 {
vmmc-supply = <&reg_dldo1>;
bus-width = <8>;
non-removable;
cap-mmc-hw-reset;
status = "okay";
};
&ohci0 {
status = "okay";
};
&ohci1 {
status = "okay";
};
&ohci2 {
status = "okay";
};
&ohci3 {
status = "okay";
};
&r_i2c {
status = "okay";
axp313a: pmic@36 {
compatible = "x-powers,axp313a";
reg = <0x36>;
wakeup-source;
vin1-supply = <&reg_vcc5v>;
vin2-supply = <&reg_vcc5v>;
vin3-supply = <&reg_vcc5v>;
regulators {
reg_dcdc1: dcdc1 {
regulator-always-on;
regulator-min-microvolt = <810000>;
regulator-max-microvolt = <1160000>;
regulator-name = "vdd-gpu";
};
reg_dcdc2: dcdc2 {
regulator-always-on;
regulator-min-microvolt = <810000>;
regulator-max-microvolt = <1160000>;
regulator-name = "vdd-cpu";
};
reg_dcdc3: dcdc3 {
regulator-always-on;
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-name = "vdd-dram";
};
reg_aldo1: aldo1 {
regulator-always-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-name = "vcc1v8";
};
reg_dldo1: dldo1 {
regulator-always-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vcc3v3";
};
};
};
};
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_ph_pins>;
status = "okay";
};
&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
uart-has-rtscts;
status = "okay";
bluetooth {
compatible = "brcm,bcm43438-bt";
clocks = <&rtc 1>;
clock-names = "lpo";
vbat-supply = <&reg_dldo1>;
vddio-supply = <&reg_dldo1>;
device-wakeup-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
host-wakeup-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */
shutdown-gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */
};
};
&usbotg {
dr_mode = "peripheral";
status = "okay";
};
&usbphy {
usb1_vbus-supply = <&reg_usb1_vbus>;
status = "okay";
};
&ir {
linux,rc-map-name = "rc-beelink-gs1";
status = "okay";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment