2013.08.26. 21:31 keltezéssel, Vasilis Tsiligiannis írta: > Στις Δευ 26 Αυγ 2013 11:02:54 David Hutchison έγραψε: >> This patch enables OpenWRT to be ran on the RouterBOARD 951Ui-2HnD. GPIO >> 2 enables or disables the POE on port 5. By default we enable GPIO2. GPIO >> 20 controls the USB Power, by default it enables the USB port. >> >> GPIO 20 is also exposed on the RouterBOARD 951G if anyone was curious. I >> did not include that in this patch. >> >> I need some assistance creating a proper patch for the RouterBOARD 951U. >> I have the RouterBOARD 951U working, and will include all of the code >> necessary. >>
<...> > I think you might have some whitespace or formatting errors above > >> + + rb95x_wlan_init(); + ath79_register_usb(); + + >> ath79_register_leds_gpio(-1, ARRAY_SIZE(rb951ui_leds_gpio), + >> rb951ui_leds_gpio); +} + +MIPS_MACHINE(ATH79_MACH_RB_951U, "951HnD", >> "MikroTik RouterBOARD 951Ui-2HnD", + rb951ui_setup); >> >> Here is the part I am confused on. There are two files "machtypes.h" and >> "prom.c". We need to add "ATH79_MACH_RB_951U" to "machtypes.h". I'm not >> sure where in the target directory "machtypes.h" is. It appears that both >> files are managed by a *.patch file in the patches directory. Does the >> PATCH submitted need to be a patch of a patch file? or a new patch? >> Should >> target/linux/ar71xx/ath79/patches/610-MIPS-ath79-openwrt-machines.patch >> be modified, or add a 612-MIPS-ath79-openwrt-rb951u.patch ? > > I beleive it should be a patch of 610-MIPS-ath79-openwrt-machines.patch I prefer to have a separate patch (62*-) for that. It is much easier to resolve conflicts that way. -Gabor _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
