您尚未登录。

#1 Re: 全志 SOC » t113跑lvgl帧率 » 2022-10-26 19:33:47

cris8259 说:

有t113跑rt-thread的吗

这个看到有人跑,只是好像外设驱动还做的还不是很全

#2 Re: 全志 SOC » t113跑lvgl帧率 » 2022-10-26 13:33:43

smiletiger 说:

https://whycan.com/files/members/7008/lv_0_20221026080629.mp4


rtt➕lvgl 测试了一下帧率 用的液晶屏是1280x720 32bit
用的lv_demo_benchmark(0)跑的结果是 237帧
不知道这样够不够流畅 有没有做过lvgl项目的来说一下

这是啥接口屏?LVDS的?T113-S3支持MIPI屏吗?

#3 Re: 全志 SOC » T113-S3 RT-Thread SMP适配笔记 » 2022-10-25 19:45:09

T113 的两个A7核一个核跑LINUX,另外一个核跑裸机(AMP模式)有人实现过吗?

#4 Re: 全志 SOC » T113同时启用RISC-V和A7双核的尝试 » 2022-10-25 19:31:50

HIFI4 DSP 有人调试过吗?我们打算用这个DSP来做算法,但现在还没有什么头绪。

#5 Re: 全志 SOC » v3s现在有办法通过jlink单步裸奔么? » 2022-10-25 13:38:47

晕哥 说:

https://whycan.cn/files/members/3/QQ20171214091602.png
xboot项目那里借鉴了一下uart初始化代码, IAR裸奔V3s串口OK

源码下载: V3s_IAR_V8_AddUart.7z

这个也可以通过JLINK下载代码调试吗?

#6 Re: 全志 SOC » 关于全志V3s能否跑QT界面 » 2022-02-22 21:40:34

我的应用界面比较简单,可能也不好反应性能,切换界面的流畅度是可以的,屏分辩率是800*480。

#8 Re: 全志 SOC » 关于全志V3s能否跑QT界面 » 2022-02-22 12:39:21

可以跑啊,我的都已经在出货了

#10 Re: Xilinx/Altera/FPGA/CPLD/Verilog » 开源一个自己画的超迷你FPGA核心板 » 2022-02-18 12:48:19

Blueskull 说:
MrRaphael 说:

楼主这个USB-JTAG只能在AGM和Altera上用吗?能在赛灵思上用不 big_smile

只能在高云FPGA上用,改上位机可以兼容Xilinx(我没有实现),不支持Altera/AGM。

高云的FPGA有在实际项目过吗?坑多吗?

#11 Re: Cortex M0/M3/M4/M7 » 说说航顺的M0--优秀的国产替代 » 2022-02-18 12:43:40

能兼容,稳定性怎么样?能达到ST的水平吗?

#13 Re: 全志 SOC » uboot启动速度如何优化? » 2022-02-09 12:07:03

把等待键盘输入的时间设成0,关闭不必要的外设驱动的加载,关闭不必要的串口打印信息

#27 Re: Nuvoton N32905/N32926/NUC972/N9H20/N9H26/N9H30 » 大家972跑linux开机启动系统完成需要几秒 » 2020-05-30 12:39:37

有梦的地方 说:

用 nand启动会比较快,我的能力优化一下估计可以做到五秒吧。

界面是qt开发的吗?

#29 Re: DIY/综合/Arduino/写字机/3D打印机/智能小车/平衡车/四轴飞行/MQTT/物联网 » 捡了个便宜的高级ZYNQ XC7Z010 开发板玩玩 » 2020-02-18 09:22:36

metro 说:

周末花了点时间尝试走了一遍板子的开发流程,目前移植的U-Boot已经能用了,但是NAND和网络暂时还不可用。NAND的主要问题是SPL下的驱动不完善(看来没人在Zynq上用NAND启动233),网络的主要问题是还没搞定EMIO的初始化(不过应该加载.bit文件后就能用了?不确定驱动对百兆网络支持如何)。后面要是解决了这些bug就把U-Boot发上来 smile

这里记录一下中间遇到的一些问题。

入门的话,我觉得EBAZ4205 ZYNQ 7Z010 裸机程序NAND固化 JTAG调试方法这篇说得最好,按照他的做法一次就能过了。唯一想吐槽的是NAND,我从Winbond官网找到了对应的datasheet,结果一通设置之后竟然读不出NAND的信息。。反而是博客里面看起来不靠谱的这个设置是可用的,不知道是什么原因。

在熟悉了开发的流程之后,如果之后不需要从SDK生成和编译代码(比如说编译U-Boot),那么比较建议使用XSCT,这是Vivado自带的命令行下的工具,比SDK好用多了。执行的流程大概是这样的:

connect # 连接到开发板
target 2 # 指定调试目标为2,即双核中的#0核

# 初始化Zynq,如果需要初始化外设(例如SDRAM)则需要执行,如果只是要加载到OCM则可以不用执行
source xxx/ps7_init.tcl # 加载tcl文件,一般位于项目目录的yyy.sdk/zzz_wrapper/文件夹中
ps7_init # 执行初始化流程,可能需要一点时间

# 加载elf文件,由于elf文件自带执行地址,因此不需要指定载入地址,且会自动设置pc到开始位置
dow xxx.elf
# 也可以加载普通文件(包括二进制文件),但是需要指定载入地址,且需要加上-data
dow -data xxx.yyy addr1
rwr pc addr2 # 设置pc到开始位置

