Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EVE on Rockchip RK3568 #3053

Closed
chairwa opened this issue Feb 21, 2023 · 5 comments
Closed

EVE on Rockchip RK3568 #3053

chairwa opened this issue Feb 21, 2023 · 5 comments
Labels
question Further information is requested

Comments

@chairwa
Copy link

chairwa commented Feb 21, 2023

Does EVE image run on Rockchip RK3568 / RK3588 etc. development board?

@chairwa chairwa added the question Further information is requested label Feb 21, 2023
@eriknordmark
Copy link
Contributor

eriknordmark commented Feb 21, 2023 via email

@chairwa
Copy link
Author

chairwa commented Feb 22, 2023

At present, first bring up it without caring the performance.

make ZARCH=arm64 HV=kvm live-raw
Burn the built live.raw to an SD card and insert it into the rk3568 board:

  1. If there was original RK system in the eMMC of the board, it will boot the eMMC, and the SD card will be mounted as a normal storage;
  2. If the original system in the eMMC of the board is cleared, the board will not boot.

I wonder how to make the RK board boot from the SD card?

@rene
Copy link
Contributor

rene commented Mar 6, 2023

@chairwa, we support to load the device tree for EVK R3399 board only, which is not the same as yours:

https://github.com/lf-edge/eve/blob/master/pkg/grub/rootfs.cfg#L256

I didn't work with this SoC before, but what I can tell is that you will need to build the u-boot for your board and patch it to provide the SMBIOS information, like is done here:

https://github.com/lf-edge/eve/blob/master/pkg/bsp-imx/patches/uboot-patches-lf_v2022.04/0008-arch-arm-dts-Add-SMBIOS-information-for-Phytec-Pollu.patch

If it helps, you can generate an ARM image with the following command:

make ZARCH=arm64 HV=kvm PLATFORM=imx8mp_pollux live-raw

This will generate an image with almost 8MB offset between the the GPT and EFI partition (first partition). This will give to you room to write your bootloader in this space...

@chairwa
Copy link
Author

chairwa commented Mar 22, 2023

@rene How to make image for EVB_RK3399 if I would like to use evb_rk3399 as a try?
It seem the following is not OK.

make ZARCH=arm64 HV=kvm PLATFORM=evb_rk3399 live-raw

@rene
Copy link
Contributor

rene commented Mar 22, 2023

@rene How to make image for EVB_RK3399 if I would like to use evb_rk3399 as a try? It seem the following is not OK.

make ZARCH=arm64 HV=kvm PLATFORM=evb_rk3399 live-raw

@chairwa , u-boot image generation for evb_rk3399 is currently not supported on EVE, so there is no evb_rk3399 platform option. What I suggested is that you can build an image for another platform and re-write your own u-boot for your board. However, EVE's kernel do support RK3399 (we have some patches and the respective device tree is there).

@rene rene closed this as completed Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants