您尚未登录。

#1 全志 SOC » V3S的USB DP DM连4G模块,PF6(USB_ID引脚)应该接地?悬空?上拉? » 2020-07-14 10:40:06

qiushan
回复: 4

V3S的USB DP DM连4G模块,PF6(USB_ID引脚)应该接地?悬空?上拉?

#2 全志 SOC » V3S linux-4.13.y printk默认为什么是4 4 1 7 » 2020-04-06 12:24:53

qiushan
回复: 0

CONSOLE_LOGLEVEL_DEFAULT 已经设置成7了,运行后cat /proc/sys/kernel/printk 还是4 4 1 7

#4 全志 SOC » v3s linux-4.13.y Ethernet问题 » 2020-04-04 22:14:06

qiushan
回复: 1
  │ │                              --- Ethernet driver support                                                                          │ │  
  │ │                              [*]   Alacritech devices                                                                             │ │  
  │ │                              [*]   Allwinner devices                                                                              │ │  
  │ │                              < >     Allwinner A10 EMAC support                                                                   │ │  
  │ │                              < >   Altera Triple-Speed Ethernet MAC support                                                       │ │  
  │ │                              [*]   Amazon Devices                                                                                 │ │  
  │ │                              [*]   aQuantia devices                             

找不到教程说的sun8i emac support ,不知道如何打sun8i-emac补丁

#6 Re: 全志 SOC » v3s使用ubuntu根文件系统,加载驱动模块出现问题 » 2020-03-25 19:05:55

qiushan@ubuntu:~/linux/licheepi_zero/licheepi_zero_linux_ethernet$ arm-linux-gnueabihf-gcc -v

使用内建 specs。
COLLECT_GCC=arm-linux-gnueabihf-gcc
COLLECT_LTO_WRAPPER=/usr/local/arm/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/../libexec/gcc/arm-linux-gnueabihf/6.3.1/lto-wrapper
目标:arm-linux-gnueabihf
配置为:/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/snapshots/gcc-linaro-6.3-2017.02/configure SHELL=/bin/bash --with-mpc=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu --with-mpfr=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu --with-gmp=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu --with-gnu-as --with-gnu-ld --disable-libmudflap --enable-lto --enable-objc-gc --enable-shared --without-included-gettext --enable-nls --disable-sjlj-exceptions --enable-gnu-unique-object --enable-linker-build-id --disable-libstdcxx-pch --enable-c99 --enable-clocale=gnu --enable-libstdcxx-debug --enable-long-long --with-cloog=no --with-ppl=no --with-isl=no --disable-multilib --with-float=hard --with-mode=thumb --with-tune=cortex-a9 --with-arch=armv7-a --with-fpu=vfpv3-d16 --enable-threads=posix --enable-multiarch --enable-libstdcxx-time=yes --enable-gnu-indirect-function --with-build-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/sysroots/arm-linux-gnueabihf --with-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu/arm-linux-gnueabihf/libc --enable-checking=release --disable-bootstrap --enable-languages=c,c++,fortran,lto --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=arm-linux-gnueabihf --prefix=/home/tcwg-buildslave/workspace/tcwg-make-release/label/docker-trusty-amd64-tcwg-build/target/arm-linux-gnueabihf/_build/builds/destdir/x86_64-unknown-linux-gnu
线程模型:posix
gcc 版本 6.3.1 20170109 (Linaro GCC 6.3-2017.02) 

qiushan@ubuntu:~/linux/licheepi_zero/licheepi_zero_linux_ethernet$ sudo make modules_install NSTALL_MOD_PATH=/lib/modules/4.12.0-rc1-g19e52b79

./scripts/gcc-version.sh: 行 25: arm-linux-gnueabihf-gcc:未找到命令
./scripts/gcc-version.sh: 行 26: arm-linux-gnueabihf-gcc:未找到命令
make: arm-linux-gnueabihf-gcc: Command not found
make: arm-linux-gnueabihf-gcc: Command not found
  INSTALL crypto/drbg.ko
  INSTALL crypto/echainiv.ko
  INSTALL crypto/hmac.ko
  INSTALL crypto/jitterentropy_rng.ko
  INSTALL crypto/sha256_generic.ko
make: arm-linux-gnueabihf-gcc: Command not found
  DEPMOD  4.12.0-rc1-g19e52b79-dirty

#7 Re: 全志 SOC » v3s使用ubuntu根文件系统,加载驱动模块出现问题 » 2020-03-25 18:01:05

有梦的地方 说:

没错,按二楼的做就可以了。

我用nfs挂载的系统,不是应该把.ko文件放在/lib/modules/xxx文件下么

#8 Re: 全志 SOC » v3s使用ubuntu根文件系统,加载驱动模块出现问题 » 2020-03-25 17:41:56

拉轰的脚踏车 说:

参考: https://whycan.cn/t_2996.html#p24793


ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make modules_install INSTALL_MOD_PATH=/opt/buildroot-2018.08.2/output/target/

我没想把它们打包,就是打算放在根文件系统里,然后加载一下这个驱动

#9 全志 SOC » v3s使用ubuntu根文件系统,加载驱动模块出现问题 » 2020-03-25 17:27:32

qiushan
回复: 7
root@licheepi_zero:~# depmod
depmod: WARNING: could not open /lib/modules/4.12.0-rc1-g19e52b79/modules.order: No such file or directory
depmod: WARNING: could not open /lib/modules/4.12.0-rc1-g19e52b79/modules.builtin: No such file or directory

手动建这两个文件也不行

#10 Re: 全志 SOC » v3s实现流水灯显示 » 2020-03-24 11:06:24

晕哥 说:

检查驱动和设备树.

主线linux电亮绿色led使用的什么方式呀,配置文件在哪里?

#11 Re: 全志 SOC » 关于 lichee-pi zero v3s 以太网硬件严重发热问题和解决办法 » 2020-03-21 21:03:41

我拆了上拉电阻发现下载文件不太稳定了,最后又给焊上去了。。。

#12 Re: 全志 SOC » V3s 使用NFS无法启动rootfs,从TF卡中可以 » 2020-03-21 09:10:17

晕哥 说:

如果你只是加载nfs rootfs, 那么u-boot不需要驱动ethernet,也不需要支持nfs.

反而kernel 你就必须开启nfs文件系统和ethernet支持。

原来是这样,谢谢晕哥

#13 Re: 全志 SOC » V3s 使用NFS无法启动rootfs,从TF卡中可以 » 2020-03-21 08:38:37

晕哥 说:

也就是  nfs 服务器是正常的对吧?

3. 就是 kernel / filesystem / nfs 有没有配置,
    如果u-boot可以连接nfs服务器, 那确保V3s Linux系统能使用你的nfs文件系统.

kernel是不是也需要做好以太网的驱动。。。我没改kernel,只把nfs client支持给打开了

#14 Re: 全志 SOC » V3s 使用NFS无法启动rootfs,从TF卡中可以 » 2020-03-20 21:57:09

晕哥 说:

TF进入系统之后确认以下问题:
1. 网卡驱动是否正常.
2. 是否能ping通nfs服务器ip
3. nfs 驱动是否配置进系统
4. 是否能手动挂载 nfs 的共享目录到 V3s

晕哥,第三步不太明白,我把根文件系统放在nfs目录里了,试过在uboot下可以使用nfs命令下载这个目录下的文件,编译好的文件系统还需要改么

#15 全志 SOC » V3s 使用NFS无法启动rootfs,从TF卡中可以 » 2020-03-20 21:08:48

qiushan
回复: 9
[  109.925015] VFS: Unable to mount root fs via NFS, trying floppy.
[  109.931869] VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
[  109.939215] Please append a correct "root=" boot option; here are the available partitions:
[  109.947607] b300        15558144 mmcblk0
[  109.947614]  driver: mmcblk
[  109.954439]   b301           32768 mmcblk0p1 d85b0d94-01
[  109.954441]
[  109.961244]   b302        15523840 mmcblk0p2 d85b0d94-02
[  109.961246]
[  109.968066] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
[  109.976332] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.14-licheepi-zero+ #1
[  109.983637] Hardware name: Allwinner sun8i Family
[  109.988380] [<c010e894>] (unwind_backtrace) from [<c010b548>] (show_stack+0x10/0x14)
[  109.996135] [<c010b548>] (show_stack) from [<c06732e8>] (dump_stack+0x88/0x9c)
[  110.003367] [<c06732e8>] (dump_stack) from [<c011b848>] (panic+0xdc/0x248)
[  110.010249] [<c011b848>] (panic) from [<c09011dc>] (mount_block_root+0x18c/0x260)
[  110.017736] [<c09011dc>] (mount_block_root) from [<c09013d0>] (mount_root+0x120/0x128)
[  110.025655] [<c09013d0>] (mount_root) from [<c0901528>] (prepare_namespace+0x150/0x194)
[  110.033661] [<c0901528>] (prepare_namespace) from [<c0900e28>] (kernel_init_freeable+0x1c4/0x1d4)
[  110.042537] [<c0900e28>] (kernel_init_freeable) from [<c06854a0>] (kernel_init+0x8/0x108)
[  110.050719] [<c06854a0>] (kernel_init) from [<c0107868>] (ret_from_fork+0x14/0x2c)
[  110.058301] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