# 加载bitstream
fpga -file xxx.bit # 加载bitstream,一般位于项目目录的yyy.sdk/zzz_wrapper/文件夹中

# 开始执行
con

以上方法试验过,可以启动U-Boot的SPL和本体(本体可以初始化后直接丢到SDRAM执行,挺方便的),但是自己编译的lwip Echo Server似乎用不了(理论上需要分别加载bitstream和elf),可以启动但提示初始化失败,不知道是什么原因。

另外顺便吐槽一下Create Boot Image功能,在指定elf文件的时候一切正常,但在指定bin文件的时候并不会计算大小,而是直接置零,按照定义置零表示XIP,因此在SD卡上就不能正常启动了 roll 。还有就是建议使用最新的Vivado和Zynq TRM,否则对于Boot Header的定义会有出入。。


我参考这个烧录时提示Device 0: nand0, sector size 128 KiB

  Page size       2048 b

  OOB size          64 b

  Erase size    131072 b

  subpagesize      512 b

  options     0x00000000

  bbt options 0x00020000

Zynq> Sector size = 131072.
and info


Performing Erase Operation...
nand bad




Device 0 bad blocks:

Zynq> Number of bad blocks = 0
nand erase 0 240000




NAND erase: device 0 offset 0x0, size 0x240000


Erasing at 0x0 --   5% complete.
Erasing at 0x20000 --  11% complete.
Erasing at 0x40000 --  16% complete.
Erasing at 0x60000 --  22% complete.
Erasing at 0x80000 --  27% complete.
Erasing at 0xa0000 --  33% complete.
Erasing at 0xc0000 --  38% complete.
Erasing at 0xe0000 --  44% complete.
Erasing at 0x100000 --  50% complete.
Erasing at 0x120000 --  55% complete.
Erasing at 0x140000 --  61% complete.
Erasing at 0x160000 --  66% complete.
Erasing at 0x180000 --  72% complete.
Erasing at 0x1a0000 --  77% complete.
Erasing at 0x1c0000 --  83% complete.
Erasing at 0x1e0000 --  88% complete.
Erasing at 0x200000 --  94% complete.
Erasing at 0x220000 -- 100% complete.

OK

Zynq> Erase Operation successful.
INFO: [Xicom 50-44] Elapsed time = 1 sec.
Performing Program Operation...
nand bad




Device 0 bad blocks:

Zynq> Number of bad blocks = 0
0%...nand write 0 0 20000




NAND write: device 0 offset 0x0, size 0x20000

NAND write to offset 0 failed -12

0 bytes written: ERROR

Zynq> nand write 0 20000 20000




NAND write: device 0 offset 0x20000, size 0x20000

NAND write to offset 20000 failed -12

0 bytes written: ERROR

Zynq> nand write 0 40000 20000




NAND write: device 0 offset 0x40000, size 0x20000

NAND write to offset 40000 failed -12

0 bytes written: ERROR

Zynq> nand write 0 60000 20000




NAND write: device 0 offset 0x60000, size 0x20000

NAND write to offset 60000 failed -12

0 bytes written: ERROR

Zynq> nand write 0 80000 20000




NAND write: device 0 offset 0x80000, size 0x20000

NAND write to offset 80000 failed -12

0 bytes written: ERROR

Zynq> nand write 0 A0000 20000




NAND write: device 0 offset 0xa0000, size 0x20000

NAND write to offset a0000 failed -12

0 bytes written: ERROR

Zynq> nand write 0 C0000 20000




NAND write: device 0 offset 0xc0000, size 0x20000

NAND write to offset c0000 failed -12

0 bytes written: ERROR

Zynq> nand write 0 E0000 20000




NAND write: device 0 offset 0xe0000, size 0x20000

NAND write to offset e0000 failed -12

0 bytes written: ERROR

Zynq> nand write 0 100000 20000




NAND write: device 0 offset 0x100000, size 0x20000

NAND write to offset 100000 failed -12

0 bytes written: ERROR

Zynq> nand write 0 120000 20000




NAND write: device 0 offset 0x120000, size 0x20000

NAND write to offset 120000 failed -12

0 bytes written: ERROR

Zynq> nand write 0 140000 20000




NAND write: device 0 offset 0x140000, size 0x20000

NAND write to offset 140000 failed -12

0 bytes written: ERROR

Zynq> nand write 0 160000 20000




NAND write: device 0 offset 0x160000, size 0x20000

NAND write to offset 160000 failed -12

0 bytes written: ERROR

Zynq> 70%...nand write 0 180000 20000




NAND write: device 0 offset 0x180000, size 0x20000

NAND write to offset 180000 failed -12

0 bytes written: ERROR

Zynq> nand write 0 1A0000 20000




NAND write: device 0 offset 0x1a0000, size 0x20000

NAND write to offset 1a0000 failed -12

0 bytes written: ERROR

Zynq> nand write 0 1C0000 20000




NAND write: device 0 offset 0x1c0000, size 0x20000

NAND write to offset 1c0000 failed -12

0 bytes written: ERROR

Zynq> nand write 0 1E0000 20000




NAND write: device 0 offset 0x1e0000, size 0x20000

NAND write to offset 1e0000 failed -12

0 bytes written: ERROR

Zynq> nand write 0 200000 20000




NAND write: device 0 offset 0x200000, size 0x20000

NAND write to offset 200000 failed -12

0 bytes written: ERROR

Zynq> 100%
nand write 0 220000 2800




NAND write: device 0 offset 0x220000, size 0x2800

NAND write to offset 220000 failed -12

0 bytes written: ERROR

Zynq> Program Operation successful.
INFO: [Xicom 50-44] Elapsed time = 10 sec.

Flash Operation Successful

提示烧录失败,运行不了。你烧录的信息是怎么样的?

#32 Re: DIY/综合/Arduino/写字机/3D打印机/智能小车/平衡车/四轴飞行/MQTT/物联网 » 闲鱼捡漏,拆解一台收银机【多图警告,流量党劝退】 » 2019-12-31 19:19:49

我的将手机产生的二维码放到摄像头那个窗口怎么没有反应,难道是摄像头有问题?如何才能看得到摄头的状态?

#34 Re: 全志 SOC » 使用buildroot构建文件系统, mplayer视频播放器, Qt运行库等 » 2019-10-20 08:57:32

jimmy 说:

用gdb 跟踪一下,会把死机时候的栈打印出来,buildroot 里面勾选 gdb 就可以生成了。

把gdb打开QT程序居然能正常运行了,搞不懂!

#35 Re: 全志 SOC » 使用buildroot构建文件系统, mplayer视频播放器, Qt运行库等 » 2019-10-19 22:20:52

wupaul2001 说:

@晕哥 使用-platform linuxfb可以运行了

请问下,你这个SD卡启动的还是SPI FLASH启动的?也是用BUILDROOT构建的文件系统吗?

#36 Re: 全志 SOC » 使用buildroot构建文件系统, mplayer视频播放器, Qt运行库等 » 2019-10-19 11:55:04

大家好。我用本贴生成的的镜像运行QT模拟时钟DEMO没有问题。但运行自己的测试程序会出如下错误:

# /mnt/udisk/Dialog   -platform linuxfb
Segmentation fault

这个测试程非常简单,就是用一个QLable显示“hello world",在电脑端运行是没有问题。代码如下
#include "dialog.h"
#include <QGridLayout>
const static double PI=3.1416;
Dialog::Dialog(QWidget *parent)
    : QDialog(parent)
{
    QLabel *label1=new QLabel(this);
    label1->setText(tr("hello world"));
}

Dialog::~Dialog()
{
   
}

void Dialog::showArea()
{

}
我把操作QLable 两行屏蔽掉,则不会出现Segmentation fault
//QLabel *label1=new QLabel(this);
//label1->setText(tr("hello world"));
大家有遇到过这种问题吗?

#37 Re: 全志 SOC » 分享一个 V3s/H3 可用的 buildroot-2019.08 配置文件. » 2019-10-19 11:41:40

大家好。我用本贴生成的的镜像运行QT模拟时钟DEMO没有问题。但运行自己的测试程序会出如下错误:

# /mnt/udisk/Dialog   -platform linuxfb
Segmentation fault

这个测试程非常简单,就是用一个QLable显示“hello world",在电脑端运行是没有问题。代码如下
#include "dialog.h"
#include <QGridLayout>
const static double PI=3.1416;
Dialog::Dialog(QWidget *parent)
    : QDialog(parent)
{
    QLabel *label1=new QLabel(this);
    label1->setText(tr("hello world"));
}

Dialog::~Dialog()
{
   
}

void Dialog::showArea()
{

}
我把操作QLable 两行屏蔽掉,则不会出现Segmentation fault
//QLabel *label1=new QLabel(this);
//label1->setText(tr("hello world"));
大家有遇到过这种问题吗?

#38 Re: 全志 SOC » V3s buildroot 一键生成打包生成32M spi flash 镜像, jffs2 文件系统, 默认启动 Qt 模拟时钟demo, » 2019-10-19 11:35:42

大家好。我用本贴生成的的镜像运行QT模拟时钟DEMO没有问题。但运行自己的测试程序会出如下错误:

# /mnt/udisk/Dialog   -platform linuxfb
Segmentation fault

这个测试程非常简单,就是用一个QLable显示“hello world",在电脑端运行是没有问题。代码如下
#include "dialog.h"
#include <QGridLayout>
const static double PI=3.1416;
Dialog::Dialog(QWidget *parent)
    : QDialog(parent)
{
    QLabel *label1=new QLabel(this);
    label1->setText(tr("hello world"));
}

Dialog::~Dialog()
{
   
}

void Dialog::showArea()
{

}
我把操作QLable 两行屏蔽掉,则不会出现Segmentation fault
//QLabel *label1=new QLabel(this);
//label1->setText(tr("hello world"));
大家有遇到过这种问题吗?

#39 Re: 全志 SOC » 全志A13 SPI NOR FLASH启动,分析不到MTD分区,加载不了JFFS文件系统,请有遇到过类似问题的大神指点下,谢谢 » 2019-01-20 22:21:53

U-Boot SPL 2017.01-rc2-00071-gf03c1f5-dirty (Jan 14 2019 - 19:42:05)
DRAM: 512 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from sunxi SPI

U-Boot 2017.01-rc2-00071-gf03c1f5-dirty (Jan 14 2019 - 19:42:05 +0800) Allwinner Technology

