you compile the BSP successfully, the path include all images.
“MiniLoaderAll.bin uboot.img boot.img misc.img recovery.img rootfs.img parameter.txt”, these images file is for EMMC boot, please use the attachment emmc update tools, flash them into EMMC.
“update.img”, it is for SD boot, please use the attachment SD update tools, flash them into SD Card .
can the sd-card/emmc only created by this (windows-) application? no dd in linux?
which part is update.img for sdcard of the blocks (i guess replace boot.img, if i unserstand you correctly)?
basicly i see in first screenshot adresses, can you show how sdcard looks like? i guess miniloaderall.img, (boot.img,) uboot.img and rootfs.img are same.
Because Silicon Vendor Rockchip implement the built package process, the package tools and some loader sourcecode don’t supply. So we never know that the final image’s format.
Update.img is for SD boot, it’s one vendor special package format. So you only use the vendor tools to flash SD card.
We got rockchip target in OpenWrt and do build ARM Trusted Firmware and U-Boot from source for that target. No proprietary tools involved what-so-ever. See images for NanoPi R2S (RK3328) and NanoPi R4S (RK3399).
can you point me to script where image is created with which files (uboot.bin/fip,…idblock.bin), partition create,…?
have got sdcard in windows-VM working, but sdcard-tool does not find it because it is mapped by virtualbox as harddrive (non-removable), so I’m currently not able to create sdcard as my host system is linux
No, only up to Rk3399 in OpenWrt for now, but I suppose it’s similar?
Rk3568 is also present in vanilla U-Boot by now, but Rk356x is still missing in TF-A sources:
did not see a boot-switch (to choice between emmc/sdcard)
edit: i managed to get usb-cardreader working in windows-vm and selectable in sdcard-tool, but it stops at “clear MBR failed”, it looks like device is blocked in linux when using in virtualbox…i cannot access it from linux and write failes in windows, found my internal reader too, but sometimes it is hidden…strange, but got same error with internal reader
Edit2: got bpi kernel booted to compare settings with my kernel