Only Android images work on eMMC (Edge-V)

As title says, in my Edge-V only Android works when upgrading the firmware in eMMC. Fenix own builds or your provided Ubuntu eMMC builds don’t work.

Also about SD images, only your provided Ubuntu SD images work, the ones I make with Fenix or Armbian doesn’t work by default. Armbian (SD) works ONLY if I set:

rk3399-khadas-edgev-linux.dtb
to
rk3399-khadas-edge-linux.dtb

So that makes me think there’s something off maybe in my bootloader?

@jgalt91 Can you try the offical firmware with ubuntu . Do you update you code when you builds the ubuntu firmware yourself ? Which armbian or ubuntu SD images you used ? Can you show the log info when it don’r works.It can help up to solve you problems.

All versions Armbian require correct settings of the DTB. If you are trying to run Armbian without setting up the DTB, it won’t work.

eMMc build gets up well through usb.

Yes I’m using the official firmware you provide for eMMC (the Ubuntu desktop one). Tried Edge_Ubuntu-lxde-bionic_Linux-4.4_arm64_EMMC_V20190116
and
Edge_Ubuntu-lxde-bionic_Linux-4.4_arm64_EMMC_V20190830.

Both, after upgrading firmware through USB C in Windows stay on red light steady, then white light blinks and reboots (this loop will repeat indefinitely).
I tried erasing flash and uploading firmwares but didn’t work. Android firmware works good.

When my USB - TTL cable arribes I will try to upload a U-boot Fenix compiled and see if it fixes it.

Yes, but the thing is “edgev” was working well for other people with an Edge-V but not working for me, I had to set up “edge” in the DTB that’s why I’m suscpicious there’s something odd in my bootloader.

@jgalt91 Did you use external power supply? This seems to be due to a lack of power supply, which has been restarting all the time.

Sorry for the late answer, I’m still waiting for the USB-TTL cable to try upgrading a new u-boot so didn’t check forum. Yes I’m using a 27W USB C power supply. I haven’t had any problems with it in Raspberry 3 and 4, or Edge-V with the right images (eMMC Android or SD-USB Ubuntu Desktop).

Edit: the power output modes are 5V 3A, 9V 3A, 12V 2.25A, 15V 1.8A, 20V 1.35A. How the PSU selects the appropiate mode, I really don’t know and can’t be chosen.

Hi @numbqq & @Frank, @tsangyoujun suggested that I bring this issue to your attention. Perhaps you don’t already have enough problems. :smirk: Also, it looks like @Frank has been addressing these eMMC image issues. Perhaps he would like to chime in. In fact, I invite anyone/everyone from Khadas to join in. lol

My problems are to do with upgrading the eMMC to Ubuntu on my EDGE-V. I’ve tried the 2 most recent Khadas dtb’s of Ubuntu desktop and the most recent dtb of server. ~90% of the boots only produce a blank green screen. ~10% (after reset button) produce a multicolored patchwork of squares (like a linear kaleidoscope). It looks like the HDMI is out of sync.
When I use the Power key to power down, there is terminal text scattered across the screen, until the Light Display Manager is stopped. Then, the sync problem also stops and the terminal text is displayed correctly until shutdown. (This also happens during normal shutdown from the Desktop GUI on both the SD card and the eMMC Ubuntu dtb’s.)
I’ve tried replacing the Light Display Manager, boot files, and .config files with files from a working SD card (from the same build date). Afterwards, I could see through three overlayed offset images that the eMMC boot had reached the desktop logon. So, I entered the khadas password and the sync issue magically disappeared when the login form refreshed. From that point, I was able to update and upgrade, create additional users, etc. Everything looked fine, until I rebooted. Then, the green screen returned… permanently. Unfortunately, I am unable to reproduce correcting the out of sync issue by logging on while it is happening.

Update: The out of sync display problem appears as soon as the HDMI drivers load, because the KHADAS logo and terminal text are fragmented, prior to LDM being loaded.
The Desktop may appear as solid green, a kaleidoscope of squarish colors, or 3 offset overlaid images of an otherwise functional desktop.
If I wait until the power saver blanks the screen, a normal desktop is immediately restored whenever it returns from sleep mode. (rather inconvenient😴)
I also noticed that the cooling fan was repeatedly revving up during sleep mode, until I logged on. Then, it immediately slowed to its normal speed. Temp is < 60 deg.:thinking:

Unfortunately, I’m a Linux novice and don’t even know what to grep. So, I apologize in advance.

Thank you for your assistance.:sunglasses:

1 Like

@numbqq

@goenjoy sorry my bad. @TheHermit@numbqq and @Frank are more knowledgeable about this.