uboot images #89
-
We need uboot and openSBI image from the following version: https://github.com/polarfire-soc/meta-polarfire-soc-yocto-bsp/releases/tag/v2021.04
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hi @kowalski100,
This will print out the new loop device number to the console, e.g., something like ...
Extract the HSS For the rest of this example, I'm going to use
You can see from the above fdisk output that Next, copy
The resulting OPTIONAL: Use the payload generator -d flag to make sure that it is a payload.bin.:
OPTIONAL: Truncate the payload.bin size: - In this case, the HSS Payload Generator tool has told us that the
|
Beta Was this translation helpful? Give feedback.
-
Hi @griffini, Thank you so much for taking time to provide such a detail answer. I was able to extract payload.bin file. I have following followup questions:
Sure. We want our software to run on icicle after uboot instead of linux kernel. So we need flow till uboot. |
Beta Was this translation helpful? Give feedback.
-
Regarding your questions:
See https://github.com/polarfire-soc/hart-software-services/tree/master/tools/hss-payload-generator#readme for more information on how to create a What you describe is simpler than using Linux, so your flow will be probably something like:
|
Beta Was this translation helpful? Give feedback.
-
@griffini Thank you so much for the detail answer. |
Beta Was this translation helpful? Give feedback.
Hi @kowalski100,
First, create a loopback (virtual block) device using the wic file...
This will print out the new loop device number to the console, e.g., something like ...
Extract the HSS
payload.bin
from this... It is usually partition 2 -- you can usefdisk /dev/loopXX
to be sure, where //dev/loopXX
corresponds to the loop device number previously printed to the console.For the rest of this example, I'm going to use
/dev/loop31
, but make sure to substitute the correct loop device for your s…