您尚未登录。

楼主 # 2024-04-20 12:29:24

Rs428
会员
注册时间: 2024-04-14
已发帖子: 5
积分: 5

荔枝派nano固件启动卡在login处的问题

U-Boot 2018.01-05679-g013ca457fd-dirty (Apr 18 2024 - 03:53:09 -0700) Allwinner Technology

CPU:   Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, 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
reading zImage
4390016 bytes read in 224 ms (18.7 MiB/s)
reading suniv-f1c100s-licheepi-nano.dtb
3963 bytes read in 25 ms (154.3 KiB/s)
## Flattened Device Tree blob at 80c08000
   Booting using the fdt blob at 0x80c08000
   Loading Device Tree to 816fc000, end 816fff7a ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.7.1 (root@ubuntu) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11), GNU ld (Linaro_Binutils-2017.11) 2.28.2.20170706) #3 Tue Apr 16 02:56:40 PDT 2024
[    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: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw
[    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: 54164K/65536K available (7168K kernel code, 226K rwdata, 1688K rodata, 1024K init, 246K bss, 11372K 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+0x2a0/0x498 with crng_init=0
[    0.000047] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000135] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000640] Console: colour dummy device 80x30
[    0.000727] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[    0.070250] pid_max: default: 32768 minimum: 301
[    0.070784] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.070826] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.072646] CPU: Testing write buffer coherency: ok
[    0.074389] Setting up static identity map for 0x80100000 - 0x80100058
[    0.075621] devtmpfs: initialized
[    0.080176] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.080339] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.080648] pinctrl core: initialized pinctrl subsystem
[    0.082045] thermal_sys: Registered thermal governor 'step_wise'
[    0.083430] NET: Registered protocol family 16
[    0.084863] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.087004] cpuidle: using governor menu
[    0.135134] SCSI subsystem initialized
[    0.135488] usbcore: registered new interface driver usbfs
[    0.135636] usbcore: registered new interface driver hub
[    0.135817] usbcore: registered new device driver usb
[    0.136260] pps_core: LinuxPPS API ver. 1 registered
[    0.136285] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.136360] PTP clock support registered
[    0.136849] Advanced Linux Sound Architecture Driver Initialized.
[    0.138757] clocksource: Switched to clocksource timer
[    0.170017] NET: Registered protocol family 2
[    0.171566] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.171648] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.171707] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.171755] TCP: Hash tables configured (established 1024 bind 1024)
[    0.172028] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.172093] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.172605] NET: Registered protocol family 1
[    0.174123] RPC: Registered named UNIX socket transport module.
[    0.174160] RPC: Registered udp transport module.
[    0.174175] RPC: Registered tcp transport module.
[    0.174189] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.176500] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.178144] Initialise system trusted keyrings
[    0.178857] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.202536] NFS: Registering the id_resolver key type
[    0.202627] Key type id_resolver registered
[    0.202647] Key type id_legacy registered
[    0.324647] Key type asymmetric registered
[    0.324689] Asymmetric key parser 'x509' registered
[    0.324861] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.324890] io scheduler mq-deadline registered
[    0.324906] io scheduler kyber registered
[    0.336372] suniv-f1c100s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.529746] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.535611] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pe not found, using dummy regulator
[    0.537272] printk: console [ttyS0] disabled
[    0.537453] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 21, base_baud = 6250000) is a 16550A
[    0.969146] printk: console [ttyS0] enabled
[    0.980416] SCSI Media Changer driver v0.25
[    0.986041] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.992699] ehci-platform: EHCI generic platform driver
[    0.998166] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.004516] ohci-platform: OHCI generic platform driver
[    1.010199] usbcore: registered new interface driver usb-storage
[    1.016759] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    1.025807] i2c /dev entries driver
[    1.030791] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pf not found, using dummy regulator
[    1.067295] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.076820] usbcore: registered new interface driver usbhid
[    1.082514] usbhid: USB HID core driver
[    1.102543] NET: Registered protocol family 17
[    1.107243] Key type dns_resolver registered
[    1.112788] Loading compiled-in X.509 certificates
[    1.129611] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.147843] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.154712] ALSA device list:
[    1.157699]   #0: Loopback 1
[    1.161674] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.170377] cfg80211: failed to load regulatory.db
[    1.176226] Waiting for root device /dev/mmcblk0p2...
[    1.205261] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.215724] mmc0: new high speed SDXC card at address 0001
[    1.223138] mmcblk0: mmc0:0001 SD16G 58.6 GiB
[    1.231792]  mmcblk0: p1 p2
[    1.250507] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.258731] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.266401] devtmpfs: mounted
[    1.274006] Freeing unused kernel memory: 1024K
[    1.278647] Run /sbin/init as init process
[    1.383673] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Starting logging: OK
Starting watchdog...
[    1.588847] random: fast init done
Starting haveged: OK
Starting network: OK

LinuxCard starst!
linuxcard login: [   10.522173] random: crng init done

大佬们求教!为啥老是卡在login这里,任何输入都没反应啊:(

离线

#1 2024-04-20 12:31:37

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,248
积分: 9197

Re: 荔枝派nano固件启动卡在login处的问题

可能是串口的发送有问题,用自发自收测试一下看看。





离线

楼主 #2 2024-04-20 12:44:26

Rs428
会员
注册时间: 2024-04-14
已发帖子: 5
积分: 5

Re: 荔枝派nano固件启动卡在login处的问题

晕哥 说:

可能是串口的发送有问题,用自发自收测试一下看看。

大佬请教下咋测呀,是短接板子的rx和tx嘛

离线

#3 2024-04-20 12:54:42

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,248
积分: 9197

Re: 荔枝派nano固件启动卡在login处的问题

Rs428 说:
晕哥 说:

可能是串口的发送有问题,用自发自收测试一下看看。

大佬请教下咋测呀,是短接板子的rx和tx嘛

先测usb串口头的tx rx,短路后,用电脑串口软件发信息,看是不是能收到同样的信息。





离线

楼主 #4 2024-04-20 13:14:16

Rs428
会员
注册时间: 2024-04-14
已发帖子: 5
积分: 5

Re: 荔枝派nano固件启动卡在login处的问题

晕哥 说:
Rs428 说:
晕哥 说:

可能是串口的发送有问题,用自发自收测试一下看看。

大佬请教下咋测呀,是短接板子的rx和tx嘛

先测usb串口头的tx rx,短路后,用电脑串口软件发信息,看是不是能收到同样的信息。

好的,先谢谢大佬啦,我周一再测,现在手头没工具。

离线

楼主 #5 2024-04-21 22:01:28

Rs428
会员
注册时间: 2024-04-14
已发帖子: 5
积分: 5

Re: 荔枝派nano固件启动卡在login处的问题

晕哥 说:
Rs428 说:
晕哥 说:

可能是串口的发送有问题,用自发自收测试一下看看。

大佬请教下咋测呀,是短接板子的rx和tx嘛

先测usb串口头的tx rx,短路后,用电脑串口软件发信息,看是不是能收到同样的信息。

问题解决了,rx tx短接发现收发也是正常的,于是去测了下它俩之间短路,结果也没问题,再测对地和对电源短路,问题发现了,信号线对电源短路了,导致收不正常,再次感谢大佬提供思路!:)

离线

页脚

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

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