使用的是荔枝派NANO,官网主线uboot,和主线linux内核
下面是我的logo打印
U-Boot SPL 2018.01-05679-g013ca457fd-dirty (Feb 05 2020 - 13:26:07)
DRAM: 64 MiB
Trying to boot from MMC1
Card did not respond to voltage select!
mmc_init: -95, time 22
spl: mmc init failed with error: -95
Trying to boot from sunxi SPI
U-Boot 2018.01-05679-g013ca457fd-dirty (Feb 05 2020 - 13:26:07 +0800) Allwinner Technology
CPU: Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM: 64 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 480x272 lcd console (overscan 0x0)
In: serial@1c25000
Out: serial@1c25000
Err: serial@1c25000
Unknown command 'usb' - try 'help'
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 0x30000, size 0x4000
SF: 16384 bytes @ 0x30000 Read: OK
device 0 offset 0x40000, size 0x130000
SF: 1245184 bytes @ 0x40000 Read: OK
## Flattened Device Tree blob at 80c00000
Booting using the fdt blob at 0x80c00000
Loading Device Tree to 816fa000, end 816ff0f2 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.15.0-rc8-licheepi-nano+ (yan@yan-Z5) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #164 Wed Feb 5 01:42:34 CST 2020
[ 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: 16256
[ 0.000000] Kernel command line: vt.global_cursor_default=0 console=ttyS0,115200 panic=5 rootwait root=/dev/mtdblock3 rw rootfstype=jffs2
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 61212K/65536K available (2384K kernel code, 122K rwdata, 676K rodata, 276K init, 188K bss, 4324K reserved, 0K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xc4800000 - 0xff800000 ( 944 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (2386 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) ( 276 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 123 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 189 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.000043] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000095] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000544] Console: colour dummy device 80x30
[ 0.000619] Calibrating delay loop... 393.21 BogoMIPS (lpj=1966080)
[ 0.050178] pid_max: default: 32768 minimum: 301
[ 0.050451] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.050480] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.051343] CPU: Testing write buffer coherency: ok
[ 0.052852] Setting up static identity map for 0x80008400 - 0x8000843c
[ 0.054397] devtmpfs: initialized
[ 0.058034] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.058078] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.058188] pinctrl core: initialized pinctrl subsystem
[ 0.059192] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.070083] clocksource: Switched to clocksource timer
[ 0.088837] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.097095] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.099127] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 0.099167] io scheduler noop registered (default)
[ 0.105914] suniv-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.215630] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.219946] console [ttyS0] disabled
[ 0.240135] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 24, base_baud = 6250000) is a 16550A
[ 0.539248] console [ttyS0] enabled
[ 0.550676] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 0.555439] 4 ofpart partitions found on MTD device spi0.0
[ 0.560996] Creating 4 MTD partitions on "spi0.0":
[ 0.565796] 0x000000000000-0x000000030000 : "u-boot"
[ 0.572520] 0x000000030000-0x000000040000 : "dtb"
[ 0.578800] 0x000000040000-0x0000001b0000 : "kernel"
[ 0.585488] 0x000000170000-0x000000800000 : "rootfs"
[ 0.592503] i2c /dev entries driver
[ 0.597922] input: ns2009_ts as /devices/platform/soc/1c27000.i2c/i2c-0/0-0048/input/input0
[ 0.610556] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc028200c)
[ 0.618975] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc02812f0)
[ 0.626728] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 0.633364] [drm] No driver support for vblank timestamp query.
[ 0.688290] Console: switching to colour frame buffer device 60x34
[ 0.713489] sun4i-drm display-engine: fb0: frame buffer device
[ 0.720270] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[ 0.821046] random: crng init done
[ 1.145981] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[ 1.153325] Freeing unused kernel memory: 276K
[ 1.157768] This architecture does not have kernel memory protection.
mount: mounting tmpfs on /dev/shm failed: Invalid argument
mount: mounting tmpfs on /tmp failed: Invalid argument
mount: mounting tmpfs on /run failed: Invalid argument
hostname: applet not found
S01app start!
Starting syslogd: OK
Starting klogd: OK
Initializing random number generator... done.
[4.157768]: root login on 'ttyS0'
helloworld!
#
最近编辑记录 颜水花生 (2020-02-05 16:26:27)
离线
期间关背光灯
醍醐灌顶,感谢大神,这就试试
离线