Re: [PATCH v2 1/2] riscv: Support booting SiFive Unmatched from SPI.

2021-11-24 Thread David Abdurachmanov
On Wed, Nov 24, 2021 at 10:11 PM Thomas Skibo wrote: > > On 11/23/21 8:39 PM, Sean Anderson wrote: > > On 11/23/21 11:27 PM, Thomas Skibo wrote: > >> + > >> + > >> +Booting from SPI > >> + > >> + > >> +Use Building steps from "Booting from uSD using U-Boot SPL" section. > >> + > >>

Re: [PATCH v2 1/2] riscv: Support booting SiFive Unmatched from SPI.

2021-11-24 Thread Thomas Skibo
On 11/23/21 8:39 PM, Sean Anderson wrote: On 11/23/21 11:27 PM, Thomas Skibo wrote: + + +Booting from SPI + + +Use Building steps from "Booting from uSD using U-Boot SPL" section. + +Partition the SPI in Linux via mtdblock. + +.. code-block:: none + +    sgdisk --clear -a 1 \ +  

Re: [PATCH v2 1/2] riscv: Support booting SiFive Unmatched from SPI.

2021-11-23 Thread Sean Anderson
On 11/23/21 11:27 PM, Thomas Skibo wrote: Configure SPI flash devices into SPL. Add SPI boot option to spl.c. Document how to format flash for booting. Signed-off-by: Thomas Skibo --- .../dts/hifive-unmatched-a00-u-boot.dtsi | 11 +++ board/sifive/unmatched/spl.c |

[PATCH v2 1/2] riscv: Support booting SiFive Unmatched from SPI.

2021-11-23 Thread Thomas Skibo
Configure SPI flash devices into SPL. Add SPI boot option to spl.c. Document how to format flash for booting. Signed-off-by: Thomas Skibo --- .../dts/hifive-unmatched-a00-u-boot.dtsi | 11 +++ board/sifive/unmatched/spl.c | 3 ++ configs/sifive_unmatched_defconfig