CPU:   Allwinner A13 (SUN5I)
Model: Lichee A13
I2C:   ready
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 1024x768 vga console (overscan 0x0)
dotclock: 65000kHz = 64909kHz: (2 * 3MHz * 119) / 11
In:    serial
Out:   vga
Err:   vga
Net:   No ethernet found.
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
scanning bus 0 for devices... 2 USB Device(s) found
Hit any key to stop autoboot:  0
probe ---->>>>>>
bus=0 , cs=0
speed=0 , mode=0
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
read ---->>>>>>
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
read ---->>>>>>
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 49ff7000, end 49fff760 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.10.15-licheepi-zero+ (root@linux-host) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02) ) #1 SMP Sun Jan 20 20:50:42 CST 2019
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Lichee A13 ONE--->>8888
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] percpu: Embedded 14 pages/cpu @df8d9000 s24716 r8192 d24436 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129286
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 506824K/521216K available (6144K kernel code, 230K rwdata, 1444K rodata, 1024K init, 262K bss, 14392K 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 : 0xe0000000 - 0xff800000   ( 504 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdfd00000   ( 509 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 - 0xc0a39a40   ( 231 kB)
[    0.000000]        .bss : 0xc0a3b000 - 0xc0a7c88c   ( 263 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000023] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000051] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000208] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370868154 ns
[    0.000446] Console: colour dummy device 80x30
[    0.000479] Calibrating delay loop... 1001.88 BogoMIPS (lpj=5009408)
[    0.090104] pid_max: default: 32768 minimum: 301
[    0.090221] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090231] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090906] CPU: Testing write buffer coherency: ok
[    0.091274] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.091600] Setting up static identity map for 0x40100000 - 0x40100058
[    0.092207] smp: Bringing up secondary CPUs ...
[    0.092218] smp: Brought up 1 node, 1 CPU
[    0.092227] SMP: Total of 1 processors activated (1001.88 BogoMIPS).
[    0.092234] CPU: All CPU(s) started in SVC mode.
[    0.093700] devtmpfs: initialized
[    0.099494] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.099788] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.099811] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.099913] pinctrl core: initialized pinctrl subsystem
[    0.100936] NET: Registered protocol family 16
[    0.101526] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.102538] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.114522] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe
[    0.115627] SCSI subsystem initialized
[    0.115885] usbcore: registered new interface driver usbfs
[    0.115947] usbcore: registered new interface driver hub
[    0.116019] usbcore: registered new device driver usb
[    0.116240] pps_core: LinuxPPS API ver. 1 registered
[    0.116249] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.116272] PTP clock support registered
[    0.116484] Advanced Linux Sound Architecture Driver Initialized.
[    0.118003] clocksource: Switched to clocksource timer
[    0.118897] simple-framebuffer 5fd00000.framebuffer: framebuffer at 0x5fd00000, 0x300000 bytes, mapped to 0xe0100000
[    0.118914] simple-framebuffer 5fd00000.framebuffer: format=x8r8g8b8, mode=1024x768x32, linelength=4096
[    0.131382] Console: switching to colour frame buffer device 128x48
[    0.143006] simple-framebuffer 5fd00000.framebuffer: fb0: simplefb registered!
[    0.151843] NET: Registered protocol family 2
[    0.152401] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.152446] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.152505] TCP: Hash tables configured (established 4096 bind 4096)
[    0.152582] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.152603] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.152750] NET: Registered protocol family 1
[    0.153240] RPC: Registered named UNIX socket transport module.
[    0.153256] RPC: Registered udp transport module.
[    0.153262] RPC: Registered tcp transport module.
[    0.153268] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.155253] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.164212] NFS: Registering the id_resolver key type
[    0.164259] Key type id_resolver registered
[    0.164265] Key type id_legacy registered
[    0.164308] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.168874] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.168891] io scheduler noop registered
[    0.168898] io scheduler deadline registered
[    0.169073] io scheduler cfq registered (default)
[    0.169514] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_id_detect_pin@0, deferring probe
[    0.171998] sun5i-a13-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.235990] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.239135] console [ttyS0] disabled
[    0.259260] 1c28400.serial: ttyS0 at MMIO 0x1c28400 (irq = 27, base_baud = 1500000) is a U6_16550A
[    0.847495] console [ttyS0] enabled
[    0.851667] [drm] Initialized
[    0.857578] m25p_probe ----------->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> !
[    0.864292] m25p80 spi32766.0: mx25l12805d (16384 Kbytes)
[    0.869718] mtd_device_parse_register -->> MARK20190118
[    0.875110] parse_mtd_partitions ---->>MARK20190118A
[    0.880253] spi32766.0: parsing partitions cmdlinepart
[    0.885385] spi32766.0: got parser cmdlinepart
[    0.889847] spi32766.0: parser cmdlinepart: 4
[    0.894199] 4 cmdlinepart partitions found on MTD device spi32766.0
[    0.900470] Creating 4 MTD partitions on "spi32766.0":
[    0.905619] 0x000000000000-0x000000100000 : "uboot"
[    0.910934] 0x000000100000-0x000000110000 : "dtb"
[    0.915957] 0x000000110000-0x000000510000 : "kernel"
[    0.921284] 0x000000510000-0x000001000000 : "rootfs"
[    0.926916] libphy: Fixed MDIO Bus: probed
[    0.931375] usbcore: registered new interface driver mt7601u
[    0.937064] usbcore: registered new interface driver rtl8187
[    0.942805] usbcore: registered new interface driver rtl8192cu
[    0.948694] usbcore: registered new interface driver rtl8xxxu
[    0.954432] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.960965] ehci-platform: EHCI generic platform driver
[    0.966423] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.972673] ohci-platform: OHCI generic platform driver
[    0.978443] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.987709] input: 1c22800.lradc as /devices/platform/soc@01c00000/1c22800.lradc/input/input0
[    0.996902] i2c /dev entries driver
[    1.001427] axp20x-i2c 0-0034: AXP20x variant AXP209 found
[    1.020344] random: fast init done
[    1.025199] input: axp20x-pek as /devices/platform/soc@01c00000/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input1
[    1.035791] axp20x-regulator axp20x-regulator: regulators node not found
[    1.046308] axp20x-i2c 0-0034: AXP20X driver loaded
[    1.053115] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.118049] sunxi-mmc 1c0f000.mmc: base:0xe00fc000 irq:20
[    1.124942] usbcore: registered new interface driver usbhid
[    1.130599] usbhid: USB HID core driver
[    1.136161] NET: Registered protocol family 17
[    1.140798] Key type dns_resolver registered
[    1.145205] Registering SWP/SWPB emulation handler
[    1.156354] sun5i-a13-pinctrl 1c20800.pinctrl: unsupported function gpio_out on pin PG0
[    1.164683] usb0-vbus: Failed to request enable GPIO192: -22
[    1.170392] reg-fixed-voltage usb0-vbus: Failed to register regulator: -22
[    1.177280] reg-fixed-voltage: probe of usb0-vbus failed with error -22
[    1.188109] hctosys: unable to open rtc device (rtc0)
[    1.193501] vcc5v0: disabling
[    1.196483] ALSA device list:
[    1.199513]   No soundcards found.
[    1.563325] random: crng init done
[   16.673621] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[   16.680725] devtmpfs: mounted
[   16.685243] Freeing unused kernel memory: 1024K
[   22.518150] ------------[ cut here ]------------
[   22.522807] WARNING: CPU: 0 PID: 1 at drivers/mtd/spi-nor/spi-nor.c:1214 spi_nor_write+0x138/0x1b4
[   22.531783] Writing at offset 36 into a NOR page. Writing partial pages may decrease reliability and increase wear of NOR flash.
[   22.531788] Modules linked in:
[   22.546406] CPU: 0 PID: 1 Comm: init Not tainted 4.10.15-licheepi-zero+ #1
[   22.553269] Hardware name: Allwinner sun4i/sun5i Families
[   22.558698] [<c010e27c>] (unwind_backtrace) from [<c010b018>] (show_stack+0x10/0x14)
[   22.566440] [<c010b018>] (show_stack) from [<c0345a24>] (dump_stack+0x84/0x98)
[   22.573670] [<c0345a24>] (dump_stack) from [<c011b5b4>] (__warn+0xe8/0x100)
[   22.580627] [<c011b5b4>] (__warn) from [<c011b604>] (warn_slowpath_fmt+0x38/0x48)
[   22.588106] [<c011b604>] (warn_slowpath_fmt) from [<c04512ac>] (spi_nor_write+0x138/0x1b4)
[   22.596374] [<c04512ac>] (spi_nor_write) from [<c044968c>] (mtd_writev+0xa4/0xec)
[   22.603863] [<c044968c>] (mtd_writev) from [<c02fb328>] (jffs2_flash_writev+0x414/0x4b0)
[   22.611947] [<c02fb328>] (jffs2_flash_writev) from [<c02f41a8>] (jffs2_write_dnode+0xd4/0x328)
[   22.620550] [<c02f41a8>] (jffs2_write_dnode) from [<c02f4ac0>] (jffs2_do_create+0x90/0x230)
[   22.628892] [<c02f4ac0>] (jffs2_do_create) from [<c02ef13c>] (jffs2_create+0xa0/0x120)
[   22.636806] [<c02ef13c>] (jffs2_create) from [<c01fe560>] (path_openat+0x9f4/0xf30)
[   22.644457] [<c01fe560>] (path_openat) from [<c01ffd08>] (do_filp_open+0x60/0xc4)
[   22.651935] [<c01ffd08>] (do_filp_open) from [<c01ef0e4>] (do_sys_open+0x110/0x1c0)
[   22.659585] [<c01ef0e4>] (do_sys_open) from [<c0107500>] (ret_fast_syscall+0x0/0x3c)
[   22.667376] ---[ end trace ce72f3266afe17f5 ]---

