您尚未登录。

#1 全志 SOC » v3s linux 4.14 内核 运行时 ,如何切换成 usb device 设备模式 » 2021-11-25 15:26:04

feng888
回复: 1

v3s  linux 4.14 内核 运行时 ,如何切换成 usb device 设备模式

#2 全志 SOC » v3s 下使用 gadget 自定义 hid 哪个贴子是能用的 » 2021-11-24 11:12:17

feng888
回复: 0

v3s  下使用 gadget 自定义 hid 哪个贴子是能用的

#3 Re: 全志 SOC » v3s reboot 指令不起作用,用哪个命令重启系统? » 2021-05-15 16:16:38

raspberryman 说:
feng888 说:
raspberryman 说:

提问的艺术:麻烦把日志和详细情况说一下。

控制台输入 reboot 回车

#
#
#
# reboot
#
#

你用的sdk版本是哪个?是不是关掉了看门狗?

4.14.14-licheepi-zero+  没有启用看门狗

#4 Re: 全志 SOC » v3s reboot 指令不起作用,用哪个命令重启系统? » 2021-05-15 15:52:55

raspberryman 说:

提问的艺术:麻烦把日志和详细情况说一下。

控制台输入 reboot 回车

#
#
#
# reboot
#
#

#5 全志 SOC » v3s reboot 指令不起作用,用哪个命令重启系统? » 2021-05-15 15:43:20

feng888
回复: 5

v3s  reboot 指令不起作用,用哪个命令重启系统?

#6 全志 SOC » v3s 4.14 内核, 打包成单个spiflash 烧录文件用哪个工具? » 2021-05-14 16:44:39

feng888
回复: 1

v3s  4.14 内核, 打包成单个spiflash 烧录文件用哪个工具?

#7 全志 SOC » v3s 在linux 运行时 升级spiflash 内程序,用 v3s bin 下面的哪个程序升级代码? » 2021-05-14 11:43:40

feng888
回复: 1

v3s  在linux 运行时   升级spiflash 内程序,用 v3s bin 下面的哪个程序升级代码?

#9 Re: 全志 SOC » v3s 启动出现 DRAM: 0 MiB ### ERROR ### Please RESET the board ### 哪里问题 » 2021-05-07 10:13:42

哇酷小二 说:

如果芯片没坏,就检查ddr供电

1.8v供电正常,换个芯片同样问题

#10 全志 SOC » v3s 启动出现 DRAM: 0 MiB ### ERROR ### Please RESET the board ### 哪里问题 » 2021-05-07 09:51:43

feng888
回复: 4

v3s 启动出现  DRAM: 0 MiB  ### ERROR ### Please RESET the board ###
哪里问题,新贴的样板!


U-Boot SPL 2017.01-rc2 (Apr 23 2021 - 15:53:29)
DRAM: 0 MiB
### ERROR ### Please RESET the board ###

#11 全志 SOC » v3s 要用iconv 函数要包含哪些库? » 2021-04-30 16:10:06

feng888
回复: 0

v3s  要用iconv 函数要包含哪些库?

#12 Re: 全志 SOC » v3s 启动 进控制台后 ,想自动调用自己写的 auto.sh , 要写在哪个文件里? » 2021-04-23 18:31:56

unturned3 说:

试试 ~/.bashrc 或者 ~/.bash_profile

etc 目录下没这些文件

#14 全志 SOC » v3s 启动 进控制台后 ,想自动调用自己写的 auto.sh , 要写在哪个文件里? » 2021-04-23 17:41:59

feng888
回复: 5

v3s 启动 进控制台后 ,想自动调用自己写的  auto.sh , 要写在哪个文件里?

#15 全志 SOC » v3s 用 直接下载 到 sdram 的方法调好程序, 现在要改成 烧录到 128m spi flash 内启动,要改几个地方? » 2021-04-23 14:56:01

feng888
回复: 0

v3s 用 直接下载 到 sdram 的方法调好程序, 现在要改成 烧录到 128m  spi flash 内启动,要改几个地方?

#16 全志 SOC » sunxi-fel.exe 烧录 下载 v3s spiflash 详细教程 步骤在哪个帖? » 2021-04-22 16:01:43

feng888
回复: 1

sunxi-fel.exe  烧录 下载 v3s  spiflash 详细教程 步骤在哪个帖?

#17 全志 SOC » v3s 应用程序中挂载和卸载 sd卡 和u盘 有几种方法,除了用 automount.sh » 2021-04-19 10:47:57

feng888
回复: 0

v3s 应用程序中挂载和卸载 sd卡 和u盘 有几种方法,除了用 automount.sh

#18 全志 SOC » v3s 如何在Linux应用程序中做到自动识别,usb设备,存在设备则挂载,拔除则卸载 » 2021-04-19 10:18:09

feng888
回复: 3

v3s  如何在Linux应用程序中做到自动识别,usb设备,存在设备则挂载,拔除则卸载

#20 全志 SOC » v3s linux 驱动层 获取高精度时钟 us 用哪个函数? » 2021-04-07 16:03:30

feng888
回复: 3

v3s  linux  驱动层 获取高精度时钟 us  用哪个函数?

#21 全志 SOC » corefile 有没有·图形化的分析工具? » 2021-03-25 10:46:16

feng888
回复: 0

corefile  有没有·图形化的分析工具?

#22 全志 SOC » v3s 如何启用 corefile » 2021-03-24 15:57:50

feng888
回复: 0

v3s 如何启用  corefile

#23 全志 SOC » V3S 播放 mplayer 出现 SIGILL CPU Core family selection 如何配置? » 2021-03-24 11:53:09

feng888
回复: 0

MPlayer interrupted by signal 4 in module: play_audio




- MPlayer crashed by an 'Illegal Instruction'.
  It usually happens [   25.857246] tg:0
when you run it on a CPU different than the one it was
  compil[   25.863681] MT: 1
ed/optimized for.
  Verify this!
- MPlayer crashed by bad usag[   25.871340] SWDN
e of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.

CPU Core family selection 如何配置?
Processor Type 如何配置?
Processor Features 如何配置?
Kernel Features 如何配置?

#25 全志 SOC » mount -t ntfs -o nls=utf8 /dev/mmcblk0p1 /mnt/udisk 挂载 ntfs 失败 » 2021-03-20 10:48:52

feng888
回复: 3

mount -t ntfs /dev/mmcblk0p1 /mnt/udisk  成功,
但中文不支持,

/ # ls /mnt/udisk
[   23.512525] ntfs: (device mmcblk0p1): ntfs_ucstonls(): Unicode name contains characters that cannot be converted to character set iso8859-1.  You might want to try to use the mount option nls=utf8.
[   23.530239] ntfs: (device mmcblk0p1): ntfs_filldir(): Skipping unrepresentable inode 0x2b.
System Volume Information  cd_5.6M.dff
cd_11.2M.wav               ybk.wav
cd_2.8M.wav


mount -t ntfs -o nls=utf8 /dev/mmcblk0p1 /mnt/udisk  挂载 ntfs 失败

/ # mount -t ntfs -o nls=utf8 /dev/mmcblk0p1 /mnt/udisk
[   89.758490] ntfs: (device mmcblk0p1): parse_options(): NLS character set utf8 not found.
mount: mounting /dev/mmcblk0p1 on /mnt/udisk failed: Invalid argument

#26 全志 SOC » 自动挂载 sd卡脚本不稳定,时好时不行 » 2021-03-11 14:38:10

feng888
回复: 0

自动挂载 sd卡脚本不稳定,时好时不行

#! /bin/sh

# debugging message
echo "MDEV=$1 : ACTION=$2 : SUBSYSTEM=$SUBSYSTEM : DEVPATH=$DEVPATH : DEVNAME=$DEVNAME" >> /dev/console

if [ "$1" == "" ]; then
    echo "parameter is none" > /tmp/error.txt
    exit 1
fi

MNT=$1
#if [ $(echo $1 | grep mmcblk) ]; then
#    if [ $(echo $1 | grep p[25]) ]; then
#        MNT=sdcard2
#    else
#        MNT=sdcard
#    fi
#elif [ $(echo $1 | grep sd) ]; then
#    if [ $(echo $1 | grep p[25]) ]; then
#        MNT=nandcard2
#    else
#        MNT=nandcard
#    fi
#fi

# there is no ACTION, it is for initial population
if [ "$2" = "X" ]; then
    mounted=`mount | grep $1 | wc -l`
    if [ $mounted -ge 1 ]; then
        # mounted, assume the ACTION is remove
        #ACT=Xremove
        # only set add for initial population
        ACT=Xadd
    else
        # not mounted, assume the ACTION is add
        ACT=Xadd
    fi
else
    ACT=$2
fi

if [ "$ACT" = "Xremove" ]; then
    # umount the device
    echo "$ACT /mnt/udisk" >> /tmp/mdev.log
    if ! umount -l "/mnt/udisk"; then
        exit 1
    else
        rm -f "/mnt/udisk"
        echo "[Umount FS]: /dev/$1 -X-> /mnt/udisk" > /dev/console
    fi

    if ! rmdir "/mnt/udisk"; then
        exit 1
    fi
else
    # mount the device
    mounted=`mount | grep $1 | wc -l`
    echo "par=$1,mounted=$mounted,MNT=$MNT" > /dev/console
    if [ $mounted -ge 1 ]; then
        echo "device $1 is already mounted" > /dev/console
        exit 0
    fi

    if ! mkdir -p "/mnt/udisk"; then
        echo "mkdir -p /mnt/udisk err" > /dev/console
        exit 1
    fi

    if [ $(echo $1 | grep mtd) ]; then
        if mount -t jffs2 "/dev/$1" "/mnt/udisk"; then
            echo "[Mount JFFS2]: /dev/$1 --> /mnt/udisk" > /dev/console
            echo "$ACT /mnt/udisk" >> /tmp/mdev.log
        elif mount -t yaffs2 -o"inband-tags" "/dev/$1" "/mnt/$1"; then
            echo "[Mount YAFFS2]: /dev/$1 --> /mnt/udisk" > /dev/console
            echo "$ACT /mnt/$1" >> /tmp/mdev.log
        elif mount -t ubifs "/dev/$1" "/mnt/udisk"; then
            echo "[Mount UBIFS]: /dev/$1 --> /mnt/udisk" > /dev/console
            echo "$ACT /mnt/udisk" >> /tmp/mdev.log
        else
            # failed to mount, clean up mountpoint
            echo "failed to mount, clean up mountpoint0" > /dev/console
            if ! rmdir "/mnt/udisk"; then
                exit 1
            fi
        fi
    else
        # try vfat only
        if mount -t vfat -o noatime,shortname=mixed,utf8 "/dev/$1" "/mnt/udisk"; then
