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.

Share this:

Support CNX Software! Donate via PayPal or cryptocurrencies, become a Patron on Patreon, or buy review samples

Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
24 Comments
oldest
newest
inter1965
inter1965
8 years ago

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

Galland
Galland
8 years ago

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
qwiqooq
8 years ago

RK3066 please!

tom
tom
8 years ago

Hi

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

Raymond Day
Raymond Day
8 years ago

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… Read more »

Martin Espinoza
8 years ago

[email protected]:~/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….

enboig
enboig
8 years ago

@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

thehid
thehid
7 years ago

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
thehid
7 years ago

@Jean-Luc Aufranc (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… Read more »

stefan
stefan
7 years ago


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

dhruv
dhruv
7 years ago

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
marshall
5 years ago

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

Advertisement