<HTML><BODY><div class="js-helper js-readmsg-msg"><div><div id="style_14434685590000000293_BODY"><div><div><div><br>I' m trying to start openwrt on it!<br>hardware is:<br><br><span style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;" data-mce-style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;">CPU1: Cavium CN5010</span><br style="display: inline;" data-mce-style="display: inline;"><span style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;" data-mce-style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;">FLAsh: 32 MiB</span><br style="display: inline;" data-mce-style="display: inline;"><span style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;" data-mce-style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;">256 mb RAM</span><br style="display: inline;" data-mce-style="display: inline;"><span style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;" data-mce-style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;">WIfi chip: Atheros AR9160</span><br style="display: inline;" data-mce-style="display: inline;"><span style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;" data-mce-style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;">Switch: Broadcom BCM53115</span><br style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;" data-mce-style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;"><span style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;" data-mce-style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;">and some 2 usb ports ;-)</span><br><br>i've flashed it with <br><br><span style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;" data-mce-style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;">tftpboot 0 openwrt-octeon-generic-vmlinux.64</span><br style="display: inline;color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;" data-mce-style="display: inline;color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;"><span style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;" data-mce-style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;">erase $(linux_start) +$(filesize)</span><br style="display: inline;color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;" data-mce-style="display: inline;color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;"><span style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;" data-mce-style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;">cp.b $(fileaddr) $(linux_start) $(filesize)</span><br style="display: inline;color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;" data-mce-style="display: inline;color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;"><span style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;" data-mce-style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;">setenv linux_wrt 'cp.b $(linux_start) $(loadaddr) $(linux_limit_old);bootoctlinux $(loadaddr) mtdparts=phys_mapped_flash:640k(bootloader)ro,7M(kernel),23M(rootfs),1M(AppConfig),128k(bootload-env) root=1f02 rootfstype=jffs2 '</span><br style="display: inline;color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;" data-mce-style="display: inline;color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;"><span style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;" data-mce-style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;">setenv bootcmd 'run linux_wrt'</span><br style="display: inline;color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;" data-mce-style="display: inline;color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;"><span style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;" data-mce-style="color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;">saveenv</span><br><br>end then mtdblock2 partition..<br><br>For now just evrything work exept LEDs and Broadcom 53115 switch<br>i cant compile octeon image with b53 driver <br>Can anybody give me good advece about it???<br><br>and the second question - howto write driver for leds? it works though <span style="color: #8699bc;font-family: monaco-dm, courier;font-size: 12px;line-height: 16px;text-align: justify;white-space: pre;" data-mce-style="color: #8699bc;font-family: monaco-dm, courier;font-size: 12px;line-height: 16px;text-align: justify;white-space: pre;">/sys/class/gpio<br></span>but not thought /leds fs<br>Can you help with this? it will be great for me!<br><br><p style="margin-bottom: 0px;padding: 0.35em 0px;color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;" data-mce-style="margin-bottom: 0px;padding: 0.35em 0px;color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;">6- reset button<br style="display: inline;" data-mce-style="display: inline;">8 - wps button</p><p style="margin-bottom: 0px;padding: 0.35em 0px;color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;" data-mce-style="margin-bottom: 0px;padding: 0.35em 0px;color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;">all leds become lightning on 0 value and turns off at 1</p><p style="margin-bottom: 0px;padding: 0.35em 0px;color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;" data-mce-style="margin-bottom: 0px;padding: 0.35em 0px;color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;">GPIO - Led name</p><p style="margin-bottom: 0px;padding: 0.35em 0px;color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;" data-mce-style="margin-bottom: 0px;padding: 0.35em 0px;color: #222222;font-family: Verdana, Helvetica, Arial, sans-serif;font-size: 12px;line-height: 18px;background-color: #fafafa;">9 - USB1<br style="display: inline;" data-mce-style="display: inline;">10 - USB2<br style="display: inline;" data-mce-style="display: inline;">11 - WPS<br style="display: inline;" data-mce-style="display: inline;">14 - Powergreen<br style="display: inline;" data-mce-style="display: inline;">15 - powerorange</p><br>Thanks<br><br>-- <br>SMA -
</div>
</div>
</div>
<br><hr>
</div>
<base target="_self" href="https://e.mail.ru/">
</div>
</div>
<br><hr><style type="text/css"></style></BODY></HTML>