Welcome to Lichee Pi

#40 Re: 全志 SOC » 全志A13 SPI NOR FLASH启动,分析不到MTD分区,加载不了JFFS文件系统,请有遇到过类似问题的大神指点下,谢谢 » 2019-01-20 22:19:53

现已定位到问题的原因:是DTS文件的问题。DTS文件是我们从UBOOT源码中拷贝的,在LINUX KERNEL中的DTS文件的aliases {
        serial0 = &uart1;
        spi0 = &spi0;
    };中要把spi0 = &spi0;去掉

#42 全志 SOC » 全志A13 SPI NOR FLASH启动,分析不到MTD分区,加载不了JFFS文件系统,请有遇到过类似问题的大神指点下,谢谢 » 2019-01-19 23:21:00

xiongxinjian
回复: 6

参考荔枝派V3S的SPI NOR FLASH的系统制方法,V3S能正常运行起来。A13参照该方法,FLASH已经检测到,但分析不到MTD分区,加载不了JFFS文件系统,下面是LOG信息。

U-Boot 2017.01-rc2-00071-gf03c1f5-dirty (Jan 14 2019 - 19:42:05 +0800) Allwinner Technology

CPU:   Allwinner A13 (SUN5I)
Model: Lichee A13
I2C:   ready
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 1024x768 vga console (overscan 0x0)
dotclock: 65000kHz = 64909kHz: (2 * 3MHz * 119) / 11
In:    serial
Out:   vga
Err:   vga
Net:   No ethernet found.
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
scanning bus 0 for devices... 2 USB Device(s) found
Hit any key to stop autoboot:  0
probe ---->>>>>>
bus=0 , cs=0
speed=0 , mode=0
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
read ---->>>>>>
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
read ---->>>>>>
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 49ff7000, end 49fff789 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.16-licheepi-zero+ (root@linux-host) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02)) #1 SMP Sat Jan 19 19:09:42 CST 2019
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Lichee A13 ONE--->>
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] percpu: Embedded 16 pages/cpu @df8d7000 s33868 r8192 d23476 u65536
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129286
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 506824K/521216K available (6144K kernel code, 195K rwdata, 1436K rodata, 1024K init, 264K bss, 14392K 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 : 0xe0000000 - 0xff800000   ( 504 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdfd00000   ( 509 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 - 0xc0a30d80   ( 196 kB)
[    0.000000]        .bss : 0xc0a37ad8 - 0xc0a79c6c   ( 265 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.000025] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000054] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000203] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370868154 ns
[    0.000455] Console: colour dummy device 80x30
[    0.000488] Calibrating delay loop... 1001.88 BogoMIPS (lpj=5009408)
[    0.090109] pid_max: default: 32768 minimum: 301
[    0.090236] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090251] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090835] CPU: Testing write buffer coherency: ok
[    0.091169] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.091544] Setting up static identity map for 0x40100000 - 0x40100060
[    0.091675] Hierarchical SRCU implementation.
[    0.092099] smp: Bringing up secondary CPUs ...
[    0.092111] smp: Brought up 1 node, 1 CPU
[    0.092122] SMP: Total of 1 processors activated (1001.88 BogoMIPS).
[    0.092129] CPU: All CPU(s) started in SVC mode.
[    0.093585] devtmpfs: initialized
[    0.098450] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.098708] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.098734] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.098842] pinctrl core: initialized pinctrl subsystem
[    0.099627] random: get_random_u32 called from bucket_table_alloc+0xf4/0x244 with crng_init=0
[    0.099740] NET: Registered protocol family 16
[    0.100420] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.101319] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.112835] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe
[    0.113911] SCSI subsystem initialized
[    0.114141] usbcore: registered new interface driver usbfs
[    0.114196] usbcore: registered new interface driver hub
[    0.114266] usbcore: registered new device driver usb
[    0.114449] pps_core: LinuxPPS API ver. 1 registered
[    0.114457] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.114485] PTP clock support registered
[    0.114684] Advanced Linux Sound Architecture Driver Initialized.
[    0.116128] clocksource: Switched to clocksource timer
[    0.116971] simple-framebuffer 5fd00000.framebuffer: framebuffer at 0x5fd00000, 0x300000 bytes, mapped to 0xe0100000
[    0.116988] simple-framebuffer 5fd00000.framebuffer: format=x8r8g8b8, mode=1024x768x32, linelength=4096
[    0.129313] Console: switching to colour frame buffer device 128x48
[    0.140809] simple-framebuffer 5fd00000.framebuffer: fb0: simplefb registered!
[    0.149287] NET: Registered protocol family 2
[    0.149809] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.149857] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.149918] TCP: Hash tables configured (established 4096 bind 4096)
[    0.150024] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.150046] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.150177] NET: Registered protocol family 1
[    0.150626] RPC: Registered named UNIX socket transport module.
[    0.150639] RPC: Registered udp transport module.
[    0.150646] RPC: Registered tcp transport module.
[    0.150652] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.152359] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.160462] NFS: Registering the id_resolver key type
[    0.160515] Key type id_resolver registered
[    0.160522] Key type id_legacy registered
[    0.160563] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.161766] random: fast init done
[    0.164703] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.164720] io scheduler noop registered
[    0.164728] io scheduler deadline registered
[    0.164919] io scheduler cfq registered (default)
[    0.164928] io scheduler mq-deadline registered
[    0.164936] io scheduler kyber registered
[    0.165364] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_id_detect_pin@0, deferring probe
[    0.167897] sun5i-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.228871] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.231645] console [ttyS0] disabled
[    0.251778] 1c28400.serial: ttyS0 at MMIO 0x1c28400 (irq = 27, base_baud = 1500000) is a U6_16550A
[    0.864945] console [ttyS0] enabled
[    0.872343] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.877483] spi0.0: parser cmdlinepart: 0
[    0.881492] spi0.0: parser ofpart: 0
[    0.885883] libphy: Fixed MDIO Bus: probed
[    0.890390] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.896939] ehci-platform: EHCI generic platform driver
[    0.902395] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.908614] ohci-platform: OHCI generic platform driver
[    0.914354] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.923662] input: 1c22800.lradc as /devices/platform/soc@01c00000/1c22800.lradc/input/input0
[    0.932760] i2c /dev entries driver
[    0.937276] axp20x-i2c 0-0034: AXP20x variant AXP209 found
[    0.957108] input: axp20x-pek as /devices/platform/soc@01c00000/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input1
[    0.967664] axp20x-regulator axp20x-regulator: regulators node not found
[    0.974393] ldo1: supplied by regulator-dummy
[    0.979021] ldo2: supplied by regulator-dummy
[    0.984432] ldo3: supplied by regulator-dummy
[    0.989414] ldo4: supplied by regulator-dummy
[    0.993954] ldo5: supplied by regulator-dummy
[    0.999356] dcdc2: supplied by regulator-dummy
[    1.004395] dcdc3: supplied by regulator-dummy
[    1.009858] axp20x-i2c 0-0034: AXP20X driver loaded
[    1.016506] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.086168] sunxi-mmc 1c0f000.mmc: base:0xe00fc000 irq:20
[    1.093028] usbcore: registered new interface driver usbhid
[    1.098666] usbhid: USB HID core driver
[    1.103988] NET: Registered protocol family 17
[    1.108611] Key type dns_resolver registered
[    1.113017] Registering SWP/SWPB emulation handler
[    1.124710] sun5i-pinctrl 1c20800.pinctrl: unsupported function gpio_out on pin PG0
[    1.132696] usb0-vbus: Failed to request enable GPIO192: -22
[    1.138401] reg-fixed-voltage usb0-vbus: Failed to register regulator: -22
[    1.145297] reg-fixed-voltage: probe of usb0-vbus failed with error -22
[    1.156240] hctosys: unable to open rtc device (rtc0)
[    1.161650] vcc5v0: disabling
[    1.164630] ALSA device list:
[    1.167665]   No soundcards found.
[    1.171954] VFS: Cannot open root device "31:03" or unknown-block(31,3): error -19
[    1.179606] Please append a correct "root=" boot option; here are the available partitions:
[    1.187976] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
[    1.196321] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.16-licheepi-zero+ #1
[    1.203618] Hardware name: Allwinner sun4i/sun5i Families
[    1.209055] [<c010e50c>] (unwind_backtrace) from [<c010b210>] (show_stack+0x10/0x14)
[    1.216800] [<c010b210>] (show_stack) from [<c0675fdc>] (dump_stack+0x84/0x98)
[    1.224028] [<c0675fdc>] (dump_stack) from [<c011b6c8>] (panic+0xdc/0x248)
[    1.230905] [<c011b6c8>] (panic) from [<c09011d0>] (mount_block_root+0x188/0x25c)
[    1.238382] [<c09011d0>] (mount_block_root) from [<c09013c4>] (mount_root+0x120/0x128)
[    1.246290] [<c09013c4>] (mount_root) from [<c090151c>] (prepare_namespace+0x150/0x194)
[    1.254286] [<c090151c>] (prepare_namespace) from [<c0900e20>] (kernel_init_freeable+0x1bc/0x1cc)
[    1.263154] [<c0900e20>] (kernel_init_freeable) from [<c0688eb4>] (kernel_init+0x8/0x108)
[    1.271324] [<c0688eb4>] (kernel_init) from [<c0107598>] (ret_from_fork+0x14/0x3c)
[    1.278896] Rebooting in 5 seconds..

#43 Re: 全志 SOC » 各位帮我看一下。 » 2019-01-19 22:50:23

pqfeng 说:

我重新下了4.13.版的源代码来编译,终于可以识别到分区了。可是不能正确引导。。。。。吐血。。。。前面的问题,经过对比,发现是dts的问题。

[    3.906083] jffs2: Empty flash at 0x00ae9ffc ends at 0x00aea000
[    3.912798] jffs2: Empty flash at 0x00aeaffc ends at 0x00aeb000
[    3.919478] jffs2: Empty flash at 0x00aebf7c ends at 0x00aec000
[    3.926131] jffs2: Empty flash at 0x00aecffc ends at 0x00aed000
[    3.932827] jffs2: Empty flash at 0x00aedffc ends at 0x00aee000
[    3.939513] jffs2: Empty flash at 0x00aeeffc ends at 0x00aef000
[    3.945855] jffs2: error: (1) jffs2_build_filesystem: child dir "network" (ino #100) of dir ino #4 is also hard linked from dir ino #1
[    3.960607] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[    3.968861] devtmpfs: error mounting -20
[    3.974121] Freeing unused kernel memory: 1024K

[    4.669463] request_module: kmod_concurrent_max (0) close to 0 (max_modprobes: 50), for module binfmt-a91c, throttling...
[    9.686886] request_module: modprobe binfmt-a91c cannot be processed, kmod busy with 50 threads for more than 5 seconds now
[    9.702258] Starting init: /sbin/init exists but couldn't execute it (error -8)

[    9.764321] request_module: kmod_concurrent_max (0) close to 0 (max_modprobes: 50), for module binfmt-a91c, throttling...
[   14.806920] request_module: modprobe binfmt-a91c cannot be processed, kmod busy with 50 threads for more than 5 seconds now
[   14.822672] Starting init: /bin/sh exists but couldn't execute it (error -8)
[   14.841017] Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
[   14.855171] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.16-licheepi-zero+ #2
[   14.862467] Hardware name: Allwinner sun8i Family
[   14.867209] [<c010e5d0>] (unwind_backtrace) from [<c010b358>] (show_stack+0x10/0x14)
[   14.874952] [<c010b358>] (show_stack) from [<c0680374>] (dump_stack+0x94/0xa8)
[   14.882175] [<c0680374>] (dump_stack) from [<c011b614>] (panic+0xdc/0x254)

新的问题又出来了。。。。哪位兄弟帮我解答一下。谢谢了。

   发现的是DTS的那个方面的问题???我现在调A13也遇到这个问题,调了好几天还是没有进展。下面是LOG

U-Boot 2017.01-rc2-00071-gf03c1f5-dirty (Jan 14 2019 - 19:42:05 +0800) Allwinner Technology

CPU:   Allwinner A13 (SUN5I)
Model: Lichee A13
I2C:   ready
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 1024x768 vga console (overscan 0x0)
dotclock: 65000kHz = 64909kHz: (2 * 3MHz * 119) / 11
In:    serial
Out:   vga
Err:   vga
Net:   No ethernet found.
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
scanning bus 0 for devices... 2 USB Device(s) found
Hit any key to stop autoboot:  0
probe ---->>>>>>
bus=0 , cs=0
speed=0 , mode=0
SF: Detected mx25l12805 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
read ---->>>>>>
device 0 offset 0x100000, size 0x10000
SF: 65536 bytes @ 0x100000 Read: OK
read ---->>>>>>
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 49ff7000, end 49fff789 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.16-licheepi-zero+ (root@linux-host) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02)) #1 SMP Sat Jan 19 19:09:42 CST 2019
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Lichee A13 ONE--->>
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] percpu: Embedded 16 pages/cpu @df8d7000 s33868 r8192 d23476 u65536
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129286
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk panic=5 rootwait mtdparts=spi32766.0:1M(uboot)ro,64k(dtb)ro,4M(kernel)ro,-(rootfs) root=31:03 rw rootfstype=jffs2
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 506824K/521216K available (6144K kernel code, 195K rwdata, 1436K rodata, 1024K init, 264K bss, 14392K 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 : 0xe0000000 - 0xff800000   ( 504 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdfd00000   ( 509 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 - 0xc0a30d80   ( 196 kB)
[    0.000000]        .bss : 0xc0a37ad8 - 0xc0a79c6c   ( 265 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.000027] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000057] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000208] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370868154 ns
[    0.000462] Console: colour dummy device 80x30
[    0.000496] Calibrating delay loop... 1001.88 BogoMIPS (lpj=5009408)
[    0.090114] pid_max: default: 32768 minimum: 301
[    0.090237] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090252] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090834] CPU: Testing write buffer coherency: ok
[    0.091175] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.091561] Setting up static identity map for 0x40100000 - 0x40100060
[    0.091697] Hierarchical SRCU implementation.
[    0.092125] smp: Bringing up secondary CPUs ...
[    0.092137] smp: Brought up 1 node, 1 CPU
[    0.092147] SMP: Total of 1 processors activated (1001.88 BogoMIPS).
[    0.092154] CPU: All CPU(s) started in SVC mode.
[    0.093605] devtmpfs: initialized
[    0.098459] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.098717] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.098742] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.098851] pinctrl core: initialized pinctrl subsystem
[    0.099637] random: get_random_u32 called from bucket_table_alloc+0xf4/0x244 with crng_init=0
[    0.099745] NET: Registered protocol family 16
[    0.100436] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.101340] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.112814] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe
[    0.113897] SCSI subsystem initialized
[    0.114127] usbcore: registered new interface driver usbfs
[    0.114181] usbcore: registered new interface driver hub
[    0.114249] usbcore: registered new device driver usb
[    0.114429] pps_core: LinuxPPS API ver. 1 registered
[    0.114438] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.114466] PTP clock support registered
[    0.114666] Advanced Linux Sound Architecture Driver Initialized.
[    0.116115] clocksource: Switched to clocksource timer
[    0.116962] simple-framebuffer 5fd00000.framebuffer: framebuffer at 0x5fd00000, 0x300000 bytes, mapped to 0xe0100000
[    0.116980] simple-framebuffer 5fd00000.framebuffer: format=x8r8g8b8, mode=1024x768x32, linelength=4096
[    0.129301] Console: switching to colour frame buffer device 128x48
[    0.140802] simple-framebuffer 5fd00000.framebuffer: fb0: simplefb registered!
[    0.149290] NET: Registered protocol family 2
[    0.149820] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.149869] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.149929] TCP: Hash tables configured (established 4096 bind 4096)
[    0.150039] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.150061] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.150191] NET: Registered protocol family 1
[    0.150648] RPC: Registered named UNIX socket transport module.
[    0.150661] RPC: Registered udp transport module.
[    0.150668] RPC: Registered tcp transport module.
[    0.150674] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.152351] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.160478] NFS: Registering the id_resolver key type
[    0.160529] Key type id_resolver registered
[    0.160536] Key type id_legacy registered
[    0.160579] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.161801] random: fast init done
[    0.164716] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.164731] io scheduler noop registered
[    0.164739] io scheduler deadline registered
[    0.164935] io scheduler cfq registered (default)
[    0.164945] io scheduler mq-deadline registered
[    0.164952] io scheduler kyber registered
[    0.165375] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_id_detect_pin@0, deferring probe
[    0.167908] sun5i-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.228983] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.231734] console [ttyS0] disabled
[    0.251874] 1c28400.serial: ttyS0 at MMIO 0x1c28400 (irq = 27, base_baud = 1500000) is a U6_16550A
[    0.865037] console [ttyS0] enabled
[    0.872469] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.877600] spi0.0: parser cmdlinepart: 0
[    0.881608] spi0.0: parser ofpart: 0
[    0.886000] libphy: Fixed MDIO Bus: probed
[    0.890500] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.897046] ehci-platform: EHCI generic platform driver
[    0.902504] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.908720] ohci-platform: OHCI generic platform driver
[    0.914457] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.923770] input: 1c22800.lradc as /devices/platform/soc@01c00000/1c22800.lradc/input/input0
[    0.932872] i2c /dev entries driver

页脚

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

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