New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it OK if I start adding the section of Booting on vc707 in README? #93
Comments
I started the instructions here, and would like to have a comment. Then I would like to revise any before making pull request, after when I have time to bump them up to latest in master which moved to u-boot. It requires the changes at sifive/freedom#116 These are simplified instructions: Cloning sources
Building for vc707 dev board with PCIe HMC module
Building for vc707 dev board without PCIe HMC module
When the build is finished, write the image to the sd card.
|
That looks good so far, please try it against the latest master with U-boot and see how it goes. I am also working on an update to https://github.com/sifive/freedom , with the goal of putting U-boot into the FPGA ROM, so that we can just load the exact same work/image.fit file we create for the HiFive Unleashed. |
Hi @tmagik, I re-read your comment and I think we are working on the same goal. Primary of my goal was to run keystone on vc707 for our purpose. Next step was to unify the sd boot image. For unifying the sd boot image, we started from changing the io addressees of vc707 to be same with Unleashed and this seems to be working. Next is to revise the FPGA ROM to read partitions of SD card as what Unleashed does. Currently the bootrom of vc707 does not read any partition of sd card, Just read as if it is a raw device, and we are working on porting zsbl to vc707 which is at the link bellow. I wanted to try the latest master with u-boot but keystone still uses bbl and just did not have time yet. Can we work together of putting U-boot into the FPGA ROM? |
Oh I think you definitely want to look at my U-boot development sandbox then..
https://github.com/tmagik/freedom-u-sdk/tree/dev/u-boot
I have U-boot loading BBL (which could then load keystone) with the old HiFive U-boot, and I have a freedom build that adds a ‘uboot’ target to freedom/bootrom (which I need to push out)
… On Apr 19, 2019, at 8:44 PM, Akira Tsukamoto ***@***.***> wrote:
Hi @tmagik, I re-read your comment and I think we are working on the same goal. Primary of my goal was to run keystone on vc707 for our purpose.
The first step was to customize the image of HiFive Unleashed to run it on vc707 and we were able to have it running now,
#91
Next step was to unify the sd boot image. For unifying the sd boot image, we started from changing the io addressees of vc707 to be same with Unleashed and this seems to be working.
sifive/freedom#119
Next is to revise the FPGA ROM to read partitions of SD card as what Unleashed does. Currently the bootrom of vc707 does not read any partition of sd card, Just read as if it is a raw device, and we are working on porting zsbl to vc707 which is at the link bellow.
https://github.com/sifive/freedom-u540-c000-bootloader/tree/master/zsbl
I wanted to try the latest master with u-boot but keystone still uses bbl and just did not have time yet.
Can we work together of putting U-boot into the FPGA ROM?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Your u-boot tree is great!. Do you mind accepting my pull requests discussed on the sifive/freedom#116 ? |
The sgdisk in the Makefile in |
I tried to try the latest master with U-boot today.
I could not clone the submodules |
This can happen when the git repo is switched for a submodule. On March 7, riscv-qemu was switched from riscv/riscv-qemu to sifive/riscv-qemu. Similarly, the linux submodule was switched from riscv/riscv-linux to sifive/riscv-linux Dec 29. I don't know how to fix this with git commands. I just rm -rf and clone a new tree. Maybe using git submodule deinit would work? And then you would have to init them again. And of course if you have any local changes, be sure to save diffs before you do anything to your git tree. |
Hi @jim-wilson, thank you for the valuable information.
Thanks again, |
This is not an issue, just proposal.
Is it OK if I start adding the section of Booting on vc707 in README?
The text was updated successfully, but these errors were encountered: