Jump to content

[Pull Request] - add spi boot support for rock-3a


Recommended Posts

Posted

Description

In kernel 5.18 sfc is added to device tree: https://github.com/armbian/build/blob/master/patch/kernel/archive/rockchip64-5.18/rk356x-sfc-support.patch. So it is possiable to install u-boot to spi flash inside linux system. U-boot image generating commands is reffering to this radxa wiki page(also written by me). Now I can install u-boot to spi flash using command nand-sata-install, and my system on NVME boots with no issue. @catalinii you can test it if you have a NVME rootfs because sfc is the at the last boot order.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

  • [x] u-boot build successfully
  • [x] use nand-sata-install to install u-boot to spi flash and reboot with no issue

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [ ] Any dependent changes have been merged and published in downstream modules

View the full article

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines