From bb4932fc284eb4d34282ce716d9bf3e1d658104a Mon Sep 17 00:00:00 2001 From: marqs Date: Mon, 2 Feb 2026 22:42:13 +0200 Subject: [PATCH] update FW image creation instructions --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 94c95a3..a652603 100644 --- a/README.md +++ b/README.md @@ -111,12 +111,16 @@ cd tools && gcc create_fw_img.c -o create_fw_img ~~~~ where * \ is RBF format bitstream file (typically ../output_files/ossc.rbf) -* \ is SW image binary (typically ../output_files/ossc.rbf) -* \ is target offset for the SW image binary (typically 0x50000) +* \ is SW image binary (typically ../software/sys_controller/mem_init/flash.bin) +* \ is relative offset for the SW image binary * \ is version string (e.g. 1.20) * \[version_suffix\] is optional max. 8 character suffix name (e.g. "mytest") -The command creates ossc_\-\.bin which can be copied to fw folder of SD card. A secondary FW (identified by specific key in header) gets automatically installed at flash address 0x00080000. +The primary firmware has FPGA bitstream at offset 0x0 and SW image at 0x50000 so the command is typically as follows: +~~~~ +./create_fw_img ../output_files/ossc.rbf ../software/sys_controller/mem_init/flash.bin 0x50000 1.21 mytest +~~~~ +The command creates ossc_\-\.bin which can be copied to fw folder of SD card. A secondary FW (identified by specific key in header) gets automatically installed at flash base address 0x00080000. Debugging --------------------------