mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-31 05:54:26 -04:00 
			
		
		
		
	This mtdsplit parser driver parses firmware partition on Internet
Initiative Japan Inc. (IIJ) SEIL series devices.
Structure of header:
  0x0 - 0x7 : Identifier            (hex)
  0x8 - 0x57: Copyright             (ascii)
 0x58 - 0x5b: Data CRC              (hex)
 0x5c - 0x5f: Image Format Version  (hex)
 0x60 - 0x63: Image Major Version   (hex)
 0x64 - 0x67: Image Minor Version   (hex)
 0x68 - 0x87: Image Release Version (ascii)
 0x88 - 0x8b: Xor value for Data?   (hex)
 0x8c - 0x8f: Data Length           (hex)
Properties:
- compatible      : "iij,seil-firmware"
- iij,seil-id     : ID of SEIL firmware for the device (8 bytes)
  - examples:
    - SA-W2       : <0x5345494c 0x32303135> ("SEIL2015")
    - SEIL/X1     : <0x5345494c 0x2F582020> ("SEIL/X  ")
- iij,bootdev-name: boot device name assigned to the partition
                    (optional)
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
		
	
			
		
			
				
	
	
		
			113 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			113 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| config MTD_SPLIT
 | |
| 	def_bool n
 | |
| 	help
 | |
| 	  Generic MTD split support.
 | |
| 
 | |
| config MTD_SPLIT_SUPPORT
 | |
| 	def_bool MTD = y
 | |
| 
 | |
| comment "Rootfs partition parsers"
 | |
| 
 | |
| config MTD_SPLIT_SQUASHFS_ROOT
 | |
| 	bool "Squashfs based root partition parser"
 | |
| 	depends on MTD_SPLIT_SUPPORT
 | |
| 	select MTD_SPLIT
 | |
| 	help
 | |
| 	  This provides a parsing function which allows to detect the
 | |
| 	  offset and size of the unused portion of a rootfs partition
 | |
| 	  containing a squashfs.
 | |
| 
 | |
| comment "Firmware partition parsers"
 | |
| 
 | |
| config MTD_SPLIT_BCM63XX_FW
 | |
| 	bool "BCM63xx firmware parser"
 | |
| 	depends on MTD_SPLIT_SUPPORT
 | |
| 	select MTD_SPLIT
 | |
| 
 | |
| config MTD_SPLIT_BCM_WFI_FW
 | |
| 	bool "Broadcom Whole Flash Image parser"
 | |
| 	depends on MTD_SPLIT_SUPPORT
 | |
| 	select MTD_SPLIT
 | |
| 
 | |
| config MTD_SPLIT_CFE_BOOTFS
 | |
| 	bool "Parser finding rootfs appended to the CFE bootfs"
 | |
| 	depends on MTD_SPLIT_SUPPORT && (ARCH_BCM4908 || ARCH_BCMBCA)
 | |
| 	select MTD_SPLIT
 | |
| 	help
 | |
| 	  cferom on BCM4908 (and bcm63xx) uses JFFS2 bootfs partition
 | |
| 	  for storing kernel, cferam and some device specific files.
 | |
| 	  There isn't any straight way of storing rootfs so it gets
 | |
| 	  appended to the JFFS2 bootfs partition. Kernel needs to find
 | |
| 	  it and run init from it. This parser is responsible for
 | |
| 	  finding appended rootfs.
 | |
| 
 | |
| config MTD_SPLIT_SEAMA_FW
 | |
| 	bool "Seama firmware parser"
 | |
| 	depends on MTD_SPLIT_SUPPORT
 | |
| 	select MTD_SPLIT
 | |
| 
 | |
| config MTD_SPLIT_WRGG_FW
 | |
| 	bool "WRGG firmware parser"
 | |
| 	depends on MTD_SPLIT_SUPPORT
 | |
| 	select MTD_SPLIT
 | |
| 
 | |
| config MTD_SPLIT_UIMAGE_FW
 | |
| 	bool "uImage based firmware partition parser"
 | |
| 	depends on MTD_SPLIT_SUPPORT
 | |
| 	select MTD_SPLIT
 | |
| 
 | |
| config MTD_SPLIT_FIT_FW
 | |
| 	bool "FIT based firmware partition parser"
 | |
| 	depends on MTD_SPLIT_SUPPORT
 | |
| 	select MTD_SPLIT
 | |
| 
 | |
| config MTD_SPLIT_LZMA_FW
 | |
| 	bool "LZMA compressed kernel based firmware partition parser"
 | |
| 	depends on MTD_SPLIT_SUPPORT
 | |
| 	select MTD_SPLIT
 | |
| 
 | |
| config MTD_SPLIT_TPLINK_FW
 | |
| 	bool "TP-Link firmware parser"
 | |
| 	depends on MTD_SPLIT_SUPPORT
 | |
| 	select MTD_SPLIT
 | |
| 
 | |
| config MTD_SPLIT_TRX_FW
 | |
| 	bool "TRX image based firmware partition parser"
 | |
| 	depends on MTD_SPLIT_SUPPORT
 | |
| 	select MTD_SPLIT
 | |
| 
 | |
| config MTD_SPLIT_BRNIMAGE_FW
 | |
| 	bool "brnImage (brnboot image) firmware parser"
 | |
| 	depends on MTD_SPLIT_SUPPORT
 | |
| 	select MTD_SPLIT
 | |
| 
 | |
| config MTD_SPLIT_EVA_FW
 | |
| 	bool "EVA image based firmware partition parser"
 | |
| 	depends on MTD_SPLIT_SUPPORT
 | |
| 	select MTD_SPLIT
 | |
| 
 | |
| config MTD_SPLIT_MINOR_FW
 | |
| 	bool "Mikrotik NOR image based firmware partition parser"
 | |
| 	depends on MTD_SPLIT_SUPPORT
 | |
| 	select MTD_SPLIT
 | |
| 
 | |
| config MTD_SPLIT_JIMAGE_FW
 | |
| 	bool "JBOOT Image based firmware partition parser"
 | |
| 	depends on MTD_SPLIT_SUPPORT
 | |
| 	select MTD_SPLIT
 | |
| 
 | |
| config MTD_SPLIT_ELF_FW
 | |
| 	bool "ELF loader firmware partition parser"
 | |
| 	depends on MTD_SPLIT_SUPPORT
 | |
| 	select MTD_SPLIT
 | |
| 
 | |
| config MTD_SPLIT_H3C_VFS
 | |
| 	bool "Parser finding rootfs appended to H3C VFS"
 | |
| 	depends on MTD_SPLIT_SUPPORT
 | |
| 	select MTD_SPLIT
 | |
| 
 | |
| config MTD_SPLIT_SEIL_FW
 | |
| 	bool "IIJ SEIL firmware parser"
 | |
| 	depends on MTD_SPLIT_SUPPORT
 | |
| 	select MTD_SPLIT
 |