Hi everyone!
I got a Rock 5C lite and an eMMC module and I was a bit confused with the Wiki on Rock 5C: It does not mention an SPL loader for that model.
I doubt that the 5B loader will work (and in fact rkdeveloptool refuses with “creating comm object failed”).
So, my question: When will the loader for 5C Lite eMMC be available?
Edit: I mistyped SPI instead of SPL (fell for the lower case L in the filename).
That file was linked there already. It’s just not clearly labelled and on the download server there is no directory corresponding to 5C. Changing the text on the link should make this clear for other users.
The boot image you provided does not seem to load properly on the 5c lite, or does the 5c lite not have SPI either? Output from the RKDevTool_v2.96 log file below:
It was all actively discussed in the days of 5A, but there was a little less confusion back in the day, because 5A was shipped with a Radxa SPI Flash Module.
RK3588S (unlike RK3588) doesn’t have enough I/O, so it can’t have both eMMC and SPI at the same time. So, if you don’t need eMMC, and want to boot from NVMe, you’ll need the above module. Similarly, the question about CM5 is kinda trivial: CM5 comes with eMMC soldered on, so no SPI.
Thats what I meant to say =/= (maybe this doesnt means different) Cant remember the right =/= code to different anyways yes spi/spl are different things.
Well, my naive thought was “SPI flash” is flash attached via an SPI bus, isn’t it?
Anyway, I think by checking schematics and RK3588S datasheet I got it now and the limitation is the following:
RK3588S while containing plenty of SPI controllers can only boot from:
SD/MMC Interface
eMMC Interface
Flexible Serial Flash Interface (FSPI)
And on RK3588S (and castrated variants like RK3582/RK3583) the eMMC and FSPI data lines are pinmuxed (EMMC_D0 and FSPI_D0 share the pins, EMMC_D1 and FSPI_D1 as well and so on) as such it’s as you said and you either get eMMC or (bootable) SPI flash. And what I called an eMMC to SPI adapter isn’t one but it’s a simple module that works since internal RK3588S 1st stage bootloader is capable to probe the data lines and can work directly with SPI flash inside the eMMC socket.
As for the questions why Radxa guys recommend to flash something to something non-existent or why they want to annoy their 5C customers by not bundling these boards with the SPI module too… ah, nevermind…
And I guess members of this team (who don’t answer these questions but post questionable instructions) are the same who sometimes wonder why the Raspberry Pi is such a success…
You can just flash our system image to the microSD card. If the image is too big and write fails, it is OK since the bootloader is on on the first 16 MB. Afterwards you can recreate the partition table on your microSD card, so the bootloader won’t find anything to boot on the microSD card, and will try NVMe instead.