感谢提供那么方便的工具。
使用下来,感觉这个工具spiflash没有擦除功能,略有不便。
还有我每次烧完,为了跑程序,还得拔USB再插上,感觉没必要,最好再有个从某地址运行的按钮。
离线
感谢提供那么方便的工具。
使用下来,感觉这个工具spiflash没有擦除功能,略有不便。
还有我每次烧完,为了跑程序,还得拔USB再插上,感觉没必要,最好再有个从某地址运行的按钮。
烧写完成后按复位键就开跑了吧?
歪朵拉开源硬件: https://widora.cn
淘宝: https://widora.taobao.com/
在线
打开时支持显示所有文件呀
离线
NANO板上有复位键吗?板子拿回来怕和屏连接的fpc接口损坏,直接把板粘在屏后面了,印象中板上好像没什么按键。再说那么小个板子,即使有复位,找这个键去按也够费事的,能懒就懒吧。
离线
有软复位还是不错的
离线
在那里发布还没有看见哦
离线
在那里发布还没有看见哦
离线
程序写完成后那个提示框可以总是在最顶层吗,还有就是提示框可以随软件一起移动吗,现在用两个屏幕时移动了软件,完成提示框在另一个屏幕上。
离线
DKTool_0229版本能检测到芯片型号,flash检测不到,选择完一个文件准备烧写之后,write按钮灰色点击不了。
离线
https://whycan.cn/files/members/1228/VID_20200319_173302.mp4
看这个,就是将w25q128与芯片断开和连接
还是检测不出来,我用是的荔枝派f1c100s板子,上面flash不是w25q128,不知道是不是这样原因,用命令行是可以烧写的。软件上能不能改下检测不到flash但是也要能写入。
离线
@迪卡,USB用你那个驱动好像有问题,认不同芯片和Flash.用了zadig-2.3的驱动就可以了。
用driver文件下驱动也认出来了,是以下状态,但是用不了。
使用
离线
@迪卡,USB用你那个驱动好像有问题,认不同芯片和Flash.用了zadig-2.3的驱动就可以了。
用driver文件下驱动也认出来了,是以下状态,但是用不了。
https://whycan.cn/files/members/2850/USB_Device(VID_1f3a_PID_efe8)1.png使用https://whycan.cn/files/members/2850/none_20200403-1055.png
https://whycan.cn/files/members/2850/USB_Device(VID_1f3a_PID_efe8)2.png
可以用就行啦,用zadig装也行。
我就是提取的zadig的驱动,可能不同电脑,签名啥的问题导致一些问题。
zadig也挺好,下次把这个加到软件包里
离线
2020-12-21发布的这个版本 https://whycan.com/t_5733.html
模拟mmc无效呢,以下贴出启动时串口打印的信息:
板子配置:F1C200s + KLM4G1FETE
==================================================
U-Boot SPL 2018.01 (Feb 10 2019 - 21:56:54)
DRAM: 64 MiB
Trying to boot from FEL
U-Boot SPL 2018.01-05683-g5e86a9a-dirty (May 17 2019 - 03:40:11)
DRAM: 64 MiB
Trying to boot from FEL
U-Boot 2018.01-05683-g5e86a9a-dirty (May 17 2019 - 03:40:11 -0400) Allwinner Technology
CPU: Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
SF: unrecognized JEDEC id bytes: 00, 00, 00
*** Warning - spi_flash_probe_bus_cs() failed, using default environment
In: serial@1c25000
Out: serial@1c25000
Err: serial@1c25000
Net: No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot: 0
## Loading init Ramdisk from Legacy Image at 80d00000 ...
Image Name:
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 1840690 Bytes = 1.8 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 80c00000
Booting using the fdt blob at 0x80c00000
Loading Ramdisk to 8153e000, end 816ff632 ... OK
Loading Device Tree to 81539000, end 8153de2c ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.19.0-rc3-licheepi-nano+ (root@ubuntu) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #11 Fri May 17 23:15:40 EDT 2019
[ 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] random: get_random_bytes called from start_kernel+0x88/0x3ec with crng_init=0
[ 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
[ 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: 56508K/65536K available (4095K kernel code, 198K rwdata, 920K rodata, 1024K init, 214K bss, 9028K 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 : 0x(ptrval) - 0x(ptrval) (5088 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 199 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 215 kB)
[ 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.000049] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000117] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000595] Console: colour dummy device 80x30
[ 0.000718] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[ 0.070247] pid_max: default: 32768 minimum: 301
[ 0.070749] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.070791] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.072032] CPU: Testing write buffer coherency: ok
[ 0.073854] Setting up static identity map for 0x80100000 - 0x8010003c
[ 0.076453] devtmpfs: initialized
[ 0.083046] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.083114] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.083329] pinctrl core: initialized pinctrl subsystem
[ 0.084684] NET: Registered protocol family 16
[ 0.085976] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.087893] cpuidle: using governor menu
[ 0.107118] SCSI subsystem initialized
[ 0.107448] usbcore: registered new interface driver usbfs
[ 0.107648] usbcore: registered new interface driver hub
[ 0.107841] usbcore: registered new device driver usb
[ 0.109806] clocksource: Switched to clocksource timer
[ 0.134311] NET: Registered protocol family 2
[ 0.136186] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[ 0.136292] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.136356] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.136408] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.136686] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.136754] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.137241] NET: Registered protocol family 1
[ 0.138074] Unpacking initramfs...
[ 0.662326] Freeing initrd memory: 1800K
[ 0.664287] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.689621] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.690497] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.733000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 0.733047] io scheduler noop registered
[ 0.733071] io scheduler deadline registered
[ 0.733809] io scheduler cfq registered (default)
[ 0.733848] io scheduler mq-deadline registered
[ 0.733870] io scheduler kyber registered
[ 0.736602] sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO
[ 0.748478] suniv-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.903356] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.909192] console [ttyS0] disabled
[ 0.929465] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 23, base_baud = 6250000) is a 16550A
[ 1.354370] console [ttyS0] enabled
[ 1.380241] 1c25400.serial: ttyS1 at MMIO 0x1c25400 (irq = 24, base_baud = 6250000) is a 16550A
[ 1.405212] loop: module loaded
[ 1.412270] m25p80 spi0.0: unrecognized JEDEC id bytes: 00, 00, 00
[ 1.419111] usbcore: registered new interface driver usb-storage
[ 1.425424] i2c /dev entries driver
[ 1.431225] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.1
[ 1.464504] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 1.472442] usbcore: registered new interface driver usbhid
[ 1.478019] usbhid: USB HID core driver
[ 1.483220] NET: Registered protocol family 17
[ 1.497984] Freeing unused kernel memory: 1024K
[ 1.502852] Run /linuxrc as init process
[ 1.591957] mmc0: new DDR MMC card at address 0001
[ 1.599495] mmcblk0: mmc0:0001 4FTE4R 3.64 GiB
[ 1.606459] mmcblk0boot0: mmc0:0001 4FTE4R partition 1 4.00 MiB
[ 1.614761] mmcblk0boot1: mmc0:0001 4FTE4R partition 2 4.00 MiB
can't open /dev/null: No such file or directory
can't open /dev/null: No such file or directory
can't open /dev/null: No such file or directory
can't open /dev/null: No such file or directory
[ 1.654490] mmcblk0: p1 p2 p3 < p5 p6 p7 p8 p9 p10 p11 p12 >
[ 1.660470] mmcblk0: p1 size 7120384 extends beyond EOD, truncated
Starting syslogd: OK
Starting klogd: OK
[ 1.789901] random: fast init done
Starting mdev...
/etc/init.d/S10mdev: line 9: can't create /proc/sys/kernel/hotplug: nonexistent directory
[ 5.292314] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 5.303206] usb_phy_generic usb_phy_generic.0.auto: Linked as a consumer to regulator.0
[ 5.312145] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 5.317944] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[ 5.330094] hub 1-0:1.0: USB hub found
[ 5.334022] hub 1-0:1.0: 1 port detected
Initializing random number generator... [ 5.420776] random: dd: uninitialized urandom read (512 bytes read)
done.
Starting network: OK
[ 5.628139] Mass Storage Function, version: 2009/09/11
[ 5.633442] LUN: removable file: (no medium)
[ 5.638048] LUN: removable file: /dev/mmcblk0
[ 5.642555] Number of LUNs=1
[ 5.647544] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[ 5.654662] g_mass_storage gadget: userspace failed to provide iSerialNumber
[ 5.661786] g_mass_storage gadget: g_mass_storage ready
Welcome to Buildroot
buildroot login:
离线
@晕哥,看log,已经识别到了4GB emmc。并且启动了了.ko。
是不是windows没装驱动???
驱动是全部都安装成功了,用的是DKTool里边集成的Zadig安装的驱动。
离线
哇酷小二 说:迪卡 说:@晕哥,看log,已经识别到了4GB emmc。并且启动了了.ko。
是不是windows没装驱动???USB座子的ID脚是不是PF6?
插入的时候PF6电平有没有变化?
按照晕哥的意思,应该是ramlinux是OTG模式,如果ID脚被拉低的话,就变成了HOST,PC也就无法识别到了吧
那下一步我得怎么进行测试呢。。。
离线
刚入坑一个MPi-R R3c 打开工具后显示 SOC: F1C200S SPI FLASH: 0M , 为什么FLASH是0M啊
离线
刚入坑一个MPi-R R3c 打开工具后显示 SOC: F1C200S SPI FLASH: 0M , 为什么FLASH是0M啊
DDR坏了,或者DDR供电有问题
离线
测量电压为3.35,这是新的今天刚收到
离线
大神,我的芒果派上的SPI FLASH型号是GD5F1GQ5UEYIG,是1Gb SLC NAND Flash,有办法下载吗
离线
用xfel 可以下载了
@xfel.exe version
@xfel.exe spinand
@xfel.exe spinand write 0x00000 rtthread.bin
@pause
离线
可能接线问题,也有可能flash 唯一id 做了放拷贝
离线
目前DKTool不支持打开网络映射的盘符, 目前linux下编译的文件需要先拉取的windows。
离线