您尚未登录。

楼主 # 2021-05-31 16:47:48

Mr.Liu
会员
注册时间: 2020-09-21
已发帖子: 17
积分: 9.5

tiny200 booting 卡死

请问这是为何?
Nor 版本

U-Boot 2020.07 (May 21 2021 - 17:23:32 +0800) Allwinner Technology

CPU:   Allwinner F Series (SUNIV)
Model: Allwinner F1C100s Generic Device
DRAM:  64 MiB
Setting up a 800x480 lcd console (overscan 0x0)
In:    serial
Out:   serial
Err:   serial
Allwinner mUSB OTG (Peripheral)
Card did not respond to voltage select!
Card did not respond to voltage select!
SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
=========================
Boot Device: spi
Boot Slot 0: empty
Boot Slot 1: spi-nor
=========================
SF: 524288 bytes @ 0x80000 Read: OK
Unknown command 'bmp' - try 'help'
gpio: pin 134 (gpio 134) value is 1
DFU waiting on SPI-NOR...
musb-hdrc: peripheral reset irq lost!
Booting from SPI-NOR...
SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
device 0 offset 0x100000, size 0x500000
SF: 5242880 bytes @ 0x100000 Read: OK
## Loading kernel from FIT Image at 81000000 ...
   Using 'conf@0' configuration
   Trying 'kernel@0' kernel subimage
     Description:  Linux kernel
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x810000cc
     Data Size:    4309824 Bytes = 4.1 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x80000000
     Entry Point:  0x80000000
     Hash algo:    crc32
     Hash value:   a764633f
   Verifying Hash Integrity ... crc32+ OK
f0
     Data Size:    15666 Bytes = 15.3 KiB
     Architecture: ARM
     Hash algo:    crc32
     Hash value:   61472816
   Verifying Hash Integrity ... crc32+ OK
   Booting using the fdt blob at 0x8141c4f0
   Loading Kernel Image
   Loading Device Tree to 817f9000, end 817ffd31 ... OK
[    0.000000] Booting Linux on physical CPU 0x0
VT instruction cache
[    0.000000] OF: fdt: Machine model: Widora MangoPi R3
[    0.000000] Memory policy: Data cache writeback
[    0.000000] cma: Reserved 16 MiB at 0x82c00000
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 15883
[    0.000000] Kernel command line: console=ttyS0,115200 rootwait init=/preinit root=/dev/mtdblock2 rootfstype=squashfs overlayfsdev=/dev/mtdblock3 net.ifnames=0 vt.global_cursor_default=0
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 37232K/64036K available (6144K kernel code, 248K rwdata, 1676K rodata, 1024K init, 225K bss, 10420K reserved, 16384K cma-reserved)
[    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_byt[    0.000906] Console: colour dummy device 80x30
[    0.001012] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[    0.070270] pid_max: default: 32768 minimum: 301
[    0.070797] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.070849] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.072808] CPU: Testing write buffer coherency: ok
[    0.074982] Setting up static identity map for 0x80100000 - 0x80100058
[    0.076288] devtmpfs: initial
                                [    0.095194] NET: Registered protocol family 16
[    0.098987] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.101289] cpuidle: using governor menu
[    0.142124] SCSI subsystem initialized
[    0.142533] usbcore: registered new interface driver usbfs
[    0.142707] usbcore: registered new interface driver hub
[    0.142859] usbcore: registered new device driver usb
[    0.143302] mc: Linux media interface: v0.10
[    0.143433] videodev: Linux video capture interface: v2.00
[    0.143555] pps_core: LinuxPPS API ver. 1 registered
[    0.143574] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.143635] PTP clock support registered
[    0.144711] ion_parse_dt_heap_common: id 4 typped to 0x(ptrval)
[    0.150046] simple-framebuffer 83e89000.framebuffer: format=x8r8g8b8, mode=800x480x32, linelength=3200
[    0.176992] Console: switching to colour frame buffer device 100x30
[    0.202236] simple-framebuffer 83e89000.framebuffer: fb0: simplefb registered!
[    0.232814] thermal_sys: Registered thermal governor 'step_wise'
[    0.233573] NET: Registered protocol family 2
[    0.235152] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.235241] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.235303] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.235360] TCP: Hash tables configured (established 1024 bind 1024)
[    0.235680] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.235752] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.236323] NET: Registered protocol family 1
[    0.239190] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.241009] Initialise system trusted keyrings
[    0.241647] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.263822] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.264450] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.378371] Key type asymmetric registered
[    0.378408] Asymmetric key parser 'x509' registered
[    0.378579] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.378605] io scheduler mq-deadline registered
[    0.378623] io scheduler kyber registered
[    0.393850] suniv-f1c100s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.417516] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.423834] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pa not found, using dummy regulator
[    0.425176] printk: console [ttyS0] disabled
[    0.445509] 1c25400.serial: ttyS0 at MMIO 0x1c25400 (irq = 26, base_baud = 6250000) is a 16550A
[    0.912957] printk: console [ttyS0] enabled
[    0.949378] random: fast init done
[    1.344718] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.351374] ehci-platform: EHCI generic platform driver
[    1.363281] ohci-platform: OHCI generic platform driver
[    1.369083] usbcore: registered new interface driver usb-storage
[    1.376047] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.390008] i2c /dev entries driver
[    1.394113] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pd not found, using dummy regulator
[    1.408031] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator
[    1.419112] sun4i-csi 1cb0000.csi: Packed (RAW) format enabled.
[    1.427021] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.437105] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    1.475511] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.485097] usbcore: registered new interface driver usbhid
[    1.490804] usbhid: USB HID core driver
[    1.514368] debugfs: Directory '1c23c00.codec' with parent 'F1C100s Audio Codec' already present!
[    1.529660] sun4i-codec 1c23c00.codec: Codec <-> 1c23c00.codec mapping ok
[    1.546345] NET: Registered protocol family 17
[    1.551068] Key type dns_resolver registered
[    1.556560] Loading compiled-in X.509 certificates
[    1.599605] ALSA device list:
[    1.602594]   #0: F1C100s Audio Codec
[    1.606843] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.615600] cfg80211: failed to load regulatory.db
[    1.621704] Waiting for root device /dev/mtdblock2...
[   25.888280] random: crng init done
[   31.848202] vcc3v0: disabling
[   31.851202] vcc3v3: disabling
[   31.854169] vcc5v0: disabling

离线

#1 2021-05-31 17:00:58

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,293
积分: 1907

Re: tiny200 booting 卡死

没有生成mtd分区,应该是dts没有启用spi nor

离线

楼主 #2 2021-05-31 18:25:57

Mr.Liu
会员
注册时间: 2020-09-21
已发帖子: 17
积分: 9.5

Re: tiny200 booting 卡死

谢谢

我用卡启动也是一样的问题,是需要修改bootargs 吗>

离线

#3 2021-05-31 19:27:54

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,293
积分: 1907

Re: tiny200 booting 卡死

Mr.Liu 说:

谢谢

我用卡启动也是一样的问题,是需要修改bootargs 吗>

devicetree.dts  没记错就是这个文件

离线

#4 2021-06-01 10:59:12

IAMLIUBO
会员
注册时间: 2019-04-01
已发帖子: 58
积分: 43

Re: tiny200 booting 卡死

我的bootargs,使用SD卡可以正常启动

bootargs = "console=ttyS0,115200 earlyprintk rootwait init=/preinit root=/dev/mmcblk0p3 rw rootfstype=ext4";

离线

楼主 #5 2021-06-01 18:12:04

Mr.Liu
会员
注册时间: 2020-09-21
已发帖子: 17
积分: 9.5

Re: tiny200 booting 卡死

哇酷小二 说:
Mr.Liu 说:

谢谢

我用卡启动也是一样的问题,是需要修改bootargs 吗>

devicetree.dts  没记错就是这个文件


谢谢!

离线

页脚

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

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