Bug 802

Summary: Document steps for ls2 microwatt hello world for fpga boards
Product: Libre-SOC's first SoC Reporter: Veera <veerakumar.r>
Component: DocumentationAssignee: Veera <veerakumar.r>
Status: RESOLVED FIXED    
Severity: enhancement CC: libre-soc-bugs, lkcl
Priority: ---    
Version: unspecified   
Hardware: PC   
OS: Linux   
URL: https://libre-soc.org/HDL_workflow/ls2/
See Also: https://bugs.libre-soc.org/show_bug.cgi?id=818
NLnet milestone: NLnet.2019.02.012 total budget (EUR) for completion of task and all subtasks: 600
budget (EUR) for this task, excluding subtasks' budget: 600 parent task for budget allocation: 22
child tasks for budget allocation: The table of payments (in EUR) for this task; TOML format:
veera = { amount = 450, submitted = 2022-04-16, paid = 2022-04-28 } [lkcl] amount = 150 submitted = 2022-06-16 paid = 2022-07-21

Description Veera 2022-04-08 14:06:58 BST
Document steps in wiki for building and running ls2 microwatt "hello world" binary bitstream for fpga boards. Currently for Arty7 and ECP5 boards.

Wiki Page: https://libre-soc.org/HDL_workflow/ls2/

Can be checked in Uoregon FPGA testbeds Silicon, etc remote server.
Comment 1 Veera 2022-04-13 03:11:22 BST
Success in Hello_World microwatt example running in Silicon(uoregon server) simulation of Arty7 A100t (Nexys4 Board).

Done through hand typed steps for build, install and run of needed softwares.
Comment 2 Luke Kenneth Casson Leighton 2022-04-13 04:24:24 BST
(In reply to vklr@vkten.in from comment #1)
> Success in Hello_World microwatt example running in Silicon(uoregon server)
> simulation of Arty7 A100t (Nexys4 Board).
> 
> Done through hand typed steps for build, install and run of needed softwares.

brilliant.  as long as running the scripts was successful
(in particular, hdl-dev-ls2) then if this page is made a
little less terse, and links added, then that will do.
but the most important part is that you managed to do it
and got success.

https://libre-soc.org/HDL_workflow/ls2/
Comment 3 Veera 2022-04-15 02:04:25 BST
Had run it successfully in Silicon Uoregon simulation system server.

New and full instruction steps for ls2 microwatt Hello World example.

https://libre-soc.org/HDL_workflow/ls2/

Kindly review and feedback.
Comment 4 Luke Kenneth Casson Leighton 2022-04-15 03:32:52 BST
(In reply to vklr@vkten.in from comment #3)
> Had run it successfully in Silicon Uoregon simulation system server.
> 
> New and full instruction steps for ls2 microwatt Hello World example.
> 
> https://libre-soc.org/HDL_workflow/ls2/
> 
> Kindly review and feedback.

hmm those two textx, wget, and fasm-0.0.2-post88, those should
be in ./nextpnr-xilinx-install

that means that nextpnr-xilinx-install is not completely finished,
the install of ls2 itself should not require individual packages
like this.

pip3 install textx
# somehow pip3 install of fasm fails, so we manually install
apt-get install -y wget
wget https://files.pythonhosted.org/packages/78/4c/94fb3bdb87bea21406c0e5da375f0b10d7b1e4b5103cea453a2de23b5d61/fasm-0.0.2.post88.tar.gz
cd fasm-0.0.2.post88
python3 setup.py install