您尚未登录。

#1 Re: 全志 SOC » 荔枝派nano(f1c100s)的SPI-Flash系统编译创建全过程 » 2019-04-20 14:30:36

Connecting to COM3...
Connected.


U-Boot SPL 2018.01-05679-g013ca45-dirty (Apr 19 2019 - 12:39:58)
DRAM: 32 MiB
Trying to boot from MMC1


U-Boot 2018.01-05679-g013ca45-dirty (Apr 19 2019 - 12:39:58 +0800) Allwinner Technology

CPU:   Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM:  32 MiB
MMC:   SUNXI SD/MMC: 0
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

Setting up a 800x480 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 
SF: Detected w25q128bv with page size 256 Bytes, erase size 4 KiB, total 16 MiB
device 0 offset 0x100000, size 0x4000
SF: 16384 bytes @ 0x100000 Read: OK
device 0 offset 0x110000, size 0x400000
SF: 4194304 bytes @ 0x110000 Read: OK
## Flattened Device Tree blob at 80c00000
   Booting using the fdt blob at 0x80c00000
   Loading Device Tree to 80e5f000, end 80e64326 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.15.0-next-20180202-licheepi-nano+ (biglion@biglion-MRC-WX0) (gcc version 7.2.0 (Ubuntu/Linaro 7.2.0-6ubuntu1)) #107 Sat May 19 11:56:16 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] Built 1 zonelists, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: 
[    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: 23752K/32768K available (5120K kernel code, 203K rwdata, 1148K rodata, 1024K init, 227K bss, 9016K 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)   (6112 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 204 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 228 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.000053] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000125] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000770] Console: colour dummy device 80x30
[    0.001640] console [tty0] enabled
[    0.001742] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[    0.070310] pid_max: default: 32768 minimum: 301
[    0.070824] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070933] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.072616] CPU: Testing write buffer coherency: ok
[    0.074484] Setting up static identity map for 0x80100000 - 0x80100058
[    0.077022] devtmpfs: initialized
[    0.082939] random: get_random_u32 called from bucket_table_alloc+0x78/0x190 with crng_init=0
[    0.084162] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.084331] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.084718] pinctrl core: initialized pinctrl subsystem
[    0.087069] NET: Registered protocol family 16
[    0.088253] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.090448] cpuidle: using governor menu
[    0.112371] SCSI subsystem initialized
[    0.112782] pps_core: LinuxPPS API ver. 1 registered
[    0.112862] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.113015] PTP clock support registered
[    0.114811] clocksource: Switched to clocksource timer
[    0.143779] NET: Registered protocol family 2
[    0.145638] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.145842] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.145947] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.146034] TCP: Hash tables configured (established 1024 bind 1024)
[    0.146367] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.146481] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.147042] NET: Registered protocol family 1
[    0.148749] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.150889] Initialise system trusted keyrings
[    0.151562] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.167208] jffs2: version 2.2. (NAND) ? 2001-2006 Red Hat, Inc.
[    0.171670] random: fast init done
[    0.182471] Key type asymmetric registered
[    0.182585] Asymmetric key parser 'x509' registered
[    0.182879] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.182988] io scheduler noop registered
[    0.183040] io scheduler deadline registered
[    0.183992] io scheduler cfq registered (default)
[    0.184103] io scheduler mq-deadline registered
[    0.184160] io scheduler kyber registered
[    0.196491] suniv-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.378272] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.405741] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 25, base_baud = 6250000) is a 16550A
[    0.827744] console [ttyS0] enabled
[    0.839394] panel-simple panel: panel supply power not found, using dummy regulator
[    0.849104] SCSI Media Changer driver v0.25 
[    0.857050] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.861854] spi0.0: parsing partitions cmdlinepart
[    0.867897] spi0.0: got parser (null)
[    0.871653] spi0.0: parsing partitions ofpart
[    0.876178] spi0.0: got parser ofpart
[    0.879938] spi0.0: parser ofpart: 4
[    0.883548] 4 ofpart partitions found on MTD device spi0.0
[    0.889144] Creating 4 MTD partitions on "spi0.0":
[    0.893997] 0x000000000000-0x000000100000 : "u-boot"
[    0.901685] 0x000000100000-0x000000110000 : "dtb"
[    0.909327] 0x000000110000-0x000000510000 : "kernel"
[    0.917239] 0x000000510000-0x000001000000 : "rootfs"
[    0.925687] i2c /dev entries driver
[    0.960681] sunxi-mmc 1c0f000.mmc: base:0x(ptrval) irq:21
[    0.969774] NET: Registered protocol family 17
[    0.974434] Key type dns_resolver registered
[    0.980932] Loading compiled-in X.509 certificates
[    0.996833] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc0633630)
[    1.005012] sun4i-tcon 1c0c000.lcd-controller: Missing LVDS properties, Please upgrade your DT
[    1.013699] sun4i-tcon 1c0c000.lcd-controller: LVDS output disabled
[    1.021039] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0632848)
[    1.028924] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.035644] [drm] No driver support for vblank timestamp query.
[    1.221056] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.242512] Console: switching to colour frame buffer device 100x30
[    1.243478] mmc0: new high speed SDHC card at address aaaa
[    1.248563] mmcblk0: mmc0:aaaa SC16G 14.8 GiB 
[    1.295831]  mmcblk0: p1 p2
[    1.362402] sun4i-drm display-engine: fb0:  frame buffer device
[    1.381200] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.401802] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.431382] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.451731] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.473371] cfg80211: failed to load regulatory.db
[    1.491860] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    1.512723] Please append a correct "root=" boot option; here are the available partitions:
[    1.534881] 1f00            1024 mtdblock0 
[    1.534895]  (driver?)
[    1.568935] 1f01              64 mtdblock1 
[    1.568952]  (driver?)
[    1.602632] 1f02            4096 mtdblock2 
[    1.602645]  (driver?)
[    1.635814] 1f03           11200 mtdblock3 
[    1.635828]  (driver?)
[    1.668508] b300        15558144 mmcblk0 
[    1.668526]  driver: mmcblk
[    1.700239]   b301           32768 mmcblk0p1 0003c1e0-01
[    1.700253] 
[    1.730992]   b302        15524352 mmcblk0p2 0003c1e0-02
[    1.731006] 
[    1.760953] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    1.780989] CPU: 0 PID: 1 Comm: swapper Not tainted 4.15.0-next-20180202-licheepi-nano+ #107
[    1.801273] Hardware name: Allwinner suniv Family
[    1.817707] [<c010e2d8>] (unwind_backtrace) from [<c010b9c8>] (show_stack+0x10/0x14)
[    1.837440] [<c010b9c8>] (show_stack) from [<c011648c>] (panic+0xb8/0x230)
[    1.856168] [<c011648c>] (panic) from [<c080110c>] (mount_block_root+0x1d4/0x2b4)
[    1.875784] [<c080110c>] (mount_block_root) from [<c080137c>] (prepare_namespace+0x11c/0x17c)
[    1.896787] [<c080137c>] (prepare_namespace) from [<c0800d64>] (kernel_init_freeable+0x174/0x1b8)
[    1.918296] [<c0800d64>] (kernel_init_freeable) from [<c0535658>] (kernel_init+0x8/0x10c)
[    1.938952] [<c0535658>] (kernel_init) from [<c01010e0>] (ret_from_fork+0x14/0x34)
[    1.958922] Exception stack(0xc1831fb0 to 0xc1831ff8)
[    1.976242] 1fa0:                                     00000000 00000000 00000000 00000000
[    1.996893] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.017275] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    2.035721] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   82.644937] random: crng init done

#2 Re: 全志 SOC » 荔枝派nano(f1c100s)的SPI-Flash系统编译创建全过程 » 2019-04-20 01:08:50

盆友尝试过TF卡启动吗 ?我不知道那一步错了, 死活启动不了rootfs , 可否指点一下 ?

#3 Re: 全志 SOC » 荔枝派nano(f1c100s)的SPI-Flash系统编译创建全过程 » 2019-04-20 01:07:07

盆友尝试过TF卡启动吗 ?我不知道那一步错了, 死活启动不了rootfs , 可否指点一下 ?

页脚

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

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