上面是我的微信和QQ群,欢迎新朋友的加入。
前一篇文章,为了测试我自己画的板子,查了下关于uboot源码,降低DDR的速度
我使用的是友善之臂提供的源码
不多说其他的了
在源码里面,查找下图的文件
打开文件
修改图示内容就行
下面是启动的打印信息
U-Boot SPL 2017.11-g73e3bbb-dirty (Dec 21 2020 - 22:16:35)
DRAM: 512 MiB(100MHz)
CPU Freq: 408MHz
memory test: 1
Pattern 55aa Writing...Reading...OK
Trying to boot from MMC1
Boot device: sd
U-Boot 2017.11-g73e3bbb-dirty (Dec 21 2020 - 22:16:35 +0800) Allwinner Technology
CPU: Allwinner H3 (SUN8I 1680)
Model: FriendlyElec NanoPi H3
DRAM: 512 MiB
CPU Freq: 1008MHz
MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: No ethernet found.
BOARD: nanopi-neo-core
starting USB...
No controllers found
Hit any key to stop autoboot: 0
reading boot.scr
1478 bytes read in 19 ms (75.2 KiB/s)
## Executing script at 43100000
running boot.scr
reading uEnv.txt
968 bytes read in 19 ms (48.8 KiB/s)
reading zImage
5901592 bytes read in 340 ms (16.6 MiB/s)
reading rootfs.cpio.gz
5880768 bytes read in 335 ms (16.7 MiB/s)
reading sun8i-h3-nanopi-neo-core.dtb
34556 bytes read in 28 ms (1.2 MiB/s)
overlays is empty
reading overlays/sun8i-h3-fixup.scr
4109 bytes read in 36 ms (111.3 KiB/s)
## Executing script at 44500000
## Flattened Device Tree blob at 48000000
Booting using the fdt blob at 0x48000000
Loading Ramdisk to 49a64000, end 49fffbc0 ... OK
reserving fdt memory region: addr=48000000 size=6e000
Loading Device Tree to 499f3000, end 49a63fff ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.111 (root@ubuntu) (gcc version 4.9.3 (ctng-1.21.0-229g-FA)) #1 SMP Thu Dec 19 15:23:22 CST 2019
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=30c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: FriendlyElec NanoPi-NEO-Core
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000005bc00000, size 64 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: Using PSCI v0.1 Function IDs from DT
[ 0.000000] percpu: Embedded 17 pages/cpu @dff5b000 s37120 r8192 d24320 u69632
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait fsck.repair=yes panic=10 fbcon=map:0 data=/dev/mmcblk0p3 snd-soc-core.pmdown_time=3600000
[ 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: 429860K/524288K available (10240K kernel code, 391K rwdata, 2080K rodata, 2048K init, 303K bss, 28892K reserved, 65536K 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 : 0xe0800000 - 0xff800000 ( 496 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0c00000 (12256 kB)
[ 0.000000] .init : 0xc1000000 - 0xc1200000 (2048 kB)
[ 0.000000] .data : 0xc1200000 - 0xc1261f00 ( 392 kB)
[ 0.000000] .bss : 0xc126a884 - 0xc12b6850 ( 304 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000015] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000034] Switching to timer-based delay loop, resolution 41ns
[ 0.000411] Console: colour dummy device 80x30
[ 0.000494] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000)
[ 0.000517] pid_max: default: 32768 minimum: 301
[ 0.000845] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000872] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.002517] CPU: Testing write buffer coherency: ok
[ 0.003742] CPU0: update cpu_capacity 1024
[ 0.003761] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.004557] Setting up static identity map for 0x40200000 - 0x40200060
[ 0.004819] Hierarchical SRCU implementation.
[ 0.006108] smp: Bringing up secondary CPUs ...
[ 0.017965] CPU1: update cpu_capacity 1024
[ 0.017979] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.029937] CPU2: update cpu_capacity 1024
[ 0.029945] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.041633] CPU3: update cpu_capacity 1024
[ 0.041641] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.041752] smp: Brought up 1 node, 4 CPUs
[ 0.041789] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[ 0.041801] CPU: All CPU(s) started in HYP mode.
[ 0.041808] CPU: Virtualization extensions available.
[ 0.043818] devtmpfs: initialized
[ 0.054564] random: get_random_u32 called from bucket_table_alloc+0xf0/0x240 with crng_init=0
[ 0.056045] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.056728] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
[ 0.056782] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.061974] xor: measuring software checksum speed
[ 0.111235] arm4regs : 1372.800 MB/sec
[ 0.161281] 8regs : 769.600 MB/sec
[ 0.211337] 32regs : 850.400 MB/sec
[ 0.261395] neon : 1283.200 MB/sec
[ 0.261403] xor: using function: arm4regs (1372.800 MB/sec)
[ 0.261452] pinctrl core: initialized pinctrl subsystem
[ 0.264001] NET: Registered protocol family 16
[ 0.267654] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.269290] cpuidle: using governor ladder
[ 0.269335] cpuidle: using governor menu
[ 0.270047] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.270070] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.297573] SCSI subsystem initialized
[ 0.298498] usbcore: registered new interface driver usbfs
[ 0.298576] usbcore: registered new interface driver hub
[ 0.298722] usbcore: registered new device driver usb
[ 0.299067] media: Linux media interface: v0.10
[ 0.299118] Linux video capture interface: v2.00
[ 0.299320] pps_core: LinuxPPS API ver. 1 registered
[ 0.299331] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.299362] PTP clock support registered
[ 0.299962] Advanced Linux Sound Architecture Driver Initialized.
[ 0.303150] clocksource: Switched to clocksource arch_sys_counter
[ 0.303638] VFS: Disk quotas dquot_6.6.0
[ 0.303782] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.304091] FS-Cache: Loaded
[ 0.314841] NET: Registered protocol family 2
[ 0.316199] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.316281] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.316382] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.316671] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.316782] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.317275] NET: Registered protocol family 1
[ 0.318512] RPC: Registered named UNIX socket transport module.
[ 0.318538] RPC: Registered udp transport module.
[ 0.318545] RPC: Registered tcp transport module.
[ 0.318552] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.319028] Unpacking initramfs...
[ 0.739304] Freeing initrd memory: 5744K
[ 0.740124] kvm [1]: 8-bit VMID
[ 0.741754] kvm [1]: vgic interrupt IRQ16
[ 0.741936] kvm [1]: Hyp mode initialized successfully
[ 0.748552] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.755153] zbud: loaded
[ 0.758042] FS-Cache: Netfs 'nfs' registered for caching
[ 0.759308] NFS: Registering the id_resolver key type
[ 0.759406] Key type id_resolver registered
[ 0.759415] Key type id_legacy registered
[ 0.759443] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.759478] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.761201] fuse init (API version 7.26)
[ 0.770901] async_tx: api initialized (async)
[ 0.771248] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 0.771657] io scheduler noop registered (default)
[ 0.771675] io scheduler deadline registered
[ 0.772082] io scheduler cfq registered
[ 0.772098] io scheduler mq-deadline registered
[ 0.772318] io scheduler bfq registered
[ 0.774069] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO, pinctrl may not init
[ 0.779842] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.782548] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[ 0.790556] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.793904] console [ttyS0] disabled
[ 0.814229] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 45, base_baud = 1500000) is a U6_16550A
[ 1.575579] console [ttyS0] enabled
[ 1.602347] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 46, base_baud = 1500000) is a U6_16550A
[ 1.634394] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 47, base_baud = 1500000) is a U6_16550A
[ 1.664243] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 48, base_baud = 1500000) is a U6_16550A
[ 1.676371] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.683081] [drm] No driver support for vblank timestamp query.
[ 1.698710] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc0c51b68)
[ 1.706108] sun4i-drm display-engine: No panel or bridge found... RGB output disabled
[ 1.713990] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0c5086c)
[ 1.843279] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[ 1.853725] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[ 1.861660] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xc0c51ee8)
[ 1.868632] [drm] Cannot find any crtc or sizes - going 1920x1080
[ 1.956097] Console: switching to colour frame buffer device 240x67
[ 1.987378] sun4i-drm display-engine: fb0: frame buffer device
[ 1.994260] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[ 2.022816] loop: module loaded
[ 2.063615] st: Version 20160209, fixed bufsize 32768, s/g segs 256
[ 2.070123] osst :I: Tape driver with OnStream support version 0.99.4
[ 2.070123] osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
[ 2.083726] SCSI Media Changer driver v0.25
[ 2.092284] libphy: Fixed MDIO Bus: probed
[ 2.096531] tun: Universal TUN/TAP device driver, 1.6
[ 2.101979] CAN device driver interface
[ 2.106688] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[ 2.112548] dwmac-sun8i 1c30000.ethernet: No regulator found
[ 2.118320] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[ 2.124595] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[ 2.130283] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[ 2.137561] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[ 2.143236] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[ 2.150462] dwmac-sun8i 1c30000.ethernet: COE Type 2
[ 2.155438] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[ 2.163065] libphy: stmmac: probed
[ 2.178416] PPP generic driver version 2.4.2
[ 2.183400] PPP BSD Compression module registered
[ 2.188127] PPP Deflate Compression module registered
[ 2.193264] PPP MPPE Compression module registered
[ 2.198058] NET: Registered protocol family 24
[ 2.202796] usbcore: registered new interface driver qmi_wwan
[ 2.208649] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.215188] ehci-platform: EHCI generic platform driver
[ 2.221091] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 2.226753] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 2.235522] ehci-platform 1c1a000.usb: irq 29, io mem 0x01c1a000
[ 2.253132] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 2.259601] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.266417] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.273647] usb usb1: Product: EHCI Host Controller
[ 2.278533] usb usb1: Manufacturer: Linux 4.14.111 ehci_hcd
[ 2.284111] usb usb1: SerialNumber: 1c1a000.usb
[ 2.289680] hub 1-0:1.0: USB hub found
[ 2.293518] hub 1-0:1.0: 1 port detected
[ 2.298733] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.305001] ohci-platform: OHCI generic platform driver
[ 2.310654] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 2.317319] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 2.325617] ohci-platform 1c1a400.usb: irq 30, io mem 0x01c1a400
[ 2.392405] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 2.399225] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.406458] usb usb2: Product: Generic Platform OHCI controller
[ 2.412383] usb usb2: Manufacturer: Linux 4.14.111 ohci_hcd
[ 2.417961] usb usb2: SerialNumber: 1c1a400.usb
[ 2.425853] hub 2-0:1.0: USB hub found
[ 2.429677] hub 2-0:1.0: 1 port detected
[ 2.434789] usbcore: registered new interface driver cdc_acm
[ 2.440495] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 2.448580] usbcore: registered new interface driver usblp
[ 2.454126] usbcore: registered new interface driver cdc_wdm
[ 2.459846] usbcore: registered new interface driver uas
[ 2.465290] usbcore: registered new interface driver usb-storage
[ 2.471473] usbcore: registered new interface driver usbserial
[ 2.477375] usbcore: registered new interface driver usbserial_generic
[ 2.483957] usbserial: USB Serial support registered for generic
[ 2.490011] usbcore: registered new interface driver option
[ 2.495627] usbserial: USB Serial support registered for GSM modem (1-port)
[ 2.502807] usbcore: registered new interface driver qcserial
[ 2.508622] usbserial: USB Serial support registered for Qualcomm USB modem
[ 2.517304] mousedev: PS/2 mouse device common for all mice
[ 2.523842] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[ 2.530671] sun6i-rtc 1f00000.rtc: RTC enabled
[ 2.535255] i2c /dev entries driver
[ 2.541986] lirc_dev: IR Remote Control driver registered, major 244
[ 2.548391] IR NEC protocol handler initialized
[ 2.552923] IR RC5(x/sz) protocol handler initialized
[ 2.557982] IR RC6 protocol handler initialized
[ 2.562523] IR JVC protocol handler initialized
[ 2.567059] IR Sony protocol handler initialized
[ 2.571681] IR SANYO protocol handler initialized
[ 2.576388] IR Sharp protocol handler initialized
[ 2.581098] IR MCE Keyboard/mouse protocol handler initialized
[ 2.586933] IR LIRC bridge handler initialized
[ 2.591380] IR XMP protocol handler initialized
[ 2.597410] thermal thermal_zone0: failed to read out thermal zone (-16)
[ 2.605119] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 2.613888] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[ 2.663265] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 2.713172] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.713503] sunxi-mmc 1c11000.mmc: initialized, max. request size: 16384 KB
[ 2.726629] mmc0: new high speed SDHC card at address aaaa
[ 2.733732] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.734763] mmcblk0: mmc0:aaaa SC32G 29.7 GiB
[ 2.740328] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.749422] mmcblk0: p1 p2 p3
[ 2.750108] usbcore: registered new interface driver usbhid
[ 2.758360] usbhid: USB HID core driver
[ 2.786281] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[ 2.799156] Initializing XFRM netlink socket
[ 2.804451] NET: Registered protocol family 10
[ 2.841907] Segment Routing with IPv6
[ 2.845927] NET: Registered protocol family 17
[ 2.850530] NET: Registered protocol family 15
[ 2.855005] can: controller area network core (rev 20170425 abi 9)
[ 2.861468] NET: Registered protocol family 29
[ 2.865950] can: raw protocol (rev 20170425)
[ 2.870237] can: broadcast manager protocol (rev 20170425 t)
[ 2.875934] can: netlink gateway (rev 20170425) max_hops=1
[ 2.882832] Key type dns_resolver registered
[ 2.887682] Registering SWP/SWPB emulation handler
[ 2.895189] registered taskstats version 1
[ 2.914971] Key type encrypted registered
[ 2.931578] vcc1v2: supplied by vcc5v0
[ 2.936053] vcc-dram: supplied by vcc5v0
[ 2.940610] vdd-cpux-en: supplied by vcc5v0
[ 2.948407] ehci-platform 1c1b000.usb: EHCI Host Controller
[ 2.954117] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[ 2.962955] ehci-platform 1c1b000.usb: irq 31, io mem 0x01c1b000
[ 2.983148] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[ 2.989648] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.996452] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.003692] usb usb3: Product: EHCI Host Controller
[ 3.008579] usb usb3: Manufacturer: Linux 4.14.111 ehci_hcd
[ 3.014155] usb usb3: SerialNumber: 1c1b000.usb
[ 3.019999] hub 3-0:1.0: USB hub found
[ 3.023855] hub 3-0:1.0: 1 port detected
[ 3.029213] ehci-platform 1c1c000.usb: EHCI Host Controller
[ 3.034888] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[ 3.043494] ehci-platform 1c1c000.usb: irq 33, io mem 0x01c1c000
[ 3.063140] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[ 3.069492] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.076292] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.083519] usb usb4: Product: EHCI Host Controller
[ 3.088403] usb usb4: Manufacturer: Linux 4.14.111 ehci_hcd
[ 3.093979] usb usb4: SerialNumber: 1c1c000.usb
[ 3.099412] hub 4-0:1.0: USB hub found
[ 3.103239] hub 4-0:1.0: 1 port detected
[ 3.108278] ehci-platform 1c1d000.usb: EHCI Host Controller
[ 3.113913] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 5
[ 3.122291] ehci-platform 1c1d000.usb: irq 35, io mem 0x01c1d000
[ 3.143142] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[ 3.149485] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.156297] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.163529] usb usb5: Product: EHCI Host Controller
[ 3.168414] usb usb5: Manufacturer: Linux 4.14.111 ehci_hcd
[ 3.173995] usb usb5: SerialNumber: 1c1d000.usb
[ 3.179353] hub 5-0:1.0: USB hub found
[ 3.183176] hub 5-0:1.0: 1 port detected
[ 3.188194] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[ 3.194862] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6
[ 3.203206] ohci-platform 1c1b400.usb: irq 32, io mem 0x01c1b400
[ 3.272325] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.279141] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.286372] usb usb6: Product: Generic Platform OHCI controller
[ 3.292298] usb usb6: Manufacturer: Linux 4.14.111 ohci_hcd
[ 3.297875] usb usb6: SerialNumber: 1c1b400.usb
[ 3.303719] hub 6-0:1.0: USB hub found
[ 3.307523] hub 6-0:1.0: 1 port detected
[ 3.312539] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[ 3.319265] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7
[ 3.327532] ohci-platform 1c1c400.usb: irq 34, io mem 0x01c1c400
[ 3.397337] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.404148] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.411374] usb usb7: Product: Generic Platform OHCI controller
[ 3.417301] usb usb7: Manufacturer: Linux 4.14.111 ohci_hcd
[ 3.422877] usb usb7: SerialNumber: 1c1c400.usb
[ 3.428259] hub 7-0:1.0: USB hub found
[ 3.432055] hub 7-0:1.0: 1 port detected
[ 3.436995] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[ 3.443698] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8
[ 3.451945] ohci-platform 1c1d400.usb: irq 36, io mem 0x01c1d400
[ 3.517351] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.524163] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.531390] usb usb8: Product: Generic Platform OHCI controller
[ 3.537314] usb usb8: Manufacturer: Linux 4.14.111 ohci_hcd
[ 3.542898] usb usb8: SerialNumber: 1c1d400.usb
[ 3.548262] hub 8-0:1.0: USB hub found
[ 3.552057] hub 8-0:1.0: 1 port detected
[ 3.557085] usb_phy_generic usb_phy_generic.3.auto: usb_phy_generic.3.auto supply vcc not found, using dummy regulator
[ 3.568590] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver
[ 3.574375] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 9
[ 3.582466] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.589284] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.596515] usb usb9: Product: MUSB HDRC host driver
[ 3.601489] usb usb9: Manufacturer: Linux 4.14.111 musb-hcd
[ 3.607067] usb usb9: SerialNumber: musb-hdrc.4.auto
[ 3.612757] hub 9-0:1.0: USB hub found
[ 3.616576] hub 9-0:1.0: 1 port detected
[ 3.627890] asoc-simple-card soc:sound: i2s-hifi <-> 1c22800.i2s mapping ok
[ 3.639753] input: r_gpio_keys as /devices/platform/r_gpio_keys/input/input0
[ 3.648431] sun6i-rtc 1f00000.rtc: setting system clock to 2016-02-11 16:32:25 UTC (1455208345)
[ 3.657843] vcc3v0: disabling
[ 3.660859] vcc5v0: disabling
[ 3.663855] usb0-vbus: disabling
[ 3.667090] ALSA device list:
[ 3.670069] #0: Dummy 1
[ 3.672687] #1: Loopback 1
[ 3.675576] #2: H3 Audio Codec
[ 3.678808] #3: allwinner,hdmi
[ 3.689696] Freeing unused kernel memory: 2048K
Loading, please wait...
starting version 237
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
[ 4.918531] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
Begin: Will now check userdata file system ... fsck from util-linux 2.31.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p3] fsck.ext4 -y -C0 /dev/mmcblk0p3
e2fsck 1.44.1 (24-Mar-2018)
userdata: recovering journal
[ 5.161548] random: fast init done
Setting free inodes count to 1598219 (was 1598260)
Setting free blocks count to 6985476 (was 7116588)
userdata: clean, 53/1598272 files, 232572/7218048 blocks (check in 5 mounts)
done.
[ 5.274341] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[ 5.299955] EXT4-fs (mmcblk0p3): re-mounted. Opts: data=ordered
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[ 5.754387] random: systemd: uninitialized urandom read (16 bytes read)
[ 5.765399] random: systemd: uninitialized urandom read (16 bytes read)
[ 5.779366] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[ 5.798723] systemd[1]: Detected architecture arm.
Welcome to Ubuntu 16.04.2 LTS!
[ 5.836658] systemd[1]: Set hostname to <NanoPi-NEO-Core>.
[ 5.918857] random: systemd-cryptse: uninitialized urandom read (16 bytes read)
[ 6.244161] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ 6.269007] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ 6.293383] systemd[1]: Reached target Paths.
[ OK ] Reached target Paths.
[ 6.313640] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ 6.359822] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ 6.379913] systemd[1]: Created slice System Slice.
[ OK ] Created slice System Slice.
[ 6.399095] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket.
Starting Create list of required st... nodes for the current kernel...
Starting Load Kernel Modules...
Mounting Debug File System...
Starting Remount Root and Kernel File Systems...
[ 6.542630] Mass Storage Function, version: 2009/09/11
[ 6.548226] LUN: removable file: (no medium)
[ 6.548786] LUN: file: /dev/mmcblk0p1
[ 6.556313] Number of LUNs=1
[ OK [ 6.560345] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
] Listening on udev Control Socket.
[ 6.568298] g_mass_storage gadget: userspace failed to provide iSerialNumber
[ 6.578319] g_mass_storage gadget: g_mass_storage ready
[ OK ] Created slice User and Session Slice.
[ OK ] Reached target Slices.
[ OK ] Reached target Encrypted Volumes.
Starting Journal Service...
[ OK ] Created slice system-serial\x2dgetty.slice.
Mounting POSIX Message Queue File System...
[ 6.702144] 8821cu: loading out-of-tree module taints kernel.
[ OK ] Reached target Remote File Systems (Pre).
[ OK ] Reached target Remote File Systems.
Starting Set console keymap...
[ 6.775695] usbcore: registered new interface driver rtl8821cu
[ OK ] Mounted Debug File System.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Started Create list of required sta...ce nodes for the current kernel.
[ OK ] Started Remount Root and Kernel File Systems.
[ 7.006926] usbcore: registered new interface driver rtl88xxau
Starting Load/Save Random Seed...
Activating swap /mnt/512MB.swap...
Starting udev Coldplug all Devices...
Starting Create Static Device Nodes in /dev...
[ OK ] Started Load Kernel Modules.
[ OK ] Started Set console keymap.
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Journal Service.
[ 7.380818] Adding 524284k swap on /mnt/512MB.swap. Priority:-2 extents:5 across:557052k SS
[ OK ] Activated swap /mnt/512MB.swap.
[ OK ] Started Create Static Device Nodes in /dev.
Starting udev Kernel Device Manager...
[ OK ] Reached target Swap.
Starting Flush Journal to Persistent Storage...
[ OK ] Reached target Local File Systems (Pre).
Starting Apply Kernel Variables...
Mounting Configuration File System...
Mounting FUSE Control File System...
[ OK ] Mounted Configuration File System.
[ OK ] Mounted FUSE Control File System.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Reached target Sound Card.
[ OK ] Found device /dev/mmcblk0p1.
[ OK ] Found device /dev/ttyS0.
Mounting /boot...
[ OK ] Mounted /boot.
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
Starting Set console font and keymap...
Starting Raise network interfaces...
[ OK ] Started Create Volatile Files and Directories.
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Reached target System Time Synchronized.
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Started Daily apt activities.
[ OK ] Reached target Timers.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
Starting Restore /etc/resolv.conf i...re the ppp link was shut down...
Starting LSB: sync_ntp_rtc...
[ OK ] Started D-Bus System Message Bus.
Starting LSB: add swap at first boot...
Starting Permit User Sessions...
Starting Modem Manager...
[ OK ] Started Regular background program processing daemon.
Starting Login Service...
Starting brcm_patchram_plus...
Starting Save/Restore Sound Card State...
Starting Network Manager...
Starting LSB: select system audio output at first boot...
[ OK ] Started Set console font and keymap.
[ OK ] Started Restore /etc/resolv.conf if...fore the ppp link was shut down.
[ OK ] Started LSB: sync_ntp_rtc.
[ OK ] Started LSB: add swap at first boot.
[ OK ] Started Permit User Sessions.
[ OK ] Started brcm_patchram_plus.
[ OK ] Started LSB: select system audio output at first boot.
[ OK ] Started Save/Restore Sound Card State.
[ OK ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
[ OK ] Started Raise network interfaces.
[ OK ] Started Login Service.
[ OK ] Started Network Manager.
Starting Network Manager Script Dispatcher Service...
Starting Network Manager Wait Online...
[ OK ] Reached target Network.
Starting OpenBSD Secure Shell server...
Starting Authenticate and Authorize Users to Run Privileged Tasks...
Starting Set console scheme...
[ OK ] Created slice system-getty.slice.
[ OK ] Started Set console scheme.
[ OK ] Started Network Manager Script Dispatcher Service.
Starting Hostname Service...
[ OK ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[ OK ] Started OpenBSD Secure Shell server.
[ OK ] Started Hostname Service.
[ OK ] Started Modem Manager.
[ OK ] Started Network Manager Wait Online.
[ OK ] Reached target Network is Online.
Starting LSB: Start NTP daemon...
Starting LSB: disk temperature monitoring daemon...
Starting /etc/rc.local Compatibility...
[ OK ] Started LSB: disk temperature monitoring daemon.
[ 13.420770] rc.local[535]: ctp = 0
[ OK ] Started /etc/rc.local Compatibility.
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Reached target Login Prompts.
[ OK ] Started LSB: Start NTP daemon.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.
Ubuntu 16.04.2 LTS NanoPi-NEO-Core ttyS0
NanoPi-NEO-Core login: pi (automatic login)
Last login: Thu Feb 11 16:28:09 UTC 2016 on tty1
_____ _ _ _ _____ _ _____ ____
| ___| __(_) ___ _ __ __| | |_ _| ____| | | ____/ ___|
| |_ | '__| |/ _ \ '_ \ / _` | | | | | _| | | | _|| |
| _|| | | | __/ | | | (_| | | |_| | |___| |___| |__| |___
|_| |_| |_|\___|_| |_|\__,_|_|\__, |_____|_____|_____\____|
|___/
Welcome to Ubuntu 16.04.2 LTS 4.14.111
System load: 1.11 Up time: 16 sec
Memory usage: 8 % of 491Mb IP:
CPU temp: 18°C
Usage of /: 2% of 28G
* Documentation: http://wiki.friendlyarm.com/Ubuntu
* Forum: http://www.friendlyarm.com/Forum/
pi@NanoPi-NEO-Core:~$
其中
DRAM的速度我调成了100M,CPU在EMMC启动下,设置的408M。在SD启动的情况下,设置的1008M
这也证明我的DDR走线是不够好的,下一步优化一下电路板,再来一版硬件