Skip to content

Instantly share code, notes, and snippets.

@ryo
Last active July 27, 2017 01:59
Show Gist options
  • Save ryo/6e76fc5e706ce839920a1fc733e1578c to your computer and use it in GitHub Desktop.
Save ryo/6e76fc5e706ce839920a1fc733e1578c to your computer and use it in GitHub Desktop.
U-Boot dub-2015.04-r4.7 (Sep 13 2016 - 14:52:25)
CPU: Freescale i.MX6UL rev1.1 528 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 53C
Reset cause: WDOG
I2C: ready
DRAM: 256 MiB
MCA: HW_VER=1 FW_VER=0.8
PMIC: PFUZE300 DEV_ID=0x30 REV_ID=0x11
NAND: 256 MiB
MMC: FSL_SDHC: 0
In: serial
Out: serial
Err: serial
ConnectCore 6UL SOM variant 0x02: Industrial Ultralite 528MHz, 256MB NAND, 256MB DDR3, -40/+85C, Wireless, Bluetooth
Board: ConnectCore 6UL StarterBoard, version 2, ID 129
Net: FEC0
Hit any key to stop autoboot: 0
UBI: attaching mtd1 to ubi0
UBI: scanning is finished
UBI: attached mtd1 (name "mtd=3", size 14 MiB) to ubi0
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 112, bad PEBs: 0, corrupted PEBs: 0
UBI: user volume: 0, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 1/1, WL threshold: 4096, image sequence number: 0
UBI: available PEBs: 68, total reserved PEBs: 44, PEBs reserved for bad PEB handling: 40
Error reading superblock on volume 'ubi0:linux' errno=-19!
ubifsmount - mount UBIFS volume
Usage:
ubifsmount <volume-name>
- mount 'volume-name' volume
=> tf
*** Warning: no boot file name; using 'AC1C045E.img'
Using FEC0 device
TFTP from server 172.28.4.40; our IP address is 172.28.4.94
Filename 'AC1C045E.img'.
Load address: 0x80800000
Loading: T T T T #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###########
1.2 MiB/s
done
Bytes transferred = 6838860 (685a4c hex)
=> bootm
hab fuse not enabled
## Booting kernel from Legacy Image at 80800000 ...
Image Name: NetBSD/ 8.99.1
Image Type: ARM NetBSD Kernel Image (uncompressed)
Data Size: 6838796 Bytes = 6.5 MiB
Load Address: 80800000
Entry Point: 80800000
Verifying Checksum ... OK
Loading Kernel Image ... OK
ERROR: booting os 'NetBSD' (2) is not supported
=> go 80800000
## Starting application at 0x80800000 ...
PC=0x80800020
SP=0x8eefbd58
CPSR=0x600001d3
<cortex_init>@</cortex_init>
<mmu_init_table></mmu_init_table>
<arm_cpuinit>FG01H1IJKLM</arm_cpuinit>
jump to start()
uboot arg = 0x1, 0x8ef31e64, 0x8ef31e64, 0x80800000
NetBSD/evbarm (ccimx6ulstarter/00640001) booting ...
initarm: Configuring system, CLIDR=1210000043 CTR=0x84448003
arm32_bootmem_init: memstart=0x80000000, memsize=0x10000000, kernelstart=0x80800000
arm32_bootmem_init: kernelend=0x80eb2000
arm32_bootmem_init: adding 30887 free pages: [0x80eb2000..0x8fffffff] (VA 0x80eb2000)
arm32_bootmem_init: adding 1024 free pages: [0x80000000..0x807fffff] (VA 0x80000000)
arm32_kernel_vm_init: 1 L2 pages are needed to map 0x6e6000 kernel bytes
arm32_kernel_vm_init: allocating page tables for kerneladd_pages: adding pv 0x80e8615c (pa 0x80eb2000, va 0x80eb2000, 1 pages) at tail
vmadd_pages: appending pv 0x80e87250 (0x80eb4000..0x80eb7fff) to 0x80eb2000..0x80eb3fff
add_pages: appending pv 0x80e86408 (0x80eb8000..0x80eb9fff) to 0x80eb2000..0x80eb7fff
add_pages: appending pv 0x80e8641c (0x80eba000..0x80ebbfff) to 0x80eb2000..0x80eb9fff
add_pages: appending pv 0x80e86430 (0x80ebc000..0x80ebdfff) to 0x80eb2000..0x80ebbfff
add_pages: appending pv 0x80e86444 (0x80ebe000..0x80ebffff) to 0x80eb2000..0x80ebdfff
add_pages: appending pv 0x80e86458 (0x80ec0000..0x80ec1fff) to 0x80eb2000..0x80ebffff
add_pages: appending pv 0x80e8646c (0x80ec2000..0x80ec3fff) to 0x80eb2000..0x80ec1fff
add_pages: appending pv 0x80e86480 (0x80ec4000..0x80ec5fff) to 0x80eb2000..0x80ec3fff
add_pages: appending pv 0x80e86494 (0x80ec6000..0x80ec7fff) to 0x80eb2000..0x80ec5fff
arm32_kernel_vm_init: allocating stacks
add_pages: appending pv 0x80e86998 (0x80ec8000..0x80ec9fff) to 0x80eb2000..0x80ec7fff
add_pages: appending pv 0x80e86984 (0x80eca000..0x80ecbfff) to 0x80eb2000..0x80ec9fff
add_pages: appending pv 0x80e86970 (0x80ecc000..0x80ecdfff) to 0x80eb2000..0x80ecbfff
add_pages: appending pv 0x80e8695c (0x80ece000..0x80ecffff) to 0x80eb2000..0x80ecdfff
add_pages: appending pv 0x80e86948 (0x80ed0000..0x80ed1fff) to 0x80eb2000..0x80ecffff
add_pages: appending pv 0x80e869ac (0x80ed2000..0x80ed3fff) to 0x80eb2000..0x80ed1fff
add_pages: appending pv 0x80e861a0 (0x80ed4000..0x80ed7fff) to 0x80eb2000..0x80ed3fff
Creating L1 page table at 0x80eb4000
arm32_kernel_vm_init: adding L2 pt (VA 0x80eb2000, PA 0x80eb2000) for VA 0x80800000 (kernel)
arm32_kernel_vm_init: adding L2 pt (VA 0x80eb8000, PA 0x80eb8000) for VA 0xc0000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80eba000, PA 0x80eba000) for VA 0xc0800000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80ebc000, PA 0x80ebc000) for VA 0xc1000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80ebe000, PA 0x80ebe000) for VA 0xc1800000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80ec0000, PA 0x80ec0000) for VA 0xc2000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80ec2000, PA 0x80ec2000) for VA 0xc2800000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80ec4000, PA 0x80ec4000) for VA 0xc3000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80ec6000, PA 0x80ec6000) for VA 0xc3800000 (vm)
Mapping kernel
arm32_kernel_vm_init: adding chunk for kernel text 0x80800000..0x80cfdfff (VA 0x80800000)
add_pages: adding pv 0x80e86148 (pa 0x80800000, va 0x80800000, 639 pages) before pa 0x80eb2000
arm32_kernel_vm_init: adding chunk for kernel data/bss 0x80cfe000..0x80eb1fff (VA 0x80cfe000)
add_pages: adding pv 0x80e86134 (pa 0x80cfe000, va 0x80cfe000, 218 pages) before pa 0x80eb2000
Listing Chunks
arm32_kernel_vm_init: pv 0x80e86148: chunk VA 0x80800000..0x80cfdfff (PA 0x80800000, prot 7, cache 1)
arm32_kernel_vm_init: pv 0x80e86134: chunk VA 0x80cfe000..0x80eb1fff (PA 0x80cfe000, prot 3, cache 1)
arm32_kernel_vm_init: pv 0x80e8615c: chunk VA 0x80eb2000..0x80ed7fff (PA 0x80eb2000, prot 3, cache 1)
Mapping Chunks
arm32_kernel_vm_init: mapping chunk VA 0x80800000..0x80cfdfff (PA 0x80800000, prot 7, cache 1)
pmap_map_chunk: pa=0x80800000 va=0x80800000 size=0x4fe000 resid=0x4fe000 prot=0x7 cache=1
SSSSLLLLLLLLLLLLLLLPPPPPPP
arm32_kernel_vm_init: mapping chunk VA 0x80cfe000..0x80eb1fff (PA 0x80cfe000, prot 3, cache 1)
pmap_map_chunk: pa=0x80cfe000 va=0x80cfe000 size=0x1b4000 resid=0x1b4000 prot=0x3 cache=1
PSLLLLLLLLLLLP
arm32_kernel_vm_init: mapping last chunk VA 0x80eb2000..0x80ed7fff (PA 0x80eb2000, prot 3, cache 1)
pmap_map_chunk: pa=0x80eb2000 va=0x80eb2000 size=0x26000 resid=0x26000 prot=0x3 cache=1
PPPPPPPLPPPP
devmap: 02000000 -> 021fffff @ ff000000
pmap_map_chunk: pa=0x2000000 va=0xff000000 size=0x200000 resid=0x200000 prot=0x3 cache=0
SS
devmap: 00a00000 -> 00afffff @ ff200000
pmap_map_chunk: pa=0xa00000 va=0xff200000 size=0x100000 resid=0x100000 prot=0x3 cache=0
S
Physical Virtual Num
Starting Ending Starting Ending Pages
SDRAM: 0x80000000 0x8fffffff 0x80000000 0x8fffffff 32768
text section: 0x80800000 0x80cfdfff 0x80800000 0x80cfdfff 639
data section: 0x80d80000 0x80e85a10 0x80d80000 0x80e85a10 131
bss section: 0x80e85a10 0x80eb02a8 0x80e85a10 0x80eb02a8 23
L1 page directory: 0x80eb4000 0x80eb7fff 0x80eb4000 0x80eb7fff 2
ABT stack (CPU 0): 0x80ec8000 0x80ec9fff 0x80ec8000 0x80ec9fff 1
FIQ stack (CPU 0): 0x80eca000 0x80ecbfff 0x80eca000 0x80ecbfff 1
IRQ stack (CPU 0): 0x80ecc000 0x80ecdfff 0x80ecc000 0x80ecdfff 1
UND stack (CPU 0): 0x80ece000 0x80ecffff 0x80ece000 0x80ecffff 1
IDLE stack (CPU 0): 0x80ed0000 0x80ed1fff 0x80ed0000 0x80ed1fff 1
SVC stack: 0x80ed2000 0x80ed3fff 0x80ed2000 0x80ed3fff 1
Message Buffer: 0x80ed4000 0x80ed7fff 0x80ed4000 0x80ed7fff 2
Free Memory: 0x80ed8000 0x8fffffff 30868
Free Memory: 0x80000000 0x807fffff 1024
TTBR0=0x8fffc05b TTBR1=0x8fffc05b TTBCR=0x1 CONTEXTIDR=0
switching to new L1 page table @0x80eb4000... ttb (TTBCR=0x11 TTBR0=0x80eb405b TTBR1=0x80eb405b) OK
nfreeblocks = 2, free_pages = 31892 (0x7c94)
bootstrap done.
vectors vbar=0x80815580 0x80815580
init subsystems: stacks vectors undefined page pmap_physload pmap kpm tlb0 locks l1pt cache(l1pt) specials pools [ Kernel symbol table missing! ]
done.
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 8.99.1 (IMX6UL) #13: Thu Jun 8 17:28:04 JST 2017
ryo@moveq:/usr/src/sys/arch/evbarm/compile/IMX6UL
total memory = 256 MB
avail memory = 246 MB
sysctl_createv: sysctl_create(machine_arch) returned 17
running cgd selftest aes-xts-256 aes-xts-512 done
mainbus0 (root)
cpu0 at mainbus0 core 0: 792 MHz Cortex-A7 r0p5 (Cortex V7A core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB/32B 2-way L1 VIPT Instruction cache
cpu0: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
cpu0: 128KB/64B 8-way write-through L2 PIPT Unified cache
vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
armperiph0 at mainbus0
armgic0 at armperiph0: Generic Interrupt Controller, 160 sources (151 valid)
armgic0: 32 Priorities, 128 SPIs, 7 PPIs, 16 SGIs
armgtmr0 at armperiph0: ARMv7 Generic 64-bit Timer (8000 kHz)
armgtmr0: interrupting on irq 27
axi0 at mainbus0: Advanced eXtensible Interface
imxccm0 at axi0 addr 0x20c4000: Clock Control Module
imxocotp0 at axi0 addr 0x21bc000: On-Chip OTP Controller
imxocotp0: OCOTP_VERSION 6.0.0
imxgpio0 at axi0 addr 0x209c000 intr 98 irqbase 256: interrupts 256..287
imxgpio1 at axi0 addr 0x20a0000 intr 100 irqbase 288: interrupts 288..319
imxgpio2 at axi0 addr 0x20a4000 intr 102 irqbase 320: interrupts 320..351
imxgpio3 at axi0 addr 0x20a8000 intr 104 irqbase 352: interrupts 352..383
imxgpio4 at axi0 addr 0x20ac000 intr 106 irqbase 384: interrupts 384..415
imxgpio5 at axi0 addr 0x20b0000 intr 108 irqbase 416: interrupts 416..447
imxiomux0 at axi0 addr 0x20e0000: IOMUX Controller
imxuart4 at axi0 addr 0x21f4000 intr 62
imxuart4: console
imxwdog0 at axi0 addr 0x20bc000 intr 112: i.MX Watchdog Timer, default period is 10 seconds
enet0 at axi0 addr 0x2188000 intr 150: Gigabit Ethernet Controller
enet0: Ethernet address 02:30:b0:21:05:a2
ukphy0 at enet0 phy 0: OUI 0x00800f, model 0x000f, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
imxusbc0 at axi0 addr 0x2184000: Universal Serial Bus Controller
ehci0 at imxusbc0 unit 0 intr 75: i.MX USB Controller
ehci0: id=5 revision=161 HCI revision=0x100
ehci0: 1 host port, device capable, 8 endpoints
usb0 at ehci0: USB revision 2.0
ehci1 at imxusbc0 unit 1 intr 72: i.MX USB Controller
ehci1: id=5 revision=161 HCI revision=0x100
ehci1: 1 host port, device capable, 8 endpoints
usb1 at ehci1: USB revision 2.0
imxsnvs0 at axi0 addr 0x20cc000: Secure Non-Volatile Storage
gpio0 at imxgpio0: 32 pins
gpio1 at imxgpio1: 32 pins
gpio2 at imxgpio2: 32 pins
gpio3 at imxgpio3: 32 pins
gpio4 at imxgpio4: 32 pins
gpio5 at imxgpio5: 32 pins
uhub0 at usb0: i.MX (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
uhub1 at usb1: i.MX (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
boot device: <unknown>
root device:
use one of: enet0 ddb halt reboot
root device: enet0
dump device:
file system (default generic):
root on enet0
nfs_boot: trying static
nfs_boot: client_addr=172.28.4.94
nfs_boot: gateway=172.28.4.40
nfs_boot: netmask=255.255.0.0
nfs_boot: server=172.28.4.40
nfs_boot: root=172.28.4.40:/src/boot/imx6ul
root on 172.28.4.40:/src/boot/imx6ul
root file system type: nfs
kern.module.path=/stand/evbarm/8.99.1/modules
init path (default /sbin/init):
init: trying /sbin/init
Thu Jun 8 07:02:46 UTC 2017
Not checking /: fs_passno = 0 in /etc/fstab
Starting file system checks:
random_seed: /var/db/entropy-file: Not present
Setting tty flags.
Setting sysctl variables:
ddb.onpanic: 1 -> 0
Starting network.
Hostname: imx6ul
IPv6 mode: host
Configuring network interfaces: enet0.
Adding interface aliases:.
Waiting for DAD to complete for statically configured addresses...
Building databases: dev, utmp, utmpx.
Starting syslogd.
Mounting all file systems...
Clearing temporary files.
Updating fontconfig cache: done.
Creating a.out runtime link editor directory cache.
Checking quotas: done.
/etc/rc: WARNING: No swap space configured!
/etc/rc.d/swap2 exited with code 1
Starting virecover.
Checking for core dump...
savecore: no core dump (no dumpdev)
Starting local daemons:.
Updating motd.
Starting inetd.
Starting cron.
The following components reported failures:
/etc/rc.d/swap2
See /var/run/rc.log for more information.
Thu Jun 8 07:03:20 UTC 2017
NetBSD/evbarm (imx6ul) (console)
login: root
Jun 8 07:03:24 imx6ul login: ROOT LOGIN (root) on tty console
Last login: Thu Jun 8 07:00:16 2017 on console
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 8.99.1 (IMX6UL) #13: Thu Jun 8 17:28:04 JST 2017
Welcome to NetBSD!
This system is running a development snapshot of the NetBSD operating system,
also known as NetBSD-current. It is very possible that it has serious bugs,
regressions, broken features or other problems. Please bear this in mind
and use the system with care.
You are encouraged to test this version as thoroughly as possible. Should you
encounter any problem, please report it back to the development team using the
send-pr(1) utility (requires a working MTA). If yours is not properly set up,
use the web interface at: http://www.NetBSD.org/support/send-pr.html
Thank you for helping us test and improve NetBSD.
We recommend that you create a non-root account and use su(1) for root access.
imx6ul# uname -a
NetBSD imx6ul 8.99.1 NetBSD 8.99.1 (IMX6UL) #13: Thu Jun 8 17:28:04 JST 2017 ryo@moveq:/usr/src/sys/arch/evbarm/compile/IMX6UL evbarm
imx6ul# ifconfig
lo0: flags=0x8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33180
inet6 ::1/128 flags 0x20<NODAD>
inet6 fe80::1%lo0/64 flags 0x0 scopeid 0x1
inet 127.0.0.1/8 flags 0x0
enet0: flags=0x8a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
capabilities=3ff00<IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx>
capabilities=3ff00<UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx,TCP6CSUM_Tx>
capabilities=3ff00<UDP6CSUM_Rx,UDP6CSUM_Tx>
enabled=0
ec_capabilities=1<VLAN_MTU>
ec_enabled=0
address: 02:30:b0:21:05:a2
media: Ethernet 100baseTX
status: active
inet6 fe80::30:b0ff:fe21:5a2%enet0/64 flags 0x0 scopeid 0x2
inet 172.28.4.94/16 broadcast 172.28.255.255 flags 0x0
imx6ul# sysctl machdep
machdep.debug = 0
machdep.powersave = 1
machdep.cpu_arch = 7A
machdep.cpu_id = 1091551349
machdep.fpu_id = 1090662517
machdep.fpu_present = 1
machdep.hwdiv_present = 1
machdep.neon_present = 1
machdep.simd_present = 1
machdep.simdex_present = 1
machdep.synchprim_present = 32
machdep.printfataltraps = 0
machdep.unaligned_sigbus = 0
machdep.kmpages = 1010
machdep.imx6.frequency.pll.arm = 792000000
machdep.imx6.frequency.pll.system = 528000000
machdep.imx6.frequency.pll.usb1 = 480000000
machdep.imx6.frequency.pll.usb2 = 480000000
machdep.imx6.frequency.pll.audio = 36000000
machdep.imx6.frequency.pll.video = 72000000
machdep.imx6.frequency.pll.enet = 50000000
machdep.imx6.frequency.arm = 396000000
machdep.imx6.frequency.peripheral = 396000000
machdep.imx6.frequency.ipg = 66000000
machdep.imx6.frequency.axi = 198000000
imx6ul# cpuctl identify 0
cpu0: isa features: Swap, Bitcount, Bitfield, CmpBranch, Coproc=0, Debug
cpu0: isa features: Divde=2, Endian, Except, Except_AR, Extend=2, IfThen
cpu0: isa features: Immediate, Interwork=3, Jazelle, LoadStore, MemHint=4
cpu0: isa features: MultAccessInt=0, Mult=2, MultS=3, MultU=2, PSR_AR
cpu0: isa features: Reversal=2, Saturate, SIMD=3, SVC, SynchPrim=2, TabBranch
cpu0: isa features: ThumbCopy, TrueNOP, ThumbEE_Extn, Unpriv=2, WithShifts=4
cpu0: isa features: Writeback, SMC, Barrier, SynchPrim_frac, PSR_M, SWP
cpu0: memory model: VMSA-Support=5, Outermost-Shareablity=1
cpu0: memory model: Shareability-Levels=1, Auxilary-Registers=1
cpu0: memory model: Innermost-Shareability=1, Branch-Predictor=4
cpu0: memory model: Unified-TLB=4, Mem-Barrier=2, WFI-Stall=1
cpu0: memory model: Cache-Maintenance-MVA=1, Cache-Maintenance-Set/Way=1
cpu0: memory model: BP-Maintenance=2, Maintenance-Broadcast=2
cpu0: memory model: Coherent-Tablewalk=1, Cached-Memory-Size=2
cpu0: processor features: ThumbEE=1, Jazelle=3, Thumb=1, ARM=1, Programmer=1
cpu0: processor features: Security=1, M-profile=0, Virtualization=1
cpu0: processor features: Generic-Timer=1
cpu0: media and VFP features: ASIMD-Registers=2, Single-Precision=2
cpu0: media and VFP features: Double-Precision=2, Divide=1, Square-Root=1
cpu0: media and VFP features: VFP-Rounding-Modes=1, Flush-To-Zero=1
cpu0: media and VFP features: Default-NaN=1, ASIMD-Load/Store=1
cpu0: media and VFP features: ASIMD-Integer=1, ASIMD-SPFP=1, ASIMD-HPFP=1
cpu0: media and VFP features: VFP-HPFP=1, ASIMD-FMAC=1
imx6ul#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment