Hello all :-) !
Just wondering - has anyone managed to get a debian distro running on the mk902II (rk3288) device at all? (All the ones I can see appear to be ubuntu only).
BTW for anyone who is wondering what the device looks like "in the flash" so to speak,
here is a photo of the device.
The problem is that there dosen't seem to be any 'exact' information on how to do this at all -- all I can find are bits here and there, but nothing exactly concrete (either that or they just tell you to "flash ubuntu" :-( ).
The first thing I read that I had to do using the information from
here is that I had to reflash the bootloader on the MK902II device itself so it could try to boot from micro sd card at all (i.e. on the flash memory in the device). I've already successfully done this and downloaded one of "those" ubuntu images successfully and booted it from a micro SD card so I know that this has worked.
This website contains some script and image files for creating a micro sd or sd card to boot from as well; all that is needed is a linux root filesystem named "linux-rfs.img" for it to work. Again I've tried this with a ubuntu "rfs" image, which worked.
Though the problem seems to be with these "rfs" (root file system) images. I did try to create my own by using debootstrap, but it did not work. To do this, I used the instructions
here to create not a wheezy but jessie debootstrap install. I then created a blank .img file (at first, I used qemu-img create, then later tried plain old dd), formatted and copied the files across once complete, i.e.
Code:
$ qemu-img create hdd 512M
$ mkfs.ext4 hdd
$ mkdir /tmp/0
$ mount hdd /tmp/0
$ cp -raf /media/ramdisk/rootfs /tmp/0
$ sync
$ umount /tmp/0
Once the debootstrap procedure has finished, that procedure creates an image file which is formatted as ext4 and then the files are copied into that image file. I note that the ubuntu files
found here under 'Creating a Bootable Ubuntu SD Card' appear to be the same -- the image file has no partition, but contains a linux root file system.
I used the files/script and instructions also from
here to do this as well.
Only snag is that when I try to boot from my micro sd card unlike the ubuntu images it dosen't seem to work -- it just seems to go round in circles. I get an android-style booting screen, then a blank screen then after a few seconds it goes right back to the android-style booting screen, then a blank sreeen ad infinitum.
It is my guess that the ubuntu images are somehow different, but I'm not quite sure how. For example those ubuntu images have a directory called "boot" which on a normal x86 system is where the kernel would be found. But yet on these ubuntu images it is empty; indeed I can't even find the kernel anywhere(!). That's really confusing.
Here are some links btw which I've been looking over;
Script which creates a bootable sd/micro sd card (Ubuntu);
http://freaktab.com/forum/tv-player-...y-to-dual-boot
Reflashing bootloader;
http://www.cnx-software.com/2014/12/...k3288-devices/
Creating a debian rootfs;
https://olimex.wordpress.com/2014/07...-from-scratch/
Chinese forum discussing a similar issue;
https://translate.google.co.uk/trans...d-707-1-1.html
Original link :
http://developer.t-firefly.com/thread-707-1-1.html
RK (Rockchip) wiki;
http://linux-rockchip.info/mw/index.php?title=Main_Page
Website containing flashing tools;
http://wiki.radxa.com/Rock/flash_the_image
Another website containing info about flashing the mk902 (android);
http://www.gaggl.com/2014/06/upgrade...c-from-ubuntu/
Note that I used that website to put my device into its special recover/bootloader mode - to do this, I did the following;
Code:
Plug in USB Male-to-Male connector into the port marked “Slave” – not the other 3 hubs.
Press the “Reset” button using a paper-clip or similar pointy object.
After 3-5 seconds release reset button and plug the other end of the USB Male-to-Male connector into the Ubuntu box.
Ok, I know this is a bit of a confused mess but does anyone know or worked out quite how to create all of this for a "normal" debian image at all?
Thanks
ljones