Skip to content
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

Add image-flash, gateware-flash, etc support for pano_logic_g2 target. #420

Merged
merged 5 commits into from
May 15, 2020

Conversation

skiphansen
Copy link
Contributor

I also adjusted the flash partitioning as I discovered that I had the wrong erase size before. The minimum erase size is 256MB, not 128MB.

Hopefully the changes to the top level Make file will be useful for other targets.

@skiphansen
Copy link
Contributor Author

The build for C=vexriscv TC="vivado" P=arty T="base" F=micropython failed. I'm looking into it.

@mithro
Copy link
Member

mithro commented Apr 26, 2020

 OBJCOPY  firmware.bin
chmod -x firmware.bin
python -m litex.soc.software.mkmscimg -f --little firmware.bin -o firmware.fbi
make[1]: Leaving directory '/home/travis/build/timvideos/litex-buildenv/build/arty_base_vexriscv/software/firmware'
real	0m4.117s
user	0m3.585s
sys	0m0.560s
python mkimage.py \
	   \
	--override-gateware=build/arty_base_vexriscv//gateware/top.bin \
	--override-bios=build/arty_base_vexriscv//software/bios/bios.bin \
	--override-firmware=build/arty_base_vexriscv//software/micropython/firmware.fbi \
	--output-file=build/arty_base_vexriscv//image-gateware+bios+micropython.bin
Traceback (most recent call last):
  File "mkimage.py", line 261, in <module>
    main()
  File "mkimage.py", line 160, in main
    "Use --override-firmware=none for no firmware." % firmware)
AssertionError: Firmware file 'build/arty_base_vexriscv//software/micropython/firmware.fbi' not found! Use --override-firmware=none for no firmware.
Makefile:233: recipe for target 'build/arty_base_vexriscv//image-gateware+bios+micropython.bin' failed
make: *** [build/arty_base_vexriscv//image-gateware+bios+micropython.bin] Error 1

@mithro
Copy link
Member

mithro commented Apr 26, 2020

@mateusz-holenko -- I'll leave you to review and merge.

@skiphansen
Copy link
Contributor Author

Oh well. The build that failed yesterday is fixed but there's a new failure. I'll look into it ASAP.

@skiphansen
Copy link
Contributor Author

Please rerun the C=picorv32.minimal TC="vivado" P=arty T="base net" build. It passed here, it's not clear to me what failed ... temp network issue perhaps?

@mithro
Copy link
Member

mithro commented Apr 27, 2020

@skiphansen Reran the failing tests.

@mateusz-holenko mateusz-holenko merged commit a7221b7 into timvideos:master May 15, 2020
@skiphansen skiphansen deleted the pano_make_flash_support branch May 15, 2020 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants