Open DarwinHexley opened 1 year ago
So far ROCK 5B yocto image, build/tmp/deploy/images/rockchip-rk3588-rock-5b/core-image-minimal-rockchip-rk3588-rock-5b.wic, only supports booting from eMMC.
Can you try eMMC?
By the way, the latest commit is https://github.com/radxa/meta-rockchip/commit/ad1d46ccda227e91b224a23833422f3112560ccf
Thanks for your reply. I don't have a eMMC module here, only micro-sdcards. Is there a chance booting from micro-sd will be supported in future?
Yes. I will try to add booting from Micro SD card.
I am using emmc mode, but still can't boot, can you provide a usable yocto image of rocke-5b。
Yes. I will try to add booting from Micro SD card.
Would be awesome, I need this feature as well. Going to try yocto on Rock 5B
Hi @RadxaStephen, thank you for the awesome work on the project.
I have a question about the boot from Micro SD. How complicated is it to add it? Would you please provide any hints where to look or what to change?
I've got a reply from a person from Rock-Chip (original creator of the repo)
i don't know much about rock 5b, but meta-rockchip doesn't limit the firmware on emmc or sdcard.
for booting from sdcard, normally need: 1/ clear the firmwares on emmc(for example, flash an empty image to the 0-1 mb area to clear partition table)
2/ make sure that the sdcard is accessable in u-boot and kernel stage(need to ask your board's maintainer)
3/ dd the whole .wic image to sdcard on PC
I've tried sudo dd if=core-image-minimal-rockchip-rk3588-rock-5b.wic of=/dev/rdisk4 bs=1m
and checking with a display connected via HDMI, but it does not work.
Aparently I need to make sure that the image is accessible during u-boot and kernel stage. How do I do that?
btw, eventually it did work for me
sudo rkdeveloptool db loader.bin
sudo rkdeveloptool wl 0 ./core-image-minimal-rockchip-rk3588-rock-5b.wic
sudo rkdeveloptool rd
Note: sudo rkdeveloptool wl 0 ...
is often unreliable, instead you can flash the sdcard directly with
sudo bmaptool copy --nobmap core-image-minimal-rockchip-rk3588-rock-5b.wic /dev/sda
But I still have a problem. Rock 5b has no ethernet connection, ifconfig
shows only loopback device, the same for ip link show
.
What can be the issue?
I've tried also wifi dongle, but that thing does not work on rock 5b as well, not visible in the devices list.
But I still have a problem. Rock 5b has no ethernet connection,
ifconfig
shows only loopback device, the same forip link show
. What can be the issue?I've tried also wifi dongle, but that thing does not work on rock 5b as well, not visible in the devices list.
For Ethernet issue, I think it is solved, please see https://github.com/radxa/meta-rockchip/issues/7
I have the same problem on the ROCK 5A, I can't boot from the SD card by flashing the image on it.
@RadxaStephen have you added the Micro SD card boot feature ?
Build
Flash Using balena etcher to flash core-image-minimal-rockchip-rk3588s-rock-5a.wic image
Thank you 🙂
I built a Yocto Image with the following setup:
conf/local.conf
when running
bitbake core-image-minimal
:"meta-wolpertinger" is my own layer. I made a bbappend-Recipe to exclude Broadcom-Chip (how it was showed in this Ticket: #1) The build was successful, but when I flashed the image to micro-sdcard and wanted to boot it from my Rock 5B I saw the following on the serial console:
After the
out
it stopped.I tried out a different Image from Radxa-Build, and it worked. The output from this image was:
Any ideas what's wrong?