Docs for RISC-V
Nylon Chen
nylon.chen at sifive.com
Fri Feb 24 04:17:48 CET 2023
Zong Li <zong.li at sifive.com> 於 2023年2月23日 週四 下午5:11寫道:
>
> On Mon, Feb 6, 2023 at 3:58 PM Leo Liang <ycliang at andestech.com> wrote:
> >
> > 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 at 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.
> > > >
> >
> > 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.
>
> Add Nylon in this thread.
>
> Hi Nylon, I think you took some time to take a look at this, do you
> have any idea about that? Thanks.
Hi Zong,
According to Bin Meng's patch "azure/gitlab: Add tests for SiFive
Unleashed board," the script currently uses the "genimage" tool.
However, if we want to switch to using "binman," I am unsure if it
would be a meaningful change. Perhaps Bin Meng could offer some help
on this?
Hi Bin Meng,
Do you have any ideas regarding this issue?
>
> >
> > > > Also, how about adding a RISC-V section here?
> > > >
> > > > https://u-boot.readthedocs.io/en/latest/arch/index.html
> > > >
> >
> > 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?highlight=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
More information about the U-Boot
mailing list