U-Boot with direct NVMe boot support for eMMC/SPI Flash
#27
(12-03-2019, 12:05 PM)Wizzard Wrote: I tried it but this is the output:

dd: writing to '/dev/mtd0': No space left on device
8129+0 records in
8128+0 records out
4161536 bytes (4.2 MB, 4.0 MiB) copied, 12.889 s, 323 kB/s

I see in lsblk there is no mtd0 device, just this:

mtdblock0     31:0    0     4M  0 disk
mtdblock1     31:1    0    32K  0 disk
mtdblock2     31:2    0   256K  0 disk

So I am a little afraid to reboot now Smile

@Wizzard was able to fix incomplete SPI flash using Rockchip's rkdeveloptool.
Since the first 4 Mbytes of SPI image contain only DDR initialization and SPI bootcode, device got stuck in Loader mode.
Connecting it with USB-C cable to PC and executing the following was enough to fix it:
Code:
rkdeveloptool wl 0 /path/to/spiflash.bin
  Reply


Messages In This Thread
RE: U-Boot with direct NVMe boot support for eMMC/SPI Flash - by pcm720 - 12-03-2019, 03:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Sad What to can't boot from TF card, EMMC system broken - any advice?do guys? qingss0 1 429 12-18-2025, 01:05 AM
Last Post: qingss0
  swap eMMC advice jceaser 2 711 10-23-2025, 09:59 PM
Last Post: Der Geist der Maschine
  Need new eMMC Karsten1 2 2,807 10-23-2025, 09:38 AM
Last Post: jceaser
  Bonk to boot biketool 2 912 10-21-2025, 09:08 AM
Last Post: biketool
  3 days in, slow/stuck or no boot. lgmpbp2 34 22,093 06-11-2025, 08:53 AM
Last Post: lgmpbp2
  upgrading u-boot--what version? where to get it? bsammon 14 14,071 04-03-2025, 07:47 AM
Last Post: Tazdevl
Tongue Yet another Pinebook Pro won't boot thread pinemouth 5 10,492 12-27-2024, 11:38 AM
Last Post: akash3995
  broken tow-boot hashkeeper 1 3,450 12-25-2024, 10:12 PM
Last Post: jessipinkman
  Cant boot into an OS trashtendenz 3 4,535 10-23-2024, 03:49 AM
Last Post: chaylengordon
  Unable to boot? YossiS 4 3,030 09-04-2024, 10:35 AM
Last Post: wdt

Forum Jump:


Users browsing this thread: 1 Guest(s)