#            ln -s /mnt/$1 /mnt/udisk
            echo "[Mount VFAT]: /dev/$1 --> /mnt/udisk" > /dev/console
            echo "$ACT /mnt/udisk" >> /tmp/mdev.log
        else
            # failed to mount, clean up mountpoint
            echo "failed to mount, clean up mountpoint" > /dev/console
            if ! rmdir "/mnt/udisk"; then
                exit 1
            fi
            exit 1
        fi
    fi
fi



MDEV=mmcblk0p1 : ACTION=Xremove : SUBSYSTEM=block : DEVPATH=/devices/platform/soc/1c0f000.mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p1 : DEVNAME=mmcblk0p1
[  822.870781] mmc0: host does not support reading read-only switch, assuming write-enable
[  822.880670] mmc0: new high speed SDHC card at address 0001
[  822.894261] mmcblk0: mmc0:0001 00000 29.8 GiB
[  822.907082]  mmcblk0: p1
MDEV=mmcblk0 : ACTION=Xadd : SUBSYSTEM=block : DEVPATH=/devices/platform/soc/1c0f000.mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0 : DEVNAME=mmcblk0
MDEV=mmcblk0p1 : ACTION=Xadd : SUBSYSTEM=block : DEVPATH=/devices/platform/soc/1c0f000.mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p1 : DEVNAME=mmcblk0p1
par=mmcblk0,mounted=0,MNT=mmcblk0
par=mmcblk0p1,mounted=0,MNT=mmcblk0p1
failed to mount, clean up mountpoint
[  823.064747] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
failed to mount, clean up mountpoint
[  823.124543] dwmac-sun8i 1c30000.ethernet eth0: Link is Down
[  824.164652] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[  826.004244] mmc0: card 0001 removed
MDEV=mmcblk0 : ACTION=Xremove : SUBSYSTEM=block : DEVPATH=/devices/platform/soc/1c0f000.mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0 : DEVNAME=mmcblk0
MDEV=mmcblk0p1 : ACTION=Xremove : SUBSYSTEM=block : DEVPATH=/devices/platform/soc/1c0f000.mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p1 : DEVNAME=mmcblk0p1
[  830.390786] mmc0: host does not support reading read-only switch, assuming write-enable
[  830.400668] mmc0: new high speed SDHC card at address 0001
[  830.407732] mmcblk0: mmc0:0001 00000 29.8 GiB
[  830.434593]  mmcblk0: p1
MDEV=mmcblk0p1 : ACTION=Xadd : SUBSYSTEM=block : DEVPATH=/devices/platform/soc/1c0f000.mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p1 : DEVNAME=mmcblk0p1
MDEV=mmcblk0 : ACTION=Xadd : SUBSYSTEM=block : DEVPATH=/devices/platform/soc/1c0f000.mmc/mmc_host/mmc0/mmc0:0001/block/mmcblk0 : DEVNAME=mmcblk0
par=mmcblk0p1,mounted=0,MNT=mmcblk0p1
par=mmcblk0,mounted=0,MNT=mmcblk0
failed to mount, clean up mountpoint
failed to mount, clean up mountpoint
[  831.444609] dwmac-sun8i 1c30000.ethernet eth0: Link is Down
[  832.484669] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx

#27 Re: 全志 SOC » linux-zero-4.14.y 如何配置 启用usb 高速2.0 480M读U盘 » 2021-03-11 11:30:20

raspberryman 说:
feng888 说:

问题解决,设备树没开启 ehci!!

原来如此

请教怎么判断是全速2.0?

高速设备初始是以一个全速设备的身份出现的,即和全速设备一样,D+线上有一个1.5k的上拉电阻。USB2.0的hub把它当作一个全速设备,之后,hub和设备通过一系列握手信号确认双方的身份。在这里对速度的检测是双向的,比如高速的hub需要检测所挂上来的设备是高速、全速还是低速,高速的设备需要检测所连上的hub是USB2.0的还是1.x的,如果是前者,就进行一系列动作切到高速模式工作,如果是后者,就以全速模式工作

#29 全志 SOC » linux-zero-4.14.y 如何自动挂载 U盘 SD卡 » 2021-03-11 10:51:37

feng888
回复: 1

linux-zero-4.14.y  如何自动挂载 U盘  SD卡

#31 Re: 全志 SOC » linux-zero-4.14.y 如何配置 启用usb 高速2.0 480M读U盘 » 2021-03-10 21:34:06

raspberryman 说:

默认就是usb2.0,不过读速度肯定没有480M,内存和cpu速度限制

v3s  如何配置成 usb2.0 高速主机模式
现在读 u盘是全速 2.0

#32 全志 SOC » linux-zero-4.14.y 如何配置 启用usb 高速2.0 480M读U盘 » 2021-03-10 18:21:06

feng888
回复: 6

linux-zero-4.14.y  如何配置 启用usb  高速2.0 480M读U盘

#33 全志 SOC » V3S SPI 如何 使用 DMA » 2021-01-19 16:35:42

feng888
回复: 0

V3S  SPI  如何 使用 DMA

#34 全志 SOC » cortex A7 支持 jlink 后台方式查看变量吗? » 2021-01-19 08:24:44

feng888
回复: 2

cortex A7 支持 jlink 后台方式查看变量吗?linux运行时,用jlink 查看寄存器,可行吗?

#35 全志 SOC » modprobe: can't change directory to '4.14.14-licheepi-zero' » 2021-01-18 11:56:25

feng888
回复: 1

用 直接下载代码到sdram 方式调试声卡:

运行:modprobe soundcore.ko 后

modprobe: can't change directory to '4.14.14-licheepi-zero': No such file or directory

是 ko文件一定要copy 到指定目录吗?

#36 全志 SOC » v3s linux-zero-4.14.y 内核 哪个外设的驱动用到了 DMA? » 2021-01-13 14:41:37

feng888
回复: 1

v3s    linux-zero-4.14.y 内核    哪个外设的驱动用到了 DMA?

#37 全志 SOC » 全志 SPI接口做从机模式时,cs信号要一直给吗? » 2021-01-08 20:10:08

feng888
回复: 1

全志 SPI接口做从机模式时,cs信号要一直给吗?

#38 全志 SOC » v3s linux-zero-4.14.y 内核 启动后 /dev/ 下没看到 spi设备,同哪里有关系 » 2021-01-07 15:44:07

feng888
回复: 0

U-Boot 2017.01-rc2 (Jan 06 2021 - 14:51:53 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0
## Loading init Ramdisk from Legacy Image at 41a00000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    5909439 Bytes = 5.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Ramdisk to 4285d000, end 42dffbbf ... OK
   Loading Device Tree to 42857000, end 4285cc6f ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.14-licheepi-zero (root@ubuntu) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02)) #4 SMP Thu Jan 7 15:36:33 CST 2021
[    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: Lichee Pi Zero with Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] random: fast init done
[    0.000000] percpu: Embedded 16 pages/cpu @c3f5f000 s33740 r8192 d23604 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/ram0 rdinit=/linuxrc earlyprintk rw
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 49256K/65536K available (6144K kernel code, 280K rwdata, 1308K rodata, 1024K init, 255K bss, 16280K reserved, 0K 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 : 0xc4800000 - 0xff800000   ( 944 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a46380   ( 281 kB)
[    0.000000]        .bss : 0xc0a4d5b0 - 0xc0a8d2e4   ( 256 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000182] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000417] Console: colour dummy device 80x30
[    0.000455] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000470] pid_max: default: 32768 minimum: 301
[    0.000600] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000614] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001260] CPU: Testing write buffer coherency: ok
[    0.001644] /cpus/cpu@0 missing clock-frequency property
[    0.001669] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002126] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002301] Hierarchical SRCU implementation.
[    0.002827] smp: Bringing up secondary CPUs ...
[    0.002841] smp: Brought up 1 node, 1 CPU
[    0.002850] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002857] CPU: All CPU(s) started in SVC mode.
[    0.003627] devtmpfs: initialized
[    0.006607] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.006911] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006940] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007119] pinctrl core: initialized pinctrl subsystem
[    0.008104] NET: Registered protocol family 16
[    0.008539] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009540] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009558] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.020886] SCSI subsystem initialized
[    0.021138] usbcore: registered new interface driver usbfs
[    0.021205] usbcore: registered new interface driver hub
[    0.021298] usbcore: registered new device driver usb
[    0.021533] pps_core: LinuxPPS API ver. 1 registered
[    0.021544] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.021565] PTP clock support registered
[    0.021741] Advanced Linux Sound Architecture Driver Initialized.
[    0.023400] clocksource: Switched to clocksource arch_sys_counter
[    0.032737] NET: Registered protocol family 2
[    0.033307] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.033341] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.033431] TCP: Hash tables configured (established 1024 bind 1024)
[    0.033574] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.033620] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.033843] NET: Registered protocol family 1
[    0.034546] RPC: Registered named UNIX socket transport module.
[    0.034568] RPC: Registered udp transport module.
[    0.034574] RPC: Registered tcp transport module.
[    0.034580] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.034854] Unpacking initramfs...
[    0.426805] Freeing initrd memory: 5772K
[    0.428442] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.434359] NFS: Registering the id_resolver key type
[    0.434410] Key type id_resolver registered
[    0.434417] Key type id_legacy registered
[    0.438169] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.438194] io scheduler noop registered
[    0.438201] io scheduler deadline registered
[    0.438505] io scheduler cfq registered (default)
[    0.438520] io scheduler mq-deadline registered
[    0.438527] io scheduler kyber registered
[    0.439101] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.442365] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.503780] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.506660] console [ttyS0] disabled
[    0.526930] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    1.107582] console [ttyS0] enabled
[    1.112769] libphy: Fixed MDIO Bus: probed
[    1.117417] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    1.123210] dwmac-sun8i 1c30000.ethernet: No regulator found
[    1.129011] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    1.135238] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    1.140902] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    1.148155] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    1.153825] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    1.161037] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    1.166008] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    1.172983] libphy: stmmac: probed
[    1.181745] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.188411] ehci-platform: EHCI generic platform driver
[    1.193953] ehci-platform 1c1a000.usb: EHCI Host Controller
[    1.199563] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    1.207552] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    1.243428] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.250527] hub 1-0:1.0: USB hub found
[    1.254503] hub 1-0:1.0: 1 port detected
[    1.259002] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.265307] ohci-platform: OHCI generic platform driver
[    1.270837] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.277583] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.285532] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.358382] hub 2-0:1.0: USB hub found
[    1.362207] hub 2-0:1.0: 1 port detected
[    1.367665] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.377206] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.386087] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.392882] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.397540] i2c /dev entries driver
[    1.401248] IR NEC protocol handler initialized
[    1.405839] IR RC5(x/sz) protocol handler initialized
[    1.410885] IR RC6 protocol handler initialized
[    1.415427] IR JVC protocol handler initialized
[    1.419950] IR Sony protocol handler initialized
[    1.424572] IR SANYO protocol handler initialized
[    1.429269] IR Sharp protocol handler initialized
[    1.433976] IR MCE Keyboard/mouse protocol handler initialized
[    1.439799] IR XMP protocol handler initialized
[    1.445001] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.513445] sunxi-mmc 1c0f000.mmc: base:0xc487d000 irq:23
[    1.573435] sunxi-mmc 1c10000.mmc: base:0xc4983000 irq:24
[    1.579745] usbcore: registered new interface driver usbhid
[    1.585399] usbhid: USB HID core driver
[    1.590732] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[    1.598786] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.607512] NET: Registered protocol family 17
[    1.612081] Key type dns_resolver registered
[    1.616614] Registering SWP/SWPB emulation handler
[    1.628918] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.640358] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.646198] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.655169] hub 3-0:1.0: USB hub found
[    1.659010] hub 3-0:1.0: 1 port detected
[    1.664114] using random self ethernet address
[    1.668569] using random host ethernet address
[    1.673972] usb0: HOST MAC 8a:e8:3a:16:99:33
[    1.678288] usb0: MAC 42:ef:bb:d4:c4:6e
[    1.682180] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.689744] g_cdc gadget: g_cdc ready
[    1.695870] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.704525] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 04:50:13 UTC (17413)
[    1.713051] vcc5v0: disabling
[    1.716101] ALSA device list:
[    1.719069]   #0: V3s Audio Codec
[    1.724388] Freeing unused kernel memory: 1024K
[    1.732419] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[    1.748665] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[    1.759817] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[    1.772285] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[    1.783795] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[    1.793683] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[    1.801542] mmc1: new high speed SDIO card at address 0001
Starting logging: OK
Initializing random number generator... done.
Starting network: OK
/ # ls /dev/s*
/dev/shm:

