Bricked Edge V, can't access upgrade mode

Which system do you use? Android, Ubuntu, OOWOW or others?

kRescue

Which version of system do you use? Khadas official images, self built images, or others?

Edge.krescue.sd.220110_266.img

Please describe your issue below:

I have accidentally bricked my edgev with krescue. I was trying to wipe the standard android image from the eMMC and update uboot. I don’t remember what all I did in krescue, but once I rebooted the board would no longer boot.

I haven’t been able to get anything to boot since, and I haven’t been able to access upgrade mode to fix it. No matter what I try, I always get same log when booting (below).
I’ve tried:

  • Reflashing krescue on the SD card
  • Flashing other OSs on the SD card
  • Accessing upgrade mode using all possible methods listed here: Edge1 Boot into Upgrade Mode [Khadas Docs]
    • TST/Key/Serial/Mregister all gave the same log as below

Any way I can revive this board? Thank you!

Post a console log of your issue below:

Log from serial console:

Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate: change freq to 800000000 mhz 1, 0

U-Boot SPL 2021.07 (Sep 28 2022 - 14:55:25 +0800)
*** BOOT_SOURCE_ID 3 (2:emmc 3:spi 5:sd ...)***
spl_boot: SPI > MMC2 > MMC1 > 
Trying to boot from SPI
fdt_record_loadable: FDT_ERR_BADMAGIC
fdt_record_loadable: FDT_ERR_BADMAGIC
fdt_record_loadable: FDT_ERR_BADMAGIC
fdt_find_or_add_subnode: chosen: FDT_ERR_BADOFFSET
spl_perform_fixups: could not find/create '/chosen'
fdt_root: FDT_ERR_BADMAGIC

Hello @superb

You can flash new image to revovery your board.

Hi! I’ve tried using TST mode, but it’s not working. The board doesn’t show up as a usb device and from the serial console appears to try and fail to boot normally

Please make sure:

  • Connect USB cable to Edge-V OTG port (bewteen HDMI and USB Host) and PC correctly or you can change to use other USB cable or USB host port on PC
  • When you quickly press FUNC three times, have you see the blue LED blink?

Confirmed I’m using the right USB port on the board. I tried a couple different USB cables, none of them worked. I also used another device to confirm the USB port works on the computer I’m trying to flash from.

The blue LED does blink a couple times when I press the FUNC button three times.

It seems that you flash the u-boot to spi flash, could you enter the u-boot command line ?

It seems that you flash the u-boot to spi flash

Whoops, that doesn’t sound great…

I haven’t been able to get to a u-boot shell yet. The method I’ve been trying is sending a space character through the serial console as it boots. Is there another way I can try?

When you try to boot into upgrade mode via TST what’s the output on the serial console?

I just double checked to be sure; I press the button three times, it waits just a sec, blinks, and prints the same log as my original post. Here is the exact log from the test I just did:

Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate: change freq to 800000000 mhz 1, 0

U-Boot SPL 2021.07 (Sep 28 2022 - 14:55:25 +0800)
*** BOOT_SOURCE_ID 3 (2:emmc 3:spi 5:sd ...)***
spl_boot: SPI > MMC2 > MMC1 > 
Trying to boot from SPI
fdt_record_loadable: FDT_ERR_BADMAGIC
fdt_record_loadable: FDT_ERR_BADMAGIC
fdt_record_loadable: FDT_ERR_BADMAGIC
fdt_find_or_add_subnode: chosen: FDT_ERR_BADOFFSET
spl_perform_fixups: could not find/create '/chosen'
fdt_root: FDT_ERR_BADMAGIC

Hello @superb

Can you try to boot oowow from SD card?

  • Write oowow image to SD card, you can check this documentation

  • Insert the SD card to board

  • Force boot from SD card via TST mode

    • Just quick press FUNC in 3 seconds, then the board will reboot and boot from SD card

I just tried booting with the image you provided, no change :frowning:

Hello @superb

The TST mode should work in any situation to put your board enter upgrade mode.

Could you please shoot a video of all your operarions? We need to check what’s going wrong on your side.

I took two videos with and without the sdcard. The sdcard was flashed to the oowow image you gave me.

I couldn’t upload them to the forum, so here’s a link:

Hello @superb

Our after-sales team will contack you and help you to resolve this issue later.

Hi @superb

Please note your private message,
We need some information from you so that we can follow up after-sale.

I see the message, thanks!

1 Like

I manage to brick it too :wink: and while trying to recover via M key I might have damaged PCB.

No method works and this is on serial no matter what I do:

U-Boot TPL 2022.04-armbian (Aug 26 2022 - 13:13:23)
Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate: change freq to 800000000 mhz 1, 0
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2022.04-armbian (Aug 26 2022 - 13:13:23 +0000)
Trying to boot from MMC2
Card did not respond to voltage select! : -110
spl: mmc init failed with error: -95
Trying to boot from MMC1
Card did not respond to voltage select! : -110
spl: mmc init failed with error: -95
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

Can be rescued?

Ohh,that’s too bad. we can send you a new one.

Can you enter upgrade mode via TST now? If so, you can try enter upgrade mode and flash a bootable ubuntu image to it. https://dl.khadas.com/products/edge1/firmware/ubuntu/emmc/edge-ubuntu-18.04-server-linux-4.4-fenix-1.1.1-220725-emmc.img.xz

No, the same. I tried the same procedure with vim3, works without a problem.

Thanks, no urgency with this. Will mention when getting other boards.