我的bootargs

setenv bootargs 'console=tty1 console=ttyS0,115200 root=/dev/nfs rw nfsroot=192.168.3.3:/home/qiushan/linux/nfs/ubuntu_rootfs ip=192.168.3.4:192.168.3.3:192.168.3.1:255.255.255.0::eth0:off' 

#16 全志 SOC » 哪位大哥可以提供一个全志V3S芯片原理图库呀,感激不尽 » 2020-03-04 18:27:11

qiushan
回复: 1

哪位大哥可以提供一个全志V3S芯片原理图库呀,感激不尽,最好是AD的

#17 Re: 全志 SOC » 求助,v3s以太网问题 » 2020-03-04 11:21:26

楼主解决了么,以太网不能用调试起来太糟心了

#18 Re: 全志 SOC » buildroot问题 » 2020-02-10 13:43:09

k455619 说:

随便填写 如果错了 buildroot会提醒

方法独特啊哈哈哈

#19 Re: 全志 SOC » buildroot问题 » 2020-02-10 13:42:32

pythinker 说:

我隐隐约约记得和上面填写的 gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf 有关系。

确实根据那个来,,就是不知道什么关系

#20 全志 SOC » buildroot问题 » 2020-02-10 11:32:15

qiushan
回复: 4

Toolchain type (External toolchain)  --->                                               
*** Toolchain External Options ***                                                     
Toolchain (Custom toolchain)  --->                                                     
Toolchain origin (Pre-installed toolchain)  --->                                       
(/usr/local/arm/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf) Toolchain path         
($(ARCH)-linux-gnueabihf) Toolchain prefix                                                 
External toolchain gcc version (7.x)  --->                                             
External toolchain kernel headers series (4.12.x)  --->                               
External toolchain C library (glibc/eglibc)  --->     


倒数第二行应该怎么填

#21 Re: 全志 SOC » 4G模块 » 2020-01-20 17:58:21

晕哥 说:

u-boot 里面虽然有 usb 驱动代码, 但是我没有用过, 即使能驱动还得有配套的测试软件.

Linux下测试USB是没有问题的, 根据具体问题, 本站搜索一下, 有解决方案的.

晕哥,荔枝派nano是不是不能用usb转网口,用nfs跑系统呀

#22 Re: 全志 SOC » 4G模块 » 2020-01-20 17:36:10

哦豁哦豁 说:

我用的f1c100s,Linux4.14,otg口用不了是什么原因呢

=> usb start
starting USB...
No controllers found

在linux下也没有反应

#23 全志 SOC » 4G模块 » 2020-01-20 17:06:55

qiushan
回复: 11

有人用过V3S或者F1C100S做过4G通信么,USB转到4G网速快不快

#24 全志 SOC » 荔枝派nano 使用usb otg 通过usb转网口在u-boot下能不能使用 » 2020-01-20 14:50:33

qiushan
回复: 0

荔枝派nano 使用usb otg 通过usb转网口在u-boot下能不能使用

#25 全志 SOC » 无spi flash ,SD卡启动,,,求救 » 2020-01-18 22:14:17

