Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页
    1. Home
    2. jinxiangwzh
    • Profile
    • Following 3
    • Followers 0
    • my integral 5297
    • Topics 64
    • Posts 128
    • Best 1
    • Groups 0

    jinxiangwzhLV 6

    @jinxiangwzh

    5297
    integral
    1
    Reputation
    31
    Profile views
    128
    Posts
    0
    Followers
    3
    Following
    Joined Last Online

    jinxiangwzh Unfollow Follow

    Best posts made by jinxiangwzh

    • Reply: 这个目录下的sample是怎么编译的

      咨询了板子厂家, 需要在softwinner/eyesee-mpp/middleware/v316/tina.mk中修改,把相应sample前面的#去掉即可,编译结果存放在各个sample自己的目录下

      posted in 编译和烧写问题专区
      jinxiangwzh
      jinxiangwzh

    Latest posts made by jinxiangwzh

    • Reply: 有没有接口可以让板子进入FEL

      @whycan 没有串口连出来 群里问到了一个方法,使用命令“reboot efex”验证了 可行,感谢大哥回复

      posted in 代码下载问题专区
      jinxiangwzh
      jinxiangwzh
    • 有没有接口可以让板子进入FEL

      我们设备外壳不能改,按键没办法使用,有没有办法软件调用接口进入FEL?

      posted in 代码下载问题专区
      jinxiangwzh
      jinxiangwzh
    • Reply: 麻烦大佬们指点一下,日志中文件系统报错是怎么回事,怎么解决

      @whycan 能用,目前没发现有啥影响

      posted in Linux
      jinxiangwzh
      jinxiangwzh
    • Reply: 麻烦大佬们指点一下,日志中文件系统报错是怎么回事,怎么解决

      @whycan
      我在sys_partition.fex 把你说的这个分区改大了 还是有报错

      [    2.469181] Waiting for root device /dev/mmcblk0p7...
      [    2.475229] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS200 dt B
      [    2.486043] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS200 dt B
      [    2.496957] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS(SDR20) dt B
      [    2.508063] sunxi-mmc sdc2: sdc set ios:clk 52000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS(SDR20) dt B
      [    2.519185] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS400 dt B
      [    2.529800] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS400 dt B
      [    2.540602] mmc0: new HS400 MMC card at address 0001
      [    2.546845] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
      [    2.552145] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
      [    2.559032] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
      [    2.566658]  mmcblk0: p1 p2 p3 < p5 p6 p7 p8 p9 p10 p11 >
      [    2.572750] mmcblk0: p1 size 13060096 extends beyond EOD, truncated
      [    2.587293] EXT4-fs (mmcblk0p7): couldn't mount as ext3 due to feature incompatibilities
      [    2.597019] EXT4-fs (mmcblk0p7): couldn't mount as ext2 due to feature incompatibilities
      [    2.609863] EXT4-fs (mmcblk0p7): mounted filesystem without journal. Opts: (null)
      [    2.618501] VFS: Mounted root (ext4 filesystem) on device 179:7.
      [    2.625750] devtmpfs: mounted
      [    2.629364] Freeing unused kernel memory: 148K
      [    2.634358] This architecture does not have kernel memory protection.
      mount: mounting none on /dev failed: Resource busy
      mount: mounting pstore on /sys/fs/pstore failed: No such file or directory
      mount: mounting /dev/by-name/rootfs_data on /overlay failed: Invalid argument
      Mount Failed: formating /dev/by-name/rootfs_data to ext4 ...
      mke2fs 1.42.12 (29-Aug-2014)
      [    2.745819] random: mkfs.ext4: uninitialized urandom read (16 bytes read)
      [    2.753603] random: mkfs.ext4: uninitialized urandom read (16 bytes read)
      [    2.822581] EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null)
      skip mount overlayfs as now rootfs not squashfs
      [    2.845656] EXT4-fs error (device mmcblk0p7): ext4_has_uninit_itable:3049: comm mount: Inode table for bg 0 marked as needing zeroing
      [    2.859803] EXT4-fs (mmcblk0p7): Remounting filesystem read-only
      [    2.867082] EXT4-fs (mmcblk0p7): re-mounted. Opts: block_validity,delalloc,barrier,user_xattr
      starting pid 584, tty '': '/etc/init.d/rcS boot'
      ------run rc.preboot file-----
      ifconfig: socket: Function not implemented
      mke2fs 1.42.12 (29-Aug-2014)
      [    2.942788] random: mkfs.ext4: uninitialized urandom read (16 bytes read)
      [    6.349531] random: fast init done
      [    6.678689] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
      mount: mounting /dev/mmcblk0p1 on /mnt/SDCARD failed: Resource busy
      e2fsck: Cannot continue, aborting.
      
      
      posted in Linux
      jinxiangwzh
      jinxiangwzh
    • 麻烦大佬们指点一下,日志中文件系统报错是怎么回事,怎么解决
      [    2.728899] Waiting for root device /dev/mmcblk0p7...
      [    2.746880] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 8 timing LEGACY(SDR12) dt B
      [    2.759760] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS200 dt B
      [    2.770517] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS200 dt B
      [    2.781429] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS(SDR20) dt B
      [    2.792542] sunxi-mmc sdc2: sdc set ios:clk 52000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS(SDR20) dt B
      [    2.803660] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS400 dt B
      [    2.814274] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS400 dt B
      [    2.825075] mmc0: new HS400 MMC card at address 0001
      [    2.831335] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
      [    2.836665] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
      [    2.843582] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
      [    2.851210]  mmcblk0: p1 p2 p3 < p5 p6 p7 p8 p9 p10 p11 >
      [    2.857345] mmcblk0: p1 size 13090816 extends beyond EOD, truncated
      [    2.967545] EXT4-fs (mmcblk0p7): couldn't mount as ext3 due to feature incompatibilities
      [    2.977248] EXT4-fs (mmcblk0p7): couldn't mount as ext2 due to feature incompatibilities
      [    2.990135] EXT4-fs (mmcblk0p7): mounted filesystem without journal. Opts: (null)
      [    2.998622] VFS: Mounted root (ext4 filesystem) on device 179:7.
      [    3.005827] devtmpfs: mounted
      [    3.009452] Freeing unused kernel memory: 156K
      [    3.014444] This architecture does not have kernel memory protection.
      mount: mounting none on /dev failed: Resource busy
      mount: mounting pstore on /sys/fs/pstore failed: No such file or directory
      mount: mounting /dev/by-name/rootfs_data on /overlay failed: Invalid argument
      Mount Failed: formating /dev/by-name/rootfs_data to ext4 ...
      mke2fs 1.42.12 (29-Aug-2014)
      
      Filesystem too small for a journal
      [    3.121146] random: mkfs.ext4: uninitialized urandom read (16 bytes read)
      [    3.133334] random: mkfs.ext4: uninitialized urandom read (16 bytes read)
      [    3.153748] EXT4-fs (mmcblk0p9): mounted filesystem without journal. Opts: (null)
      skip mount overlayfs as now rootfs not squashfs
      [    3.176575] EXT4-fs error (device mmcblk0p7): ext4_has_uninit_itable:3049: comm mount: Inode table for bg 0 marked as needing zeroing
      [    3.190769] EXT4-fs (mmcblk0p7): Remounting filesystem read-only
      [    3.198052] EXT4-fs (mmcblk0p7): re-mounted. Opts: block_validity,delalloc,barrier,user_xattr
      starting pid 643, tty '': '/etc/init.d/rcS boot'
      ------run rc.preboot file-----
      mke2fs 1.42.12 (29-Aug-2014)
      [    3.276129] random: mkfs.ext4: uninitialized urandom read (16 bytes read)
      [    6.169111] random: fast init done
      [    6.994388] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
      mount: mounting /dev/mmcblk0p1 on /mnt/SDCARD failed: Resource busy
      e2fsck: Cannot continue, aborting.
      
      
      posted in Linux
      jinxiangwzh
      jinxiangwzh
    • 关于V4L2自定义CID的问题

      我想在sensor驱动中自定义一个平台没有的ID,通过v4l2_ctrl_new_custom接口添加进来,在应用层调用发现返回无效参数,查看源码后,我想确认一个问题,添加平台没有的ID,是不是需要在lichee/linux-4.9/drivers/media/platform/sunxi-vin/vin-video/vin_video.c中的

      static int vin_s_ctrl(struct v4l2_ctrl *ctrl)
      

      函数中也要实现一下?
      然后

      int vin_init_controls(struct v4l2_ctrl_handler *hdl, struct vin_vid_cap *cap)
      

      中也要注册一下?

      posted in Linux
      jinxiangwzh
      jinxiangwzh
    • Reply: axp2101怎么更改PWRON管脚得属性?

      @whycanservice 需要定制是什么意思?自己修改代码?

      posted in Linux
      jinxiangwzh
      jinxiangwzh
    • axp2101怎么更改PWRON管脚得属性?

      规格书上只有这个EN/PWRON pin can be configured as PWRON pin or EN pin by customization.,具体怎么改?

      我们硬件把这个管脚接到了船型开关上,AXP2101的四种状态感觉没有适合船型开关的,不知道这样设计是不是有问题?
      9487175e-1318-462b-94f4-303462c45ee3-image.png

      posted in Linux
      jinxiangwzh
      jinxiangwzh
    • 系统突然起不来了

      最后停留在
      end Kernel panic - not syncing: Requested init /pseudo_init failed (error -2).
      我也没修改什么,看不懂啥意思,怎么会出现这个错误
      详细启动log如下

      [    0.000000] Booting Linux on physical CPU 0x0
      [    0.000000] Linux version 4.9.118 (jamo@bm-wuzhaohua) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #44 SMP PREEMPT Mon Jan 9 02:52:08 UTC 2023
      [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d
      [    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: sun8iw16
      [    0.000000] cma: Reserved 384 MiB at 0x48000000
      [    0.000000] Memory policy: Data cache writealloc
      [    0.000000] On node 0 totalpages: 131072
      [    0.000000] free_area_init_node: node 0, pgdat c0422a80, node_mem_map c7b38000
      [    0.000000]   Normal zone: 1024 pages used for memmap
      [    0.000000]   Normal zone: 0 pages reserved
      [    0.000000]   Normal zone: 131072 pages, LIFO batch:31
      [    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 12 pages/cpu @c7ae0000 s20428 r8192 d20532 u49152
      [    0.000000] pcpu-alloc: s20428 r8192 d20532 u49152 alloc=12*4096
      [    0.000000] pcpu-alloc: [0] 0 [0] 1
      [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
      [    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x05000c00 initcall_debug=0 console=ttyS4,115200 loglevel=8 root=/dev/mmcblk0p7 rw rootwait init=/pseudo_init partitions=boot-resource@mmcblk0p2:env@mmcblk0p5:boot@mmcblk0p6:rootfs@mmcblk0p7:recovery@mmcblk0p8:rootfs_data@mmcblk0p9:misc@mmcblk0p10:private@mmcblk0p11:UDISK@mmcblk0p1 cma=384M disp_reserve=38454,0x5fc00000
      [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
      [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
      [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
      [    0.000000] Memory: 120896K/524288K available (2686K kernel code, 182K rwdata, 1028K rodata, 156K init, 114K bss, 10176K reserved, 393216K cma-reserved, 0K highmem)
      [    0.000000] Virtual kernel memory layout:
      [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
      [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
      [    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
      [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
      [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
      [    0.000000]     modules : 0xbf800000 - 0xbfe00000   (   6 MB)
      [    0.000000]       .text : 0xc0008000 - 0xc02a7cac   (2688 kB)
      [    0.000000]       .init : 0xc03cf000 - 0xc03f6000   ( 156 kB)
      [    0.000000]       .data : 0xc03f6000 - 0xc0423960   ( 183 kB)
      [    0.000000]        .bss : 0xc0423960 - 0xc04402cc   ( 115 kB)
      [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
      [    0.000000] Preemptible hierarchical RCU implementation.
      [    0.000000]  Build-time adjustment of leaf fanout to 32.
      [    0.000000] NR_IRQS:16 nr_irqs:16 16
      [    0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
      [    0.000000] arm_arch_timer: Architected 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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
      [    0.000019] Switching to timer-based delay loop, resolution 41ns
      [    0.000058] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
      [    0.000071] pid_max: default: 4096 minimum: 301
      [    0.000220] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
      [    0.000230] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
      [    0.000881] CPU: Testing write buffer coherency: ok
      [    0.001322] CPU0: update cpu_capacity 1024
      [    0.001335] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
      [    0.001368] Setting up static identity map for 0x40008240 - 0x4000828c
      [    0.170594] CPU1: update cpu_capacity 1024
      [    0.170601] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
      [    0.170689] Brought up 2 CPUs
      [    0.170709] SMP: Total of 2 processors activated (96.00 BogoMIPS).
      [    0.170716] CPU: All CPU(s) started in SVC mode.
      [    0.171376] devtmpfs: initialized
      [    0.193420] OF: Duplicate name in regulator@0, renamed to "regulator2#1"
      [    0.193462] OF: Duplicate name in regulator@0, renamed to "regulator3#1"
      [    0.193504] OF: Duplicate name in regulator@0, renamed to "regulator7#1"
      [    0.198890] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
      [    0.199394] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
      [    0.199416] futex hash table entries: 16 (order: -2, 1024 bytes)
      [    0.212685] pinctrl core: initialized pinctrl subsystem
      [    0.214086] NET: Registered protocol family 16
      [    0.215144] DMA: preallocated 256 KiB pool for atomic coherent allocations
      [    0.216549] dump_class_init,862, success
      [    0.220622] sun8iw16p1-r-pinctrl r_pio: initialized sunXi PIO driver
      [    0.233571] sun8iw16p1-pinctrl pio: initialized sunXi PIO driver
      [    0.235138] sunxi hwspinlock vbase:0xe0858000
      [    0.274291] pwm module init!
      [    0.279331] sunxi-pm debug v3.10
      [    0.280532] G2D: Module initialized.major:253
      [    0.281596] usbcore: registered new interface driver usbfs
      [    0.281721] usbcore: registered new interface driver hub
      [    0.281866] usbcore: registered new device driver usb
      [    0.282087] media: Linux media interface: v0.10
      [    0.282188] Linux video capture interface: v2.00
      [    0.283617] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000
      [    0.283871] ion_parse_dt_heap_common: id 1 type 1 name sys_contig align 1000
      [    0.284096] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000
      [    0.284788] Advanced Linux Sound Architecture Driver Initialized.
      [    0.286125] [axp2101] chip id detect 0x4a !
      [    0.286258] [axp2101] enable dcdc2 dvm.
      [    0.306890] clocksource: Switched to clocksource arch_sys_counter
      [    0.310551] get androidboot.mode fail
      [    0.310569] sunxi_i2c_adap_init()2494 - init
      [    0.311022] [i2c0] twi_regulator: vcc-pi
      [    0.311097] sunxi_i2c_probe()2253 - [i2c0] twi_drv_used = 1
      [    0.311194] twi_request_gpio()450 - [i2c0] init name: twi0
      [    0.312287] sunxi_i2c_dma_request()1104 - [i2c0] using dma0chan0 (tx) and dma0chan1 (rx)for DMA transfers
      [    0.312638] [i2c1] twi_regulator: vcc-io
      [    0.312712] sunxi_i2c_probe()2253 - [i2c1] twi_drv_used = 1
      [    0.312789] twi_request_gpio()450 - [i2c1] init name: twi1
      [    0.313215] sunxi_i2c_dma_request()1104 - [i2c1] using dma0chan2 (tx) and dma0chan3 (rx)for DMA transfers
      [    0.315184] NET: Registered protocol family 2
      [    0.315818] TCP established hash table entries: 16 (order: -6, 64 bytes)
      [    0.315833] TCP bind hash table entries: 16 (order: -5, 128 bytes)
      [    0.315841] TCP: Hash tables configured (established 16 bind 16)
      [    0.315894] UDP hash table entries: 128 (order: 0, 4096 bytes)
      [    0.315915] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
      [    0.316088] NET: Registered protocol family 1
      [    0.316377] sunxi budget cooling probe start !
      [    0.316402] CPU freq cooling register Success
      [    0.316418] CPU hotplug cooling register Success
      [    0.316779] CPU budget cooling register Success
      [    0.319124] workingset: timestamp_bits=30 max_order=17 bucket_order=0
      [    0.330956] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
      [    0.330972] io scheduler noop registered
      [    0.330980] io scheduler deadline registered
      [    0.331218] io scheduler cfq registered (default)
      [    0.333794] uart0: ttyS0 at MMIO 0x5000000 (irq = 297, base_baud = 1500000) is a SUNXI
      [    0.334726] uart1: ttyS1 at MMIO 0x5000400 (irq = 298, base_baud = 1500000) is a SUNXI
      [    0.335572] uart4: ttyS4 at MMIO 0x5001000 (irq = 299, base_baud = 1500000) is a SUNXI
      [    0.335596] sw_console_setup()1777 - console setup baud 115200 parity n bits 8, flow n
      [    1.151131] console [ttyS4] enabled
      [    1.156159] misc dump reg init
      [    1.159943] pwmleds debug gpio driver init
      [    1.164549] [pwm_leds]: backlight_ctrl_init: 123===into
      [    1.170450] [pwm_leds] pwm_request pwm1 success!
      [    1.175639] pwm_backlight_init is ok==============
      [    1.181649] libphy: Fixed MDIO Bus: probed
      [    1.187050] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
      [    1.195870] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
      [    1.204712] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
      [    1.213542] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
      [    1.222370] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
      [    1.231196] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
      [    1.240024] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
      [    1.248851] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:ephy_25m
      [    1.258016] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
      [    1.266830] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
      [    1.275659] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
      [    1.284485] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
      [    1.293318] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
      [    1.302145] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:rgmii
      [    1.310970] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:mad
      [    1.319599] sun8iw16p1-pinctrl pio: expect_func as:gmac0, but muxsel(3) is func:mdio
      [    1.329113] gmac-power1: NULL
      [    1.332451] gmac-power2: NULL
      [    1.337013] Failed to alloc md5
      [    1.340553] eth0: Use random mac address
      [    1.345330] usbcore: registered new interface driver asix
      [    1.351552] usbcore: registered new interface driver ax88179_178a
      [    1.358534] usbcore: registered new interface driver cdc_ether
      [    1.365196] usbcore: registered new interface driver net1080
      [    1.371689] usbcore: registered new interface driver cdc_subset
      [    1.378470] usbcore: registered new interface driver zaurus
      [    1.384874] usbcore: registered new interface driver cdc_ncm
      [    1.391263] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
      [    1.398616] ehci-platform: EHCI generic platform driver
      [    1.404999] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
      [    1.411996] ohci-platform: OHCI generic platform driver
      [    1.418342] usb_serial_number:20080411
      [    1.423086] foot sw gpio irq:113
      [    1.427126] input: foot_sw_event as /devices/virtual/input/input0
      [    1.434283] evbug: Connected device: input0 (foot_sw_event at unknown)
      [    1.441652] foot sw: init success
      [    1.446065] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0
      [    1.452997] sunxi-rtc rtc: RTC enabled
      [    1.457626] i2c /dev entries driver
      [    1.462124] google_vp9: sunxi google vp9 version 0.1
      [    1.468478] bat_param node not found
      [    1.481851] input: axp2101-powerkey as /devices/platform/soc/pmu0/axp2101-powerkey/input/input1
      [    1.494173] evbug: Connected device: input1 (axp2101-powerkey at m1kbd/input2)
      [    1.507782] sunxi-wdt 30090a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
      [    1.517095] sunxi_cpufreq_init: only one opp_table
      [    1.526101] [cpu_freq] ERR: DEBUG: get cpu 0 device
      [    1.534066] sunxi-mmc sdc2: SD/MMC/SDIO Host Controller Driver(v3.32 2019-9-24 15:55)
      [    1.543019] sunxi-mmc sdc2: regulator prop vmmc,str vcc-emmc
      [    1.553011] sunxi-mmc sdc2: regulator prop vqmmc,str vcc-pc
      [    1.559304] sunxi-mmc sdc2: regulator prop vdmmc,str none
      [    1.565375] sunxi-mmc sdc2: Can't get vdmmc33sw regulator string
      [    1.575701] sunxi-mmc sdc2: Can't get vdmmc18sw regulator string
      [    1.582475] sunxi-mmc sdc2: Can't get vqmmc33sw regulator string
      [    1.589239] sunxi-mmc sdc2: Can't get vqmmc18sw regulator string
      [    1.596956] get() with no identifier
      [    1.601010] get() with no identifier
      [    1.605026] get() with no identifier
      [    1.609073] get() with no identifier
      [    1.613092] sunxi-mmc sdc2: No vmmc regulator found
      [    1.618607] sunxi-mmc sdc2: No vqmmc regulator found
      [    1.624188] sunxi-mmc sdc2: No vdmmc regulator found
      [    1.629781] sunxi-mmc sdc2: No vd33sw regulator found
      [    1.635486] sunxi-mmc sdc2: No vd18sw regulator found
      [    1.641200] sunxi-mmc sdc2: No vq33sw regulator found
      [    1.646867] sunxi-mmc sdc2: No vq18sw regulator found
      [    1.652616] sunxi-mmc sdc2: Cann't get uart0 pinstate,check if needed
      [    1.660397] sunxi-mmc sdc2: set host busy
      [    1.664956] mmc:failed to get gpios
      [    1.670011] sunxi-mmc sdc2: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.706910] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.756915] sunxi-mmc sdc2: detmode:alway in(non removable)
      [    1.763482] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
      [    1.772876] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
      [    1.773673] sunxi-mmc sdc2: smc 0 p2 err, cmd 52, RTO !!
      [    1.783011] sunxi-mmc sdc2: smc 0 p2 err, cmd 52, RTO !!
      [    1.788192] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.796277] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.806890] sunxi-mmc sdc2: smc 0 p2 err, cmd 8, RTO !!
      [    1.817678] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !!
      [    1.818517] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !!
      [    1.819393] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !!
      [    1.825221] sunxi-mmc sdc2: smc 0 p2 err, cmd 5, RTO !!
      [    1.831125] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !!
      [    1.837007] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !!
      [    1.842904] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !!
      [    1.848772] sunxi-mmc sdc2: smc 0 p2 err, cmd 55, RTO !!
      [    1.853942] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.860001] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.860057] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.868091] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.918214] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0
      [    1.927540] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
      [    1.936823] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    1.947670] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0
      [    1.956987] sun8iw16p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
      [    1.966554] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v3.32 2019-9-24 15:55)
      [    1.975538] sunxi-mmc sdc0: regulator prop vmmc,str vcc-sdc
      [    1.981840] sunxi-mmc sdc0: Can't get vqmmc regulator string
      [    1.988243] sunxi-mmc sdc0: Can't get vdmmc regulator string
      [    1.994623] sunxi-mmc sdc0: regulator prop vdmmc33sw,str vcc33-pf
      [    2.001473] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 8 timing LEGACY(SDR12) dt B
      [    2.012364] sunxi-mmc sdc0: regulator prop vdmmc18sw,str vcc18-pf
      [    2.019213] sunxi-mmc sdc2: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS200 dt B
      [    2.029644] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS200 dt B
      [    2.040472] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS(SDR20) dt B
      [    2.040521] sunxi-mmc sdc2: sdc set ios:clk 52000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS(SDR20) dt B
      [    2.062576] sunxi-mmc sdc0: regulator prop vqmmc33sw,str vcc33-pf
      [    2.069432] sunxi-mmc sdc0: regulator prop vqmmc18sw,str vcc18-pf
      [    2.076279] sunxi-mmc sdc2: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS400 dt B
      [    2.076338] sunxi-mmc sdc2: sdc set ios:clk 100000000Hz bm PP pm ON vdd 21 width 8 timing MMC-HS400 dt B
      [    2.097785] get() with no identifier
      [    2.097805] mmc0: new HS400 MMC card at address 0001
      [    2.107416] get() with no identifier
      [    2.107525] sunxi-mmc sdc0: No vmmc regulator found
      [    2.107529] sunxi-mmc sdc0: No vqmmc regulator found
      [    2.107533] sunxi-mmc sdc0: No vdmmc regulator found
      [    2.108069] sunxi-mmc sdc0: set host busy
      [    2.108135] sunxi-mmc sdc0: Got CD GPIO
      [    2.108222] sunxi-mmc sdc0: filter speed is 7340032 B/s
      [    2.108228] sunxi-mmc sdc0: filter sector is 8 sector
      [    2.108233] sunxi-mmc sdc0: Perf function is enable
      [    2.108410] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.137922] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.176158] sunxi-mmc sdc0: detmode:gpio irq
      [    2.181420] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v3.32 2019-9-24 15:55)
      [    2.190706] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    2.190776] sunxi-mmc sdc1: Can't get vmmc regulator string
      [    2.190781] sunxi-mmc sdc1: Can't get vqmmc regulator string
      [    2.190786] sunxi-mmc sdc1: Can't get vdmmc regulator string
      [    2.190791] sunxi-mmc sdc1: Can't get vdmmc33sw regulator string
      [    2.190796] sunxi-mmc sdc1: Can't get vdmmc18sw regulator string
      [    2.190801] sunxi-mmc sdc1: Can't get vqmmc33sw regulator string
      [    2.190806] sunxi-mmc sdc1: Can't get vqmmc18sw regulator string
      [    2.190809] get() with no identifier
      [    2.190810] get() with no identifier
      [    2.190812] get() with no identifier
      [    2.190814] get() with no identifier
      [    2.190815] get() with no identifier
      [    2.190816] get() with no identifier
      [    2.190818] get() with no identifier
      [    2.190822] sunxi-mmc sdc1: No vmmc regulator found
      [    2.190826] sunxi-mmc sdc1: No vqmmc regulator found
      [    2.190830] sunxi-mmc sdc1: No vdmmc regulator found
      [    2.190834] sunxi-mmc sdc1: No vd33sw regulator found
      [    2.190838] sunxi-mmc sdc1: No vd18sw regulator found
      [    2.190842] sunxi-mmc sdc1: No vq33sw regulator found
      [    2.190846] sunxi-mmc sdc1: No vq18sw regulator found
      [    2.190859] sunxi-mmc sdc1: Cann't get uart0 pinstate,check if needed
      [    2.207497] sunxi-mmc sdc1: set host busy
      [    2.207500] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
      [    2.207614] mmc:failed to get gpios
      [    2.207870] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.207897] sunxi-mmc sdc1: no vqmmc,Check if there is regulator
      [    2.220433] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
      [    2.234171] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
      [    2.240146] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.248378]  mmcblk0: p1 p2 p3 < p5 p6 p7 p8 p9 p10 p11 >
      [    2.248403] mmcblk0: p1 size 13090816 extends beyond EOD, truncated
      [    2.266933] sunxi-mmc sdc1: detmode:manually by software
      [    2.269487] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
      [    2.269930] [sunxi_hdmi_codec_init] driver and deivce register finished.
      [    2.271059] sun8iw16p1-pinctrl pio: pin PH7 already requested by uart0; cannot claim for dmic
      [    2.271067] sun8iw16p1-pinctrl pio: pin-231 (dmic) status -22
      [    2.271073] sun8iw16p1-pinctrl pio: could not request pin 231 (PH7) from group PH7  on device pio
      [    2.271078] sunxi-dmic dmic: Error applying setting, reverse things back
      [    2.271099] sunxi-dmic: probe of dmic failed with error -22
      [    2.272186] sunxi-mmc sdc1: smc 2 p1 err, cmd 52, RTO !!
      [    2.273316] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.277231] gpio-spk setting ok
      [    2.277232] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.279146] sunxi-mmc sdc1: smc 2 p1 err, cmd 8, RTO !!
      [    2.280563] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INL_VIR
      [    2.280570] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INL_VIR -> AIF2 DACL Switch -> AIF1 AD0L Mixer
      [    2.280580] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INR_VIR
      [    2.280585] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INR_VIR -> AIF2 DACR Switch -> AIF1 AD0L Mixer
      [    2.280594] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INR_VIR
      [    2.280599] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INR_VIR -> AIF2 DACR Switch -> AIF1 AD0R Mixer
      [    2.280608] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INL_VIR
      [    2.280614] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INL_VIR -> AIF2 DACL Switch -> AIF1 AD0R Mixer
      [    2.280620] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INL_VIR
      [    2.280625] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INL_VIR -> AIF2 DACL Switch -> AIF1 AD1L Mixer
      [    2.280635] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INR_VIR
      [    2.280641] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INR_VIR -> AIF2 DACR Switch -> AIF1 AD1R Mixer
      [    2.280674] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INL_VIR
      [    2.280680] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INL_VIR -> AIF2DACL Switch -> DACL Mixer
      [    2.280695] sunxi-internal-codec codec: ASoC: no source widget found for AIF2INR_VIR
      [    2.280701] sunxi-internal-codec codec: ASoC: Failed to add route AIF2INR_VIR -> AIF2DACR Switch -> DACR Mixer
      [    2.280927] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    2.284857] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    2.285686] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    2.286506] sunxi-mmc sdc1: smc 2 p1 err, cmd 5, RTO !!
      [    2.287332] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !!
      [    2.288156] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !!
      [    2.288976] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !!
      [    2.289796] sunxi-mmc sdc1: smc 2 p1 err, cmd 55, RTO !!
      [    2.289815] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
      [    2.290726] sunxi-mmc sdc1: smc 2 p1 err, cmd 1, RTO !!
      [    2.290793] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
      [    2.730026] sunxi-codec-machine sndcodec: codec-aif1 <-> i2s mapping ok
      [    2.740275] sndhdmi sndhdmi: audiohdmi-dai <-> audiohdmi mapping ok
      [    2.748173] sndhdmi sndhdmi: [sunxi_sndhdmi_dev_probe] register card finished.
      [    2.760820] snddmic snddmic: ASoC: CPU DAI (null) not registered
      [    2.771444] snddmic snddmic: snd_soc_register_card() fail: -517
      [    2.778245] snddmic: probe of snddmic failed with error -16
      [    2.785001] NET: Registered protocol family 17
      [    2.790125] 8021q: 802.1Q VLAN Support v1.8
      [    2.795749] sid_get_phy_base()317 - Failed to find "" in dts.
      [    2.802328] sid_get_phy_base()317 - Failed to find "" in dts.
      [    2.809306] sid_get_phy_base()317 - Failed to find "" in dts.
      [    2.816126] sid_efuse_key_is_readable()757 - The key thermal_sensor write protect bit not burned!
      [    2.826212] sid_get_phy_base()317 - Failed to find "" in dts.
      [    2.833138] sid_get_phy_base()317 - Failed to find "" in dts.
      [    2.840039] sid_get_phy_base()317 - Failed to find "" in dts.
      [    2.848770] Registering SWP/SWPB emulation handler
      [    2.861718] sunxi-rtc rtc: setting system clock to 1970-01-01 00:00:14 UTC (14)
      [    2.870716] axp2101_dcdc2: incomplete constraints, leaving on
      [    2.877243] axp2101_dcdc4: incomplete constraints, leaving on
      [    2.883707] axp2101_rtc1: incomplete constraints, leaving on
      [    2.890157] axp2101_aldo3: incomplete constraints, leaving on
      [    2.896685] axp2101_aldo4: incomplete constraints, leaving on
      [    2.903290] axp2101_cpuldos: incomplete constraints, leaving on
      [    2.910166] ALSA device list:
      [    2.913498]   #0: audiocodec
      [    2.916731]   #1: sndhdmi
      [    2.920678] EXT4-fs (mmcblk0p7): couldn't mount as ext3 due to feature incompatibilities
      [    2.930368] EXT4-fs (mmcblk0p7): couldn't mount as ext2 due to feature incompatibilities
      [    2.942017] EXT4-fs (mmcblk0p7): warning: mounting unchecked fs, running e2fsck is recommended
      [    2.952730] EXT4-fs (mmcblk0p7): mounted filesystem without journal. Opts: (null)
      [    2.961217] VFS: Mounted root (ext4 filesystem) on device 179:7.
      [    2.968503] devtmpfs: mounted
      [    2.972062] Freeing unused kernel memory: 156K
      [    2.977111] This architecture does not have kernel memory protection.
      [    2.984358] Kernel panic - not syncing: Requested init /pseudo_init failed (error -2).
      [    2.993264] CPU0: stopping
      [    2.996309] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.118 #44
      [    3.003157] Hardware name: sun8iw16
      [    3.007102] [<c0012501>] (unwind_backtrace) from [<c000ff37>] (show_stack+0xb/0xc)
      [    3.015624] [<c000ff37>] (show_stack) from [<c01365c3>] (dump_stack+0x5b/0x70)
      [    3.023752] [<c01365c3>] (dump_stack) from [<c0011b21>] (handle_IPI+0x8d/0x104)
      [    3.031977] [<c0011b21>] (handle_IPI) from [<c000930b>] (gic_handle_irq+0x4b/0x54)
      [    3.040492] [<c000930b>] (gic_handle_irq) from [<c00105e5>] (__irq_svc+0x65/0xac)
      [    3.048904] Exception stack(0xc03f7f60 to 0xc03f7fa8)
      [    3.054585] 7f60: 00000000 000004d2 c7ae2304 c00161e1 c03f6000 c03f8fec 00000001 c03f903c
      [    3.063783] 7f80: c7fff740 c03e88c0 00000000 00000000 c03f8d00 c03f7fb0 c000deb5 c000deac
      [    3.072977] 7fa0: 40000133 ffffffff
      [    3.076901] [<c00105e5>] (__irq_svc) from [<c000deac>] (arch_cpu_idle+0xc/0x20)
      [    3.085128] [<c000deac>] (arch_cpu_idle) from [<c003d339>] (cpu_startup_entry+0xa1/0xb8)
      [    3.094236] [<c003d339>] (cpu_startup_entry) from [<c03cf8dd>] (start_kernel+0x21d/0x26c)
      [    3.103436] ---[ end Kernel panic - not syncing: Requested init /pseudo_init failed (error -2).
      
      
      posted in Linux
      jinxiangwzh
      jinxiangwzh
    • 系统启动打印key pressed value

      新作的板子开机打印这个key pressed value,我再boot中追加了打印,然后执行mboot重新编译,打包下载后,追加的log却没有打印,请问这个是哪里打出来的?有没有办法关掉

      [146]HELLO! BOOT0 is starting!
      [149]boot0 commit : e2f593e6bf6f822b1e4fef278a4016aa2a51c5b6
      
      [166]rsb_send_initseq: rsb clk 400Khz -> 3Mhz
      [170]PMU: AXP2101
      [172]set pll start
      [175]set pll end
      [177]key pressed value=0x00000017
      [180]key pressed value=0x00000016
      [223]key pressed value=0x00000016
      [267]key pressed value=0x00000017
      [310]key pressed value=0x00000017
      [353]key pressed value=0x00000016
      [397]key pressed value=0x00000017
      [440]key pressed value=0x00000016
      [483]key pressed value=0x00000017
      [527]key pressed value=0x00000017
      [570]key pressed value=0x00000017
      [613]key pressed value=0x00000017
      [657]key pressed value=0x00000017
      [700]key pressed value=0x00000017
      [743]key pressed value=0x00000017
      [786]key pressed value=0x00000017
      [830]key pressed value=0x00000017
      [873]key pressed value=0x00000016
      [916]key pressed value=0x00000016
      [960]key pressed value=0x00000016
      [1003]key pressed value=0x00000016
      [1046]key pressed value=0x00000017
      [1090]key pressed value=0x00000016
      [1133]key pressed value=0x00000017
      [1177]key pressed value=0x00000017
      [1220]key pressed value=0x00000017
      [1263]key pressed value=0x00000017
      [1307]key pressed value=0x00000016
      [1350]key pressed value=0x00000016
      [1394]key pressed value=0x00000017
      
      
      posted in Linux
      jinxiangwzh
      jinxiangwzh