forked from Mirrors/opensbi
		
	
			
				
					
						
					
					bc4d6108f4d43996e3d7a74e026fb4f2c4e25ca5
				
			
			
		
	This patch extends fw_payload blob to provide FW_PAYLOAD_FDT_PATH option using which we can embed custom FDT in .text section of fw_payload blob. In other words, FW_PAYLOAD_FDT_PATH is an option to forcefully override FDT passed by previous booting stage in a1 register. Signed-off-by: Anup Patel <anup.patel@wdc.com>
RISC-V Open Source Supervisor Binary Interface (OpenSBI)
The RISC-V Supervisor Binary Interface (SBI) is a recommended interface between:
- platform specific firmware running in M-mode and bootloader running in S-mode
 - platform specific firmware running in M-mode and general purpose operating system running in S-mode
 - hypervisor runnng in HS-mode and general purpose operating system running in VS-mode.
 
The RISC-V SBI spec is maintained as independent project by RISC-V Foundation at https://github.com/riscv/riscv-sbi-doc
The RISC-V OpenSBI project aims to provides an open-source and extensible implementation of the SBI spec. This project can be easily extended by RISC-V platform or RISC-V System-on-Chip vendors.
How to Build?
Below are the steps to cross-compile and install RISC-V OpenSBI:
- 
Setup build environment $ CROSS_COMPILE=riscv64-unknown-linux-gnu-
 - 
Build sources $ make PLAT=<platform_name> OR $ make PLAT=<platform_name> O=<build_directory>
 - 
Install blobs $ make PLAT=<platform_name> install OR $ make PLAT=<platform_name> I=<install_directory> install
 
Description
				
					Languages
				
				
								
								
									C
								
								72.7%
							
						
							
								
								
									Python
								
								21.6%
							
						
							
								
								
									Makefile
								
								3.2%
							
						
							
								
								
									Assembly
								
								2%
							
						
							
								
								
									Shell
								
								0.5%