openwrtv4/target/linux
Chris Blake 28dd52b079 ar71xx: add mac partition to the MR12/MR16
On the stock Meraki Firmare for the MR12/MR16, a chunk of SPI space
after u-boot-env is used to store the boards Mac address. Sadly as this
was removed on any device already on OpenWRT/LEDE, moving forward a new,
64k partition named "mac" will be used to store the mac address for the
device (which is the minimum size). This allows users to properly set
the correct MAC, without editing the ART partition (which holds the same
MAC for all devices).

The reason the space is taken from kernel instead of rootfs is currently
kernels are only 1.3MB, so that way we can leave the current rootfs
space alone for users who fully utilize the available storage space.

Once this partition is added to a device, you can set your MAC doing the
following:

mtd erase mac
echo -n -e '\x00\x18\x0a\x33\x44\x55' > /dev/mtd5
sync && reboot

Where 00:18:0a:33:44:55 is your MAC address.

This was tested, and confirmed working on both the MR12 and MR16.

Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
2016-10-26 12:37:45 +02:00
..
adm5120 kernel: drop usbdev LED trigger 2016-10-19 12:09:45 +02:00
adm8668 build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
apm821xx switch to the new usbport LED trigger 2016-10-19 12:09:45 +02:00
ar7 kernel: update kernel 3.18 to version 3.18.43 2016-10-24 20:25:14 +03:00
ar71xx ar71xx: add mac partition to the MR12/MR16 2016-10-26 12:37:45 +02:00
arc770 tools: remove old mkdosfs symlink from dosfstools 2016-10-12 11:59:09 +02:00
archs38 tools: remove old mkdosfs symlink from dosfstools 2016-10-12 11:59:09 +02:00
arm64 arm64: fix build for linux 4.4.21 2016-09-16 12:11:10 +02:00
at91 at91: Remove u-boot from platform images folder 2016-10-06 12:15:13 +02:00
ath25 kernel: update kernel 4.4 to version 4.4.20 2016-09-15 08:10:55 +02:00
au1000 kernel: update kernel 3.18 to version 3.18.43 2016-10-24 20:25:14 +03:00
bcm53xx bcm53xx: include b43 in Tenda AC9 image 2016-10-20 08:46:26 +02:00
brcm47xx brcm47xx: reorder older entries in image Makefile 2016-10-24 20:35:24 +02:00
brcm63xx switch to the new usbport LED trigger 2016-10-19 12:09:45 +02:00
brcm2708 kernel: drop usbdev LED trigger 2016-10-19 12:09:45 +02:00
cns3xxx cns3xxx: eliminate hardcoded kernel/rootfs partition split 2016-09-19 14:27:26 +02:00
gemini gemini: rename config-default to config-4.4 2016-08-24 01:44:05 +03:00
generic kernel: backport MIPS's ioremap_cache from 4.5 2016-10-24 22:52:44 +02:00
imx6 imx6: Add ds1307 RTC to kernel for working hctosys 2016-10-26 09:41:29 +02:00
ipq806x switch to the new usbport LED trigger 2016-10-19 12:09:45 +02:00
ixp4xx kernel: update kernel 3.18 to version 3.18.43 2016-10-24 20:25:14 +03:00
kirkwood kirkwood: Add RTC driver to kernel for working hctosys 2016-10-26 09:41:28 +02:00
lantiq lantiq: enable cpu temp driver for all vr9 boards 2016-10-19 19:55:06 +02:00
malta malta: enable be64 and le64 subtargets 2016-08-15 15:32:36 +02:00
mcs814x kernel: update kernel 3.18 to version 3.18.43 2016-10-24 20:25:14 +03:00
mediatek switch to the new usbport LED trigger 2016-10-19 12:09:45 +02:00
mpc85xx cleanup ucidef_set_interface* usage 2016-09-10 15:32:25 +02:00
mvebu mvebu: add support for the Linksys WRT3200ACM (Rango) 2016-10-24 08:45:06 +02:00
mxs tools: remove old mkdosfs symlink from dosfstools 2016-10-12 11:59:09 +02:00
octeon kernel: update kernel 4.4 to version 4.4.20 2016-09-15 08:10:55 +02:00
omap build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
omap24xx kernel: clean up usb gadget support 2016-09-15 13:11:21 +02:00
orion treewide: remove bad local shell variable declarations 2016-09-24 14:38:20 +02:00
oxnas kernel: update kernel 4.1 to version 4.1.34 2016-10-24 20:25:14 +03:00
ppc40x build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
ppc44x build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
ramips switch to the new usbport LED trigger 2016-10-19 12:09:45 +02:00
rb532 kernel: update kernel 4.1 to version 4.1.34 2016-10-24 20:25:14 +03:00
realview build: fix subtarget descriptions 2016-09-04 13:35:11 +02:00
sunxi tools: remove old mkdosfs symlink from dosfstools 2016-10-12 11:59:09 +02:00
uml uml: set inittab for working console 2016-09-27 17:50:21 +02:00
x86 x86: 64: enable pci hotplug and acpipnp 2016-10-13 17:04:26 +02:00
xburst use immediate set in target Makefiles 2016-09-10 15:30:38 +02:00
zynq zynq: fix maintainer email address 2016-10-05 01:18:24 +02:00
Makefile