Zero 3W w. eMMC: Initial flash w. Debian XFCE DB6 fails

Image: radxa-zero3_debian_bullseye_xfce_b6.img
Loader: rk356x_spl_loader_ddr1056_v1.12.109_no_check_todly.bin

Hello,

Just received my Zero 3W w. 4GB RAM and 32GB eMMC.

On my Windows machine:

  • Installed the drivers
  • Installed RKDevTool
  • Held the maskrom button while inserting my USB-C to USB-A into my computer
  • Light on Zero3 W is solid green
  • Device is found in RKDevTool
  • Specified:
    rk356x_spl_loader_ddr1056_v1.12.109_no_check_todly.binrk356x_spl_loader_ddr1056_v1.12.109_no_check_todly.bin for ā€œLoaderā€
    and
    radxa-zero3_debian_bullseye_xfce_b6.img for ā€œImageā€
  • Changed the ā€œStorageā€ for ā€œImageā€ to ā€œeMMCā€
  • Checked ā€œWrite by addressā€
  • Pressed ā€œRunā€
  • Received the following error (see printscreen)

    Note that this screenshot is taken AFTER Iā€™ve removed my Zero 3W, that is why it says "No Devices Found".

Tried three USB-A (2* USB 3.X and 1* USB 2.0) ports and one USB-C port (using a USB-C to USB-C cable) and receive the same error when trying to upload the OS.

On my Mac machine:

  • Compiled rkdeveloptool as per instructions
  • Held the maskrom button while inserting my USB-C to USB-A into my computer
  • Light on Zero3 W is solid green
  • sudo rkdeveloptool db <path-to-spl_loader> returns:
    Downloading bootloader succeded.
  • sudo rkdeveloptool ld returns:
    DevNo=X Vid=Y Pid=Z LocationID=1234 Maskrom
  • sudo rkdeveloptool wl 0 <path-to-radxaā€¦b6.img> returns:
    Write LBA failed!

Any ideas?

Best Regards

Update:

Packaging:

eMMC:
Radxa%20Zero%203W%20eMMC

It looks like you are using the loader file and img file exactly right.
Did you follow this procedure ļ¼Ÿ

Thank you for your reply.

Yes I followed the instructions .
I did all the steps I outlined in my previous post, if I missed / misunderstood something then please point it out because I donā€™t believe I did.

Please try to burn the img to SD card, and then observe whether the system can start normally.

Then execute lsblk command to see if emmc is recognized.

Iā€™m using a 5V/3A PSU and have connected the USB-C to USB-C cable to the USB 2.0 OTG-port.
I used the radxa-zero3_debian_bullseye_xfce_b6.img and Etcher to burn it to a good quality (SanDisk Ultra mSDHC 32GB) SD-card.

Inserted the SD-card this way:


since the official instructions mentions a picture but doesnā€™t provide one.

The system blinks green in this sequence:
TS

My monitors HDMI reports ā€œNo video signalā€.

The system seems to be running fine, does the Micro HDMI adapter work properly? have you tested it ?

I bought a ā€œnativeā€ micro -HDMI to HDMI and can now login to the system.
However how can I utilize the eMMC?
Output from ā€œlsblkā€:

Please try this version of RKDevTool:
https://dl.radxa.com/tools/windows/RKDevTool_Release_v2.86.zip


(Sorry for the slow GIF)

2.86 does not give me an option to select ā€œeMMCā€ as 2.96 does.

Below is 2.96 with the same error as before:

and the content of the log:

19:27:57 445 RKDevTool v2.9.6.0 start run
19:28:14 794 Layer<4-9>:Download Boot Start
19:28:20 903 Layer<4-9>:Download Boot Success
19:28:20 906 Layer<4-9>:Wait For Maskrom Start
19:28:21 577 Layer<4-9>:Wait For Maskrom Success
19:28:21 577 Layer<4-9>:Test Device Start
19:28:21 584 Layer<4-9>:Test Device Success
19:28:21 589 Layer<4-9>:Check Chip Start
19:28:21 592 Layer<4-9>: Check Chip Success
19:28:21 597 Layer<4-9>:Get FlashInfo Start
19:28:21 599 <LAYER 4-9> INFO:FlashInfo: 00 E0 A3 03 00 04 04 00 28 00 01
19:28:21 603 <LAYER 4-9> INFO:GetFlashInfoā€“>Emmc storage.
19:28:21 609 Layer<4-9>:Get FlashInfo Success
19:28:21 613 Layer<4-9>:Prepare IDB Start
19:28:21 616 <LAYER 4-9> INFO:CS(1) (29820MB) (SAMSUNG)
19:28:21 622 Layer<4-9>:Prepare IDB Success
19:28:21 626 Layer<4-9>:Download IDB Start
19:28:21 629 <LAYER 4-9> INFO:DownloadIDBlockā€“>New IDB
19:28:21 689 Layer<4-9>:Download IDB Success
19:28:21 691 Layer<4-9>:Wait For Maskrom Start
19:28:22 311 Layer<4-9>:Wait For Maskrom Success
19:28:22 312 Layer<4-9>:Test Device Start
19:28:22 319 Layer<4-9>:Test Device Success
19:28:23 341 current storage = EMMC,switch storage = EMMC
19:28:23 343 Layer<4-9>: Download radxa-zero3_debian_bullseye_xfce_b6 at 0x00000000ā€¦
19:28:28 366 Error:RKU_Writeā€“>WriteFile failed,bRet=0,err=995,size=1048576,write=0
19:28:50 417 INFO:RKU_ResetPipeā€“>DeviceIoControl OK
19:28:55 429 Error:RKU_Writeā€“>WriteFile failed,bRet=0,err=995,size=1048576,write=0
19:28:55 429 ERROR:DownloadImageā€“>RKU_WriteLBA failed,Written(0),RetCode(-3)
19:28:55 451 Layer<4-9>: RunProc is ending, ret=0

Please make your selection as shown in the picture, Name is customizableļ¼š

Thank you, that solved it.

For other people having the same problem:

RKDevTool v2.86

  • Set the Zero 3W in maskrom-mode
  • Right-click in any of the white area below the last entry (ex. below row ā€œ2ā€)
  • Select ā€œClear Itemsā€
  • Same procedure but select ā€œAdd Itemā€
  • Enter ā€œimageā€ in the ā€œNameā€-column for your newly added row
  • Click in the column named ā€œā€¦ā€ on each row and select:
    • the ā€œspl_loaderā€ for the ā€œloaderā€-row (#1)
    • the OS-image for the ā€œimageā€-row (#2)
  • Check the ā€œWrite by Addressā€ checkbox
  • Click ā€œRunā€
1 Like