
On Wed, Feb 8, 2023 at 4:07 PM Rick Chen rickchen36@gmail.com wrote:
Hi Zong,
From: Leo Yu-Chi Liang(梁育齊) ycliang@andestech.com Sent: Monday, February 06, 2023 3:58 PM To: Simon Glass sjg@chromium.org Cc: U-Boot Mailing List u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志) rick@andestech.com; zong.li@sifive.com; vincent.chen@sifive.com Subject: Re: Docs for RISC-V
Hi Simon,
On Thu, Feb 02, 2023 at 10:25:36AM -0700, Simon Glass wrote:
Hi,
On Thu, 2 Feb 2023 at 10:18, Simon Glass sjg@chromium.org wrote:
Hi Rick & Leo,
I see docs for one board at [1] but I'm not sure what to do with unleashed.
It seems to need a 'genimage' tool, going on what I see in CI.
Would you please take a look at this item ?
Hi Rick, No problem, let me take a look at it, and give you all some feedback later. Thanks.
Thanks, Rick
It does seem like that accroding to "sifive_unleashed_sdcard test.py". (https://source.denx.de/u-boot/custodians/u-boot-riscv/-/jobs/568342)
Could you adjust it to use binman to output an image suitable for writing to an SD card in a single 'dd' step, as Rockchip does?
I think I will both take a look at it and forward this message to guys at sifive.
Also, how about adding a RISC-V section here?
Sounds great! I will reference what other architectures have and create a RISC-V section.
Also I notice that this is incorrect:
https://u-boot.readthedocs.io/en/latest/board/sifive/unleashed.html?hi ghlight=fw_dynamic.bin
since 'make PLATFORM=generic' gives errors. I think it needs CROSS_COMPILE
There is already an 'export CROSS_COMPILE' in the previous "building" section before 'make PLATFROM=generic', so I guess that is why CROSS_COMPILE is omitted in make command.
One other thing...binman output is this:
binman: Filename 'fw_dynamic.bin' not found in input path (...)
You should add something to tools/binman/missing-blob-help so that it tells the user where to find the blob.
Same as the above, I will forward this to guys at sifive to see what they would like to do.
Thanks for all the catches! Best regards, Leo
Thanks again, Simon
Thanks, Simon
[1] https://u-boot.readthedocs.io/en/latest/board/sifive/unmatched.html