Armbian + KODI (Ubuntu\Debian) for SD & USB & eMMC

Hi,

I downloaded the images to test, I have the VIM2 PRO (32 GB).

I want to run them directly into the internal memory (eMMC).
Is it just to do the same procedure with the USB Burning tool that I already used for other firmware?

I was confused how to load these images into the VIM2.

Thank you

p.s.
I wanted to post the link in the first post of this topic, but I have no rights to edit.

1 Like

Hi,

Sory.

I read the link you sent me, but I did not understand a few steps.

I have to first burn the image to the microSD card, right?
How do I do this? With which application? Iā€™m using Windows ā€¦

Then Iā€™m going to boot into VIM2 with this MicroSD card, right?
For this, my current VIM2 is with Ubuntu Server. What do I need to do to boot the MicroSD card?

After I boot the MicroSD card, I can install it inside the eMMC, right? Then I understood that I have to run install.sh, this part is clearer for me.

Thank you

From the beginning replace the firmware in eMMC on Android version. Only after that you can activate the multi-boot.

Hi @balbes150,

I used a different method, please note:

  1. in my eMMC I have a ubuntu that I compiled manually for some tests.
  2. I used the ā€œWin32 Disk Imagerā€ application to record the images on the microSD card.
  3. when you turned on the VIM2, it automatically booted via the card.

With this, I did not need to put the android in eMMC or anything!

Thanks :wink:

Good news. :slight_smile:
I compiled a test image of Ubuntu server 20171201 with the latest version of the kernel 4.x and mainline u-boot (the file u-boot collected @numbqq).
The necessary patches to build u-boot provided by @narmstrong

After adding a new version of u-boot on the SD card,

dd if=u-boot.bin.sd.bin of=/dev/mmcblkX conv=fsync,notrunc bs=1 count=444
dd if=u-boot.bin.sd.bin of=/dev/mmcblkX conv=fsync,notrunc bs=512 skip=1 seek=1

and adding a file boot.scr system normally runs on the VIM2. Is output to the screen runs the console UART and a working wired network (can use SSH).

All the necessary files and the image can be found at this link.

4 Likes

Iā€™m a little out of the loop. Is USB still non-function with mainline+VimPro?
narmstrongā€™s OpengGL and stuff is there already from what I understand

Maybe this is ready to be used as a headless server?
Just need to figure out how to have it autoconnect to WiFi on boot :slight_smile:

  1. USB this version is not working
  2. You can test this version in server mode. Please note, this is a test kernel and it is not intended for stable use.
1 Like

Image update 5.37_3.14.29_20171208.

2 Likes

New image Armbian 20171211 with a light shell IceWM DE.

3 Likes

Is the USB something the Khadas Team is working on? @Gouwa :blush:

I donā€™t understand the question.

You were saying ā€œUSB this version is not workingā€

According to this thread:

it sounded like USB was supposed to work with 4.14? Or at least in August everyone was waiting for USB support in mainline. Iā€™m not really clear from whoā€¦ Maybe I should post on that thread instead

At the moment in the mainline kernel has no support for USB on s905X and s912. If you really need this version, you can try a test version of the images Armbian kernel 4.14 in which the USB operates. This version of the kernel are built using a large number of patches from @narmstrong .

2 Likes

A test image with a Ubuntu Mate 17.04. To run on the VIM2 you need to uninstall the dtb file.img. The image uses a generic multiboot. To change the screen resolution, you need to change the script /boot/hdmi.sh (same as specified for images Armbian). The name and password of the user ā€œkhadasā€ , root password is ā€œkhadasā€.

This image was compiled using script FENIX.

4 Likes

Added a new image 20171216 with Ubuntu Mate 17.04 kernel 4.9.40

Hi balbes150,

The image you build based on this commit? Iā€™ve tried, but the HDMI canā€™t work well, my monitor resolution is 1080p@60hz, so I modify ā€˜/boot/hdmi.shā€™ to 1080p@60hz.

OK. The problem is script /etc/initramfs-tools/scripts/local-top/khadas_init.sh, maybe need to be removed if enable 0hdmi service.

No need to remove it. I deliberately made the activation of the monitor in two phases. In the first stage is a minimum value (720). In the second stage the resolution is set again with parameters needed for operation (720 or 1080). Many on TV who have no 1080 mode, it is not possible to start the system. Two stages allow to do it on any models with a direct connection and when connected via HDMI adapter-VGA.

1 Like

Image update Armbian 20171226.

The main change is the upgrade packages to the current versions in the network reach.