Android Tablets Forum banner

Pre-Alpha 0.3 Ubuntu Linux for MK802 III / UG802 / MK808 / UG007 / iMito MX1

374K views 505 replies 118 participants last post by  sevo1984  
#1 · (Edited by Moderator)
Title says it all. No hand holding at this stage as this is really for people who know what they are doing.
Note that this is the last of the pre-Alpha releases, intended for developers only. In around ten days I'll post an Alpha 0.4 release with more/some support and simplified installation steps!
Folks, I can't stress this enough: these pre-Alpha releases are only for people who have already cross-compiled the Linux kernel for an ARM device and are used to having things not working out-of-the-box.
And no, it won't play movies nor will it run XBMC at this stage, and you can't play any games with it yet (no OpenGL support).
Also, please at least read this first post COMPLETELY before asking any questions in this thread!

Present version is pre-Alpha 0.3
It has been tested on the UG802, Rikomagic MK802 III, MK808, UG007 and iMito MX1.

These are the features for the pre-Alpha 0.3 release:
  • Ubuntu 12.10 Quantal armhf based.
  • Easy to install and dual-boot (does not erase your Android installation).
  • HDMI 1920x1080 60Hz aka 1080p.
  • XFCE desktop.
  • Linux framebuffer consoles.
  • HDMI sound support. USB sound support.
  • Full array of cpufreq governors (I suggest the interactive governor).
  • USB mouse, keyboard and USB storage tested. Webcam tested by Alok.
  • nbench benchmark included (source code and binary) so you can check the real clock speed / performance of your Android stick.
  • OpenSSH server included and installed so you can use the Android stick headless.
  • Internal WiFi is not functional yet. You'll need a $4 Realtek or Ralink USB Wifi dongle or a $5 USB 2.0 10/100 ASIX or SR9700 Ethernet dongle to connect to your network. A list of tested, known to be working adapters is available in the second post in this thread.

Download links:

The kernel kernel-0.3.img (<10MB) https://docs.google.com/open?id=0B-xyWOsjMDJPQS1vTVgwbmNTWXc
The Ubuntu 12.10 filesystem linuxroot-0.3.tar.gz (700MB) https://docs.google.com/open?id=0B-xyWOsjMDJPSU9hOWN4Z0JEVEE

IMPORTANT: kernel-0.3 can only be used with linuxroot-0.3, do not mix kernel and root fs versions.

Requirements:

To install:
- Rooted Android stick and SuperUser.apk installed.
- Terminal emulator in Android.
- microSD card (4GB, 8GB or 16GB) or USB key (4GB, 8GB, 16GB, 32GB).
- A Windows/Linux PC.
- RKAndroidTool v1.35 (Windows program to flash RK3066 devices). This is the program you need to flash the kernel!

If you have installed a Finless Android ROM on your Android stick using the Flash method then you already have everything you need to proceed with the installation.
The zip file that includes Bob's ROM also has the RKAndroidTools v1.35 and full, detailed installation instructions, so please get it!

To use Linux you'll probably need:
- USB 2.0 hub
- USB keyboard and mouse.
- HDMI monitor (Full HD capable i.e. 1920x1080@60Hz - 1080p).
- An inexpensive USB WiFi b/g/n or Ethernet 10/100 adapter dongle.

Changelog

- pre-Alpha 0.1: Initial release, requires microSD card.
- pre-Alpha 0.2: Simplified boot requirements. Can now boot from a root partition labeled linuxroot on any mass storage device accessible at boot time e.g. a 4GB USB key, a 8GB SD card in USB card reader plugged into the USB hub, or a microSD card in the microSD card slot of your Android stick. Also can boot from a USB hard disk (tested by Alok).
- pre-Alpha 0.3: Tested on a wider range of RK3066 devices, kernel source removed to save space (if you need the kernel source you can still copy it over from the pre-Alpha 0.2 rootfs file). Added cifs-utils package (SMB). Recompiled kernel with different settings, supports NFS V3 and V4 client, NTFS read/write. Cleaned apt archive cache. Some extra artwork (wallpapers, icon themes) and various chess engines.

Sponsors

- Thank you Slatedroid user gsandiego for sponsoring a nifty Infrared Digital Thermometer that will allow me to take precise temperature measurements on the RK3066 running different loads at different clock frequencies!
 
#2 · (Edited by Moderator)
Installation and troubleshooting

There are two separate steps to install Ubuntu Linux on an RK3066 Android stick:

  1. Flash the kernel in the recovery NAND partition.
  2. Extract the Ubuntu root filesystem with the proper permissions on to a partition on some kind of USB mass storage.

1. Flashing the kernel
(there are many ways to do this, here is a simple one that should take less than a minute)
- Install RKAndroidTools v1.35 on your Windows PC following exactly the instructions provided by Bob Finless.
- Download the kernel-0.3.img file to your Windows PC. Rename it recovery.img (overwrite any other recovery.img file already present).
- Connect Android stick to your PC and start the RKAndroidTool v1.35 app in Windows.
- On the Android stick, open the terminal emulator and type "su", then "reboot bootloader"
- RKAndroidTool will emit a sound and should now detect the Android stick.
- Flash only the new recovery.img to the recovery partition in the NAND. This takes 5 or 6 seconds, and your Android stick will immediately reboot into Android. THIS IS NORMAL.

If you get the "dead Android bot" with red triangle when rebooting into recovery, it means the Linux kernel image was not flashed correctly to the recovery partition.
Image

Power off, power on, and repeat the procedure above paying attention to all details, and it should work. You'll know when it works because when the Linux kernel boots correctly, you can see kernel messages scrolling on the screen.

2. Rootfs Installation
(again there are many ways to do this, here is a simple one)
Requires a Linux PC.
If you don't have a Linux PC, you can use the GParted LiveCD: http://gparted.sourceforge.net/livecd.php

1. Use GParted to create an ext4 partition of at least 4GB on a USB key or a microSD card. Label the partition linuxroot.

2. As root, extract the tarball, and copy (using cp -a) all the files in the extracted directory to the partition labeled linuxroot. This will create a Ubuntu root filesystem on the USB key or microSD card with all the proper permissions.

