OpenWrt for Arduino Yun cheat sheet: Difference between revisions

Line 200: Line 200:
</syntaxhighlight>
</syntaxhighlight>


memo...
:setenv serverip ‹tftp-server-ip›; setenv ipaddr ‹yun-board-ip›;
:setenv serverip ‹tftp-server-ip›; setenv ipaddr ‹yun-board-ip›;


Line 228: Line 229:
  [https://www.arduino.cc/en/Tutorial/YunUBootReflash Reflashing the OpenWrt-Yun image on the Yún]
  [https://www.arduino.cc/en/Tutorial/YunUBootReflash Reflashing the OpenWrt-Yun image on the Yún]
  [https://www.arduino.cc/en/Tutorial/YunSysRestore Restore the 1.5.3 image after you did sysupgrade to 1.6.2 on old Yún]
  [https://www.arduino.cc/en/Tutorial/YunSysRestore Restore the 1.5.3 image after you did sysupgrade to 1.6.2 on old Yún]
Restore old image:
<syntaxhighlight lang="bash" enclose="div">
setenv bootargs board=YUN console=ttyATH0,250000 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot env)ro,14656k(rootfs),1280k(kernel),64k(nvram),64k(art),15936k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd
saveenv
</syntaxhighlight>


== Essential items in the kernel configuration ==
== Essential items in the kernel configuration ==