@@ -543,6 +543,27 @@ static struct board_info __initdata board_AGPFS0 = {
 | 
				
			|||||||
	.has_ohci0 = 1,
 | 
						.has_ohci0 = 1,
 | 
				
			||||||
	.has_ehci0 = 1,
 | 
						.has_ehci0 = 1,
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					static struct board_info __initdata board_DWVS0 = {
 | 
				
			||||||
 | 
						.name                           = "DWV-S0",
 | 
				
			||||||
 | 
						.expected_cpu_id                = 0x6358,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						.has_enet0                      = 1,
 | 
				
			||||||
 | 
						.has_enet1                      = 1,
 | 
				
			||||||
 | 
						.has_pci                        = 1,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						.enet0 = {
 | 
				
			||||||
 | 
							.has_phy                = 1,
 | 
				
			||||||
 | 
							.use_internal_phy       = 1,
 | 
				
			||||||
 | 
						},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						.enet1 = {
 | 
				
			||||||
 | 
							.force_speed_100        = 1,
 | 
				
			||||||
 | 
							.force_duplex_full      = 1,
 | 
				
			||||||
 | 
						},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						.has_ohci0 = 1,
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
@@ -570,6 +591,7 @@ static const struct board_info __initdata *bcm963xx_boards[] = {
 | 
				
			|||||||
	&board_96358vw,
 | 
						&board_96358vw,
 | 
				
			||||||
	&board_96358vw2,
 | 
						&board_96358vw2,
 | 
				
			||||||
	&board_AGPFS0,
 | 
						&board_AGPFS0,
 | 
				
			||||||
 | 
						&board_DWVS0,
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -169,6 +169,9 @@ define Image/Build
 | 
				
			|||||||
	# Pirelli Alice Gate VoIP 2 Plus Wi-Fi AGPF-S0
 | 
						# Pirelli Alice Gate VoIP 2 Plus Wi-Fi AGPF-S0
 | 
				
			||||||
	$(call Image/Build/CFEAGPF,$(1),AGPF-S0,6358,0x20000,bccfe,,bccfe)
 | 
						$(call Image/Build/CFEAGPF,$(1),AGPF-S0,6358,0x20000,bccfe,,bccfe)
 | 
				
			||||||
	$(call Image/Build/CFEAGPF,$(1),AGPF-S0,6358,0x20000,ag306,,agv2+w)
 | 
						$(call Image/Build/CFEAGPF,$(1),AGPF-S0,6358,0x20000,ag306,,agv2+w)
 | 
				
			||||||
 | 
						# Pirelli A226G
 | 
				
			||||||
 | 
						$(call Image/Build/CFEAGPF,$(1),DWV-S0,6358,0x10000,bccfe,,bccfe)
 | 
				
			||||||
 | 
						$(call Image/Build/CFEAGPF,$(1),DWV-S0,6358,0x10000,ag306,DWV_96358,a226g)
 | 
				
			||||||
endef
 | 
					endef
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$(eval $(call BuildImage))
 | 
					$(eval $(call BuildImage))
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -219,6 +219,10 @@ int tagfile(const char *kernel, const char *rootfs, const char *bin,
 | 
				
			|||||||
	fseek(binfile, rootfsoff + rootfslen - fwaddr, SEEK_SET);
 | 
						fseek(binfile, rootfsoff + rootfslen - fwaddr, SEEK_SET);
 | 
				
			||||||
	fwrite(&deadcode, sizeof(uint32_t), 1, binfile);
 | 
						fwrite(&deadcode, sizeof(uint32_t), 1, binfile);
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
 | 
						/* Flush the binfile buffer so that when we read from file, it contains
 | 
				
			||||||
 | 
					         * everything in the buffer
 | 
				
			||||||
 | 
						 */
 | 
				
			||||||
 | 
						fflush(binfile);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* Choose and compute the CRC32 that should be inserted in the tag */
 | 
						/* Choose and compute the CRC32 that should be inserted in the tag */
 | 
				
			||||||
        if ( tagid && ( (strncmp(tagid, "bccfe", TAGID_LEN) == 0)) || ( strncmp(tagid, "bc300", TAGID_LEN) == 0)) {
 | 
					        if ( tagid && ( (strncmp(tagid, "bccfe", TAGID_LEN) == 0)) || ( strncmp(tagid, "bc300", TAGID_LEN) == 0)) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user