Hi Ryan,

Le Monday 25 May 2009 18:41:17 Ryan Press, vous avez écrit :
> I'm working on the DIR-450 target.  So far I've made a program to create
> image files that the original firmware (including failsafe mode) can flash
> and with the help of Macpaul Lin we have it working now with the latest
> trunk and linux 2.6.30-rc6.

Great. That's excellent news. Note that there are still a couple of fixes to 
2.6.30-rc6 in order to get GPIO and watchdog working again with recent kernel 
versions.

>
> The ethernet port on the other RDC targets is eth1 for LAN and eth0 for
> WAN.  The DIR-450 does not have WAN so eth0 should be LAN.  This is easily
> fixed by editing the etc/config/network file, however this file is common
> to all RDC targets.

You could add a etc/init.d/netconfig [1] file in target/linux/rdc/base-files 
which detects the number of Ethernet interfaces and create the 
proper /etc/config/network file. The example given below is for brcm-2.4 
which is pretty complex

>
> I have made subtargets for all the current RDC targets.  This way I can
> have separate base-files.  Is this the appropriate way to do this?

[1] : 
https://dev.openwrt.org/browser/trunk/target/linux/brcm-2.4/base-files/etc/init.d/netconfig

>
> Thanks,
> Ryan
>
>
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel



-- 
Best regards, Florian Fainelli
Email : [email protected]
http://openwrt.org
-------------------------------

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to