Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[General] Booting from NVME and SATA storage?

120

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
120
Posted at 7/19/2021 11:45:34      1#
Hi,
The AIO-3568J can only boot from SATA storage.
You can refer to this patch:
  1. diff --git a/arch/arm/dts/rk3568-u-boot.dtsi b/arch/arm/dts/rk3568-u-boot.dtsi
  2. index f4a466e327..f1236742be 100644
  3. --- a/arch/arm/dts/rk3568-u-boot.dtsi
  4. +++ b/arch/arm/dts/rk3568-u-boot.dtsi
  5. @@ -427,3 +427,22 @@
  6.         u-boot,dm-pre-reloc;
  7.         status = "okay";
  8. };
  9. +
  10. +&sata1 {
  11. +       u-boot,dm-pre-reloc;
  12. +       status = "okay";
  13. +};
  14. +
  15. +&combphy1_usq {
  16. +       u-boot,dm-pre-reloc;
  17. +       status = "okay";
  18. +};
  19. +
  20. +&pipegrf {
  21. +       u-boot,dm-pre-reloc;
  22. +};
  23. +
  24. +&pipe_phy_grf1{
  25. +       u-boot,dm-pre-reloc;
  26. +};
  27. +
  28. diff --git a/configs/rk3568-sata.config b/configs/rk3568-sata.config
  29. new file mode 100644
  30. index 0000000000..110e611bab
  31. --- /dev/null
  32. +++ b/configs/rk3568-sata.config
  33. @@ -0,0 +1,11 @@
  34. +# CONFIG_AHCI_PCI is not set
  35. +CONFIG_AHCI=y
  36. +CONFIG_BASE_DEFCONFIG="rk3568_defconfig"
  37. +CONFIG_CMD_SCSI=y
  38. +CONFIG_DM_SCSI=y
  39. +CONFIG_DWC_AHCI=y
  40. +CONFIG_LIBATA=y
  41. +CONFIG_PHY_ROCKCHIP_NANENG_COMBOPHY=y
  42. +# CONFIG_SATA_CEVA is not set
  43. +CONFIG_SCSI_AHCI=y
  44. +CONFIG_SCSI=y
Copy the code
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list