sophgo / sophgo-doc

BSD 2-Clause "Simplified" License
52 stars 36 forks source link

sg2042: Documentation for SCP firmware (fip.bin) for SG2042? #69

Open silvanshade opened 8 months ago

silvanshade commented 8 months ago

The fip.bin is mentioned as the "SCP Firmware" for the SG2042:

  1. https://github.com/sophgo/sophgo-doc/blob/e7f27be/SG2042/HowTo/bootflow.rst
  2. https://github.com/sophgo/sophgo-doc/blob/215d2e6/SG2042/TRM/source/system.rst#bootrom

I see that the fip.bin is available here:

https://github.com/sophgo/bootloader-riscv/tree/64369b1/firmware

But I cannot find information about how fip.bin is generated or where it comes from.

Is the source for the firmware available?

Is there any information about how to re-implement a new custom fip.bin?

zamaudio commented 5 months ago

@silvanshade I think the milkv folks are downstream of sophgo and their pioneer board is a custom implementation that uses the sg2042 chip. We need to ask milkv to provide the board specific details to initialise their board. I have asked them to provide or upstream their source for bootloader-arm64 here that compiles a fip.bin.