ath79: fix OCEDO Raccoon
The OCEDO Raccoon only has one ethernet port, but currently uci sections for WAN and LAN are created. Additionally, newer versions of the devices U-Boot (units with SteelWRT) set the kernel-cmdline and therefore overwrite the partition-layout. We fix this by overwriting the cmdline supplied by the bootloader. Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
		 David Bauer
					David Bauer
				
			
				
					committed by
					
						 Mathias Kresin
						Mathias Kresin
					
				
			
			
				
	
			
			
			 Mathias Kresin
						Mathias Kresin
					
				
			
						parent
						
							4cbf5601f9
						
					
				
				
					commit
					5409dcffbd
				
			| @@ -13,6 +13,7 @@ ath79_setup_interfaces() | |||||||
| 		ucidef_set_interface_lan "eth0" "dhcp" | 		ucidef_set_interface_lan "eth0" "dhcp" | ||||||
| 		;; | 		;; | ||||||
| 	"avm,fritz300e"|\ | 	"avm,fritz300e"|\ | ||||||
|  | 	"ocedo,raccoon"|\ | ||||||
| 	"tplink,re450-v2"|\ | 	"tplink,re450-v2"|\ | ||||||
| 	"tplink,tl-mr10u"|\ | 	"tplink,tl-mr10u"|\ | ||||||
| 	"tplink,tl-wr703n"|\ | 	"tplink,tl-wr703n"|\ | ||||||
|   | |||||||
| @@ -10,6 +10,10 @@ | |||||||
| 	model = "OCEDO Raccoon"; | 	model = "OCEDO Raccoon"; | ||||||
| 	compatible = "ocedo,raccoon", "qca,ar9344"; | 	compatible = "ocedo,raccoon", "qca,ar9344"; | ||||||
|  |  | ||||||
|  | 	chosen { | ||||||
|  | 		bootargs = "console=ttyS0,115200n8"; | ||||||
|  | 	}; | ||||||
|  |  | ||||||
| 	aliases { | 	aliases { | ||||||
| 		led-status = &system; | 		led-status = &system; | ||||||
| 	}; | 	}; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user