qiushan
回复: 2

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.2.0-licheepi-nano+ (qiushan@ubuntu) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #2 Thu Jan 9 17:54:44 PST 2020
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Lichee Pi Nano
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 root=/dev/mmcblk0p2 rootwait rw
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 23768K/32768K available (5120K kernel code, 208K rwdata, 1284K rodata, 1024K init, 218K bss, 9000K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x254/0x42c with crng_init=0
[    0.000045] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000123] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000636] Console: colour dummy device 80x30
[    0.000728] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[    0.070239] pid_max: default: 32768 minimum: 301
[    0.070666] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070704] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.072302] CPU: Testing write buffer coherency: ok
[    0.074297] Setting up static identity map for 0x80100000 - 0x80100058
[    0.076530] devtmpfs: initialized
[    0.081513] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.081567] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.081859] pinctrl core: initialized pinctrl subsystem
[    0.084518] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.086579] cpuidle: using governor menu
[    0.134502] SCSI subsystem initialized
[    0.134860] usbcore: registered new interface driver usbfs
[    0.135008] usbcore: registered new interface driver hub
[    0.135183] usbcore: registered new device driver usb
[    0.135648] pps_core: LinuxPPS API ver. 1 registered
[    0.135670] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.136174] Advanced Linux Sound Architecture Driver Initialized.
[    0.136492] clocksource: Switched to clocksource timer
[    0.165955] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.168148] Initialise system trusted keyrings
[    0.168715] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.192872] Key type asymmetric registered
[    0.192910] Asymmetric key parser 'x509' registered
[    0.193074] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.193099] io scheduler mq-deadline registered
[    0.193116] io scheduler kyber registered
[    0.205163] suniv-f1c100s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.386251] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.391932] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator
[    0.393668] printk: console [ttyS0] disabled
[    0.413927] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 22, base_baud = 6250000) is a 16550A
[    0.732376] printk: console [ttyS0] enabled
[    0.740266] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pd not found, using dummy regulator
[    0.757939] SCSI Media Changer driver v0.25
[    0.763334] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.769985] ehci-platform: EHCI generic platform driver
[    0.775458] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.781760] ohci-platform: OHCI generic platform driver
[    0.787449] usbcore: registered new interface driver usb-storage
[    0.794037] udc-core: couldn't find an available UDC - added [zero] to list of pending drivers
[    0.803037] i2c /dev entries driver
[    0.808252] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    0.846270] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    0.855489] usbcore: registered new interface driver usbhid
[    0.861182] usbhid: USB HID core driver
[    0.882619] Loading compiled-in X.509 certificates
[    0.897197] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pd not found, using dummy regulator
[    0.908580] sun4i-backend 1e60000.display-backend: Couldn't find matching frontend, frontend features disabled
[    0.919459] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc06374b4)
[    0.928534] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc063610c)
[    0.936195] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.942915] [drm] No driver support for vblank timestamp query.
[    0.950224] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.175591] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.179030] mmc0: new high speed SDHC card at address aaaa
[    1.184333] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[    1.206306] Console: switching to colour frame buffer device 100x30
[    1.213828]  mmcblk0: p1 p2
[    1.266035] sun4i-drm display-engine: fb0: sun4i-drmdrmfb frame buffer device
[    1.274035] ALSA device list:
[    1.277177]   #0: Loopback 1
[    1.305470] random: fast init done
[    1.323104] EXT4-fs (mmcblk0p2): recovery complete
[    1.328068] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.336340] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.348037] devtmpfs: mounted
[    1.357484] Freeing unused kernel memory: 1024K
[    1.362149] Run /sbin/init as init process
[    1.394262] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    1.401936] CPU: 0 PID: 1 Comm: init Not tainted 5.2.0-licheepi-nano+ #2
[    1.408618] Hardware name: Allwinner suniv Family
[    1.413407] [<c010e3f8>] (unwind_backtrace) from [<c010b9dc>] (show_stack+0x10/0x14)
[    1.421166] [<c010b9dc>] (show_stack) from [<c0116db4>] (panic+0xe8/0x2e4)
[    1.428045] [<c0116db4>] (panic) from [<c01185e8>] (do_exit+0x9dc/0xa18)
[    1.434743] [<c01185e8>] (do_exit) from [<c0119184>] (do_group_exit+0x3c/0xb4)
[    1.441964] [<c0119184>] (do_group_exit) from [<c0122d3c>] (get_signal+0x10c/0x7bc)
[    1.449621] [<c0122d3c>] (get_signal) from [<c010af4c>] (do_work_pending+0x1a8/0x558)
[    1.457453] [<c010af4c>] (do_work_pending) from [<c0101068>] (slow_work_pending+0xc/0x20)
[    1.465607] Exception stack(0xc1831fb0 to 0xc1831ff8)
[    1.470656] 1fa0:                                     be8bcf10 00000000 00000000 00000000
[    1.478824] 1fc0: 00000940 00000000 00000000 00000000 00000000 00000000 000275e4 00000000
[    1.486987] 1fe0: 00000000 be8bcf10 b6fa1b53 b6fa2000 00000030 ffffffff
[    1.493597] Rebooting in 5 seconds..
[    7.472830] Reboot failed -- System halted

页脚

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

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