自己画了个f1c100的板子,然后烧录的ilicheePi-nano的一键烧录镜像。
结果没启动成功,卡在这里了:
[ 1.374530] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 1.390370] cfg80211: failed to load regulatory.db
[ 1.400904] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilitie
点鼠标右键的话,貌似又重启了,结果启动的更短一些。
不知道如何插入已上传的文件...
直接贴吧。
U-Boot SPL 2018.01-05676-g00188782ee (Apr 08 2018 - 16:10:25)
DRAM: 32 MiB
Trying to boot from MMC1
U-Boot 2018.01-05676-g00188782ee (Apr 08 2018 - 16:10:25 +0800) Allwinner Technology
CPU: Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM: 32 MiB
MMC: SUNXI SD/MMC: 0
SF: unrecognized JEDEC id bytes: 00, 00, 00
*** Warning - spi_flash_probe_bus_cs() failed, using default environment
Setting up a 480x272 lcd console (overscan 0x0)
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
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
280 bytes read in 15 ms (17.6 KiB/s)
## Executing script at 80c50000
reading suniv-f1c100s-licheepi-nano.dtb
8553 bytes read in 28 ms (297.9 KiB/s)
reading zImage
3802240 bytes read in 188 ms (19.3 MiB/s)
## Flattened Device Tree blob at 80c00000
Booting using the fdt blob at 0x80c00000
Loading Device Tree to 80e60000, end 80e65168 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.15.0-rc8-licheepi-nano+ (root@biglion-MRC-WX0) (gcc version 7.2.0 (Ubuntu/Linaro 7.2.0-6ubuntu1)) #69 Wed Apr 4 17:47:49 CST 2018
[ 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: fast init done
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: console=tty0 console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 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: 22680K/32768K available (6144K kernel code, 235K rwdata, 1376K rodata, 1024K init, 243K bss, 10088K 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 : 0xc2800000 - 0xff800000 ( 976 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc2000000 ( 32 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (7136 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 236 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 244 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.000041] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000093] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000551] Console: colour dummy device 80x30
[ 0.001102] console [tty0] enabled
[ 0.001188] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[ 0.050255] pid_max: default: 32768 minimum: 301
[ 0.050522] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.050594] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.051791] CPU: Testing write buffer coherency: ok
[ 0.053425] Setting up static identity map for 0x80100000 - 0x80100058
[ 0.055441] devtmpfs: initialized
[ 0.060291] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.060436] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.060712] pinctrl core: initialized pinctrl subsystem
[ 0.062514] NET: Registered protocol family 16
[ 0.063756] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.065190] cpuidle: using governor menu
[ 0.083308] SCSI subsystem initialized
[ 0.083653] usbcore: registered new interface driver usbfs
[ 0.083827] usbcore: registered new interface driver hub
[ 0.084029] usbcore: registered new device driver usb
[ 0.084483] pps_core: LinuxPPS API ver. 1 registered
[ 0.084551] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.084643] PTP clock support registered
[ 0.084981] Advanced Linux Sound Architecture Driver Initialized.
[ 0.086198] clocksource: Switched to clocksource timer
[ 0.108617] NET: Registered protocol family 2
[ 0.109801] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.109924] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.109980] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.110275] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.110360] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.110792] NET: Registered protocol family 1
[ 0.111933] RPC: Registered named UNIX socket transport module.
[ 0.112026] RPC: Registered udp transport module.
[ 0.112057] RPC: Registered tcp transport module.
[ 0.112084] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.113873] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.115458] Initialise system trusted keyrings
[ 0.116037] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[ 0.128525] NFS: Registering the id_resolver key type
[ 0.128664] Key type id_resolver registered
[ 0.128705] Key type id_legacy registered
[ 0.139786] Key type asymmetric registered
[ 0.139884] Asymmetric key parser 'x509' registered
[ 0.140096] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.140175] io scheduler noop registered
[ 0.140209] io scheduler deadline registered
[ 0.140804] io scheduler cfq registered (default)
[ 0.140887] io scheduler mq-deadline registered
[ 0.140925] io scheduler kyber registered
[ 0.141813] sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO
[ 0.149328] suniv-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.293221] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.298993] console [ttyS0] disabled
[ 0.319292] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 24, base_baud = 6250000) is a 16550A
[ 0.789725] console [ttyS0] enabled
[ 0.798563] panel-simple panel: panel supply power not found, using dummy regulator
[ 0.808726] usbcore: registered new interface driver rtl8150
[ 0.814933] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.821628] ehci-platform: EHCI generic platform driver
[ 0.827210] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.833473] ohci-platform: OHCI generic platform driver
[ 0.839177] usbcore: registered new interface driver usb-storage
[ 0.845999] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[ 0.855096] i2c /dev entries driver
[ 0.916326] sunxi-mmc 1c0f000.mmc: base:0x5f3aa981 irq:19
[ 0.923740] hidraw: raw HID events driver (C) Jiri Kosina
[ 0.930242] usbcore: registered new interface driver usbhid
[ 0.935872] usbhid: USB HID core driver
[ 0.942457] NET: Registered protocol family 17
[ 0.947306] Key type dns_resolver registered
[ 0.954589] Loading compiled-in X.509 certificates
[ 0.970229] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc0739498)
[ 0.979056] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc073877c)
[ 0.986905] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 0.993544] [drm] No driver support for vblank timestamp query.
[ 1.042834] Console: switching to colour frame buffer device 60x34
[ 1.048008] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.050049] mmc0: new high speed SDHC card at address 0001
[ 1.051038] mmcblk0: mmc0:0001 ASTC 7.44 GiB
[ 1.053331] mmcblk0: p1 p2
[ 1.101695] sun4i-drm display-engine: fb0: frame buffer device
[ 1.115805] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[ 1.132053] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.154805] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.168746] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[ 1.184776] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.199283] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.214232] usb usb1: Product: MUSB HDRC host driver
[ 1.223163] usb usb1: Manufacturer: Linux 4.15.0-rc8-licheepi-nano+ musb-hcd
[ 1.237957] usb usb1: SerialNumber: musb-hdrc.1.auto
[ 1.248344] hub 1-0:1.0: USB hub found
[ 1.256376] hub 1-0:1.0: 1 port detected
[ 1.265601] using random self ethernet address
[ 1.274073] using random host ethernet address
[ 1.283788] usb0: HOST MAC 6a:24:90:09:80:d3
[ 1.292060] usb0: MAC 3a:7c:32:5a:c1:cc
[ 1.299786] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[ 1.314606] g_cdc gadget: g_cdc ready
[ 1.324329] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 1.346036] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 1.360037] ALSA device list:
[ 1.366755] No soundcards found.
[ 1.374530] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 1.390370] cfg80211: failed to load regulatory.db
[ 1.400904] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
U-Boot SPL 2018.01-05676-g00188782ee (Apr 08 2018 - 16:10:25)
DRAM: 32 MiB
Trying to boot from MMC1
U-Boot 2018.01-05676-g00188782ee (Apr 08 2018 - 16:10:25 +0800) Allwinner Technology
CPU: Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM: 32 MiB
MMC: SUNXI SD/MMC: 0
SF: unrecognized JEDEC id bytes: 00, 00, 00
*** Warning - spi_flash_probe_bus_cs() failed, using default environment
Setting up a 480x272 lcd console (overscan 0x0)
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
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
280 bytes read in 15 ms (17.6 KiB/s)
## Executing script at 80c50000
reading suniv-f1c100s-licheepi-nano.dtb
8553 bytes read in 28 ms (297.9 KiB/s)
reading zImage
3802240 bytes read in 188 ms (19.3 MiB/s)
## Flattened Device Tree blob at 80c00000
Booting using the fdt blob at 0x80c00000
Loading Device Tree to 80e60000, end 80e65168 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.15.0-rc8-licheepi-nano+ (root@biglion-MRC-WX0) (gcc version 7.2.0 (Ubuntu/Linaro 7.2.0-6ubuntu1)) #69 Wed Apr 4 17:47:49 CST 2018
[ 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: fast init done
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: console=tty0 console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 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: 22680K/32768K available (6144K kernel code, 235K rwdata, 1376K rodata, 1024K init, 243K bss, 10088K 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 : 0xc2800000 - 0xff800000 ( 976 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc2000000 ( 32 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (7136 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 236 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 244 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.000041] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000093] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000551] Console: colour dummy device 80x30
[ 0.001102] console [tty0] enabled
[ 0.001188] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[ 0.050255] pid_max: default: 32768 minimum: 301
[ 0.050522] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.050594] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.051791] CPU: Testing write buffer coherency: ok
[ 0.053425] Setting up static identity map for 0x80100000 - 0x80100058
[ 0.055441] devtmpfs: initialized
[ 0.060291] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.060436] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.060712] pinctrl core: initialized pinctrl subsystem
[ 0.062514] NET: Registered protocol family 16
[ 0.063756] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.065190] cpuidle: using governor menu
[ 0.083308] SCSI subsystem initializ
离线
还有,启动后,发现串口输出的调试信息的波特率是57600,可启动内核时,却有这么一句:
[ 0.000000] Kernel command line: console=tty0 console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 rw
难道启动内核后,波特率又改为115200了?
离线
还有,启动后,发现串口输出的调试信息的波特率是57600,可启动内核时,却有这么一句:
[ 0.000000] Kernel command line: console=tty0 console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 rw
难道启动内核后,波特率又改为115200了?
是的, 改为了 115200, 你的 u-boot 波特率是 57600 ?
离线
是的,没有自己编译,直接用的ilicheePi-nano的烧录文件,我也没想到会是57600这个波特率。
离线
第一个警告,好像是没认出spi flash来,这个对后面有影响吗?
ilicheePi-nano原理图上是MX25....,我焊的是W25...
离线
我也画了块板,请问第一次是怎么下载uboot进去的?
离线
我也画了块板,请问第一次是怎么下载uboot进去的?
可以试一试这个: https://whycan.cn/t_2449.html
不用烧录, 直接 USB 跑 uboot 和 linux
2019-05-17 更新:
----------------------------------
f1c100s 的也搞定了: f1c100s_fel_autorun_linux_uart0_pe0_pe1_20190517_TF_sdnand.7z (登录账号: root, 密码: whycan.cn)2019-05-18 更新:
----------------------------------32M w25q256 和 TF 卡挂载均 OK
w25q256运行: Run_F1C100s_LicheePi_Nano_SPI_NOR_W25Q256_OK.bat
tf/sd nand 运行: Run_F1C100s_LicheePi_Nano_TFCard.bat
配合 Win32DiskImager或dd, 可以用来烧录软件.
下载: f1c100s_fel_autorun_linux_uart0_pe0_pe1_20190518_TF_sdnand_w25q256.7z
离线
我也画了块板,请问第一次是怎么下载uboot进去的?
我是用tf卡启动的,ilicheePi-nano提供了几个烧录镜像,有flash启动的,有tf卡启动的。
离线