If when you boot Linux, you don't get the LightDM login screen, it means you didn't copy the rootfs files properly (probably you weren't root) and a certain number of files don't have the correct permissions.
Image
Repeat the two steps above paying attention to the instructions!

Booting Linux

Now that you have installed the Linux kernel in the recovery partition of your Android stick, and extracted the Ubuntu filesystem to a partition on USB storage, you can dual boot, choosing between Android or Linux.

To boot Android, power up your Android TV stick as usual.

To boot Linux: first boot into Android, open the terminal emulator and type "su", then "reboot recovery". Your Android TV stick will reboot into Linux and after a couple of seconds, you should see some kernel messages scrolling on your TV display or monitor, then a few seconds later the LightDM graphical login screen.

After using Linux, shutdown and power off the RK3066 TV stick. When powered on again it will reboot into Android as usual.

Notes:
* There is only one user defined: user ubuntu password ubuntu. Needless to say, change the password ASAP! To become root: type "sudo su".
* The kernel config is available in /proc/config.gz.
* The nbench benchmark is in /root.
 
#3 · (Edited by Moderator)
Recommended USB network adapters, FAQ and Tips

Recommended USB Ethernet adapters
The preliminary information I have is that people who have bought inexpensive adapters based on the ASIX chipset have not had any problems with them.

Recommended USB WiFi adapters
Again here there are preliminary reports that indicate that the various Ralink based adapters work fine. I myself am using a $7 Ralink 5370 noname adapter and it has an external antenna, works flawlessly as far as I can tell.

FAQ

Q1. I want to boot into Linux directly without going through Android. Is it possible?
A1. Yes, it is possible. You can simply flash the Linux kernel on the "kernel" partition in NAND, instead of the "recovery" partition. However, since we are still in the Alpha or pre-Alpha development stage, this is not recommended.

Q2. I accidentally / voluntarily installed the Linux kernel on the kernel partition, and now my Android TV stick boots into Linux directly; I can't boot into Android anymore. How do I revert to the previous state?
A2. The simplest way is to follow the "unbricking" procedure, which varies slightly depending on which Android TV stick you have. On the UG802, it means you have to open the case and short two pads (with e.g. a screwdriver) on the printed circuit board while powering on the UG802, and then flash the original firmware of your device.

Q2a. I accidentally / voluntarily configured the misc partition to boot into recovery, and now my Android TV stick boots into Linux directly; I can't boot into Android anymore. How do I revert to the previous state?
A2a. The simplest way is to follow the "unbricking" procedure, which varies slightly depending on which Android TV stick you have. On the UG802, it means you have to open the case and short two pads (with e.g. a screwdriver) on the printed circuit board while powering on the UG802, and then flash the original firmware of your device.

Q3. I can't find RKAndroidTools v1.35 anywhere! Please help!
A3. Two words: Bob. Finless.

Q4. I keep asking questions and not getting answers. Why is that?
A4. First check that your question has not already been asked here on SlateDroid: the Search tool is there in the upper right corner of every page, for exactly that purpose. Also note that this project is still in the Pre-Alpha or Alpha stage, and as such developers have little time to deal with generic issues that may prove difficult to overcome by less experienced users, they have to spend what precious time they have on - guess what? - developing! User support will improve as we move on to the Beta stage.

Q5. Can I use my RK3066 Android TV stick as a headless Linux server if I install Ubuntu Linux on it?
A5. Indeed you can. Check out this awesome website setup by Alok that runs entirely on a UG802: http://ubuntu.g8.net

Q6. Will you develop a version of Ubuntu Linux for RK3066 tablets?
A6. Yes, it's in the roadmap. Alpha 0.4 will support the Pipo S1, more RK3066 tablets will be supported in subsequent releases.

Q7. Is there a way to flash the NAND from Linux?
A7. There is still work to be done on the NAND Linux kernel driver, but eventually yes, it will be possible to flash the NAND from Linux. At that point one should be able to install UBIFS on the NAND and use it as a reliable, fast storage device.

Tips
 
#4 ·
AndrewDB, your work on this project is really impressive and I cannot thank you enough for all your work.
I will be receiving my own UG007 in the mail soon and would like to test Ubuntu on it if I can. Unfortunately, right now my only option for a display is a 800x600 projector. Is it possible to adjust the hdmi output resolution to 800x600?
 
#6 ·
No, this pre-alpha version has dual boot: to boot into ubuntu you have to boot into android first, in terminal emulator you need to type "su; boot recovery". You can also set a startup script in android so it does this automatically. You can find the details in previous post threads.

According to the roadmap Adrew will release a real boot directly to ubuntu in future releases.
 
#8 · (Edited by Moderator)
Team,

World's first website running on Ubuntu on MKxx/UG8xx

A website for Ubuntu on UG/MK8XX devices, by Ubuntu on UG8xx/MK8xx and of Ubuntu on UG8xx/MK8xx devices

Please find link to a website -dedicated to the development of Ubuntu on UG8xx/MK8xx devices

This site is in development stage and will remain so for a long time...additionally it is running over my DSL link... so please be gentle...

What is super cool about this site is that it is running on 0.2 Pre-alpha version of Ubuntu ... on an MK808... with PHP, Mysql, Apache2, Sendmail, spamguard, bind9, Joomla,ntp, sshd, smbd and a host of other servers on the same.
Image


Let me know, if you find any broken links... or have any more suggestions to add content...

http://ubuntu.g8.net
 

Attachments

#10 · (Edited by Moderator)
Yes, and yes (by following unbricking procedure that requires opening the MK808 and shorting two pins on the NAND Flash chip - do not attempt if you haven't done this before).
I really believe that at this stage it's better to follow my instructions and flash the kernel to the recovery partition.
Image
 
#18 · (Edited by Moderator)
This is what I am setting mine up for. To be a web server. But though a open port on my comcast. It's neat to see this working all ready on your link.

When I 1ST went to phpsysinfo the "Processors" 0 and 1 click the + by them and they both said 2.40! When I checked again it was down to 1.63. Did you do something to over clock it?

Looks like your running it on a 32GB card with only about 12% used.



Your GHz looks like it goes up and down, and can with in a min.

You should put a robots.txt file in the web root folder so Google don't link it because your running it on your DSL.

Thank you for posting this. Mine will be running like this soon. I think it will work good.

-Raymond Day
 

Attachments

#19 ·
Raymond,

I have not overclocked the system... the issue seems to be in what is being reported by phpsysinfo.... am trying to figure out what is wrong with it.... Try this information link -this is more reliable in CPU speed. And yes the CPU is managed on an interactive basis by the system on its own.

Yes, the usb stick is 32GB - needed to make sure, there are no space concerns
Image


robots.txt file - i thought of it and then left it out, since the objective of the website is to determine load bearing capacity as well... wanted to see if some day full fledged servers can be hosted.

Hope you get your system working -if you get stuck anywhere - do let me know.

Alok
 
#24 ·
Hi,

I live in a windows-less environment. Is there a way to flash the linux kernel into the recovery partition without using RKAndroidTools?

I have a rooted MK802-iii (Jelly Bean) with Busybox & SSHDroid installed. Looking around i find that the recovery partition is located in /dev/block/mtdblock3:

Code:
/data/data/berserker.android.apps.sshdroid/home # ls -l  /dev/block/mtd/by-name/<br />
total 1<br />
lrwxrwxrwx    1 root     root            20 Dec  4 21:38 backup -> /dev/block/mtdblock4<br />
lrwxrwxrwx    1 root     root            20 Dec  4 21:38 boot -> /dev/block/mtdblock2<br />
lrwxrwxrwx    1 root     root            20 Dec  4 21:38 cache -> /dev/block/mtdblock5<br />
lrwxrwxrwx    1 root     root            20 Dec  4 21:38 kernel -> /dev/block/mtdblock1<br />
lrwxrwxrwx    1 root     root            20 Dec  4 21:38 kpanic -> /dev/block/mtdblock7<br />
lrwxrwxrwx    1 root     root            20 Dec  4 21:38 misc -> /dev/block/mtdblock0<br />
lrwxrwxrwx    1 root     root            20 Dec  4 21:38 recovery -> /dev/block/mtdblock3<br />
lrwxrwxrwx    1 root     root            20 Dec  4 21:38 system -> /dev/block/mtdblock8<br />
lrwxrwxrwx    1 root     root            20 Dec  4 21:38 user -> /dev/block/mtdblock9<br />
lrwxrwxrwx    1 root     root            20 Dec  4 21:38 userdata -> /dev/block/mtdblock6<br />
/data/data/berserker.android.apps.sshdroid/home #
So it might be an option to 'dd' the kernel image into the recovery partition directly... something like:

Code:
dd if=kernel.img of=/dev/block/mtdblock3
Would that work?
 
#26 ·
Hi,

I live in a windows-less environment. Is there a way to flash the linux kernel into the recovery partition without using RKAndroidTools?

...
So it might be an option to 'dd' the kernel image into the recovery partition directly... something like:

Code:
dd if=kernel.img of=/dev/block/mtdblock3
Would that work?
Yes, it will work, but the default block size for dd is 512 bytes, and that will cause the flash to be rewritten/erased many times uselessly.
So you should use the command:
Code:
dd if=kernel.img of=/dev/block/mtdblock3 bs=8192
So: flash the kernel, read it back, compare the checksums and verify that it worked, and post here your results!
Image
 
#28 ·
Hi, Andrew

I finally installed it on my MK802-III. It runs perfectly. Thank you for your excellent work.

Question about CPU frequency: looks like the manufacturer has locked the max freq to 1.2G? I tried all policies but can't set it to 1.6G.

- linuxerwang
 
#30 ·
Hi,
I have got new USB to Ethernet dongle but it needs "USB Pegasus" driver. I tried to add this as a module using "make menuconfig" and then did a make all and it compiles but I don't know how to make the .img that has the kernel and initramfs. I tried also "make kernel.img" but I get an error when mkkrnlimg is called... Not too sure about the exact process to recompile and create the .img that we can flash to recovery partition.

Anyone has some tips about this ? Thanks
Image


PS : AndrewDB, could you add "USB Pegasus" in next release ? would be great. :)

MP>
 
#31 ·
If you got that far to actually build the kernel... just build the driver as a module and copy the module to your device and insmod it...
I can add an issue to make sure all available ethernet dongels are supported in next release. From what I recall most of them was compiled in...

Regards // OwL
 
#32 ·
Awesome! Thanks!

I think I accidentally flashed it to the kernel instead of the recovery partition.
I have a "MK802 III" and flashed with the tool from UG802 1.7 Finless thingy. Tried many times to flash only the recovery partition but it never worked (Always got the red warning sign), finally I just left all defaults you get with the package and only changed the recovery to your 0.3-image and flashed everything.

Somehow I got linux booting every startup now, while this is actually preferable since I don't want android - is it possible to get into the bootloader again if I want to flash again in the future?
 
#37 · (Edited by Moderator)
OK dmesg says [ 86.318442] pegasus: version magic '3.0.8 SMP preempt mod_unload ARMv7 ' should be '3.0.8+ SMP preempt mod_unload ARMv7 '

OK, I guess I missed something...
Image


PS : I gunziped a copy of /proc/config.gz and copied the file as .config in rk3066-kernel

PPS : Once all sorted out I am willing to make little how-to if necessary.
 
#38 ·
Good work...

It seems as if it is only the vversioning of the module you built that is wrong... . in this case, the easiest way to fix it is by actually adding a + after the 8 in the version.
Try this:

Way one:
edit "Makefile" in the root of the kernel source tree and add a + in EXTRAVERSION so that it reads:

VERSION = 3
PATCHLEVEL = 0
SUBLEVEL = 8
EXTRAVERSION = +
NAME = Sneaky Weasel
...

Way two:
I think you can also set it in the config flag CONFIG_LOCALVERSION:
CONFIG_LOCALVERSION="+"

And rebuild your module...

Both of the suggested ways should work....

Regards // OwL
 
#43 · (Edited by Moderator)
Yes.
I have a qf9700-based USB ethernet adapter and it was barely working in alpha-2 (lost the device every time). Now with alpha-3 kernel it works continuously and Ok - however, only with a static IP address. For some reason DHCP is not working with it (my DHCP server works OK for all my intranet devices but this one. I even tried 'dhclient usbnet0' to no avail).

And btw, I have read the thread for kernel modules, and I still have the doubt: how to make a proper .img file for flashing?

AndrewDB, would you mind to point us to some documentation about that (building proper img files) so we don't have to keep bugging you every time? :)

EDIT: this is my USB ethernet adapter:
Code:
root@ug802:/home/ubuntu# lsusb | grep -i ethernet<br />
Bus 002 Device 006: ID 0fe6:9700 Kontron (Industrial Computer Source / ICS Advent) DM9601 Fast Ethernet Adapter<br />
root@ug802:/home/ubuntu# dmesg | grep -i ethernet<br />
[   79.746859] Bluetooth: BNEP (Ethernet Emulation) ver 1.3<br />
[  406.648015] usb 2-1.7: Product: USB 2.0 10/100M Ethernet Adaptor<br />
[  406.695009] qf9700 2-1.7:1.0: usbnet0: register 'qf9700' at usb-usb20_host-1.7, QF9700 USB Ethernet, 00:e0:4c:53:44:58<br />
 
#44 · (Edited by Moderator)
I runnung pre alpha 0.3 and have the following issues:

My Belkin Wireless USB Adapter; Realtek RTL8188SU & Hercules Wireless USB Adapter; Realtek RTL8188CUS connected to the OTG port are not detected and therefore won't work. Somebody else have the same problem?

My TV will overscan, I read how I can change it (/sys/class/display/HDMI) but when I restart its back to 100%. How do I change it permanent.

Terminal gives "unknow comment" as replay when I use it, so it also won't work
 
#46 ·
AndrewDB, thanx for all the hard work in booting up Ubuntu on this stick.

I flashed the kernel image onto the recovery partition and Linux boots up OK. I too have the SD card formatted in ex4 and loaded with your rootfs, and labeled with linuxroot.

However I'm running into the initramfs prompt.

I understand initramfs is between the linux boot and the loading of the root file system.

is there anything I'm missing?

regards
iyer
 
#64 ·
I think, there can be two possible explanation for this.
1. You are using a different kernel and a different root file system - double check.
2. The SD card or the USB card is not inserted properly - check that.

In either case, you should be getting some errors while booting... lets see what they look like ?

Alok
 
#48 · (Edited by Moderator)
I got to a page that teaches how to extract and create boot images. This is it: http://www.onexin.net/android-unpack-edit-and-re-pack-boot-images/

However, it does not seem to work with AndrewDB images (kernel-0.3.img for example). I've tried both unpack-bootimg.pl and split_bootimg.pl.

Does anyone know the method he used to generate this? Can someone please make a short tutorial showing how to do it?

Knowing the reason why AndrewDB images do not work with this recipe would be good too, because if one started from scratch how could one know the correct way to do it?

I don't think I am asking too much, I don't want any hand-holding. Just to know the reliable sources of information that you people are using. From that on I can guide myself. But I have asked multiple times and so far no response.
 
#50 · (Edited by Moderator)
Hi,

About USB dongles, here is what I have :

1)Belkin F5D5055 and that works fine using ASIX driver. So from what others say, ASIX based dongle seem to work fine.
It is listed as:
Code:
<br />
Bus 002 Device 005: ID 050d:5055 Belkin Components F5D5055 Gigabit Network Adapter [AX88xxx]<br />
It gets IP@ via DHCP and works perfectly.

2) Another dongle that also has a 3 port USB hub integrated.
It is listed as :
Code:
<br />
Bus 002 Device 003: ID 9710:7830 MosChip Semiconductor MCS7830 10/100 Mbps Ethernet adapter<br />
dmesg :
Code:
<br />
[    3.286765] usb 2-1.1: new high speed USB device number 3 using usb20_host<br />
[    3.392067] usb 2-1.1: New USB device found, idVendor=9710, idProduct=7830<br />
[    3.396961] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3<br />
[    3.401787] usb 2-1.1: Product: USB-MAC Controller<br />
[    3.406585] usb 2-1.1: Manufacturer: Moschip Semiconductor<br />
[    3.412187] usb 2-1.1: SerialNumber: 6e0002c5<br />
[    8.208630] MOSCHIP usb-ethernet driver 2-1.1:1.0: usbnet0: register 'MOSCHIP usb-ethernet driver' at usb-usb20_host-1.1, MOSCHIP 7830/7832/7730 usb-NET adapter, 00:60:6e:30:53:cb<br />
<br />
This one does not get IP@ via DHCP and if I configure static IP@ is does not help. Rx bytes and Tx bytes go up and dmesg does not say much except no IPv6 router found.
Code:
<br />
usbnet0   Link [URL=encap:Ethernet]encap:Ethernet[/URL]  HWaddr 00:60:6e:30:53:cb<br />
          inet6 addr: [URL=fe80::260:6eff:fe30:53cb/64]fe80::260:6eff:fe30:53cb/64[/URL] Scope:Link<br />
          UP BROADCAST RUNNING MULTICAST  [URL=MTU:1500]MTU:1500[/URL]  Metric:1<br />
          RX [URL=packets:792]packets:792[/URL] [URL=errors:0]errors:0[/URL] [URL=dropped:0]dropped:0[/URL] [URL=overruns:0]overruns:0[/URL] frame:0<br />
          TX [URL=packets:1515]packets:1515[/URL] [URL=errors:0]errors:0[/URL] [URL=dropped:0]dropped:0[/URL] [URL=overruns:0]overruns:0[/URL] carrier:0<br />
          [URL=collisions:0]collisions:0[/URL] txqueuelen:1000<br />
          RX [URL=bytes:98464]bytes:98464[/URL] (98.4 KB)  TX [URL=bytes:336596]bytes:336596[/URL] (336.5 KB)<br />
3) Last one is branded PlusCom Model U2E.
It is listed as :
Code:
<br />
Bus 002 Device 006: ID 07a6:8515 ADMtek, Inc. AN8515 Ethernet<br />
This one uses Pegasus driver :
Code:
<br />
[ 1830.925450] usb 2-1.2: new high speed USB device number 10 using usb20_host<br />
[ 1831.040196] usb 2-1.2: New USB device found, idVendor=07a6, idProduct=8515<br />
[ 1831.040243] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3<br />
[ 1831.040289] usb 2-1.2: Manufacturer: ADMtek<br />
[ 1831.051195] pegasus 2-1.2:1.0: setup Pegasus II specific registers<br />
[ 1831.165241] pegasus 2-1.2:1.0: eth0, ADMtek ADM8515 "Pegasus II" USB-2.0 Ethernet, 00:00:70:01:63:6b<br />
[ 1831.276884] pegasus 2-1.2:1.0: eth0: update_eth_regs_async, status -22<br />
[ 1831.277542] ADDRCONF(NETDEV_UP): eth0: link is not ready<br />
[ 1833.169145] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready<br />
[ 1833.275764] pegasus 2-1.2:1.0: eth0: update_eth_regs_async, status -22<br />
[ 1843.695126] eth0: no IPv6 routers present<br />
[ 1891.705125] eth0: no IPv6 routers present<br />
[ 1940.575066] eth0: no IPv6 routers present<br />
This one only Tx Bytes go up. Dmesg does not say much (well except for Status being -22 working Belkin say 0 or 1 for Link Status) :
Code:
<br />
[ 1309.006067] pegasus 2-1.2:1.0: eth0, ADMtek ADM8515 "Pegasus II" USB-2.0 Ethernet, 00:00:70:01:63:6b<br />
[ 1309.058684] pegasus 2-1.2:1.0: eth0: update_eth_regs_async, status -22<br />
[ 1309.058808] pegasus 2-1.2:1.0: eth0: update_eth_regs_async, status -22<br />
[ 1309.059445] ADDRCONF(NETDEV_UP): eth0: link is not ready<br />
[ 1681.009229] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready<br />
[ 1681.074618] pegasus 2-1.2:1.0: eth0: update_eth_regs_async, status -22<br />
[ 1681.075433] pegasus 2-1.2:1.0: eth0: update_eth_regs_async, status -22<br />
[ 1691.215112] eth0: no IPv6 routers present<br />
[ 1729.547007] pegasus 2-1.2:1.0: eth0: update_eth_regs_async, status -22<br />
[ 1729.547439] pegasus 2-1.2:1.0: eth0: update_eth_regs_async, status -22<br />
[ 1740.245055] eth0: no IPv6 routers present<br />
[ 1831.165241] pegasus 2-1.2:1.0: eth0, ADMtek ADM8515 "Pegasus II" USB-2.0 Ethernet, 00:00:70:01:63:6b<br />
[ 1831.276884] pegasus 2-1.2:1.0: eth0: update_eth_regs_async, status -22<br />
[ 1831.277542] ADDRCONF(NETDEV_UP): eth0: link is not ready<br />
[ 1833.169145] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready<br />
[ 1833.275764] pegasus 2-1.2:1.0: eth0: update_eth_regs_async, status -22<br />
[ 1843.695126] eth0: no IPv6 routers present<br />
[ 1891.705125] eth0: no IPv6 routers present<br />
[ 1940.575066] eth0: no IPv6 routers present<br />
Edit : Forgot to add that I checked those 2 dongles using Ubuntu 12.4 Live CD and they work out of the box using the same drivers. So I guess the issue is more somewhere with RK3066 kernel rather than with the drivers which are the same on both platform I think.
 
#61 ·
You probably overwrite your kernel.img, or flashed wrong, so it starting linux only.
Download recovery tool (for example from here: http://www.w2comp.com/news.asp?menuid=11248&supmenuid=11146),
to recover your stick to have android, you have to install driver (follow instructions, which are with tool).
I recommend you first try, if you haven't driver instaled(when you rooting you device, or something..),
and after this if you haven't, open your stick(it's easy to open it even without break it) and shor pins.
In that chinese program it is seccond button, which you have to press.