aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-02-29 20:11:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-02-29 20:11:30 +0000
commitee712bd31cef38d066bd12a4f04c2ec5165adf64 (patch)
treec696059b27f0808b71543c71f932e9d3e6fbac54 /tools
parent7b3ee8c4b496850412d2ff5efaadc4d4719358c6 (diff)
downloadmaster-187ad058-ee712bd31cef38d066bd12a4f04c2ec5165adf64.tar.gz
master-187ad058-ee712bd31cef38d066bd12a4f04c2ec5165adf64.tar.bz2
master-187ad058-ee712bd31cef38d066bd12a4f04c2ec5165adf64.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48828 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools')
-rw-r--r--tools/firmware-utils/src/mkfwimage.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/firmware-utils/src/mkfwimage.c b/tools/firmware-utils/src/mkfwimage.c
index 00bf439afe..5dae284d5d 100644
--- a/tools/firmware-utils/src/mkfwimage.c
+++ b/tools/firmware-utils/src/mkfwimage.c
@@ -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 = "",
},
};