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: 48828
owl
Felix Fietkau 2016-02-29 20:11:30 +00:00
parent bd93998df6
commit 619a58d641
2 changed files with 7 additions and 1 deletions

View File

@ -1203,7 +1203,7 @@ define Device/ubdev01
$(Device/ubnt-xm) $(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 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 BOARDNAME := UBNT-UF
UBNT_BOARD := XM UBNT_BOARD := UBDEV01
UBNT_TYPE := XM UBNT_TYPE := XM
UBNT_CHIP := ar7240 UBNT_CHIP := ar7240
endef endef

View File

@ -81,6 +81,12 @@ fw_layout_t fw_layout_data[] = {
.kern_entry = 0x80002000, .kern_entry = 0x80002000,
.firmware_max_length= 0x006A0000, .firmware_max_length= 0x006A0000,
}, },
{
.name = "UBDEV01",
.kern_start = 0x9f050000,
.kern_entry = 0x80002000,
.firmware_max_length= 0x006A0000,
},
{ .name = "", { .name = "",
}, },
}; };