您尚未登录。

#4 Re: 全志 SOC » V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写 » 2020-05-18 17:32:19

哇酷小二 说:

你是在电脑上 dd 到tf卡吗?

是Linux下DD,板子上的U盘到板子上的SD芯片

#5 Re: 全志 SOC » V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写 » 2020-05-18 17:25:22

还有一个问题:有几个可以正常启动的板子,过一会儿(几秒、十几秒)会重启,感觉是文件系统丢失了,一直在循环重启。SD都是可以访问的,再如何DD都是这个情况,无解中

#6 Re: 全志 SOC » V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写 » 2020-05-18 17:22:56

我都试过了,高低悬空都无效的。现在板子都是可以DD解决烧写问题的,就是不方便。

#8 Re: 全志 SOC » V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写 » 2020-05-18 16:14:35

好吧,现在下载好像都受到限制了!积分不够?没有关心过这个问题啊

#9 Re: 全志 SOC » V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写 » 2020-05-18 16:13:23

usb启动成功,焊在板上的SD芯片,始终无法挂载成为windows下的U盘。我的fel启动文件有问题?还是有哪个启动文件可以直接用的?
@晕哥 求助!

#10 Re: 全志 SOC » V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写 » 2020-04-15 09:26:40

晕哥 说:

接串口,看输出什么log

完整的启动log