#39 全志 SOC » V3S linux 4.14-y 分支,如何支持声卡? » 2021-01-06 22:27:45

feng888
回复: 0

V3S linux 4.14-y 分支,如何支持声卡?

U-Boot SPL 2017.01-rc2 (Jan 06 2021 - 14:51:53)
DRAM: 64 MiB
Trying to boot from FEL

U-Boot 2017.01-rc2 (Jan 06 2021 - 14:51:53 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2 (Jan 06 2021 - 14:51:53 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0
## Loading init Ramdisk from Legacy Image at 41a00000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    5851759 Bytes = 5.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Ramdisk to 4286b000, end 42dffa6f ... OK
   Loading Device Tree to 42865000, end 4286ae7f ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.14-licheepi-zero (root@ubuntu) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02)) #1 SMP Wed Jan 6 22:01:58 CST 2021
[    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: Lichee Pi Zero with Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] random: fast init done
[    0.000000] percpu: Embedded 16 pages/cpu @c3f5f000 s33740 r8192 d23604 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/ram0 rdinit=/linuxrc earlyprintk rw
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 49300K/65536K available (6144K kernel code, 282K rwdata, 1468K rodata, 1024K init, 263K bss, 16236K reserved, 0K 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 : 0xc4800000 - 0xff800000   ( 944 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a46ba0   ( 283 kB)
[    0.000000]        .bss : 0xc0a4d754 - 0xc0a8f364   ( 264 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000181] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000423] Console: colour dummy device 80x30
[    0.000463] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000479] pid_max: default: 32768 minimum: 301
[    0.000607] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000621] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001271] CPU: Testing write buffer coherency: ok
[    0.001655] /cpus/cpu@0 missing clock-frequency property
[    0.001679] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002127] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002301] Hierarchical SRCU implementation.
[    0.002807] smp: Bringing up secondary CPUs ...
[    0.002821] smp: Brought up 1 node, 1 CPU
[    0.002830] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002837] CPU: All CPU(s) started in SVC mode.
[    0.003599] devtmpfs: initialized
[    0.006863] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.007174] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.007202] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007378] pinctrl core: initialized pinctrl subsystem
[    0.008376] NET: Registered protocol family 16
[    0.008815] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009857] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009874] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.021664] SCSI subsystem initialized
[    0.021894] usbcore: registered new interface driver usbfs
[    0.021974] usbcore: registered new interface driver hub
[    0.022068] usbcore: registered new device driver usb
[    0.022303] pps_core: LinuxPPS API ver. 1 registered
[    0.022314] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.022337] PTP clock support registered
[    0.022515] Advanced Linux Sound Architecture Driver Initialized.
[    0.024182] clocksource: Switched to clocksource arch_sys_counter
[    0.033335] NET: Registered protocol family 2
[    0.033944] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.033980] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.034003] TCP: Hash tables configured (established 1024 bind 1024)
[    0.034125] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.034247] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.034471] NET: Registered protocol family 1
[    0.035147] RPC: Registered named UNIX socket transport module.
[    0.035169] RPC: Registered udp transport module.
[    0.035174] RPC: Registered tcp transport module.
[    0.035180] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.035453] Unpacking initramfs...
[    0.421555] Freeing initrd memory: 5716K
[    0.423171] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.429201] NFS: Registering the id_resolver key type
[    0.429252] Key type id_resolver registered
[    0.429259] Key type id_legacy registered
[    0.433044] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.433064] io scheduler noop registered
[    0.433072] io scheduler deadline registered
[    0.433384] io scheduler cfq registered (default)
[    0.433397] io scheduler mq-deadline registered
[    0.433404] io scheduler kyber registered
[    0.433968] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.437415] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.496703] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.499591] console [ttyS0] disabled
[    0.519861] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    1.100533] console [ttyS0] enabled
[    1.107241] libphy: Fixed MDIO Bus: probed
[    1.111791] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    1.117682] dwmac-sun8i 1c30000.ethernet: No regulator found
[    1.123407] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    1.129631] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    1.135332] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    1.142548] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    1.148215] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    1.155439] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    1.160398] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    1.167363] libphy: stmmac: probed
[    1.176292] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.182829] ehci-platform: EHCI generic platform driver
[    1.188454] ehci-platform 1c1a000.usb: EHCI Host Controller
[    1.194067] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    1.202080] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    1.234204] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.241276] hub 1-0:1.0: USB hub found
[    1.245216] hub 1-0:1.0: 1 port detected
[    1.249711] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.256039] ohci-platform: OHCI generic platform driver
[    1.261585] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.268306] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.276242] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    1.349180] hub 2-0:1.0: USB hub found
[    1.353001] hub 2-0:1.0: 1 port detected
[    1.359194] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.368712] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.377644] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.384546] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.389099] i2c /dev entries driver
[    1.393935] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    1.402912] IR NEC protocol handler initialized
[    1.407537] IR RC5(x/sz) protocol handler initialized
[    1.412585] IR RC6 protocol handler initialized
[    1.417137] IR JVC protocol handler initialized
[    1.421661] IR Sony protocol handler initialized
[    1.426286] IR SANYO protocol handler initialized
[    1.430984] IR Sharp protocol handler initialized
[    1.435691] IR MCE Keyboard/mouse protocol handler initialized
[    1.441515] IR XMP protocol handler initialized
[    1.446710] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.514221] sunxi-mmc 1c0f000.mmc: base:0xc4981000 irq:23
[    1.574215] sunxi-mmc 1c10000.mmc: base:0xc4985000 irq:24
[    1.580537] usbcore: registered new interface driver usbhid
[    1.586195] usbhid: USB HID core driver
[    1.591773] NET: Registered protocol family 17
[    1.596468] Key type dns_resolver registered
[    1.600875] Registering SWP/SWPB emulation handler
[    1.614694] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.626069] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.631832] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.640955] hub 3-0:1.0: USB hub found
[    1.644919] hub 3-0:1.0: 1 port detected
[    1.649909] using random self ethernet address
[    1.654473] using random host ethernet address
[    1.659795] usb0: HOST MAC 46:e2:0d:ae:eb:98
[    1.664113] usb0: MAC 56:23:ab:1a:96:c3
[    1.668109] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.675625] g_cdc gadget: g_cdc ready
[    1.679668] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 02:22:00 UTC (8520)
[    1.688167] vcc5v0: disabling
[    1.691148] ALSA device list:
[    1.694110]   No soundcards found.
[    1.699508] Freeing unused kernel memory: 1024K
[    1.708668] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[    1.724276] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[    1.735057] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[    1.745302] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[    1.754544] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[    1.766862] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[    1.776985] mmc1: new high speed SDIO card at address 0001
Starting logging: OK
Initializing random number generator... done.
Starting network: OK
/ # [  212.884243] random: crng init done

