[OpenWrt-Devel] Fwd: Octeon 5020 in d-link dsr-1000n question
С М
mymilo2 at bk.ru
Mon Sep 28 16:14:45 EDT 2015
I' m trying to start openwrt on it!
hardware is:
CPU1: Cavium CN5010
FLAsh: 32 MiB
256 mb RAM
WIfi chip: Atheros AR9160
Switch: Broadcom BCM53115
and some 2 usb ports ;-)
i've flashed it with
tftpboot 0 openwrt-octeon-generic-vmlinux.64
erase $(linux_start) +$(filesize)
cp.b $(fileaddr) $(linux_start) $(filesize)
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 '
setenv bootcmd 'run linux_wrt'
saveenv
end then mtdblock2 partition..
For now just evrything work exept LEDs and Broadcom 53115 switch
i cant compile octeon image with b53 driver
Can anybody give me good advece about it???
and the second question - howto write driver for leds? it works though /sys/class/gpio
but not thought /leds fs
Can you help with this? it will be great for me!
6- reset button
8 - wps button
all leds become lightning on 0 value and turns off at 1
GPIO - Led name
9 - USB1
10 - USB2
11 - WPS
14 - Powergreen
15 - powerorange
Thanks
--
SMA -
----------------------------------------------------------------------
----------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150928/399dc2b6/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list