mirror of https://github.com/hak5/openwrt-owl.git
ar71xx, firmware-utils: split ubdev01 flash layout from XM
The ubdev01 profile defines its own MTDPARTS with smaller firmware partition, so give it its own UBNT_BOARD in mkfwimage. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 48828owl
parent
bd93998df6
commit
619a58d641
|
@ -1203,7 +1203,7 @@ define Device/ubdev01
|
|||
$(Device/ubnt-xm)
|
||||
MTDPARTS := spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,7488k(firmware),64k(certs),256k(cfg)ro,64k(EEPROM)ro
|
||||
BOARDNAME := UBNT-UF
|
||||
UBNT_BOARD := XM
|
||||
UBNT_BOARD := UBDEV01
|
||||
UBNT_TYPE := XM
|
||||
UBNT_CHIP := ar7240
|
||||
endef
|
||||
|
|
|
@ -81,6 +81,12 @@ fw_layout_t fw_layout_data[] = {
|
|||
.kern_entry = 0x80002000,
|
||||
.firmware_max_length= 0x006A0000,
|
||||
},
|
||||
{
|
||||
.name = "UBDEV01",
|
||||
.kern_start = 0x9f050000,
|
||||
.kern_entry = 0x80002000,
|
||||
.firmware_max_length= 0x006A0000,
|
||||
},
|
||||
{ .name = "",
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue