t113-c-内核驱动寻找问题篇

第三次尝试

经过demsg的查看,原来是内核版本不对的原因,因此我们需要根据韦东山老师的教程换一次内核

经过不懈努力,好像过程很容易,但在最后栽了跟头

boot区挂载失败,这怎么办呀

并没有重复挂载

查看mmcblk0

分区的映射

解决

经过从新编译一次内核,使用更新过的工具链编译ko文件后,惊讶的发现vermagic版本一致了,于是终于能挂载了

另外貌似是printk是内核指令,所以ssh是看不到输出的,需要用dmesg查看

t113工具链更新

我再从新make的时候看见了系统的工具用的是这个工具

路径是~/T113/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin/arm-openwrt-linux-muslgnueabi-gcc

这篇文章是modinof和vermagic的

登记一下啊ko文件所需要的环境变量:

export ARCH=arm

export CROSS_COMPILE=arm-openwrt-linux-muslgnueabi-

 export PATH=$PATH:~/T113/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/bin

遗留问题:

其实挂载问题仍未解决,如果不解决以后的设备树更新和内核更新将会是一大难题,得另寻他法。

通过将sd卡拆下来读卡器到Ubuntu上,其实也是失败了

但是起码看分区更清晰了

解决方案1

既然不能挂载,那么就只能每次都烧成img然后烧录进去了,那么我们要知道的rootfs路径是

/home/momo/T113/Tina-Linux/target/allwinner/t113-mq_r/busybox-init-base-files

链接

但是有一些设置类的文件是再复制完整个文件夹后还是会被覆盖的,例如ssh的conf

一个在669一个在964所以肯对会被覆盖,这种情况应该修改系统的文件,但是我全局搜索没有搜出来ssh.conf所以这个只有可能是在Makefile中

于是我找到了这篇文章

#
# Copyright (C) 2006-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=openssh
PKG_VERSION:=8.4p1
PKG_RELEASE:=4

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/ \
  https://ftp.spline.de/pub/OpenBSD/OpenSSH/portable/
PKG_HASH:=5a01d22e407eb1c05ba8a8f7c654d388a13e9f226e4ed33bd38748dafa1d2b24

PKG_LICENSE:=BSD ISC
PKG_LICENSE_FILES:=LICENCE
PKG_CPE_ID:=cpe:/a:openssh:openssh

PKG_REMOVE_FILES:=
PKG_CONFIG_DEPENDS := \
 CONFIG_OPENSSH_LIBFIDO2

PKG_BUILD_DEPENDS += OPENSSH_LIBFIDO2:libfido2

include $(INCLUDE_DIR)/package.mk

define Package/openssh/Default
 SECTION:=net
 CATEGORY:=Network
 DEPENDS:=+libopenssl +zlib
 TITLE:=OpenSSH
 MAINTAINER:=Peter Wagner <tripolar@gmx.at>
 URL:=http://www.openssh.com/
 SUBMENU:=SSH
 VARIANT:=without-pam
endef

define Package/openssh-moduli
 $(call Package/openssh/Default)
 DEPENDS+= +openssh-keygen
 TITLE+= moduli file
endef

define Package/openssh-moduli/description
OpenSSH server moduli file.
endef

define Package/openssh-client
 $(call Package/openssh/Default)
 TITLE+= client
 ALTERNATIVES:=\
  200:/usr/bin/ssh:/usr/libexec/ssh-openssh \
  200:/usr/bin/scp:/usr/libexec/scp-openssh
endef

define Package/openssh-client/description
OpenSSH client.
endef

define Package/openssh-client/conffiles
/etc/ssh/ssh_config
endef

define Package/openssh-client-utils
 $(call Package/openssh/Default)
 DEPENDS+= +openssh-client +openssh-keygen
 TITLE+= client utilities
endef

define Package/openssh-client-utils/description
OpenSSH client utilities.
endef

define Package/openssh-keygen
 $(call Package/openssh/Default)
 TITLE+= keygen
endef

define Package/openssh-keygen/description
OpenSSH keygen.
endef

define Package/openssh-server
 $(call Package/openssh/Default)
 DEPENDS+= +openssh-keygen +OPENSSH_LIBFIDO2:libfido2
 TITLE+= server
 USERID:=sshd=22:sshd=22
endef

define Package/openssh-server/config
 source "$(SOURCE)/Config.in"
endef

define Package/openssh-server/description
OpenSSH server.
endef

define Package/openssh-server/conffiles
/etc/ssh/sshd_config
/etc/ssh/ssh_host_ed25519_key
/etc/ssh/ssh_host_ed25519_key.pub
/etc/ssh/ssh_host_rsa_key
/etc/ssh/ssh_host_rsa_key.pub
endef

define Package/openssh-server-pam
 $(call Package/openssh/Default)
 DEPENDS+= +libpthread +openssh-keygen +libpam
 TITLE+= server (with PAM support)
 VARIANT:=with-pam
 USERID:=sshd=22:sshd=22
endef

define Package/openssh-server-pam/description
OpenSSH server (with PAM support).
endef

define Package/openssh-server-pam/conffiles
/etc/pam.d/sshd
/etc/security/access-sshd-local.conf
/etc/ssh/sshd_config
endef

define Package/openssh-sftp-client
 $(call Package/openssh/Default)
 TITLE+= SFTP client
endef

define Package/openssh-sftp-client/description
OpenSSH SFTP client.
endef

define Package/openssh-sftp-server
 $(call Package/openssh/Default)
 TITLE+= SFTP server
endef

define Package/openssh-sftp-server/description
OpenSSH SFTP server.
endef

define Package/openssh-sftp-avahi-service
 $(call Package/openssh/Default)
 TITLE+= (SFTP Avahi service)
 DEPENDS:=+openssh-sftp-server +avahi-daemon
endef

define Package/openssh-sftp-avahi-service/description
 This package contains the service definition for announcing
 SFTP support via mDNS/DNS-SD.
endef

define Package/openssh-sftp-avahi-service/conffiles
/etc/avahi/services/sftp-ssh.service
endef

CONFIGURE_ARGS += \
 --sysconfdir=/etc/ssh \
 --with-privsep-user=sshd \
 --with-privsep-path=/var/empty \
 --disable-strip \
 --disable-etc-default-login \
 --disable-lastlog \
 --disable-utmp \
 --disable-utmpx \
 --disable-wtmp \
 --disable-wtmpx \
 --without-bsd-auth \
 --without-kerberos5 \
 --with-stackprotect \
 --with$(if $(CONFIG_OPENSSL_ENGINE),,out)-ssl-engine \
 --with$(if $(CONFIG_OPENSSH_LIBFIDO2),,out)-security-key-builtin
 
ifeq ($(BUILD_VARIANT),with-pam)
CONFIGURE_ARGS += \
 --with-pam
else
CONFIGURE_ARGS += \
 --without-pam
endif

CONFIGURE_VARS += LD="$(TARGET_CC)"

ifeq ($(BUILD_VARIANT),with-pam)
TARGET_LDFLAGS += -lpthread
endif

define Build/Compile
 $(MAKE) -C $(PKG_BUILD_DIR) \
  DESTDIR="$(PKG_INSTALL_DIR)" \
  STRIP_OPT="" \
  all install
endef

define Package/openssh-moduli/install
 $(INSTALL_DIR) $(1)/etc/ssh
 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/ssh/moduli $(1)/etc/ssh/
endef

define Package/openssh-client/install
 $(INSTALL_DIR) $(1)/etc/ssh
 chmod 0700 $(1)/etc/ssh
 $(CP) $(PKG_INSTALL_DIR)/etc/ssh/ssh_config $(1)/etc/ssh/
 $(INSTALL_DIR) $(1)/usr/libexec
 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ssh $(1)/usr/libexec/ssh-openssh
 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/scp $(1)/usr/libexec/scp-openssh
endef

define Package/openssh-client-utils/install
 $(INSTALL_DIR) $(1)/usr/bin
 $(INSTALL_BIN) $(foreach bin,add agent keyscan keysign,$(PKG_BUILD_DIR)/ssh-$(bin)) $(1)/usr/bin/
endef

define Package/openssh-keygen/install
 $(INSTALL_DIR) $(1)/usr/bin
 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ssh-keygen $(1)/usr/bin/
endef

define Package/openssh-server/install
 $(INSTALL_DIR) $(1)/etc/ssh
 chmod 0700 $(1)/etc/ssh
 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/ssh/sshd_config $(1)/etc/ssh/
 sed -r -i 's,^#(HostKey /etc/ssh/ssh_host_(rsa|ed25519)_key)$$$$,\1,' $(1)/etc/ssh/sshd_config
 $(INSTALL_DIR) $(1)/etc/init.d
 $(INSTALL_BIN) ./files/sshd.init $(1)/etc/init.d/sshd
 $(INSTALL_DIR) $(1)/lib/preinit
 $(INSTALL_BIN) ./files/sshd.failsafe $(1)/lib/preinit/99_10_failsafe_sshd
 $(INSTALL_DIR) $(1)/usr/sbin
 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/sshd $(1)/usr/sbin/
endef


define Package/openssh-server-pam/install
 $(call Package/openssh-server/install,$(1))
 sed -i 's,#Port 22,Port 22,g' $(1)/etc/ssh/sshd_config
 sed -i 's,#SyslogFacility AUTH,SyslogFacility AUTH,g' $(1)/etc/ssh/sshd_config
 sed -i 's,#LogLevel INFO,LogLevel INFO,g' $(1)/etc/ssh/sshd_config
 sed -i 's,#LoginGraceTime 2m,LoginGraceTime 2m,g' $(1)/etc/ssh/sshd_config
 sed -i 's,#StrictModes yes,StrictModes yes,g' $(1)/etc/ssh/sshd_config
 sed -i 's,#MaxAuthTries 6,MaxAuthTries 6,g' $(1)/etc/ssh/sshd_config
 sed -i 's,#MaxSessions 10,MaxSessions 10,g' $(1)/etc/ssh/sshd_config
 sed -i 's,#TCPKeepAlive yes,TCPKeepAlive yes,g' $(1)/etc/ssh/sshd_config
 sed -i 's,#PermitRootLogin prohibit-password,PermitRootLogin yes,g' $(1)/etc/ssh/sshd_config
 sed -i 's,#UsePAM no,UsePAM yes,g' $(1)/etc/ssh/sshd_config
 sed -i 's,#PermitEmptyPasswords yes,PermitEmptyPasswords yes,g' $(1)/etc/ssh/sshd_config
 $(INSTALL_DIR) $(1)/etc/pam.d
 $(INSTALL_DATA) ./files/sshd.pam $(1)/etc/pam.d/sshd
 $(INSTALL_DIR) $(1)/etc/security
 $(INSTALL_DATA) ./files/sshd.pam-access $(1)/etc/security/access-sshd-local.conf
endef

define Package/openssh-sftp-client/install
 $(INSTALL_DIR) $(1)/usr/bin
 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/sftp $(1)/usr/bin/
endef

define Package/openssh-sftp-server/install
 $(INSTALL_DIR) $(1)/usr/lib
 $(CP) $(PKG_INSTALL_DIR)/usr/lib/sftp-server $(1)/usr/lib/
 $(INSTALL_DIR) $(1)/usr/libexec
 ln -sf ../lib/sftp-server $(1)/usr/libexec/sftp-server
endef

define Package/openssh-sftp-avahi-service/install
 $(INSTALL_DIR) $(1)/etc/avahi/services
 $(INSTALL_DATA) ./files/sftp-ssh.service $(1)/etc/avahi/services/
endef

$(eval $(call BuildPackage,openssh-client))
$(eval $(call BuildPackage,openssh-moduli))
$(eval $(call BuildPackage,openssh-client-utils))
$(eval $(call BuildPackage,openssh-keygen))
$(eval $(call BuildPackage,openssh-server))
$(eval $(call BuildPackage,openssh-server-pam))
$(eval $(call BuildPackage,openssh-sftp-client))
$(eval $(call BuildPackage,openssh-sftp-server))
$(eval $(call BuildPackage,openssh-sftp-avahi-service))

有了这些,我们就有能力去修改makefile了

修改makefile

路径是/home/momo/T113/Tina-Linux/package/network/openssh

改成这样

 

修改passwd

路径在/home/momo/T113/Tina-Linux/package/busybox-init-base-files/busybox-init-base-files/etc

添加

sshd:x:109:65534::/var/run/sshd:/usr/sbin/nologin

修改ssh开机文件

路径在/home/momo/T113/Tina-Linux/package/network/openssh/files

这个可以用全局搜索搜到

于是添加wpa和开机启动文件就可以启动ssh

wpa_supplicant.conf的默认文件路径:

要注意先是packge的busybox再到这个busybox,简单来说这个路径的busybox会覆盖packge的

这篇文章说的是内核模块的,挺有意思的

 

7.4日的启动信息

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.61 (momo@ubuntu) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #8 SMP PREEMPT Mon Jul 3 15:50:58 UTC 2023
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: sun8iw20
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 4 MiB at 0x47c00000
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 15 pages/cpu s30348 r8192 d22900 u61440
[    0.000000] pcpu-alloc: s30348 r8192 d22900 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 rootdelay=2 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:private@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=4M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun8iw20p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g2a1965a(07/10/2022-02:50:57) mbr_offset=1032192 disp_reserve=1536000,0x43f06000 androidboot.dramsize=128
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 106048K/131072K available (6144K kernel code, 304K rwdata, 1572K rodata, 1024K init, 1173K bss, 20928K reserved, 4096K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x264/0x3e8 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.008024] Switching to timer-based delay loop, resolution 41ns
[    0.014196] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.023893] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.034268] pid_max: default: 32768 minimum: 301
[    0.039021] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.046337] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.054670] CPU: Testing write buffer coherency: ok
[    0.059877] /cpus/cpu@0 missing clock-frequency property
[    0.065208] /cpus/cpu@1 missing clock-frequency property
[    0.070555] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.076712] Setting up static identity map for 0x40100000 - 0x40100060
[    0.083361] rcu: Hierarchical SRCU implementation.
[    0.088564] smp: Bringing up secondary CPUs ...
[    0.094189] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.094310] smp: Brought up 1 node, 2 CPUs
[    0.104132] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.110310] CPU: All CPU(s) started in SVC mode.
[    0.115388] devtmpfs: initialized
[    0.129696] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.137823] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.147920] pinctrl core: initialized pinctrl subsystem
[    0.154058] NET: Registered protocol family 16
[    0.160023] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.195126] rtc_ccu: sunxi ccu init OK
[    0.201207] ccu: sunxi ccu init OK
[    0.205031] r_ccu: sunxi ccu init OK
[    0.227855] iommu: Default domain type: Translated
[    0.232884] sunxi iommu: irq = 24
[    0.237064] SCSI subsystem initialized
[    0.240973] usbcore: registered new interface driver usbfs
[    0.246511] usbcore: registered new interface driver hub
[    0.251933] usbcore: registered new device driver usb
[    0.257664] Advanced Linux Sound Architecture Driver Initialized.
[    0.264350] Bluetooth: Core ver 2.22
[    0.267983] NET: Registered protocol family 31
[    0.272446] Bluetooth: HCI device and connection manager initialized
[    0.278842] Bluetooth: HCI socket layer initialized
[    0.283733] Bluetooth: L2CAP socket layer initialized
[    0.288818] Bluetooth: SCO socket layer initialized
[    0.293934] pwm module init!
[    0.298005] g2d 5410000.g2d: Adding to iommu group 0
[    0.303285] G2D: rcq version initialized.major:252
[    0.308942] clocksource: Switched to clocksource arch_sys_counter
[    0.323441] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[    0.332697] NET: Registered protocol family 2
[    0.337606] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.346038] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.353771] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.360851] TCP: Hash tables configured (established 1024 bind 1024)
[    0.367309] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.373881] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.381064] NET: Registered protocol family 1
[    0.386371] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
[    0.396677] spi spi0: spi0 supply spi not found, using dummy regulator
[    0.403416] sunxi_spi_resource_get()2116 - [spi0] SPI MASTER MODE
[    0.409599] sunxi_spi_resource_get()2154 - Failed to get sample mode
[    0.415953] sunxi_spi_resource_get()2159 - Failed to get sample delay
[    0.422400] sunxi_spi_resource_get()2163 - sample_mode:-1431633921 sample_delay:-1431633921
[    0.430826] sunxi_spi_clk_init()2205 - [spi0] mclk 100000000
[    0.437086] sunxi_spi_probe()2623 - [spi0]: driver probe succeed, base c881f000, irq 39
[    0.446732] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.458134] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.464175] ntfs: driver 2.1.32 [Flags: R/W].
[    0.498505] io scheduler mq-deadline registered
[    0.503069] io scheduler kyber registered
[    0.508142] [DISP]disp_module_init
[    0.512098] disp 5000000.disp: Adding to iommu group 0
[    0.517746] [DISP] parser_disp_init_para,line:1430:
[    0.517749] of_property_read fb0_width fail
[    0.526840] [DISP] disp_init,line:2386:
[    0.526845] smooth display screen:0 type:1 mode:4
[    0.551617] display_fb_request,fb_id:0
[    0.557725] Freeing logo buffer memory: 1500K
[    0.562616] disp_al_manager_apply ouput_type:1
[    0.567283] sunxi_pwm_enable_dual: can't parse pwm device
[    0.569242] [DISP]disp_module_init finish
[    0.577732] sunxi_sid_init()551 - insmod ok
[    0.582894] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
[    0.593092] uart uart0: uart0 supply uart not found, using dummy regulator
[    0.600319] uart0: ttyS0 at MMIO 0x2500000 (irq = 34, base_baud = 1500000) is a SUNXI
[    0.608171] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
[    0.616180] printk: console [ttyS0] enabled
[    0.625094] printk: bootconsole [earlycon0] disabled
[    0.636450] misc dump reg init
[    0.641012] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
[    0.652259] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
[    0.659525] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
[    0.666854] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
[    0.674305] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
[    0.680864] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
[    0.687817] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
[    0.695562] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1
[    0.703431] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
[    0.711562] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
[    0.719200] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
[    0.725950] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
[    0.733512] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=207 assert=0
[    0.741507] [ADDR_MGT] addr_mgt_probe: module version: v1.0.11
[    0.748665] [ADDR_MGT] addr_mgt_probe: success.
[    0.754051] dma-buf: Running sanitycheck
[    0.758449] dma-buf: Running dma_fence
[    0.762714] sizeof(dma_fence)=48
[    0.766438] dma-buf: Running dma_fence/sanitycheck
[    0.771859] dma-buf: Running dma_fence/test_signaling
[    0.777525] dma-buf: Running dma_fence/test_add_callback
[    0.783523] dma-buf: Running dma_fence/test_late_add_callback
[    0.789990] dma-buf: Running dma_fence/test_rm_callback
[    0.795850] dma-buf: Running dma_fence/test_late_rm_callback
[    0.802216] dma-buf: Running dma_fence/test_status
[    0.807588] dma-buf: Running dma_fence/test_error
[    0.812874] dma-buf: Running dma_fence/test_wait
[    0.818043] dma-buf: Running dma_fence/test_wait_timeout
[    0.858954] dma-buf: Running dma_fence/test_stub
[    0.864150] dma-buf: Running dma_fence/race_signal_callback
[    0.938950] thread_signal_callback[0] completed 36407 passes, 2161 misses
[    0.946595] thread_signal_callback[1] completed 36409 passes, 2164 misses
[    1.018958] thread_signal_callback[0] completed 40451 passes, 40450 misses
[    1.026691] thread_signal_callback[1] completed 40420 passes, 40420 misses
[    1.034917] sunxi-spinand: AW SPINand MTD Layer Version: 2.3 20211223
[    1.042237] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306
[    1.053609] random: fast init done
[    1.317543] random: crng init done
[    2.048990] sunxi-spinand-phy: read id failed : -110
[    2.054579] spi-nand: probe of spi0.0 failed with error -110
[    2.061086] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.068408] sunxi-ehci: EHCI SUNXI driver
[    2.073378] get ehci1-controller wakeup-source is fail.
[    2.079367] sunxi ehci1-controller don't init wakeup source
[    2.085623] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0b68700, 0x:c8837000, irq_no:3a
[    2.097662] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator
[    2.110180] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
[    2.122431] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[    2.129717] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[    2.139671] sunxi-ehci 4200000.ehci1-controller: irq 58, io mem 0x04200000
[    2.168971] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[    2.177596] hub 1-0:1.0: USB hub found
[    2.181866] hub 1-0:1.0: 1 port detected
[    2.186822] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.193808] sunxi-ohci: OHCI SUNXI driver
[    2.198763] get ohci1-controller wakeup-source is fail.
[    2.204751] sunxi ohci1-controller don't init wakeup source
[    2.211022] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0b68990
[    2.220733] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator
[    2.233223] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
[    2.245416] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[    2.252688] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[    2.262546] sunxi-ohci 4200400.ohci1-controller: irq 59, io mem 0x04200400
[    2.343732] hub 2-0:1.0: USB hub found
[    2.347977] hub 2-0:1.0: 1 port detected
[    2.353041] usbcore: registered new interface driver usb-storage
[    2.359946] i2c /dev entries driver
[    2.363929] sunxi cedar version 1.1
[    2.368015] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
[    2.374365] VE: sunxi_cedar_probe power-domain init!!!
[    2.380146] VE: install start!!!
[    2.380146]
[    2.385647] VE: cedar-ve the get irq is 40
[    2.385647]
[    2.392121] VE: ve_debug_proc_info:10e1d42f, data:6bd029b4, lock:43693bc1
[    2.392121]
[    2.401417] VE: install end!!!
[    2.401417]
[    2.406495] VE: sunxi_cedar_probe
[    2.410470] Bluetooth: HCI UART driver ver 2.3
[    2.415455] Bluetooth: HCI UART protocol H4 registered
[    2.421241] Bluetooth: HCI UART protocol BCSP registered
[    2.427196] Bluetooth: HCI UART protocol (null) registered
[    2.433357] Bluetooth: HCI Realtek H5 protocol initialized
[    2.441598] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40)
[    2.451629] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
[    2.457825] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[    2.464223] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[    2.470687] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[    2.477130] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[    2.483692] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[    2.490245] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[    2.496786] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[    2.503774] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[    2.509342] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.520537] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[    2.540685] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.565127] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
[    2.570846] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.582947] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40)
[    2.585501] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.592917] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
[    2.606662] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.610548] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
[    2.625099] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.628469] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
[    2.646523] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
[    2.652989] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
[    2.659542] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
[    2.662295] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.666084] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
[    2.666092] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
[    2.676801] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    2.681651] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
[    2.688233] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    2.720296] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[    2.732125] mmc0: new high speed SDXC card at address 59b4
[    2.738855] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.750609] mmcblk0: mmc0:59b4 SD64G 59.4 GiB
[    2.755714] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[    2.767616]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8
[    2.776997] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.798968] sunxi-mmc 4021000.sdmmc: detmode:manually by software
[    2.806539] exFAT: Version 1.3.0
[    2.810192] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[    2.817896] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[    2.824820] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.837911] sunxi-spdif 2036000.spdif: Not using gpio-spdif gpio from dts
[    2.839515] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.846230] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1
[    2.846230]
[    2.859350] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    2.874352] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
[    2.881948] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    2.892412] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished
[    2.899578] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    2.907851] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
[    2.914529] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    2.923498] [SNDCODEC][sunxi_card_init][583]:card init finished
[    2.930213] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    2.948366] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
[    2.959301] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0
[    2.971276] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished
[    2.980270] NET: Registered protocol family 10
[    2.986209] Segment Routing with IPv6
[    2.990381] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch
[    2.997840] NET: Registered protocol family 17
[    3.003001] Bluetooth: RFCOMM TTY layer initialized
[    3.008481] Bluetooth: RFCOMM socket layer initialized
[    3.014312] Bluetooth: RFCOMM ver 1.11
[    3.019185] Registering SWP/SWPB emulation handler
[    3.039096] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator
[    3.048894] sunxi-i2c sunxi-i2c2: probe success
[    3.055341] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
[    3.067628] sunxi-audio-card 203605c.soundspdif: use dummy codec for simple card.
[    3.076216] debugfs: Directory '2036000.spdif' with parent 'sndspdif' already present!
[    3.085560] sunxi-audio-card 203605c.soundspdif: snd-soc-dummy-dai <-> 2036000.spdif mapping ok
[    3.096288] get ehci0-controller wakeup-source is fail.
[    3.102344] sunxi ehci0-controller don't init wakeup source
[    3.108601] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b681e0, 0x:c88a4000, irq_no:38
[    3.120629] [sunxi-ehci0]: Not init ehci0
[    3.125455] get ohci0-controller wakeup-source is fail.
[    3.131426] sunxi ohci0-controller don't init wakeup source
[    3.137696] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0b68470
[    3.147374] [sunxi-ohci0]: Not init ohci0
[    3.153191] get usb_detect_mode is fail, -22
[    3.157984] get det_vbus is fail, -84
[    3.162138] get id is fail, -84
[    3.167608] clk: Not disabling unused clocks
[    3.172887] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.182599] cfg80211: failed to load regulatory.db
[    3.182615] ALSA device list:
[    3.191310]   #0: audiocodec
[    3.194537]   #1: sndspdif
[    3.197575] alloc_fd: slot 0 not NULL!
[    3.201996] Waiting 2 sec before mounting root device...
[    4.198975]
[    4.198975] insmod_device_driver
[    4.198975]
[    4.206166] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator
[    4.218279] device_chose finished 142!
[    5.243666] VFS: Mounted root (squashfs filesystem) readonly on device 179:5.
[    5.253904] devtmpfs: mounted
[    5.259161] Freeing unused kernel memory: 1024K
[    5.279102] Run /pseudo_init as init process
[    5.650465] EXT4-fs: Warning: mounting with data=journal disables delayed allocation and O_DIRECT support!
[    5.670000] EXT4-fs (mmcblk0p7): mounted filesystem with journalled data mode. Opts: data=journal
[    6.242916] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null)
[    6.271641] sunxi_gpadc_init,2151, success
[    6.276550] sunxi_gpadc_setup: get channel scan data failed
[    6.283177] input: sunxi-gpadc0 as /devices/virtual/input/input1
[    6.401508] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
[    6.508653] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
[    6.514963] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    6.526614] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[    6.546801] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    6.570712] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    6.585310] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    6.598593] sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range
[    6.617316] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    6.628919] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[    6.640765] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[    6.653343] mmc1: new high speed SDIO card at address 0001
[   11.352949] file system registered
[   11.370949] configfs-gadget 4100000.udc-controller: failed to start g1: -19
[   11.393875] read descriptors
[   11.397317] read strings
[   11.656003] sunxi_set_cur_vol_work()485 WARN: get power supply failed
[   11.698403] android_work: sent uevent USB_STATE=CONNECTED
[   11.838583] sunxi_set_cur_vol_work()485 WARN: get power supply failed
[   11.904663] configfs-gadget gadget: high-speed config #1: c
[   11.911061] android_work: sent uevent USB_STATE=CONFIGURED
[   14.980816] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   33.798972] usb1-vbus: disabling

 

posted @   悠闲的小莫  阅读(432)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· winform 绘制太阳,地球,月球 运作规律
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
· 上周热点回顾(3.3-3.9)
· AI 智能体引爆开源社区「GitHub 热点速览」
点击右上角即可分享
微信分享提示