@@8H@0   0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.16-licheepi-zero+ (root@ubuntu) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #312 SMP Tue Apr 14 03:09:57 PDT 2020
[    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
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu @c3f5f000 s33868 r8192 d23476 u65536
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS1,115200 panic=5 rootwait root=/dev/ram0 init=/linuxrc earlyprintk rw initrd=0x41A00000
[    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: 51920K/65536K available (6144K kernel code, 246K rwdata, 1504K rodata, 1024K init, 268K bss, 13616K 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 - 0xc0a3db80   ( 247 kB)
[    0.000000]        .bss : 0xc0a44b38 - 0xc0a87dec   ( 269 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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000018] Switching to timer-based delay loop, resolution 41ns
[    0.000177] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000409] Console: colour dummy device 80x30
[    0.000446] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000461] pid_max: default: 32768 minimum: 301
[    0.000591] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000607] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001204] CPU: Testing write buffer coherency: ok
[    0.001581] /cpus/cpu@0 missing clock-frequency property
[    0.001601] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002045] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002220] Hierarchical SRCU implementation.
[    0.002723] smp: Bringing up secondary CPUs ...
[    0.002737] smp: Brought up 1 node, 1 CPU
[    0.002745] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002752] CPU: All CPU(s) started in SVC mode.
[    0.003500] devtmpfs: initialized
[    0.006621] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.006914] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006939] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.007098] pinctrl core: initialized pinctrl subsystem
[    0.007968] random: get_random_u32 called from bucket_table_alloc+0xfc/0x224 with crng_init=0
[    0.008111] NET: Registered protocol family 16
[    0.008574] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009702] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009720] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.023306] SCSI subsystem initialized
[    0.023583] usbcore: registered new interface driver usbfs
[    0.023650] usbcore: registered new interface driver hub
[    0.023736] usbcore: registered new device driver usb
[    0.024000] pps_core: LinuxPPS API ver. 1 registered
[    0.024009] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.024031] PTP clock support registered
[    0.024260] Advanced Linux Sound Architecture Driver Initialized.
[    0.026113] clocksource: Switched to clocksource arch_sys_counter
[    0.036215] NET: Registered protocol family 2
[    0.036792] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.036825] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.036849] TCP: Hash tables configured (established 1024 bind 1024)
[    0.036975] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.037023] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.037233] NET: Registered protocol family 1
[    0.037811] RPC: Registered named UNIX socket transport module.
[    0.037829] RPC: Registered udp transport module.
[    0.037836] RPC: Registered tcp transport module.
[    0.037841] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.038116] Trying to unpack rootfs image as initramfs...
[    0.267866] Freeing initrd memory: 3128K
[    0.269773] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.278858] NFS: Registering the id_resolver key type
[    0.278911] Key type id_resolver registered
[    0.278918] Key type id_legacy registered
[    0.278960] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.280434] random: fast init done
[    0.283293] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.283315] io scheduler noop registered
[    0.283323] io scheduler deadline registered
[    0.283526] io scheduler cfq registered (default)
[    0.283537] io scheduler mq-deadline registered
[    0.283543] io scheduler kyber registered
[    0.287915] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.355251] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.378705] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 34, base_baud = 1500000) is a U6_16550A
[    0.400233] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 35, base_baud = 1500000) is a U6_16550A
[    1.005183] console [ttyS1] enabled
[    1.030141] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 36, base_baud = 1500000) is a U6_16550A
[    1.055353] brd: module loaded
[    1.061150] libphy: Fixed MDIO Bus: probed
[    1.065735] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    1.071676] dwmac-sun8i 1c30000.ethernet: No regulator found
[    1.077435] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    1.083584] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    1.089318] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    1.096556] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    1.102209] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    1.109434] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    1.114392] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    1.121368] libphy: stmmac: probed
[    1.130540] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.137212] ehci-platform: EHCI generic platform driver
[    1.142755] ehci-platform 1c1a000.usb: EHCI Host Controller
[    1.148463] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    1.156406] ehci-platform 1c1a000.usb: irq 25, io mem 0x01c1a000
[    1.186137] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.193389] hub 1-0:1.0: USB hub found
[    1.197326] hub 1-0:1.0: 1 port detected
[    1.201823] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.208121] ohci-platform: OHCI generic platform driver
[    1.213652] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.220392] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.228327] ohci-platform 1c1a400.usb: irq 26, io mem 0x01c1a400
[    1.301261] hub 2-0:1.0: USB hub found
[    1.305100] hub 2-0:1.0: 1 port detected
[    1.310044] usbcore: registered new interface driver usb-storage
[    1.316746] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.326491] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.333288] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.337911] i2c /dev entries driver
[    1.341786] config 5 freq [1000000]
[    1.342521] 455 probe 0 addr=[24]
[    1.346037] irq=[72]
[    1.349763] interrupt
[    1.351954] read
[    1.354235] fsm start
[    1.356072] ADDR1
[    1.358384] fsm 3 ACK
[    1.360309] fsm 4 ACK
[    1.362576] fsm 5 ACK
[    1.364843] CONTINUE
[    1.367125] fsm 6 ACK
[    1.369308] STOP
[    1.371595] completetion
[    1.373432] abort=[0]block=[0]0
[    1.375960] execute_msg return rc
[    1.379108] mv64xx xfer return=[01]
[    1.382417] __i2c_transfer after0
[    1.385898] __i2c_transfer after1[01]
[    1.389217] master_recv=[1]
[    1.392872] ch455 ret =[1]
[    1.395660] key1=[2e]
[    1.398371] key2=[2e]
[    1.400641] interrupt end
[    1.403334] input: CH455 as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0024/input/input0
[    1.414392] major=[247],minor=[0]
[    1.414588] client.flag=[00] addr=[24]
[    1.418018] fsm start
[    1.421765] ADDR1
[    1.424048] fsm ACK0
[    1.425971] fsm 2 ACK
[    1.428152] fsm 21 ACK
[    1.430418] SE DATA
[    1.432801] fsm 2 ACK
[    1.434899] send STOP
[    1.437425] completetion
[    1.439704] abort=[0]block=[0]0
[    1.442231] execute_msg return rc
[    1.445366] mv64xx xfer return=[01]
[    1.448727] __i2c_transfer after0
[    1.452211] __i2c_transfer after1[01]
[    1.456424] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.526162] sunxi-mmc 1c0f000.mmc: base:0xc4a63000 irq:23
[    1.532551] usbcore: registered new interface driver usbhid
[    1.538208] usbhid: USB HID core driver
[    1.542464] fbtft_of_value: buswidth = 8
[    1.546452] fbtft_of_value: debug = 0
[    1.550111] fbtft_of_value: rotate = 270
[    1.554029] fbtft_of_value: fps = 5
[    1.723410] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.733478] mmc0: new high speed SD card at address 00c3
[    1.740079] mmcblk0: mmc0:00c3 E1601 121 MiB 
[    1.746392]  mmcblk0: p1 p2
[    1.772384] Console: switching to colour frame buffer device 40x30
[    1.779530] graphics fb0: fb_st7789v frame buffer, 320x240, 150 KiB video memory, 4 KiB buffer memory, fps=5, spi32766.1 at 20 MHz
[    1.791799] gt2440_rc522_init()
[    1.795068] gt2440_rc522_probe()
[    1.798385] gpio=[130],flag=[0]
[    1.798805] xcled166_init start...
[    1.805501] xcled166_probe start..
[    1.808988] xcled166: request GPIO 0 for LED success, ret = 0
[    1.815014] state is 0
[    1.818721] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[    1.826769] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.833945] NET: Registered protocol family 17
[    1.838639] Key type dns_resolver registered
[    1.843081] Registering SWP/SWPB emulation handler
[    1.852296] sun4i-usb-phy: probe of 1c19400.phy failed with error -16
[    1.861763] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.870744] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:37:08 UTC (2228)
[    1.879281] vcc3v0: disabling
[    1.882258] vcc5v0: disabling
[    1.885221] ALSA device list:
[    1.888247]   #0: V3s Audio Codec
[    1.893343] Freeing unused kernel memory: 1024K
Starting logging: OK
Initializing random number generator... [    2.019003] random: crng init done
done.
Starting system message bus: done
Starting network: [    2.211957] Generic PHY stmmac-0:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:01, irq=-1)
[    2.223928] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[    2.231701] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
udhcpc: started, v1.27.1
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: no lease, failing
FAIL

Welcome to Buildroot

#11 Re: 全志 SOC » V3s/S3/f1c100s通过USB启动Linux,并把SD NAND/TF卡挂载为U盘, 可以dd或Win32DiskImager任烧写 » 2020-04-14 18:29:42

@晕哥 usb启动成功,焊在板上的SD芯片如何挂载成为windows下的U盘?我在usb启动成功后,将PF6拉高,但是没有反应,还有什么条件?fel引导用的image是自己做的。

#12 Re: 全志 SOC » f1c100s linux 5.2 USB已完美驱动,host+device完美运行 » 2020-02-26 14:38:25

晕哥 , 请教一下, 全志批量是什么流程, 能给个PhoeinxUSBPro 的指导吗,  img文件这个程序不识别, 给个范例吧, 谢谢

页脚

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

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