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


#61

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


#62

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


#63

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:


#64

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.


Ubuntu server ROM linux mainline V170624 pre-alpha version[EMMC INSTALLATION]
#65

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:


#66
  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.

#67

Image update 5.37_3.14.29_20171208.


#68

New image Armbian 20171211 with a light shell IceWM DE.


#69

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


#70

I don’t understand the question.


#71

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


#72

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 .


#73

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.


#74

Added a new image 20171216 with Ubuntu Mate 17.04 kernel 4.9.40


#75

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.


#76

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


#77

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.


#78

Image update Armbian 20171226.

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


#79

Thanks for this image Im so close to seeing the desktop. The mate distro hangs at starting Bluetooth service. I did notice this error on booting. Not sure if it has anything to do with it or not.


#80
  1. What model VIM (905 or 912) ?
  2. The WiFi module is loaded ?