You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`hal/mpfs250.its` - For creating new FIT images with Kernel and DTB
802
+
`hal/mpfs250.its` - Example FIT image creation template
803
803
804
-
### Building PolarFire SoC
804
+
### PolarFire SoC Building wolfBoot
805
805
806
806
All build settings come from .config file. For this platform use `TARGET=mpfs250` and `ARCH=RISCV64`.
807
807
@@ -826,6 +826,10 @@ make
826
826
sudo cp hss-payload-generator /usr/local/bin/
827
827
```
828
828
829
+
The HSS MMC boot source looks for GPT with GUID "21686148-6449-6E6F-744E-656564454649" or sector "0" if no GPT found. That GUID is the default "BIOS" boot partition.
830
+
831
+
The resulting image from `hss-payload-generator` can be directly placed into GPT BIOS partition.
832
+
829
833
Use this command to assemble a bootable wolfboot image:
830
834
831
835
```sh
@@ -837,24 +841,20 @@ Any customizations to the Device Tree can be made in mpfs.dts and it can be reco
837
841
Example one-shot command:
838
842
839
843
```sh
840
-
cp ./config/examples/polarfire_mpfs250.config .config && make clean && make wolfboot.elf && size wolfboot.elf && hss-payload-generator -vvv -c ./hal/mpfs.yaml wolfboot.bin&& file wolfboot.bin && ls -la wolfboot.bin
844
+
cp ./config/examples/polarfire_mpfs250.config .config && make clean && make wolfboot.elf && size wolfboot.elf && hss-payload-generator -vvv -c ./hal/mpfs.yaml wolfboot.bin
841
845
```
842
846
843
-
### Flashing PolarFire SoC
844
-
845
-
The HSS MMC boot source looks for GPT with GUID "21686148-6449-6E6F-744E-656564454649" or sector "0" if no GPT found. That GUID is the default "BIOS" boot partition.
846
-
847
-
The resulting image from `hss-payload-generator` can be directly placed into GPT BIOS partition. The HSS tinyCLI supports the `USBDMSC` command to mount the eMMC or SD card as a USB device. You can then use "dd" to copy the boot image to the BOOT partition 2. Example:
847
+
The HSS tinyCLI supports the `USBDMSC` command to mount the eMMC or SD card as a USB device. You can then use "dd" to copy the boot image to the BOOT partition. Use `lsblk` to locate the boot partition and replace /dev/sdc1 in the example:
This section describes how to build the test-application, create a custom uSD with required partitions and copying signing test-application to uSD partitions.
855
+
### PolarFire testing
856
856
857
-
To use your own application (Linux FIT Image, ELF, etc) just replace test-app/image.elf with your own file (example "fitImage").
857
+
This section describes how to build the test-application, create a custom uSD with required partitions and copying signed test-application to uSD partitions.
858
858
859
859
1) Partition uSD card (replace /dev/sdc with your actual media, find using `lsblk`):
860
860
@@ -914,52 +914,52 @@ Device Start End Sectors Size Type
0 commit comments