Skip to content

Instantly share code, notes, and snippets.

@tetsu-koba
Created February 10, 2018 08:33
Show Gist options
  • Save tetsu-koba/4b537ef9866d331fa01e740567c79878 to your computer and use it in GitHub Desktop.
Save tetsu-koba/4b537ef9866d331fa01e740567c79878 to your computer and use it in GitHub Desktop.
U-Boot SPL 2017.01 (Feb 10 2018 - 07:39:37)
DRAM: 512 MiB
Trying to boot from MMC1
U-Boot 2017.01 (Feb 10 2018 - 07:39:37 +0000) Allwinner Technology
CPU: Allwinner H3 (SUN8I 1680)
Model: FriendlyARM NanoPi NEO
DRAM: 512 MiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: No ethernet found.
starting USB...
USB0: USB EHCI 1.00
USB1: USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
299 bytes read in 14 ms (20.5 KiB/s)
## Executing script at 43100000
reading zImage
3586640 bytes read in 186 ms (18.4 MiB/s)
reading sun8i-h3-nanopi-neo.dtb
13833 bytes read in 25 ms (540 KiB/s)
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
Using Device Tree in place at 43000000, end 43006608
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.10.1 (koba@instance-3) (gcc version 6.4.0 (Buildroot 2017.11.2) ) #1 SMP Sat Feb 10 07:40:32 UTC 2018
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 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: FriendlyARM NanoPi NEO
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: Using PSCI v0.1 Function IDs from DT
[ 0.000000] percpu: Embedded 14 pages/cpu @dffb5000 s24652 r8192 d24500 u57344
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
[ 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: 510688K/524288K available (5120K kernel code, 308K rwdata, 1352K rodata, 1024K init, 266K bss, 13600K 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 : 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 - 0xc0600000 (6112 kB)
[ 0.000000] .init : 0xc0800000 - 0xc0900000 (1024 kB)
[ 0.000000] .data : 0xc0900000 - 0xc094d300 ( 309 kB)
[ 0.000000] .bss : 0xc094f000 - 0xc09918f4 ( 267 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, 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=4.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=4
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] arm_arch_timer: Architected 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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000017] Switching to timer-based delay loop, resolution 41ns
[ 0.000156] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000372] Console: colour dummy device 80x30
[ 0.000405] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000419] pid_max: default: 32768 minimum: 301
[ 0.000523] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000533] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001161] CPU: Testing write buffer coherency: ok
[ 0.001480] /cpus/cpu@0 missing clock-frequency property
[ 0.001495] /cpus/cpu@1 missing clock-frequency property
[ 0.001505] /cpus/cpu@2 missing clock-frequency property
[ 0.001516] /cpus/cpu@3 missing clock-frequency property
[ 0.001527] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.001785] Setting up static identity map for 0x40100000 - 0x40100058
[ 0.002419] smp: Bringing up secondary CPUs ...
[ 0.013077] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.023753] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.034412] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.034468] smp: Brought up 1 node, 4 CPUs
[ 0.034488] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[ 0.034494] CPU: All CPU(s) started in HYP mode.
[ 0.034498] CPU: Virtualization extensions available.
[ 0.035222] devtmpfs: initialized
[ 0.038740] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.038960] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.038981] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.039222] pinctrl core: initialized pinctrl subsystem
[ 0.040094] NET: Registered protocol family 16
[ 0.040443] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.041464] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.041474] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.052240] SCSI subsystem initialized
[ 0.052700] usbcore: registered new interface driver usbfs
[ 0.052758] usbcore: registered new interface driver hub
[ 0.052816] usbcore: registered new device driver usb
[ 0.053013] pps_core: LinuxPPS API ver. 1 registered
[ 0.053020] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.053040] PTP clock support registered
[ 0.053258] Advanced Linux Sound Architecture Driver Initialized.
[ 0.054101] clocksource: Switched to clocksource arch_sys_counter
[ 0.062189] NET: Registered protocol family 2
[ 0.062693] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.062741] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.062803] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.062866] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.062911] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.063086] NET: Registered protocol family 1
[ 0.063463] RPC: Registered named UNIX socket transport module.
[ 0.063475] RPC: Registered udp transport module.
[ 0.063480] RPC: Registered tcp transport module.
[ 0.063485] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.065298] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 0.073317] NFS: Registering the id_resolver key type
[ 0.073351] Key type id_resolver registered
[ 0.073358] Key type id_legacy registered
[ 0.074424] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.074438] io scheduler noop registered
[ 0.074444] io scheduler deadline registered
[ 0.074591] io scheduler cfq registered (default)
[ 0.079509] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.081244] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[ 0.134064] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.136799] console [ttyS0] disabled
[ 0.156981] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 30, base_baud = 1500000) is a U6_16550A
[ 0.762095] console [ttyS0] enabled
[ 0.766103] [drm] Initialized
[ 0.770244] libphy: Fixed MDIO Bus: probed
[ 0.774379] CAN device driver interface
[ 0.778475] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.785013] ehci-platform: EHCI generic platform driver
[ 0.790429] ehci-platform 1c1d000.usb: EHCI Host Controller
[ 0.796042] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 1
[ 0.803929] ehci-platform 1c1d000.usb: irq 24, io mem 0x01c1d000
[ 0.834118] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[ 0.840970] hub 1-0:1.0: USB hub found
[ 0.844770] hub 1-0:1.0: 1 port detected
[ 0.849070] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.855298] ohci-platform: OHCI generic platform driver
[ 0.860685] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[ 0.867326] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 2
[ 0.875158] ohci-platform 1c1d400.usb: irq 25, io mem 0x01c1d400
[ 0.948761] hub 2-0:1.0: USB hub found
[ 0.952540] hub 2-0:1.0: 1 port detected
[ 0.957939] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[ 0.964741] sun6i-rtc 1f00000.rtc: RTC enabled
[ 0.969288] i2c /dev entries driver
[ 0.972979] IR NEC protocol handler initialized
[ 0.977516] IR RC5(x/sz) protocol handler initialized
[ 0.982559] IR RC6 protocol handler initialized
[ 0.987091] IR JVC protocol handler initialized
[ 0.991613] IR Sony protocol handler initialized
[ 0.996232] IR SANYO protocol handler initialized
[ 1.000928] IR Sharp protocol handler initialized
[ 1.005638] IR MCE Keyboard/mouse protocol handler initialized
[ 1.011461] IR XMP protocol handler initialized
[ 1.016486] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.024634] cpu cpu0: failed to get clock: -2
[ 1.029000] cpufreq-dt: probe of cpufreq-dt failed with error -2
[ 1.035843] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[ 1.094122] sunxi-mmc 1c0f000.mmc: base:0xe0875000 irq:23
[ 1.100625] usbcore: registered new interface driver usbhid
[ 1.106231] usbhid: USB HID core driver
[ 1.110976] NET: Registered protocol family 17
[ 1.115483] can: controller area network core (rev 20120528 abi 9)
[ 1.121888] NET: Registered protocol family 29
[ 1.126349] can: raw protocol (rev 20120528)
[ 1.130616] can: broadcast manager protocol (rev 20161123 t)
[ 1.136285] can: netlink gateway (rev 20130117) max_hops=1
[ 1.141980] Key type dns_resolver registered
[ 1.146362] Registering SWP/SWPB emulation handler
[ 1.156098] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 00:36:13 UTC (2173)
[ 1.164582] vcc3v0: disabling
[ 1.167553] vcc5v0: disabling
[ 1.170516] ALSA device list:
[ 1.173477] No soundcards found.
[ 1.177500] Waiting for root device /dev/mmcblk0p2...
[ 1.202836] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.214162] mmc0: new high speed SDHC card at address aaaa
[ 1.220260] mmcblk0: mmc0:aaaa SL08G 7.40 GiB
[ 1.226199] mmcblk0: p1 p2
[ 1.244277] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[ 1.252968] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[ 1.268156] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.276311] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.285375] devtmpfs: mounted
[ 1.289436] Freeing unused kernel memory: 1024K
[ 1.374155] random: fast init done
[ 1.392398] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting logging: OK
Initializing random number generator... done.
Starting network: OK
Welcome to Buildroot for the NanoPi NEO
nanopi-neo login:
# ps
PID USER COMMAND
1 root init
2 root [kthreadd]
3 root [kworker/0:0]
4 root [kworker/0:0H]
5 root [kworker/u8:0]
6 root [ksoftirqd/0]
7 root [rcu_sched]
8 root [rcu_bh]
9 root [migration/0]
10 root [lru-add-drain]
11 root [cpuhp/0]
12 root [cpuhp/1]
13 root [migration/1]
14 root [ksoftirqd/1]
15 root [kworker/1:0]
16 root [kworker/1:0H]
17 root [cpuhp/2]
18 root [migration/2]
19 root [ksoftirqd/2]
20 root [kworker/2:0]
21 root [kworker/2:0H]
22 root [cpuhp/3]
23 root [migration/3]
24 root [ksoftirqd/3]
25 root [kworker/3:0]
26 root [kworker/3:0H]
27 root [kdevtmpfs]
28 root [netns]
29 root [oom_reaper]
30 root [writeback]
31 root [kcompactd0]
32 root [crypto]
33 root [bioset]
34 root [kblockd]
35 root [ata_sff]
36 root [watchdogd]
37 root [rpciod]
38 root [kworker/0:1]
39 root [xprtiod]
40 root [kswapd0]
41 root [vmstat]
42 root [bioset]
43 root [nfsiod]
54 root [irq/23-sunxi-mm]
55 root [kworker/0:2]
56 root [kworker/3:1]
57 root [kworker/2:1]
58 root [kworker/1:1]
59 root [bioset]
60 root [mmcqd/0]
61 root [kworker/0:1H]
62 root [jbd2/mmcblk0p2-]
63 root [ext4-rsv-conver]
75 root /sbin/syslogd -n
78 root /sbin/klogd -n
92 root [kworker/u8:1]
98 root -sh
99 root [kworker/3:1H]
107 root ps
# ps |grep -v '\['
PID USER COMMAND
1 root init
75 root /sbin/syslogd -n
78 root /sbin/klogd -n
98 root -sh
108 root ps
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment