mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 03:58:17 +00:00 
			
		
		
		
	In some cases it is useful to position an entry over the top of a symbol in an ELF file. For example, if the symbol holds a version string then it allows the string to be accessed from the fdtmap. Add support for this. Suggested-by: Pali Rohár <pali@kernel.org> Suggested-by: Keith Short <keithshort@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			31 lines
		
	
	
		
			441 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			441 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0+
 | |
| 
 | |
| /dts-v1/;
 | |
| 
 | |
| / {
 | |
| 	#address-cells = <1>;
 | |
| 	#size-cells = <1>;
 | |
| 
 | |
| 	binman {
 | |
| 		blob: blob {
 | |
| 			filename = "blob_syms.bin";
 | |
| 			elf-filename = "blob_syms";
 | |
| 			elf-base-sym = "__my_start_sym";
 | |
| 		};
 | |
| 
 | |
| 		inset {
 | |
| 			type = "null";
 | |
| 			offset-from-elf = <&blob>, "val3", <0>;
 | |
| 			size = <4>;
 | |
| 			overlap;
 | |
| 		};
 | |
| 
 | |
| 		inset2 {
 | |
| 			type = "null";
 | |
| 			offset-from-elf = <&blob>, "val3", <4>;
 | |
| 			size = <4>;
 | |
| 			overlap;
 | |
| 		};
 | |
| 	};
 | |
| };
 |