Rockchip RK3188 Linux Source Code is Now Available

Good news! I’ve just read Rockchip RK3188 Linux source code has just been released via Rikomagic, and Alok Sinha, the main maintainer of RK3066 source code, has already imported into github, and we should soon see a PicUntu image for RK3188 mini PCs.

RK3188_menuconfig

Let’s have a look:


[Update: you may have to run “sudo apt-get install libc6-i386” before running make_kernel_ruikemei.sh below, as mkkrnlimg is a 32-bit binary]

Usually, I immediately look into arch/arm/configs, but this time, there’s a “funny” script called make_kernel_ruikemei.sh, and .config already have some CONFIG_RK3188, so let’s run it:


After just over a minute, success!:


This kernel image is for Android only, and there’s a little work to modify it as a “pure” Linux kernel, so that it can be used to boot PicUnutu for RK3188.

Let’s go back to arch/arm/configs, and we’ll find several RK3188 configs:

  • rk3168_86v_defconfig
  • rk3188_dongle_defconfig
  • rk3188_ds1006h_defconfig
  • rk3188_ds1006h_v1_0_defconfig
  • rk3188_hotdog_defconfig
  • rk3188_LR097_defconfig
  • rk3188_magicwand_defconfig
  • rk3188_steak_defconfig

However, in arch/arm/mach, there are only board files for rk3188-box and rk3188-ds1006h.

25
Leave a Reply

avatar
25 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
12 Comment authors
marshalldhruvstefanthehidCrystal Board Combines Rockchip RK3188 ARM SoC with Xilinx FPGA and Arduino Compatible Board (Crowdfunding) Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
trackback

[…] tutto su github. I sorgenti sono online solo da poche ore, ma è già disponibile una prima immagine di PicUntu per Mini PC […]

inter1965
Guest
inter1965

That’s great, i’m looking forward to a usable archlinux arm version.

Galland
Guest
Galland

The RK3168 boards (along with the latest for RK3066) are located in arch/arm/mach-rk30
I guess this is due to their also being a dual-core.

qwiqooq
Guest
qwiqooq

RK3066 please!

trackback

[…] cnx-software.com pointed out, this kernel source code includes configurations for several […]

tom
Guest
tom

Hi

Which rk3118 device should I buy To get best community support ?

trackback

[…] the release of the RK3188 Linux kernel source code last week, Ian Morrison (Linuxium) has managed to boot Ubuntu 12.04 on Tronsmart T428. However, […]

Raymond Day
Guest
Raymond Day

How did you get the screen of the installer or what ever it’s called.

I did this on my MK808 that has picuntu on it. I love it to run on the MK908 or RK3188 what they call it.

Here what my command lines look like:

[email protected]:~/Linux3188# ./make_kernel_ruikemei.sh
*************
rm logo_linux_clut224
*************
***********************
copy logo_linux_clut224.ppm
***********************
***********************
make kernel.img
***********************
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf –silentoldconfig Kconfig
CHK include/linux/version.h
UPD include/linux/version.h
HOSTCC scripts/kallsyms
HOSTCC scripts/bmptologo
HOSTCC scripts/conmakehash
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
scripts/bmptologo.c: In function âwrite_footerâ:
scripts/bmptologo.c:247:3: warning: format â%ldâ expects argument of type âlong intâ, but argument 4 has type âunsigned intâ [-Wformat]
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/bin2c
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
Generating include/generated/mach-types.h
HOSTCC scripts/mod/sumversion.o
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/arm/kernel/asm-offsets.s
GEN include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
HOSTLD scripts/mod/modpost
CC init/main.o
CHK include/generated/compile.h
HOSTCC usr/gen_init_cpio
CC arch/arm/vfp/vfpmodule.o
UPD include/generated/compile.h
AS arch/arm/vfp/entry.o
CC arch/arm/kernel/elf.o
AS arch/arm/kernel/entry-armv.o
AS arch/arm/vfp/vfphw.o
AS arch/arm/kernel/entry-common.o
CC arch/arm/vfp/vfpsingle.o
CC arch/arm/kernel/irq.o
/root/Linux3188/scripts/gen_initramfs_list.sh: Cannot open ‘../initramfs/initramfs.cpio’
make[1]: *** [usr/initramfs_data.cpio.gz] Error 1
make: *** [usr] Error 2
make: *** Waiting for unfinished jobs….
CC init/do_mounts.o
CC arch/arm/vfp/vfpdouble.o
CC arch/arm/kernel/process.o
CC init/do_mounts_initrd.o
CC arch/arm/kernel/ptrace.o
CC init/initramfs.o
CC init/calibrate.o
LD arch/arm/vfp/vfp.o
LD arch/arm/vfp/built-in.o
CC arch/arm/kernel/return_address.o
CC init/version.o
arch/arm/kernel/return_address.c:62:2: warning: #warning “TODO: return_address should use unwind tables” [-Wcpp]
CC arch/arm/kernel/setup.o
CC arch/arm/kernel/signal.o
LD init/mounts.o
CC arch/arm/kernel/sys_arm.o
LD init/built-in.o
CC arch/arm/kernel/stacktrace.o
CC arch/arm/kernel/time.o
CC arch/arm/kernel/traps.o
CC arch/arm/kernel/armksyms.o
CC arch/arm/kernel/module.o
AS arch/arm/kernel/sleep.o
CC arch/arm/kernel/sched_clock.o
CC arch/arm/kernel/smp.o
CC arch/arm/kernel/smp_tlb.o
CC arch/arm/kernel/smp_scu.o
CC arch/arm/kernel/sys_oabi-compat.o
CC arch/arm/kernel/unwind.o
CC arch/arm/kernel/swp_emulate.o
CC arch/arm/kernel/pmu.o
CC arch/arm/kernel/io.o
AS arch/arm/kernel/head.o
CC arch/arm/kernel/init_task.o
LDS arch/arm/kernel/vmlinux.lds
LD arch/arm/kernel/built-in.o
[email protected]:~/Linux3188# ls
arch drivers Kconfig mkkrnlimg scripts
block firmware kehu_ruikemei mm security
config fs kernel net sound
COPYING include lib README tools
CREDITS init MAINTAINERS README.md usr
crypto ipc Makefile REPORTING-BUGS virt
Documentation Kbuild make_kernel_ruikemei.sh samples
[email protected]:~/Linux3188# cd arch
[email protected]:~/Linux3188/arch# ls
alpha cris Kconfig mips s390 tile xtensa
arm frv m32r mn10300 score um
avr32 h8300 m68k parisc sh unicore32
blackfin ia64 microblaze powerpc sparc x86
[email protected]:~/Linux3188/arch# cd ..
[email protected]:~/Linux3188# ls
arch drivers Kconfig mkkrnlimg scripts
block firmware kehu_ruikemei mm security
config fs kernel net sound
COPYING include lib README tools
CREDITS init MAINTAINERS README.md usr
crypto ipc Makefile REPORTING-BUGS virt
Documentation Kbuild make_kernel_ruikemei.sh samples
[email protected]:~/Linux3188#”

Don’t get what to do now?

I guess some how put it on the 16GB SD card I have to reboot to recovery?

-Raymond Day

Martin Espinoza
Guest

[email protected]nder:~/Software/src/Linux3188$ ./make_kernel_ruikemei.sh
*************
rm logo_linux_clut224
*************
***********************
copy logo_linux_clut224.ppm
***********************
***********************
make kernel.img
***********************
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h’ is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
/opt/src/Linux3188/scripts/gen_initramfs_list.sh: Cannot open ‘../initramfs/initramfs.cpio’
make[1]: *** [usr/initramfs_data.cpio.gz] Error 1
make: *** [usr] Error 2
make: *** Waiting for unfinished jobs….

trackback

[…] had the Linux source code for RK3188 for a little while, which allowed a preliminary Ubuntu image to boot on devices such as Tronsmart […]

enboig
Guest
enboig

@Martin Espinoza

I solved this problem following http://www.sysresccd.org/forums/viewtopic.php?f=25&t=3165&start=0

I removed the content in .config of CONFIG_INITRAMFS_SOURCE

trackback

[…] support to be equivalent to Radxa Rock development board, and it also appears Alok Sinha, who has been involved in RK3066/RK3188 open source development, is also part of the project, or least, has been […]

thehid
Guest
thehid

Hey guys, what went wrong, if the output is like that:

LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
make: *** [kernel.img] Fehler 127

I have a Neo x7 and would like to compile a wheezy.

thehid
Guest
thehid

@cnxsoft

Hi cnxsoft, thank you for the fast reply.

Can I use the instructions for the raxda rock also for me neo x7? I’m not familiar with with kernel compiling and image construction. Do you know a good tutorial for building images for neo x7?

The last lines of my make command, doesnt show error:

LD [M] sound/core/seq/snd-seq.ko
CC sound/usb/misc/snd-ua101.mod.o
LD [M] sound/usb/misc/snd-ua101.ko
HOSTCC firmware/ihex2fw
IHEX2FW firmware/emi26/loader.fw
IHEX2FW firmware/emi26/firmware.fw
IHEX2FW firmware/emi26/bitstream.fw
IHEX2FW firmware/emi62/loader.fw
IHEX2FW firmware/emi62/bitstream.fw
IHEX2FW firmware/emi62/spdif.fw
IHEX2FW firmware/emi62/midi.fw
IHEX firmware/ti_3410.fw
IHEX firmware/ti_5052.fw
IHEX firmware/mts_cdma.fw
IHEX firmware/mts_gsm.fw
IHEX firmware/mts_edge.fw
H16TOFW firmware/edgeport/boot.fw
H16TOFW firmware/edgeport/boot2.fw
H16TOFW firmware/edgeport/down.fw
H16TOFW firmware/edgeport/down2.fw
IHEX firmware/edgeport/down3.bin
[email protected]:/home/neo_kernel/Linux3188#

stefan
Guest
stefan

@cnxsoft
I needed to install libc6-i386 to get the 32-bit mkkrnlimg to work.
Gave me the [kernel.img] error 127, before.

dhruv
Guest
dhruv

I get this error at the end when I compile the kernel. Could you please update me.
SYSMAP .tmp_System.map
OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
/mkkrnlimg: cannot execute binary file
make: *** [kernel.img] Error 126

marshall
Guest

how do I install linux on a Satechi tv box? it has a RK3188