Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Freescale i.MX6 support added
Hi, all
I have commited about adding support i.MX6 processor.
I tested Nitrogen6X evaluation board.
( http://boundarydevices.com/products/nitrogen6x-board-imx6-arm-cortex-a9-sbc/ )
supported devices are on chip Ethernet, GPIO, WDOG, SATA and USB.
Other devices are not yet.
MULTIPROCESSOR works, but not stable.
dmesg is below
===============================================================================
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
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 7.99.1 (NITROGEN6X.MP) #109: Wed Sep 24 16:43:20 JST 2014
ryo@phenomena:/src/cvs/NetBSD/sys/arch/evbarm/compile/NITROGEN6X.MP
total memory = 1024 MB
avail memory = 1007 MB
sysctl_createv: sysctl_create(machine_arch) returned 17
kern.module.path=/stand/evbarm/7.99.1/modules
mainbus0 (root)
cpu0 at mainbus0 core 0: 792 MHz Cortex-A9 r3p10 (Cortex V7A core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB/32B 4-way L1 VIPT Instruction cache
cpu0: 32KB/32B 4-way write-back-locking-C L1 PIPT Data cache
cpu0: 1024KB/32B 16-way write-back-locking-D L2 PIPT Unified cache
vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
cpu1 at mainbus0 core 1
cpu2 at mainbus0 core 2
cpu3 at mainbus0 core 3
armperiph0 at mainbus0
arml2cc0 at armperiph0: ARM PL310 r3p1a L2 Cache Controller (disabled)
arml2cc0: cache enabled
armgic0 at armperiph0: Generic Interrupt Controller, 160 sources (149 valid)
armgic0: 32 Priorities, 128 SPIs, 5 PPIs, 16 SGIs
a9tmr0 at armperiph0: A9 Global 64-bit Timer (396 MHz)
a9tmr0: 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 2.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
imxgpio6 at axi0 addr 0x20b4000 intr 110 irqbase 448: interrupts 448..479
imxiomux0 at axi0 addr 0x20e0000: IOMUX Controller
imxuart0 at axi0 addr 0x2020000 intr 58
imxuart1 at axi0 addr 0x21e8000 intr 59
imxuart1: console
ahcisata0 at axi0 addr 0x2200000 intr 71: AHCI Controller
ahcisata0: AHCI revision 1.30, 1 port, 32 slots, CAP 0x6f26ff80<CCCS,PSC,SSC,PMD,SPM,SAM,ISS=0x2=Gen2,SCLO,SAL,SALP,SSS,SSNTF,SNCQ>
atabus0 at ahcisata0 channel 0
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 00:19:b8:00:f2:f8
micphy0 at enet0 phy 6: Micrel KSZ9021RNI 10/100/1000 PHY, rev. 1
micphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-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=1 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=1 HCI revision=0x100
ehci1: 1 host port
usb1 at ehci1: USB revision 2.0
cpu_boot_secondary_processors: writing mbox with 0xe
cpu_hatch(cpu1): cpu_hatch(cpu2): vectorscpu_hatch(cpu3): vectors vectors vbar=0x80bca920 vbar=0x80bca920 vbar=0x80bca920 stacks stacks tlb tlb stackscpu1 tlb: 792 MHz Cortex-A9 r3p10 (Cortex V7A core)
cpu3cpu2: 792 MHz Cortex-A9 r3p10 (Cortex V7A core)
cpu3: DC enabledcpu1:: 792 MHz Cortex-A9 r3p10 (Cortex V7A core)
IC enabled DC enabled IC enabledcpu2: DC enabled WB disabled IC enabled WB disabled EABT branch prediction enabled
EABT WB disabled EABT branch prediction enabled branch prediction enabled
cpu2: 32KB/32B 4-way L1 VIPT Instruction cache
cpu1: 32KB/32B 4-way L1 VIPT Instruction cache
cpu2: 32KB/32B 4-way write-back-locking-C L1 PIPT Data cache
cpu1: 32KB/32B 4-way write-back-locking-C L1 PIPT Data cache
cpu1: 1024KB/32B 16-way write-back-locking-D L2 PIPT Unified cache
cpu3: 32KB/32B 4-way L1 VIPT Instruction cache
cpu2: 1024KB/32B 16-way write-back-locking-D L2 PIPT Unified cache
cpu3: 32KB/32B 4-way write-back-locking-C L1 PIPT Data cache
vfp vfpcpu3: 1024KB/32B 16-way write-back-locking-D L2 PIPT Unified cache
vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
vfpvfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
interrupts interrupts md(0x80951cf8) done!
md(0x80951cf8) interrupts done!
md(0x80951cf8) done!
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
gpio6 at imxgpio6: 32 pins
uhub0 at usb0: i.MX EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1 at usb1: i.MX EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
WARNING: module error: can't find builtin dependency `iic'
WARNING: module error: can't find builtin dependency `au8522'
WARNING: module error: can't find builtin dependency `iic'
WARNING: module error: can't find builtin dependency `iic'
WARNING: module error: can't find builtin dependency `iic'
WARNING: module error: can't find builtin dependency `iic'
ahcisata0 port 0: device present, speed: 3.0Gb/s
wd0 at atabus0 drive 0
wd0: <WDC WD10EADS-00L5B1>
wd0: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
uhub2 at uhub1 port 1: SMSC product 2513, class 9/0, rev 2.00/b.b3, addr 2
uhub2: multiple transaction translators
boot device: <unknown>
root on wd0a dumps on wd0b
/: replaying log to memory
root file system type: ffs
WARNING: no TOD clock present
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
Tue Sep 16 19:41:46 JST 2014
Starting root file system check:
/dev/rwd0a: file system is journaled; not checking
/: replaying log to disk
Starting file system checks:
Setting tty flags.
Setting sysctl variables:
Starting network.
Hostname: nitro
IPv6 mode: host
Configuring network interfaces: enet0.
Adding interface aliases:.
add net default: gateway fd00::69
Building databases: dev, utmp, utmpx.
Starting syslogd.
Mounting all filesystems...
Clearing temporary files.
Updating fontconfig cache: done.
Creating a.out runtime link editor directory cache.
Checking quotas: done.
swapctl: adding /var/swapfile as swap device at priority 0
Starting virecover.
Checking for core dump...
savecore: /dev/rwd0b: Device not configured
Starting local daemons:.
Updating motd.
Starting sshd.
Starting inetd.
Starting cron.
Tue Sep 16 19:41:58 JST 2014
NetBSD/evbarm (nitro) (console)
login: root
Last login: Tue Sep 16 19:41:14 2014 on console
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
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 7.99.1 (NITROGEN6X.MP) #109: Wed Sep 24 16:43:20 JST 2014
Welcome to NetBSD!
Terminal type is vt100.
We recommend that you create a non-root account and use su(1) for root access.
# uname -a
NetBSD nitro 7.99.1 NetBSD 7.99.1 (NITROGEN6X.MP) #109: Wed Sep 24 16:43:20 JST 2014 ryo@phenomena:/src/cvs/NetBSD/sys/arch/evbarm/compile/NITROGEN6X.MP evbarm
nitro# cpuctl list
Num HwId Unbound LWPs Interrupts Last change #Intr
---- ---- ------------ ---------- ------------------------ -----
0 0 online intr Tue Sep 16 19:41:46 2014 0
1 1 online intr Tue Sep 16 19:41:46 2014 0
2 2 online intr Tue Sep 16 19:41:46 2014 0
3 3 online intr Tue Sep 16 19:41:46 2014 0
nitro# cpuctl identify 3
cpu3: isa features: Swap, Bitcount, Bitfield, CmpBranch, Coproc=0, Debug
cpu3: isa features: Endian, Except, Except_AR, Extend=2, IfThen, Immediate
cpu3: isa features: Interwork=3, Jazelle, LoadStore, MemHint=4
cpu3: isa features: MultAccessInt=0, Mult=2, MultS=3, MultU=2, PSR_AR
cpu3: isa features: Reversal=2, Saturate, SIMD=3, SVC, SynchPrim=2, TabBranch
cpu3: isa features: ThumbCopy, TrueNOP, ThumbEE_Extn, Unpriv=2, WithShifts=4
cpu3: isa features: Writeback, SMC, Barrier
cpu3: memory model: VMSA-Support=3, Outermost-Shareablity=1
cpu3: memory model: Shareability-Levels=0, Auxilary-Registers=1
cpu3: memory model: Branch-Predictor=2, Unified-TLB=3, Mem-Barrier=2
cpu3: memory model: WFI-Stall=1, Cache-Maintenance-MVA=1
cpu3: memory model: Cache-Maintenance-Set/Way=1, BP-Maintenance=1
cpu3: memory model: Maintenance-Broadcast=2, Coherent-Tablewalk=1
cpu3: processor features: ThumbEE=1, Jazelle=3, Thumb=2, ARM=1, Programmer=1
cpu3: processor features: Security=1
cpu3: media and VFP features: ASIMD-Registers=2, Single-Precision=2
cpu3: media and VFP features: Double-Precision=2, Divide=1, Square-Root=1
cpu3: media and VFP features: VFP-Rounding-Modes=1, Flush-To-Zero=1
cpu3: media and VFP features: Default-NaN=1, ASIMD-Load/Store=1
cpu3: media and VFP features: ASIMD-Integer=1, ASIMD-SPFP=1, ASIMD-HPFP=1
cpu3: media and VFP features: VFP-HPFP=1
nitro# top -1|cat
load averages: 0.02, 0.01, 0.00; up 0+00:02:00 19:43:16
10 processes: 8 sleeping, 2 on CPU
CPU0 states: 0.0% user, 0.0% nice, 1.0% system, 0.0% interrupt, 99.0% idle
CPU1 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
CPU2 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
CPU3 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
Memory: 20M Act, 6808K Exec, 9576K File, 975M Free
Swap: 1024M Total, 1024M Free
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
0 root 0 0 0K 8256K CPU/3 0:01 0.00% 0.00% [system]
367 root 43 0 4296K 1680K CPU/0 0:00 0.00% 0.00% top -1
324 root 85 0 8880K 3320K wait/2 0:00 0.00% 0.00% login
298 root 85 0 9904K 2768K select/2 0:00 0.00% 0.00% /usr/sbin/ss
146 root 85 0 6688K 2136K kqueue/2 0:00 0.00% 0.00% /usr/sbin/sy
341 root 85 0 3864K 1520K nanosl/0 0:00 0.00% 0.00% /usr/sbin/cr
282 root 85 0 4048K 1456K kqueue/0 0:00 0.00% 0.00% /usr/sbin/in
1 root 85 0 3928K 1416K wait/2 0:00 0.00% 0.00% init
344 root 85 0 1496K 1184K pause/0 0:00 0.00% 0.00% -csh
41 root 85 0 3672K 1168K pipe_r/0 0:00 0.00% 0.00% cat
===============================================================================
Thanks,
--
ryo shimizu
Home |
Main Index |
Thread Index |
Old Index