#40 全志 SOC » linux-zero-4.14.y.zip 百度网盘下载链接有吗,家里电信网络用 git 太慢了 » 2021-01-06 21:14:32

feng888
回复: 1

linux-zero-4.14.y.zip  百度网盘下载链接有吗,家里电信网络用 git 太慢了

#41 Re: 全志 SOC » V3s 下载到sdram 启动系统,卡在这里,如何排查问题? » 2021-01-06 15:42:10

raspberryman 说:

没有提示错误,敲回车有反应吗?

敲回车没反应,插入SD卡可以提示卡容量

#42 全志 SOC » V3s 下载到sdram 启动系统,卡在这里,如何排查问题? » 2021-01-06 14:57:50

feng888
回复: 5

[  146.164081] mmc0: card 9b0e removed

U-Boot SPL 2017.01-rc2 (Jan 06 2021 - 14:51:53)
DRAM: 64 MiB
Trying to boot from FEL

U-Boot 2017.01-rc2 (Jan 06 2021 - 14:51:53 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2 (Jan 06 2021 - 14:51:53 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0
## Loading init Ramdisk from Legacy Image at 41a00000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    10522913 Bytes = 10 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Ramdisk to 423f6000, end 42dff121 ... OK
   Loading Device Tree to 423f0000, end 423f542d ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.10.15-licheepi-zero (root@ubuntu) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02) ) #4 SMP Wed Jan 6 14:17:39 CST 2021
[    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: Lichee Pi Zero with Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 14 pages/cpu @c3f63000 s24716 r8192 d24436 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/ram0 rdinit=/linuxrc earlyprintk rw
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 44880K/65536K available (6144K kernel code, 194K rwdata, 1232K rodata, 1024K init, 252K bss, 20656K reserved, 0K 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 : 0xc4800000 - 0xff800000   ( 944 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a30a00   ( 195 kB)
[    0.000000]        .bss : 0xc0a32000 - 0xc0a7104c   ( 253 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (virt).
[    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.000017] Switching to timer-based delay loop, resolution 41ns
[    0.000139] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000345] Console: colour dummy device 80x30
[    0.000383] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000397] pid_max: default: 32768 minimum: 301
[    0.000531] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000543] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001250] CPU: Testing write buffer coherency: ok
[    0.001653] /cpus/cpu@0 missing clock-frequency property
[    0.001677] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002034] Setting up static identity map for 0x40100000 - 0x40100058
[    0.002774] smp: Bringing up secondary CPUs ...
[    0.002793] smp: Brought up 1 node, 1 CPU
[    0.002801] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002808] CPU: All CPU(s) started in SVC mode.
[    0.003573] devtmpfs: initialized
[    0.006462] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.006740] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006767] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.006922] pinctrl core: initialized pinctrl subsystem
[    0.007929] NET: Registered protocol family 16
[    0.008353] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009552] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009567] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.021143] SCSI subsystem initialized
[    0.021429] usbcore: registered new interface driver usbfs
[    0.021489] usbcore: registered new interface driver hub
[    0.021582] usbcore: registered new device driver usb
[    0.021810] pps_core: LinuxPPS API ver. 1 registered
[    0.021819] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.021841] PTP clock support registered
[    0.022054] Advanced Linux Sound Architecture Driver Initialized.
[    0.023854] clocksource: Switched to clocksource arch_sys_counter
[    0.034761] NET: Registered protocol family 2
[    0.035368] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.035399] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.035423] TCP: Hash tables configured (established 1024 bind 1024)
[    0.035508] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.035555] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.035786] NET: Registered protocol family 1
[    0.036402] RPC: Registered named UNIX socket transport module.
[    0.036420] RPC: Registered udp transport module.
[    0.036426] RPC: Registered tcp transport module.
[    0.036432] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.036738] Unpacking initramfs...
[    0.682378] Freeing initrd memory: 10280K
[    0.684526] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.693335] NFS: Registering the id_resolver key type
[    0.693381] Key type id_resolver registered
[    0.693389] Key type id_legacy registered
[    0.697580] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.697601] io scheduler noop registered
[    0.697608] io scheduler deadline registered
[    0.697800] io scheduler cfq registered (default)
[    0.701986] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.773745] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.777191] console [ttyS0] disabled
[    0.797471] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 34, base_baud = 1500000) is a U6_16550A
[    1.357892] console [ttyS0] enabled
[    1.363040] libphy: Fixed MDIO Bus: probed
[    1.367448] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.374024] ehci-platform: EHCI generic platform driver
[    1.379328] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.385550] ohci-platform: OHCI generic platform driver
[    1.391250] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.400680] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.409600] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.416506] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.421040] i2c /dev entries driver
[    1.425921] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input1
[    1.435471] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.503895] sunxi-mmc 1c0f000.mmc: base:0xc485f000 irq:23
[    1.563877] sunxi-mmc 1c10000.mmc: base:0xc4863000 irq:24
[    1.570184] usbcore: registered new interface driver usbhid
[    1.575839] usbhid: USB HID core driver
[    1.581175] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[    1.589237] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.596380] NET: Registered protocol family 17
[    1.600936] Key type dns_resolver registered
[    1.605450] Registering SWP/SWPB emulation handler
[    1.618639] usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.626623] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.632389] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    1.641629] hub 1-0:1.0: USB hub found
[    1.645591] hub 1-0:1.0: 1 port detected
[    1.650280] using random self ethernet address
[    1.654833] using random host ethernet address
[    1.660228] usb0: HOST MAC aa:2e:ed:f2:83:84
[    1.664676] usb0: MAC 9e:4b:88:92:c1:3d
[    1.668576] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.676103] g_cdc gadget: g_cdc ready
[    1.682159] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.691336] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 03:51:52 UTC (13912)
[    1.699914] vcc5v0: disabling
[    1.702890] ALSA device list:
[    1.705913]   #0: V3s Audio Codec
[    1.710656] Freeing unused kernel memory: 1024K
[    1.718737] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[    1.735121] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[    1.746029] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[    1.758618] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[    1.771584] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[    1.781723] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[    1.792163] mmc1: new high speed SDIO card at address 0001
[    5.985494] random: fast init done

#43 全志 SOC » v3s 主线 u-boot rootfs linux 编译好了,spiflash 启动方,如何用 sunxi-fel.exe 一次下载 » 2021-01-05 21:12:54

feng888
回复: 1

v3s 主线 u-boot  rootfs   linux 编译好了,spiflash 启动方,如何用 sunxi-fel.exe 一次下载

#44 Re: 全志 SOC » V3s 4.10.15 内核裁剪不知如何下刀?现在内核有10M , 做mplayer 音频播放用,无视频,有没有高手指导一下裁剪方向? » 2021-01-05 17:14:53

raspberryman 说:

一步一步来,先用 tinyplay 能播放 wav

然后用ffmpeg 解码任何音频文件为wav文件

播放器裁好了,linux 内核不知道如何下刀

#45 全志 SOC » V3s 4.10.15 内核裁剪不知如何下刀?现在内核有10M , 做mplayer 音频播放用,无视频,有没有高手指导一下裁剪方向? » 2021-01-05 16:22:04

feng888
回复: 3

V3s 4.10.15 内核裁剪不知如何下刀?现在内核有10M , 做mplayer 音频播放用,无视频,有没有高手指导一下裁剪方向?

#46 全志 SOC » V3S 主线版 u-boot 和 linux 内核 加新的 spi flash 芯片 ID 改哪个文件 » 2021-01-05 12:17:50

feng888
回复: 1

V3S 主线版 u-boot   和 linux 内核 加新的 spi flash 芯片 ID 改哪个文件

#47 Re: 全志 SOC » V3S 如何用 pack 打包RAM fs 到 spi slash 3. 14内核 » 2021-01-04 10:07:04

raspberryman 说:

你的路子走歪了,还是研究一下gpio分时复用spi吧

没用设备树的内核 , spi 设备配置文件在哪里?没找到

#48 Re: 全志 SOC » V3S 如何用 pack 打包RAM fs 到 spi slash 3. 14内核 » 2021-01-04 08:56:06

raspberryman 说:

为什么要 ramfs?

要一直用spi接口做其他用途

#49 全志 SOC » 如何把官方的pack 打包工具换掉,都要改哪些地方? » 2021-01-04 08:44:04

feng888
回复: 0

如何把官方的pack 打包工具换掉,都要改哪些地方?

#50 全志 SOC » v3s 3.14内核,没用到设备树,spi 设备的配置文件是在哪里 » 2021-01-04 08:40:51

feng888
回复: 0

v3s 3.14内核,没用到设备树,spi 设备的配置文件是在哪里

#51 Re: 全志 SOC » v3s 有几个 spi cs口,用 spi flash 启动后,spi 能在用户层使用吗 » 2021-01-04 07:52:00

微凉VeiLiang 说:

可以用多个设备,外设好像支持4个片选

官方手册上只看到一个cs,没有介绍其他3个cs 是哪个引脚!

#52 Re: 全志 SOC » v3s 如何 把 spi flash rootfs 全部加载到 sdram ,如何打包 » 2021-01-04 07:48:57

uuid 说:

荔枝派zero/小智极客S3/V3s使用sunxi-fel 借 u-boot 启动 Linux系统, 无需 spi flash / TF 卡
http://whycan.com/t_2388.html
(出处:哇酷开发者社区【全志 V3S/F1C100s/X3】)





这个就是全部加载到RAM跑

这个方法在调试代码时很有用,产品出厂时,如何用pack 打包成通过spi flash 启动全部加载到ram?

#53 全志 SOC » V3S 如何用 pack 打包RAM fs 到 spi slash 3. 14内核 » 2021-01-04 07:39:25

feng888
回复: 6

V3S 如何用 pack 工具打包RAM fs 到 spi slash ,系统是3. 14内核,启动时通过spi flash 全部 程序加载到sd ram,Uboot 要修改吗? 原来是 spi flash 的 ROM fs ,可以正常打包和启动的!

#54 Re: 全志 SOC » v3s 有几个 spi cs口,用 spi flash 启动后,spi 能在用户层使用吗 » 2021-01-03 23:15:24

raspberryman 说:

H5的spi控制器驱动, 可以通过 gpio 控制 spi 片选 (转载)
http://whycan.com/t_2418.html#p21084
(出处:哇酷开发者社区【全志 V3S/F1C100s/X3】)

我用的sdk 没用到设备树,如何改?

#55 全志 SOC » v3s 有几个 spi cs口,用 spi flash 启动后,spi 能在用户层使用吗 » 2021-01-03 22:26:53

feng888
回复: 6

v3s 有几个 spi cs口,用 spi flash 启动后,spi 能在用户层使用吗?

#56 全志 SOC » v3s 如何 把 spi flash rootfs 全部加载到 sdram ,如何打包 » 2021-01-03 22:13:52

feng888
回复: 2

v3s  如何 把 spi flash rootfs  全部加载到 sdram ,如何打包,如何配置?

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn