Port-arm archive

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

Radxa Rock (Rockchip rk3188)



Hi,

I have been working on a Radxa Rock (http://radxa.com/).

Radxa Rock is a Rockchip RK3188 based Single Board Computer. 
It has a quad core ARM processor and many peripherals. 
But, my code only supports uni-processer and minimal devices.

If you want to get a Radxa Rock and write the device driver, 
you contact to Fukaumi-san (fun%naobsd.org@localhost). 
I was offered a Radxa to Fukaumi-san, too.

source: 
 https://github.com/adukot/port-rockchip

dmesg:


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-00635-g265c80e-dirty (Sep 26 2014 - 10:38:31)

CPU:    RK3188
Board:  RK30xx platform Board
total reserving memory(except stack) is :48m
DRAM:  1 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-00635-g265c80e-dirty (Sep 26 2014 - 10:38:31)

#Boot ver: 0000-00-00#0.00

##################################################
setup gpio int
GetParam
check parameter success
partition(misc): offset=0x00002000, size=0x00002000
partition(kernel): offset=0x00004000, size=0x00008000
partition(boot): offset=0x0000C000, size=0x00008000
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!
bad image magic.
load boot image failed
ERROR: [do_booti]: booti: bad boot or kernel image
Unable to boot:boot
try to start recovery
ERROR: [fastboot_find_ptn]: partition(recovery) not found, aborting
table:
'recovery' does not seem to be a partition nor an address
Unable to boot:recovery
try to start backup
ERROR: [fastboot_find_ptn]: partition(backup) not found, aborting
table:
'backup' does not seem to be a partition nor an address
Unable to boot:backup
try to start rockusb
startRockusb,292237
powerOn,796307
analyze parameter
END ===== 20899541
UsbBootLinux: do_bootm_linux...

Starting kernel ...

@ABC12-DFG01H1IJKLMZ
@defgprobe the PL310 L2CC
bst 809e7758, bsh feb38000, size 0 cfg 0
l
uboot arg = 0, 0, 0, 0

NetBSD/evbarm (radxa) booting ...
initarm: Configuring system ...
initarm: cbar=0x1013c000
KERNEL_BASE=0x80000000, KERNEL_VM_BASE=0xc0000000, KERNEL_VM_BASE - KERNEL_BASE=0x40000000, KERNEL_BASE_VOFFSET=0x20000000
ram_size = 0x40000000
arm32_bootmem_init: memstart=0x60000000, memsize=0x40000000, kernelstart=0x60408000
arm32_bootmem_init: kernelend=0x60a46000
arm32_bootmem_init: adding 129757 free pages: [0x60a46000..0x9fffffff] (VA 0x80a46000)
arm32_bootmem_init: adding 516 free pages: [0x60000000..0x60407fff] (VA 0x80000000)
arm32_kernel_vm_init: 0 L2 pages are needed to map 0xa78000 kernel bytes
arm32_kernel_vm_init: allocating page tables for kernel vmadd_pages: adding pv 0x80a2b690 (pa 0x60a46000, va 0x80a46000, 1 pages) at tail
add_pages: appending pv 0x80a34650 (0x60a48000..0x60a4bfff) to 0x60a46000..0x60a47fff
add_pages: appending pv 0x80a2b86c (0x60a4c000..0x60a4dfff) to 0x60a46000..0x60a4bfff
add_pages: appending pv 0x80a2b880 (0x60a4e000..0x60a4ffff) to 0x60a46000..0x60a4dfff
add_pages: appending pv 0x80a2b894 (0x60a50000..0x60a51fff) to 0x60a46000..0x60a4ffff
add_pages: appending pv 0x80a2b8a8 (0x60a52000..0x60a53fff) to 0x60a46000..0x60a51fff
add_pages: appending pv 0x80a2b8bc (0x60a54000..0x60a55fff) to 0x60a46000..0x60a53fff
add_pages: appending pv 0x80a2b8d0 (0x60a56000..0x60a57fff) to 0x60a46000..0x60a55fff
add_pages: appending pv 0x80a2b8e4 (0x60a58000..0x60a59fff) to 0x60a46000..0x60a57fff
arm32_kernel_vm_init: allocating stacks
add_pages: appending pv 0x80a2bb9c (0x60a5a000..0x60a5bfff) to 0x60a46000..0x60a59fff
add_pages: appending pv 0x80a2bb88 (0x60a5c000..0x60a5dfff) to 0x60a46000..0x60a5bfff
add_pages: appending pv 0x80a2bb74 (0x60a5e000..0x60a5ffff) to 0x60a46000..0x60a5dfff
add_pages: appending pv 0x80a2bb60 (0x60a60000..0x60a61fff) to 0x60a46000..0x60a5ffff
add_pages: appending pv 0x80a2bb4c (0x60a62000..0x60a63fff) to 0x60a46000..0x60a61fff
add_pages: appending pv 0x80a2bbb0 (0x60a64000..0x60a65fff) to 0x60a46000..0x60a63fff
add_pages: appending pv 0x80a2b6d0 (0x60a66000..0x60a69fff) to 0x60a46000..0x60a65fff
Creating L1 page table at 0x60a48000
arm32_kernel_vm_init: adding L2 pt (VA 0x80a46000, PA 0x60a46000) for VA 0xc0000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80a4c000, PA 0x60a4c000) for VA 0xc0800000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80a4e000, PA 0x60a4e000) for VA 0xc1000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80a50000, PA 0x60a50000) for VA 0xc1800000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80a52000, PA 0x60a52000) for VA 0xc2000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80a54000, PA 0x60a54000) for VA 0xc2800000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80a56000, PA 0x60a56000) for VA 0xc3000000 (vm)
arm32_kernel_vm_init: adding L2 pt (VA 0x80a58000, PA 0x60a58000) for VA 0xc3800000 (vm)
Mapping kernel
arm32_kernel_vm_init: adding chunk for kernel text 0x60408000..0x605d5fff (VA 0x80408000)
add_pages: adding pv 0x80a2b67c (pa 0x60408000, va 0x80408000, 231 pages) before pa 0x60a46000
arm32_kernel_vm_init: adding chunk for kernel data/bss 0x605d6000..0x60a45fff (VA 0x805d6000)
add_pages: appending pv 0x80a2b6f8 (0x605d6000..0x60a45fff) to 0x60408000..0x605d5fff
add_pages: merging pv 0x80a2b690 (0x60a46000..0x60a69fff) to 0x60408000..0x60a45fff
Listing Chunks
arm32_kernel_vm_init: pv 0x80a2b67c: chunk VA 0x80408000..0x80a69fff (PA 0x60408000, prot 3, cache 1)

Mapping Chunks
arm32_kernel_vm_init: mapping last chunk VA 0x80000000..0xbfffffff (PA 0x60000000, prot 3, cache 1)
pmap_map_chunk: pa=0x60000000 va=0x80000000 size=0x40000000 resid=0x40000000 prot=0x3 cache=1
sSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsS
devmap: 10000000 -> 102fffff @ fea00000
pmap_map_chunk: pa=0x10000000 va=0xfea00000 size=0x300000 resid=0x300000 prot=0x3 cache=0
SSS
devmap: 20000000 -> 200fffff @ fed00000
pmap_map_chunk: pa=0x20000000 va=0xfed00000 size=0x100000 resid=0x100000 prot=0x3 cache=0
S
                             Physical              Virtual        Num
                       Starting    Ending    Starting    Ending   Pages
               SDRAM: 0x60000000 0x9fffffff 0x80000000 0xbfffffff 131072
        text section: 0x60408000 0x605d5fff 0x80408000 0x805d5fff 231
        data section: 0x605e0000 0x60a2af80 0x805e0000 0x80a2af80 550
         bss section: 0x60a2af80 0x60a44a30 0x80a2af80 0x80a44a30 14
   L1 page directory: 0x60a48000 0x60a4bfff 0x80a48000 0x80a4bfff 2
   ABT stack (CPU 0): 0x60a5a000 0x60a5bfff 0x80a5a000 0x80a5bfff 1
   FIQ stack (CPU 0): 0x60a5c000 0x60a5dfff 0x80a5c000 0x80a5dfff 1
   IRQ stack (CPU 0): 0x60a5e000 0x60a5ffff 0x80a5e000 0x80a5ffff 1
   UND stack (CPU 0): 0x60a60000 0x60a61fff 0x80a60000 0x80a61fff 1
  IDLE stack (CPU 0): 0x60a62000 0x60a63fff 0x80a62000 0x80a63fff 1
           SVC stack: 0x60a64000 0x60a65fff 0x80a64000 0x80a65fff 1
      Message Buffer: 0x60a66000 0x60a69fff 0x80a66000 0x80a69fff 2
         Free Memory: 0x60a6a000 0x9fffffff                       129739
         Free Memory: 0x60000000 0x60407fff                       516
TTBR0=0x67ffc05b TTBR1=0x67ffc05b TTBCR=0x1 CONTEXTIDR=0
switching to new L1 page table @0x60a48000... ttb (TTBCR=0x11 TTBR0=0x60a4805b TTBR1=0x60a4805b) OK
nfreeblocks = 2, free_pages = 130255 (0x1fccf)
bootstrap done.
vectors vbar=0x80538440 0x80538440
init subsystems: stacks vectors undefined page pmap_physload pmap kpm tlb0 locks l1pt cache(l1pt) specials pools [ Kernel symbol table missing! ]
done.
Loaded initial symtab at 0x809e8408, strtab at 0x80a08848, # entries 8242
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 (RADXA_INSTALL) #2: Mon Sep 29 18:43:56 UTC 2014
        root@aug:/usr/obj/sys/arch/evbarm/compile/RADXA_INSTALL
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: 1600 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: 64KB/32B 8-way write-through L2 PIPT Unified cache
vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
armperiph0 at mainbus0: mapping registers at 0x1013c000
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 (800 MHz)
a9tmr0: interrupting on irq 27
a9wdt0 at armperiph0: A9 Watchdog Timer, default period is 12 seconds
obio0 at mainbus0: On-board I/O
com0 at obio0 addr 0x20064000-0x200643ff intr 68  mult 4
: ns16550a, working fifo
com0: console
rn_init: radix functions require max_keylen be set
boot device: <unknown>
root on md0a dumps on md0b
mountroot: trying ffs...
root file system type: ffs
WARNING: no TOD clock present
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
init: copying out path `/sbin/init' 11
erase ^?, werase ^W, kill ^U, intr ^C

WARNING: module error: vfs load failed for `kernfs', error 2
mount_kernfs: kernfs on /kern: Operation not supported by device
# ls -al
total 4380
drwxr-xr-x  14 root  wheel      512 Aug 30 12:53 .
drwxr-xr-x  14 root  wheel      512 Aug 30 12:53 ..
-r--r--r--   1 root  wheel     2407 Aug 30 12:53 .profile
drwxr-xr-x   2 root  wheel      512 Aug 30 12:53 bin
drwxr-xr-x   2 root  wheel     9216 Aug 30 12:53 dev
drwxr-xr-x   2 root  wheel      512 Aug 30 12:53 etc
drwxr-xr-x   2 root  wheel      512 Aug 30 12:53 kern
drwxr-xr-x   3 root  wheel      512 Aug 30 12:53 libexec
drwxr-xr-x   2 root  wheel      512 Aug 30 12:53 mnt
drwxr-xr-x   2 root  wheel      512 Aug 30 12:53 mnt2
drwxr-xr-x   2 root  wheel     1024 Aug 30 12:53 sbin
-r-xr-xr-x  66 root  wheel  2083928 Aug 30 12:53 sysinst
-r--r--r--   1 root  wheel    34583 Aug 30 12:53 sysinstmsgs.de
-r--r--r--   1 root  wheel    33824 Aug 30 12:53 sysinstmsgs.es
-r--r--r--   1 root  wheel    34732 Aug 30 12:53 sysinstmsgs.fr
-r--r--r--   1 root  wheel    30707 Aug 30 12:53 sysinstmsgs.pl
drwxr-xr-x   2 root  wheel      512 Aug 30 12:53 targetroot
drwxrwxrwt   2 root  wheel      512 Aug 30 12:53 tmp
drwxr-xr-x   6 root  wheel      512 Aug 30 12:53 usr
drwxr-xr-x   6 root  wheel      512 Aug 30 12:53 var
# pwd
/
# uname -a
uname: not found
# ls bin
cat   chmod dd    ed    ls    mv    pwd   rmdir stty
chgrp cp    df    ln    mkdir pax   rm    sh    sync
#




Home | Main Index | Thread Index | Old Index