mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 03:58:17 +00:00 
			
		
		
		
	At present only the image (which is a section) has a filename. Move this implementation to the entry_Section class so that any section can have a filename. With this, the section data is written to a file. This allows parts of an image to be written, along with the entire image. Make a note that this can be used to include the contents of a section in one image in another (later) image. Signed-off-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			30 lines
		
	
	
		
			359 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			359 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0+
 | |
| 
 | |
| /dts-v1/;
 | |
| 
 | |
| / {
 | |
| 	#address-cells = <1>;
 | |
| 	#size-cells = <1>;
 | |
| 
 | |
| 	binman {
 | |
| 		pad-byte = <0x26>;
 | |
| 		size = <0x20>;
 | |
| 		section@0 {
 | |
| 			size = <0x10>;
 | |
| 			pad-byte = <0x21>;
 | |
| 			pad-before = <2>;
 | |
| 			pad-after = <3>;
 | |
| 
 | |
| 			section {
 | |
| 				filename = "outfile.bin";
 | |
| 				u-boot {
 | |
| 				};
 | |
| 			};
 | |
| 		};
 | |
| 		section@1 {
 | |
| 			u-boot {
 | |
| 			};
 | |
| 		};
 | |
| 	};
 | |
| };
 |