Advertisement
xenador77

Litex on Upduino_V3 --cpu-variant=minimal --build --cpu-type=picorv32 --no-compile-gateware --flash

Jun 27th, 2022 (edited)
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 6.73 KB | Source Code | 0 0
  1. PS C:\JTAG\github\litex-boards> python -m litex_boards.targets.upduino_v3 --cpu-variant=minimal --build --cpu-type=picorv32 --no-compile-gateware --flash
  2. INFO:SoC:        __   _ __      _  __  
  3. INFO:SoC:       / /  (_) /____ | |/_/  
  4. INFO:SoC:      / /__/ / __/ -_)>  <    
  5. INFO:SoC:     /____/_/\__/\__/_/|_|  
  6. INFO:SoC:  Build your hardware, easily!
  7. INFO:SoC:--------------------------------------------------------------------------------
  8. INFO:SoC:Creating SoC... (2022-06-27 03:24:35)
  9. INFO:SoC:--------------------------------------------------------------------------------
  10. INFO:SoC:FPGA device : ice40-up5k-sg48.
  11. INFO:SoC:System clock: 12.000MHz.
  12. INFO:SoCBusHandler:Creating Bus Handler...
  13. INFO:SoCBusHandler:32-bit wishbone Bus, 4.0GiB Address Space.
  14. INFO:SoCBusHandler:Adding reserved Bus Regions...
  15. INFO:SoCBusHandler:Bus Handler created.
  16. INFO:SoCCSRHandler:Creating CSR Handler...
  17. INFO:SoCCSRHandler:32-bit CSR Bus, 32-bit Aligned, 16.0KiB Address Space, 2048B Paging, big Ordering (Up to 32 Locations).
  18. INFO:SoCCSRHandler:Adding reserved CSRs...
  19. INFO:SoCCSRHandler:CSR Handler created.
  20. INFO:SoCIRQHandler:Creating IRQ Handler...
  21. INFO:SoCIRQHandler:IRQ Handler (up to 32 Locations).
  22. INFO:SoCIRQHandler:Adding reserved IRQs...
  23. INFO:SoCIRQHandler:IRQ Handler created.
  24. INFO:SoC:--------------------------------------------------------------------------------
  25. INFO:SoC:Initial SoC:
  26. INFO:SoC:--------------------------------------------------------------------------------
  27. INFO:SoC:32-bit wishbone Bus, 4.0GiB Address Space.
  28. INFO:SoC:32-bit CSR Bus, 32-bit Aligned, 16.0KiB Address Space, 2048B Paging, big Ordering (Up to 32 Locations).
  29. INFO:SoC:IRQ Handler (up to 32 Locations).
  30. INFO:SoC:--------------------------------------------------------------------------------
  31. INFO:SoC:Controller ctrl added.
  32. INFO:SoC:CPU picorv32 added.
  33. INFO:SoC:CPU picorv32 adding IO Region 0 at 0x80000000 (Size: 0x80000000).
  34. INFO:SoCBusHandler:io0 Region added at Origin: 0x80000000, Size: 0x80000000, Mode: RW, Cached: False Linker: False.
  35. INFO:SoC:CPU picorv32 setting reset address to 0x00000000.
  36. INFO:SoC:CPU picorv32 adding Bus Master(s).
  37. INFO:SoCBusHandler:cpu_bus0 added as Bus Master.
  38. INFO:SoC:CPU picorv32 adding Interrupt(s).
  39. INFO:SoCIRQHandler:uart IRQ allocated at Location 0.
  40. INFO:SoCIRQHandler:timer0 IRQ allocated at Location 1.
  41. INFO:SoCBusHandler:Allocating Cached Region of size 0x00020000...
  42. INFO:SoCRegion:Region size rounded internally from 0xffffffff to 0x100000000.
  43. INFO:SoCBusHandler:sram Region allocated at Origin: 0x00000000, Size: 0x00020000, Mode: RW, Cached: True Linker: False.
  44. INFO:SoCBusHandler:sram added as Bus Slave.
  45. INFO:SoCBusHandler:Allocating Cached Region of size 0x00400000...
  46. INFO:SoCRegion:Region size rounded internally from 0xffffffff to 0x100000000.
  47. INFO:SoCBusHandler:spiflash Region allocated at Origin: 0x00400000, Size: 0x00400000, Mode: RW, Cached: True Linker: False.
  48. INFO:SoCBusHandler:spiflash added as Bus Slave.
  49. INFO:SoCBusHandler:rom Region added at Origin: 0x00440000, Size: 0x00008000, Mode: RW, Cached: True Linker: True.
  50. INFO:SoC:CSR Bridge csr added.
  51. INFO:SoCBusHandler:csr Region added at Origin: 0x82000000, Size: 0x00010000, Mode: RW, Cached: False Linker: False.
  52. INFO:SoCBusHandler:csr added as Bus Slave.
  53. INFO:SoCCSRHandler:csr added as CSR Master.
  54. INFO:SoCBusHandler:Interconnect: InterconnectShared (1 <-> 3).
  55. INFO:SoCCSRHandler:ctrl CSR allocated at Location 0.
  56. INFO:SoCCSRHandler:identifier_mem CSR allocated at Location 1.
  57. INFO:SoCCSRHandler:leds CSR allocated at Location 2.
  58. INFO:SoCCSRHandler:spiflash_core CSR allocated at Location 3.
  59. INFO:SoCCSRHandler:spiflash_phy CSR allocated at Location 4.
  60. INFO:SoCCSRHandler:timer0 CSR allocated at Location 5.
  61. INFO:SoCCSRHandler:uart CSR allocated at Location 6.
  62. INFO:SoC:--------------------------------------------------------------------------------
  63. INFO:SoC:Finalized SoC:
  64. INFO:SoC:--------------------------------------------------------------------------------
  65. INFO:SoC:32-bit wishbone Bus, 4.0GiB Address Space.
  66. IO Regions: (1)
  67. io0                 : Origin: 0x80000000, Size: 0x80000000, Mode: RW, Cached: False Linker: False
  68. Bus Regions: (4)
  69. sram                : Origin: 0x00000000, Size: 0x00020000, Mode: RW, Cached: True Linker: False
  70. spiflash            : Origin: 0x00400000, Size: 0x00400000, Mode: RW, Cached: True Linker: False
  71. rom                 : Origin: 0x00440000, Size: 0x00008000, Mode: RW, Cached: True Linker: True
  72. csr                 : Origin: 0x82000000, Size: 0x00010000, Mode: RW, Cached: False Linker: False
  73. Bus Masters: (1)
  74. - cpu_bus0
  75. Bus Slaves: (3)
  76. - sram
  77. - spiflash
  78. - csr
  79. INFO:SoC:32-bit CSR Bus, 32-bit Aligned, 16.0KiB Address Space, 2048B Paging, big Ordering (Up to 32 Locations).
  80. CSR Locations: (7)
  81. - ctrl           : 0
  82. - identifier_mem : 1
  83. - leds           : 2
  84. - spiflash_core  : 3
  85. - spiflash_phy   : 4
  86. - timer0         : 5
  87. - uart           : 6
  88. INFO:SoC:IRQ Handler (up to 32 Locations).
  89. IRQ Locations: (2)
  90. - uart   : 0
  91. - timer0 : 1
  92. INFO:SoC:--------------------------------------------------------------------------------
  93. make: Entering directory 'C:/JTAG/github/litex-boards/build/upduino_v3/software/libc'
  94. if [ -d "c:\\jtag\\github\\litex\\litex\\soc\\software\\libc/riscv" ]; then \
  95.         cp c:\\jtag\\github\\litex\\litex\\soc\\software\\libc/riscv/* C:\\Users\\river\\AppData\\Roaming\\Python\\Python310\\site-packages\\pythondata_software_picolibc\\data/newlib/libc/machine/riscv/ ;\
  96. fi
  97. -d was unexpected at this time.
  98. make: *** [c:\jtag\github\litex\litex\soc\software\libc\Makefile:42: __libc.a] Error 255
  99. make: Leaving directory 'C:/JTAG/github/litex-boards/build/upduino_v3/software/libc'
  100. Traceback (most recent call last):
  101.   File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main
  102.     return _run_code(code, main_globals, None,
  103.   File "C:\Python310\lib\runpy.py", line 86, in _run_code
  104.     exec(code, run_globals)
  105.   File "C:\JTAG\github\litex-boards\litex_boards\targets\upduino_v3.py", line 127, in <module>
  106.     main()
  107.   File "C:\JTAG\github\litex-boards\litex_boards\targets\upduino_v3.py", line 121, in main
  108.     builder.build()
  109.   File "c:\jtag\github\litex\litex\soc\integration\builder.py", line 339, in build
  110.     self._generate_rom_software(compile_bios=use_bios)
  111.   File "c:\jtag\github\litex\litex\soc\integration\builder.py", line 276, in _generate_rom_software
  112.     subprocess.check_call(["make", "-C", dst_dir, "-f", makefile])
  113.   File "C:\Python310\lib\subprocess.py", line 369, in check_call
  114.     raise CalledProcessError(retcode, cmd)
  115. subprocess.CalledProcessError: Command '['make', '-C', 'C:\\JTAG\\github\\litex-boards\\build\\upduino_v3\\software\\libc', '-f', 'c:\\jtag\\github\\litex\\litex\\soc\\software\\libc\\Makefile']' returned non-zero exit status 2.
  116. PS C:\JTAG\github\litex-boards>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement