Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: dmesg from Rockchip RK3188+ (Minix Neo X7)



That is great news. I own a Rikomagic MK802 III stick which has a
Rockchip RK3066 processor. It is not unlocked yet, but this might be a
good cantidate to run NetBSD on.

2015-01-04 18:46 GMT+01:00 Jared McNeill <jmcneill%invisible.ca@localhost>:
> Cheap TV STB I picked up on Newegg. PCB is marked "VER3.0" and had TTL pins
> to hook up a serial port.
>
> Seems similar to Radxa Rock Pro except it has an RK3188+ instead of RK3188,
> and uses a USB ethernet controller instead of the one built into the SoC.
>
> Working so far:
>  - SMP (4 cores)
>  - CPU frequency scaling - 600MHz to 1.6GHz
>  - USB (DWC2)
>  - Ethernet (USB Realtek RTL8152B)
>  - MMC
>  - Power Management IC (ACT8846)
>  - I2C
>  - RAM detection (but usage is currently limited to 1GB; board has 2GB)
>
>
> DDR Version 1.04 20130830
> In
> DDR3
> 300MHz
> Bus Width=32 Col=10 Bank=8 Row=15 CS=2 Die Bus-Width=16 Size=2048MB
> Memory OK
> OUT
>
>
> U-Boot 2014.01-g89b5cf5 (Dec 30 2014 - 13:39:38)
>
> ChipVer: 310B20130131V101
> CPU:    RK3188+
> Board:  RK30xx platform Board
> total reserving memory(except stack) is :48m
> DRAM:  2 GiB
> arch_interrupt_init
> DMAInit: OK
> SdmmcInit=0 0
> FwPartOffset=2000 , 0
> storage init OK!
> Using default environment
>
> In:    serial
> Out:   serial
> Err:   serial
> board_late_init
> unsigned!
> SecureBootEn = 0 0
> ##################################################
> uboot version: U-Boot 2014.01-g89b5cf5 (Dec 30 2014 - 13:39:38)
>
> #Boot ver: 0000-00-00#0.00
>
> ##################################################
> setup gpio int
> GetParam
> check parameter success
> partition(uboot): offset=0x00002000, size=0x00002000
> partition(misc): offset=0x00004000, size=0x00002000
> partition(kernel): offset=0x00006000, size=0x00008000
> partition(boot): offset=0x0000E000, size=0x00010000
> empty serial no.
> checkKey
> vbus = 1
> lcd_ctrl_init [38]
> i2c init OVER in board!
> set_lcdc_dclk: lcdc_source_clk = 768, clk = 71, div = 11
> rk30_load_screen for lcdc ok!
> lcd_enable [55]
> In charging!
> SecureBootCheckOK:0
> booti: do_bootm_linux...
>
> Starting kernel ...
>
> @defgprobe the PL310 L2CC
> l
> uboot arg = 0, 0xbfa, 0x60088000, 0x610a6be0
> initarm: cbar=0x1013c000
> KERNEL_BASE=0x80000000, KERNEL_VM_BASE=0xc0000000, KERNEL_VM_BASE -
> KERNEL_BASE=0x40000000, KERNEL_BASE_VOFFSET=0x20000000
> initarm: dropping RAM size from 2048MB to 1024MB
> ram_size = 0x40000000
> bootargs: -s console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init
> initrd=0x62000000,0x004C0000
> mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(misc),0x00008000@0x00006000(kernel),0x00010000@0x0000e000(boot)
> androidboot.bootloader=fastboot fb.addr=0x63c08000 chipver=310B20130131V101
> androidboot.serialno=0123456789
> [ Kernel symbol table missing! ]
> 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.3 (ROCKCHIP) #555: Sun Jan  4 13:21:41 AST 2015
>
> jmcneill@localhost.localdomain:/home/jmcneill/netbsd/src/sys/arch/evbarm/compile/obj/ROCKCHIP
> total memory = 1024 MB
> avail memory = 1008 MB
> sysctl_createv: sysctl_create(machine_arch) returned 17
> mainbus0 (root)
> cpu0 at mainbus0 core 0: 600 MHz Cortex-A9 r4p0 (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: 512KB/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 r3p2 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 (150 MHz)
> a9tmr0: interrupting on irq 27
> a9wdt0 at armperiph0: A9 Watchdog Timer, default period is 12 seconds
> obio0 at mainbus0: On-board I/O
> grf iomux: old 00005554, new 55555554, renew 00005554
> grf iomux: old 00000000, new 00050001, renew 00000001
> grf iomux: old 00001000, new 3c000000, renew 00000000
> grf iomux: old 00000000, new 55555555, renew 00005555
> grf iomux: old 00000001, new a000a000, renew 0000a001
> grf iomux: old 00000006, new f800f800, renew 0000f806
> grf iomux: old 00000000, new ffffaaaa, renew 0000aaaa
> grf iomux: old 00000000, new 003f000a, renew 0000000a
> grf iomux: old 0000f806, new 00030002, renew 0000f806
> grf iomux: old 0000c904, new 000f000f, renew 0000c90f
> gpio: 0x0000a000 0x00000104 -> 0x0000010c
> gpio: 0x0000a004 0x00000104 -> 0x0000010c
> gpio: 0x0003e000 0x00000000 -> 0x80000000
> gpio: 0x0003e004 0x00000000 -> 0x80000000
> gpio: 0x00080000 0x00000000 -> 0x04000000
> gpio: 0x00080004 0x00000000 -> 0x04000000
> gpio: 0x0000a000 0x0000010c -> 0x4000010c
> gpio: 0x0000a004 0x0000010c -> 0x4000010c
> gpio: 0x00080000 0x04000000 -> 0x04000400
> gpio: 0x00080004 0x04000000 -> 0x04000400
> rkiic0 at obio0: addr 0x2002d000-0x2002dfff intr 72 port 0: I2C0
> iic0 at rkiic0: I2C bus
> rkiic1 at obio0: addr 0x2002f000-0x2002ffff intr 73 port 1: I2C1
> iic1 at rkiic1: I2C bus
> act8846pm0 at iic1 addr 0x5a
> act8846pm0: DCDC1: [1.200V] [ON]
> act8846pm0: DCDC2: [1.000V] [ON]
> act8846pm0: DCDC3: [1.000V] [ON]
> act8846pm0: DCDC4: [3.000V] [ON]
> act8846pm0: LDO1: [1.000V] [ON]
> act8846pm0: LDO2: [1.200V] [OFF]
> act8846pm0: LDO3: [1.800V] [OFF]
> act8846pm0: LDO4: [3.300V] [OFF]
> act8846pm0: LDO5: [3.300V] [OFF]
> act8846pm0: LDO6: [3.300V] [OFF]
> act8846pm0: LDO7: [1.800V] [ON]
> act8846pm0: LDO8: [2.800V] [OFF]
> rkiic2 at obio0: addr 0x20056000-0x20057fff intr 74 port 2: I2C2
> iic2 at rkiic2: I2C bus
> rkiic3 at obio0: addr 0x2005a000-0x2005bfff intr 75 port 3: I2C3
> iic3 at rkiic3: I2C bus
> rkiic4 at obio0: addr 0x2005e000-0x2005ffff intr 84 port 4: I2C4
> iic4 at rkiic4: I2C bus
> rktimer0 at obio0: addr 0x20038000-0x20039fff
> : ns16550a, working fifo064000-0x200643ff intr 68 mult 4
> com0: console
> dwctwo0 at obio0: addr 0x10180000-0x101bffff intr 48: USB controller
> dwctwo1 at obio0: addr 0x101c0000-0x101fffff intr 49: USB controller
> dwcmmc0 at obio0: addr 0x10214000-0x10217fff intr 55: SD/MMC controller
> rkemac0 at obio0: addr 0x10204000-0x10207fff intr 51: Ethernet controller
> rkemac0: Ethernet address: f2:00:f2:0a:60:ec
> rkemac0: no PHY found!
> usb0 at dwctwo0: USB revision 2.0
> usb1 at dwctwo1: USB revision 2.0
> cpu3: 600 MHz Cortex-A9 r4p0 (Cortex V7A core)
> cpu3: DC enabled IC enabled WB disabled EABT branch prediction enabled
> cpu3: 32KB/32B 4-way L1 VIPT Instruction cache
> cpu3: 32KB/32B 4-way write-back-locking-C L1 PIPT Data cache
> cpu3: 512KB/32B 16-way write-back-locking-D L2 PIPT Unified cache
> vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
> cpu1: 600 MHz Cortex-A9 r4p0 (Cortex V7A core)
> cpu1: DC enabled IC enabled WB disabled EABT branch prediction enabled
> cpu1: 32KB/32B 4-way L1 VIPT Instruction cache
> cpu1: 32KB/32B 4-way write-back-locking-C L1 PIPT Data cache
> cpu1: 512KB/32B 16-way write-back-locking-D L2 PIPT Unified cache
> vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
> cpu2: 600 MHz Cortex-A9 r4p0 (Cortex V7A core)
> cpu2: DC enabled IC enabled WB disabled EABT branch prediction enabled
> cpu2: 32KB/32B 4-way L1 VIPT Instruction cache
> cpu2: 32KB/32B 4-way write-back-locking-C L1 PIPT Data cache
> cpu2: 512KB/32B 16-way write-back-locking-D L2 PIPT Unified cache
> vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
> sdmmc0 at dwcmmc0
> uhub0 at usb0: vendor 0000 DWC2 root hub, class 9/0, rev 2.00/1.00, addr 1
> uhub1 at usb1: vendor 0000 DWC2 root hub, class 9/0, rev 2.00/1.00, addr 1
> ld0 at sdmmc0: <0x03:0x5344:SU08G:0x80:0x1cda770b:0x0ca>
> ld0: 7580 MB, 3850 cyl, 64 head, 63 sec, 512 bytes/sect x 15523840 sectors
> ld0: 4-bit width, bus clock 48.000 MHz
> uhub2 at uhub1 port 1: SMSC USB 2.0 4-Port Hub, class 9/0, rev 2.00/b.b3,
> addr 2
> uhub2: multiple transaction translators
> cdce0 at uhub2 port 1 configuration 2 interface 0
> cdce0: Realtek USB 10/100 LAN, rev 2.10/20.00, addr 3
> cdce0: address 10:00:00:2c:64:eb
> urtwn0 at uhub2 port 3
> urtwn0: Realtek 802.11n WLAN Adapter, rev 2.00/2.00, addr 4
> urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R, address 80:1f:02:94:40:12
> urtwn0: 1 rx pipe, 2 tx pipes
> urtwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> urtwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
> 24Mbps 36Mbps 48Mbps 54Mbps
> boot device: <unknown>
> root device: ld0a
> dump device (default ld0b):
> file system (default generic):
> root on ld0a dumps on ld0b
> root file system type: ffs
> kern.module.path=/stand/evbarm/7.99.3/modules
> WARNING: no TOD clock present
> WARNING: using filesystem time
> WARNING: CHECK AND RESET THE DATE!
> warning: no /dev/console
> init path (default /sbin/init):
> init: trying /sbin/init
> Kernel RNG "kernel" monobit test FAILURE: 9692 ones
> Kernel RNG "kernel" runs test FAILURE: too many runs of 6 0s (216 > 209)
> cprng kernel: failed statistical RNG test
> Kernel RNG "kernel" poker test failure: parameter X = 1.62560
> cprng kernel: failed statistical RNG test
> Enter pathname of shell or RETURN for /bin/sh:
> Terminal type is vt100.
> We recommend that you create a non-root account and use su(1) for root
> access.
> # ^DMon Dec 29 15:42:54 UTC 2014
> Starting root file system check:
> /dev/rld0a: file system is clean; not checking
> 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: clotho
> IPv6 mode: host
> Configuring network interfaces:.
> Adding interface aliases:.
> Waiting for DAD completion for statically configured addresses...
> Starting wpa_supplicant.
> Starting dhcpcd.
> Building databases: dev, utmp, utmpx.
> Starting syslogd.
> Mounting all file systems...
> Clearing temporary files.
> Creating a.out runtime link editor directory cache.
> Checking quotas: done.
> Setting securelevel: kern.securelevel: 0 -> 1
> Starting virecover.
> Starting local daemons:.
> Updating motd.
> Starting inetd.
> Starting cron.
> Mon Dec 29 15:43:39 UTC 2014
>
> NetBSD/evbarm (clotho) (console)
>
> login: root
> Dec 29 15:43:49 clotho login: ROOT LOGIN (root) on tty console
> Last login: Mon Dec 29 15:38:41 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.3 (ROCKCHIP) #555: Sun Jan 4 13:21:41 AST 2015
>
> Welcome to NetBSD!
>
> This system is running a beta release of the NetBSD operating system, aimed
> at stabilizing the next formal release.  It is close to formal release
> quality,
> but may still contain bugs, even serious ones.  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 this beta NetBSD release.
>
>
> You have new mail.
> Terminal type is vt100.
> We recommend that you create a non-root account and use su(1) for root
> access.
> clotho# sysctl machdep.cpu
> machdep.cpu.frequency.target = 600
> machdep.cpu.frequency.current = 600
> machdep.cpu.frequency.available = 1608 1416 1200 1008 816 600
> clotho# sysctl -w machdep.cpu.frequency.target=1608
> machdep.cpu.frequency.target: 600 -> 1608
> clotho#


Home | Main Index | Thread Index | Old Index