Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo for the MK802 USB-PC
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
E-Razor
n00b
n00b


Joined: 11 Jul 2004
Posts: 69

PostPosted: Fri Aug 03, 2012 8:01 am    Post subject: Gentoo for the MK802 USB-PC Reply with quote

Hi all!

I bought one of these cheap MK802 USB-PCs and started compiling gentoo for it.

Here is some info about the device:
http://liliputing.com/tag/mk802

Things are pretty simple at the moment. I started with the ubuntu image for an external sd card, downloaded a arm7-stage3 and started compiling.

If anyone else is interested I can also setup a little project page.

Regards,

Alex
Back to top
View user's profile Send private message
okolomos
n00b
n00b


Joined: 05 Aug 2012
Posts: 2

PostPosted: Mon Aug 06, 2012 7:13 pm    Post subject: Reply with quote

I'm trying to install Gentoo on mk802. (gentoo-sources-3.5.0) Config file from Lubuntu. After a reboot is just a black screen and Gentoo does not work. Your system work ok ?
Back to top
View user's profile Send private message
Djon
n00b
n00b


Joined: 27 Dec 2005
Posts: 38

PostPosted: Mon Aug 13, 2012 4:26 pm    Post subject: Reply with quote

hi.

what is current state? I would install gentoo on my mk802 too :-)

King Regards
Djon
_________________
Fachgymnasium "Technik" TFG99 in Wernigerode
3./Nachschubbataillon 411 in Burg ( bei Magdeburg)
Hochschule "Harz" in Wernigerode
Fachbereich AI - "Kommunikationsinformatik"
Back to top
View user's profile Send private message
E-Razor
n00b
n00b


Joined: 11 Jul 2004
Posts: 69

PostPosted: Tue Aug 21, 2012 8:32 am    Post subject: Reply with quote

Gentoo sources will not work, you'll need the allwinner-a10 git sources:

http://rhombus-tech.net/allwinner_a10/kernel_compile/


I'm currently stuck on reconfiguring/compiling uboot.

Does anyone have some ideas about this?

I compiled uboot as they wrote in this guide:
http://rhombus-tech.net/allwinner_a10/u-boot/

But it seems like u-boot is not reading my uEnv.txt .


I installed the gentoo root and kernel-modules on /dev/mmcblk1p3 and copied uImage as uImage_gentoo into /boot which is /dev/mmcblk1p1 .

My idea was to create the uEnv.txt like this:
kernel=uImage_gentoo
root=/dev/mmcblk1p3

But as i said it still boots the old kernel and ubuntu from /dev/mmcblk1p2 .
Back to top
View user's profile Send private message
E-Razor
n00b
n00b


Joined: 11 Jul 2004
Posts: 69

PostPosted: Tue Aug 21, 2012 8:35 am    Post subject: Reply with quote

Might be interesting if you have resolve issues with DNS:

https://forums.gentoo.org/viewtopic.php?p=7115352#7115352
Back to top
View user's profile Send private message
Xploderman90
n00b
n00b


Joined: 27 Aug 2012
Posts: 57

PostPosted: Mon Aug 27, 2012 9:16 pm    Post subject: Reply with quote

I'm really interested in this too! I've found a minimal gentoo tarball for mk802 but i can't understand how to boot (other managed to boot, i'll post direct link if i can [it's another forum])
Back to top
View user's profile Send private message
E-Razor
n00b
n00b


Joined: 11 Jul 2004
Posts: 69

PostPosted: Tue Aug 28, 2012 4:19 pm    Post subject: Reply with quote

The link would be pretty nice!
Back to top
View user's profile Send private message
Xploderman90
n00b
n00b


Joined: 27 Aug 2012
Posts: 57

PostPosted: Tue Aug 28, 2012 8:41 pm    Post subject: Reply with quote

Ok, i hope i'll not get banned for this :D

This is for boot : http://www.cs.uwaterloo.ca/~dnicoara/boot.tar.bz2
And this is rootfs : http://www.cs.uwaterloo.ca/~dnicoara/gentoo-armhf.tar.bz2

For what i have understood you have to build u-boot following this : http://rhombus-tech.net/allwinner_a10/a10_mmc_boot/ , then writing the files specified in the link into the sd (raw format, out of filesystem)

Now i'm trying compiling this in a lubuntu img upped in my mk802 (yeah i know, lubuntu...)

My idea is to create a custom gentoo img without DE, only with shell, for server purposes!

Obviously, when i'll create a working img (if i'll figure out how to), i'll upload it somewhere (maybe on my new server :D)
Back to top
View user's profile Send private message
Xploderman90
n00b
n00b


Joined: 27 Aug 2012
Posts: 57

PostPosted: Tue Sep 04, 2012 6:49 pm    Post subject: Reply with quote

I'm the only one who's trying to develop a custom image? I hope not :D
Back to top
View user's profile Send private message
okolomos
n00b
n00b


Joined: 05 Aug 2012
Posts: 2

PostPosted: Thu Sep 20, 2012 8:55 pm    Post subject: Reply with quote

Is there anything new about MK802 and gentoo? Is already something like stage3 for mk802?
Back to top
View user's profile Send private message
the-wingman
n00b
n00b


Joined: 20 Sep 2012
Posts: 1

PostPosted: Fri Sep 21, 2012 12:10 am    Post subject: make.conf Reply with quote

Hi
I'm just trying to turn my MK802 into something useful.
what's your make.conf like?
Back to top
View user's profile Send private message
Xploderman90
n00b
n00b


Joined: 27 Aug 2012
Posts: 57

PostPosted: Sun Nov 11, 2012 8:22 pm    Post subject: Reply with quote

This is for the ones who want to have a gentoo in their mk802 and are still blocked.

You have to unpack the tars i have linked a few post ago, MANTAINING permissions. Obviously you must have u-boot configured in your sd card (done by dd'ing a ready image then overwriting boot and root partitions).
In that case, it will boot without problems.

Next thing to do is set up a new portage environment, selecting profiles and removing the old portage install (remember to edit make.conf for overlay_dir).
THEN, you have to follow the link posted by E-Razor for resolving DNS conflicts with portage.

At this point, you can try to use emerge, (now i have compilation issues, i will try).
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54028
Location: 56N 3W

PostPosted: Sun Nov 11, 2012 8:41 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Gentoo on Alternative Architectures.

It will get better exposure here as its an ARM system
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Xploderman90
n00b
n00b


Joined: 27 Aug 2012
Posts: 57

PostPosted: Wed Nov 14, 2012 1:41 pm    Post subject: Reply with quote

Compilation issues were caused by strange date/time configuration (econf failed).
Setting the right date / time resolved all issues and all goes right.
So, if there is someone who has problems, i'm here for helping others!
Back to top
View user's profile Send private message
recoco.zhang
n00b
n00b


Joined: 20 Jan 2004
Posts: 53

PostPosted: Sat Dec 29, 2012 5:50 pm    Post subject: Reply with quote

Great! I'm planing to install gentoo on MK802. Would you give me some instructions or tutorials? Thanks in advance!
Back to top
View user's profile Send private message
Andry77
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2006
Posts: 77

PostPosted: Thu Jan 17, 2013 12:30 pm    Post subject: Reply with quote

recoco.zhang wrote:
Great! I'm planing to install gentoo on MK802. Would you give me some instructions or tutorials? Thanks in advance!



https://www.miniand.com/forums/forums/development/topics/new-gentoo-based-image-for-mk802ii
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum