ar71xx: move Arduino Yun to generic building code
authorCamille Bilodeau <camille.bilodeau@protonmail.com>
Tue, 13 Jun 2017 08:05:13 +0000 (10:05 +0200)
committerPiotr Dymacz <pepe2k@gmail.com>
Thu, 29 Jun 2017 08:37:36 +0000 (10:37 +0200)
commitbb46b635df48d5c2368f98646c16e3333cbc11fb
treeded054933b8b2a7c9089186caa2e12ba73c00c0a
parent2fa58a8d7c340cd6b9c1d9be401d43a2ac8125e3
ar71xx: move Arduino Yun to generic building code

Migrate Arduino Yun from legacy to generic building code.

Note: the mtd partitioning is changed to adopt the LEDE default
partitioning. It allows to have a kernel bigger than 1280k. It is
necessary as kernel > 4.4 with default LEDE configuration grows
bigger.

To use the new partitioning, you need to update your U-Boot env in
advance:

setenv mtdparts "spi0.0:256k(u-boot)ro,64k(u-boot-env),15936k(firmware),64k(nvram),64k(art)ro"
setenv bootcmd "run addboard; run addtty; run addparts; run addrootfs; bootm 0x9f050000 || bootm 0x9fea0000"
saveenv

Signed-off-by: Camille Bilodeau <camille.bilodeau@protonmail.com>
target/linux/ar71xx/image/generic.mk
target/linux/ar71xx/image/legacy-devices.mk
target/linux/ar71xx/image/legacy.mk