Linux for MK802

Forum to discuss the Rikomagic MK802 Mini PC

Moderators: KEgg, twjordo, tatubias

Re: Linux for MK802

Postby justimax » Tue Jul 30, 2013 9:49 am

Very informative.I have MK802.
justimax
 
Posts: 3
Joined: Tue Jul 30, 2013 9:43 am

Locale, Keyboard Layout (Lubuntu)

Postby texadactyl » Wed Oct 16, 2013 10:35 pm

The Lubuntu installed image supports a large number of keyboards and locales. The 2 pre-generated locales from this Lubuntu installation are for Australia and the UK. The default locale and keyboard setting is for Australia.

If you need a different locale, make sure that the "locales" package provides what you need:
Code: Select all
ls /usr/share/i18n/locales/
If your locale is not installed, then you'll need a custom locales package that requires a bit of research. I'd check at the Ubuntu forums or the askubuntu site.

Assuming your locale is installed, the following bash commands will setup your locale for use (as exemplified for the USA):
Code: Select all
sudo locale-gen en_US.UTF-8
sudo locale-gen en_US
sudo dpkg-reconfigure locales

Then, you can use the Language Support tool under Preferences from the desktop menu. Click on the "Regional Formats" tab and pick one of the entries from the drop down list (E.g. "English (United States)" for me).

For keyboard selection,
Code: Select all
lxkeymap
Select what you need. For myself, I picked "United States" from column 1 and then "English (US)" from column 2.

Finally, logout and re-login.
texadactyl
 
Posts: 3
Joined: Wed Oct 16, 2013 6:42 pm

The mystery of /dev/root (-:

Postby texadactyl » Wed Oct 16, 2013 11:01 pm

Note:
Code: Select all
elkins@miniand:/dev$ df -k
Filesystem       1K-blocks     Used Available Use% Mounted on
/dev/root          3850176  2573256   1081336  71% /
devtmpfs            416936        4    416932   1% /dev
none                 83404      624     82780   1% /run
none                  5120        0      5120   0% /run/lock
none                417016       88    416928   1% /run/shm
/dev/mmcblk0p2     3850176  2573256   1081336  71% /mnt/mmcblk0p2
/dev/mmcblk0p1       16334     8110      8224  50% /mnt/mmcblk0p1
elkins@miniand:/dev$ sudo ls -l /dev/root
ls: cannot access /dev/root: No such file or directory
We know that partition mmcblk0p2 contains the / directory tree (mount it anywhere as type ext4). It also seems that a mysterious "/dev/root" is mounted on the / directory tree. But, as shown above, there is no "root" device in the "/dev" folder.

Could someone please explain this? Did I miss something? I am not a Linux or Unix newbie so please do not spare any details. Actually, I would not mind seeing the img file design in any form: document, technote, recipe, etc.

Thank you.
texadactyl
 
Posts: 3
Joined: Wed Oct 16, 2013 6:42 pm

Ctrl-Alt-F1/F2/F3/F4/F5/F6

Postby texadactyl » Wed Oct 16, 2013 11:29 pm

I can see the getty processes running, started by init. However, I cannot attach to any of them using the normal Ctrl-Alt-Fn key combination. When I do this, the screen just freezes. Fortunately, Ctrl-Alt-F7 takes me back to normal LXDE operations.

Has anyone else had the same issue? Fix available?

Is it related to the Xorg keyboard driver in use - evdev? Filtered for "keyboard" from /var/log/Xorg.0.log:
Code: Select all
[  7302.245] (II) Initializing built-in extension XKEYBOARD
[  7302.610] (**) Logitech USB Receiver: Applying InputClass "evdev keyboard catchall"
[  7302.613] (II) evdev: Logitech USB Receiver: Configuring as keyboard
[  7302.613] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 6)
[  7302.617] (**) Logitech USB Receiver: Applying InputClass "evdev keyboard catchall"
[  7302.618] (II) evdev: Logitech USB Receiver: Configuring as keyboard
[  7302.618] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 7)
texadactyl
 
Posts: 3
Joined: Wed Oct 16, 2013 6:42 pm

Re: Linux for MK802

Postby pb66 » Sun Nov 10, 2013 1:43 pm

Hi All,

I'm really new to Android but not to Linux, I know and currently use dd command, everything seems fine with my SanDisk class10 16GB SDCard, but my MK802IV keeps on booting Android instead of Linux. Boot time seems as usual (counting the back and forth bar hits), and the same is with other Linux distro... Is there any setting missing in the announce? It should be so easy... Thanks in adv for your help!
pb66
 
Posts: 1
Joined: Fri Nov 01, 2013 8:46 pm

Re: Linux for MK802

Postby den317 » Wed Dec 18, 2013 7:41 am

I download you linux image on the first post and boot up from SDcard

But now i need rsize nand partition on my device

In dev i see only nanda ... nandi partition
But there is not ALL NAND DEVICE /dev/nand there (i need this to use "nand_part")

The kernel is 3.0.36-t1+
--------

How to enable access to ALL NAND DEVICE /dev/nand?

Who have image for SD card with this access with sunxi-tools "nand_part"?
den317
 
Posts: 5
Joined: Wed Dec 04, 2013 11:17 am

Re: Linux for MK802

Postby den317 » Fri Dec 20, 2013 10:10 am

I find this image for SD card from tobby cubie-server-t4.7z http://dl.miniand.com/toby_corkindale/c ... rver-t4.7z
with kernel 3.4.43 and on this I HAVE access to all NAND device /dev/nand, /dev/nanda ... /dev/nandi

I put my script.bin on the SD card after flash this image on it

I find prebuild nand-part and use it on this image (in attach)

In result i save information from nand (with dd command), nanda-nandi partition (dd and tar), resize it with nand-part and restore information from previos patrition

In result i have more useful partition and more space on /data volume
Attachments
nand-part.zip
(10.36 KiB) Downloaded 376 times
den317
 
Posts: 5
Joined: Wed Dec 04, 2013 11:17 am

Re: Linux for MK802

Postby jumpjack » Mon Jan 27, 2014 8:21 pm

Did anybody successfully install and use any 3d anaglyph video player such as Bino3d ( http://bino3d.org/index.html ) or others using this O.S., or can anybody kindly test it for me?
jumpjack
 
Posts: 12
Joined: Mon Jun 17, 2013 12:22 pm

Re: Linux for MK802

Postby miniandr » Sun Dec 07, 2014 10:17 pm

Hi all, does this image work on MK802 II? I have one and flashed it using this image following instruction given here and I stuck with Rikomagic boot screen. Any help would be appreciated. Thank you.
miniandr
 
Posts: 1
Joined: Sun Dec 07, 2014 10:13 pm

Re: Linux for MK802

Postby nikolas22t » Tue May 24, 2016 6:24 am

For fastest dd use:

sudo dd if=lubuntu-1204-rikomagicuk.img of=/dev/rdisk2 bs=1m
nikolas22t
 
Posts: 2
Joined: Mon Dec 10, 2012 10:15 pm

PreviousNext

Return to Rikomagic MK802 Forum

Who is online

Users browsing this forum: No registered users and 5 guests