superb
February 9, 2023, 2:12am
#1
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
numbqq
February 9, 2023, 3:55am
#2
Hello @superb
You can flash new image to revovery your board.
superb
February 9, 2023, 4:02am
#3
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
superb
February 9, 2023, 6:13pm
#5
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.
numbqq
February 10, 2023, 2:17am
#6
It seems that you flash the u-boot to spi flash, could you enter the u-boot command line ?
superb
February 10, 2023, 5:18am
#7
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?
numbqq
February 10, 2023, 10:39am
#8
When you try to boot into upgrade mode via TST what’s the output on the serial console?
superb
February 10, 2023, 7:02pm
#9
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
numbqq
February 11, 2023, 3:55am
#10
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
superb
February 13, 2023, 7:12pm
#11
I just tried booting with the image you provided, no change
numbqq
February 14, 2023, 2:41am
#12
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.
superb
February 14, 2023, 4:19am
#13
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:
Sign in to iCloud to access your photos, videos, documents, notes, contacts, and more. Use your Apple ID or create a new account to start using Apple services.
numbqq
February 14, 2023, 7:00am
#14
Hello @superb
Our after-sales team will contack you and help you to resolve this issue later.
lilysun
February 14, 2023, 7:04am
#15
Hi @superb
Please note your private message,
We need some information from you so that we can follow up after-sale.
superb
February 14, 2023, 7:55am
#16
I see the message, thanks!
1 Like
igorp
February 14, 2023, 12:23pm
#17
I manage to brick it too 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?
numbqq
February 14, 2023, 12:41pm
#18
Ohh,that’s too bad. we can send you a new one.
igorp:
Can be rescued?
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
igorp
February 14, 2023, 1:57pm
#19
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.