Page 18 of 19

Re: Linux for MK802

PostPosted: Tue Jul 30, 2013 9:49 am
by justimax
Very informative.I have MK802.

Locale, Keyboard Layout (Lubuntu)

PostPosted: Wed Oct 16, 2013 10:35 pm
by texadactyl
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
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.

The mystery of /dev/root (-:

PostPosted: Wed Oct 16, 2013 11:01 pm
by texadactyl
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.


PostPosted: Wed Oct 16, 2013 11:29 pm
by texadactyl
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)

Re: Linux for MK802

PostPosted: Sun Nov 10, 2013 1:43 pm
by pb66
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!

Re: Linux for MK802

PostPosted: Wed Dec 18, 2013 7:41 am
by den317
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"?

Re: Linux for MK802

PostPosted: Fri Dec 20, 2013 10:10 am
by den317
I find this image for SD card from tobby cubie-server-t4.7z ... 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

Re: Linux for MK802

PostPosted: Mon Jan 27, 2014 8:21 pm
by jumpjack
Did anybody successfully install and use any 3d anaglyph video player such as Bino3d ( ) or others using this O.S., or can anybody kindly test it for me?

Re: Linux for MK802

PostPosted: Sun Dec 07, 2014 10:17 pm
by miniandr
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.

Re: Linux for MK802

PostPosted: Tue May 24, 2016 6:24 am
by nikolas22t
For fastest dd use:

sudo dd if=lubuntu-1204-rikomagicuk.img of=/dev/rdisk2 bs=1m