Hi I am desperately trying to install linux on my khadas edge V.
I tried on both Linux and Windows host. USB and SD installations.
Nothing has worked so far.
On windows when I use the RKDevTool/android tool, I get the “no devices found” (tried booting on normal and upgrade mode). When I using the SD disk tool, and using a fenix image and Edge_Ubuntu-lxde-bionic_Linux-4.4_arm64_SD-USB_V20190830 I get the message: “Opening firmaware faileds”.
On linux when I try to install via USB, I get something like not in upgrade mode. But as far as I know it is and the image out of HDMI shows I am on upgrade mode.
Fenix image for mainline Ubuntu server has not worked, also when trying to get fenix cript to make mainline Debian server it throws an error (some jpg lib if I remember correctly).
I have tried erasing EMMC from Krescue - still the same
Ubuntu image I was trying to burn into Khadas Edge-V was built with fenix script:
$ source env/setenv.sh
Choose Khadas board:
1. Edge
2. VIM1
3. VIM2
4. VIM3
5. VIM3L
Which board would you like? [2] 1
Choose uboot version:
1. uboot-2017.09
2. uboot-mainline
Which uboot version would you like? [1] 2
Choose linux version:
1. linux-mainline
Which linux version would you like? [1] 1
Choose distribution:
1. Ubuntu
2. Debian
Which distribution would you like? [1] 1
Choose Ubuntu release:
1. bionic
2. focal
Which Ubuntu release would you like? [1] 2
Choose Ubuntu type:
1. server
2. minimal
3. xfce
4. lxde
5. gnome
Which Ubuntu type would you like? [1] 1
Set architecture to 'arm64' by default.
Choose install type:
1. EMMC
2. SD-USB
Which install type would you like? [1] 1
===========================================
#VERSION: 0.9.5
#KHADAS_BOARD=Edge
#VENDOR=Rockchip
#CHIP=RK3399
#LINUX=mainline
#UBOOT=mainline
#DISTRIBUTION=Ubuntu
#DISTRIB_RELEASE=focal
#DISTRIB_TYPE=server
#DISTRIB_ARCH=arm64
#INSTALL_TYPE=EMMC
===========================================
Environment setup done.
Type 'make' to build.
Using AndroidTool_Release_en_v2.71.zip on Windows 10 fails with Test device failed error using any image - even downloaded from Khadas. When I try Linux util, get pretty much the same:
rk-burn-tool -i /home/gytis/khadas/ubuntu/fenix/build/images/Edge_Ubuntu-server-focal_Linux-5.9-rc2_arm64_EMMC_V0.9.6-201112.img
[sudo] password for gytis:
Burn to eMMC...
Rockchip Android image (or linux image compatible with AndroidTool one image burning) found!
Try to burn Rockchip image...
Program Data in /home/gytis/khadas/utils/rk-flash-tool/tools/Linux_Upgrade_Tool
Loading firmware...
Support Type:RK330C FW Ver:fd.c0.3779 FW Time:2020-11-12 17:19:11
Loader ver:1.24 Loader Time:2020-11-12 16:48:58
Test Device Start
And it keeps forever in this.
The only was I succeeded to burn image was from Krescue downloading Ubuntu image from Khadas website - it downloaded SD-USB variant and successfully installed it, so I assume board is fine.
But if I upload my Ubuntu image built with Fenix to SD card and choose it from Krescue, it says that Image not suitable for Edge board. Tried both: EMMC and SD-USB images - still the same.
I don’t know if this will have any additional use, but before on this Edge-V I’ve had Android Pie and also TWRP installed.
Yes, Krescue uses images compressed with xz, so as Fenix generates .img, I have packed it to .img.xz. When I used Krescue to doenload image from dl.khadas.com, it downloaded .img.xz file and burned it correctly.
But when I used 'imgthat Fenix generated and I packed it toimg.xz, Krescue complained Image not suitable for Edge board`.
But what is different between images on dl.khadas.com and ones generated with Fenix? Shouldn’t it be similar enough so that Krescue would accept either?
I think within the main Krescue program (that runs on top of openWRT itself)
filters out the files which aren’t in *.kresq format when reading from external flash or the downloads, this is just my assumption, Hyphop would know better than me here, so i’d leave it him to say why it happens.
I have upgraded Krescue, built Ubuntu Focal (mainline) with COMPRESS_IMAGE=yes make and chose SD-USB image type. Then copied Edge_Ubuntu-xfce-focal_Linux-5.9-rc2_arm64_SD-USB_V0.9.6-201118.img.xz to SD card dumps partition and launched Krescue - was able to burn that image successfully.