https://dev.openwrt.org/wiki/SubmittingPatches


On Fri, Jun 13, 2014 at 10:58 PM, and...@polkaspots.com <
and...@polkaspots.com> wrote:

>  Oh yes, i have my first patch.
> Not sure how to push it tho.
>
> 998-mtd_m25p80_support_for_en25q124.patch
>
> --- a/drivers/mtd/devices/m25p80.c
> +++ b/drivers/mtd/devices/m25p80.c
> @@ -762,6 +762,7 @@ static const struct spi_device_id m25p_i
>
>         { "en25q32b", INFO(0x1c3016, 0, 64 * 1024,  64, 0) },
>         { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) },
>         { "en25q64", INFO(0x1c3017, 0, 64 * 1024, 128, SECT_4K) },
> +       { "en25qh128", INFO(0x1c7018, 0, 64 * 1024, 256, 0) },
>         { "en25qh256", INFO(0x1c7019, 0, 64 * 1024, 512, 0) },
>
>         /* ESMT */
>
> I do hope i did it the right way.
>
>
> On 13/06/14 13:31, Outback Dingo wrote:
>
> That would be correct, and if done with quilt, as ive now completed
> testing the patches from the list if we can get one solid diff
> submitted to patchwork i can help walk it up the commit tree with those
> powers that be.
>
>
> On Fri, Jun 13, 2014 at 10:29 PM, and...@polkaspots.com <
> and...@polkaspots.com> wrote:
>
>>  As you have more experience than me, I need to turn to you, adding this
>> chip in, is actually a generic patch, as other may have it as well?
>> I can see that generic patches are apply as well when ar711 is called.
>>
>>
>>
>> On 13/06/14 13:14, Outback Dingo wrote:
>>
>> duh.... it reversed the nics, i plugged into the poe and 192.168.1.1 is
>> reachable.... i was plugged into the secondary port
>>
>>  im in its live
>>
>>
>>  On Fri, Jun 13, 2014 at 10:09 PM, and...@polkaspots.com <
>> and...@polkaspots.com> wrote:
>>
>>>  Do you have a serial console?
>>> Plug the main directly in to your network and do an arp scan for the
>>> mac.
>>>
>>>
>>> On 13/06/14 13:06, Outback Dingo wrote:
>>>
>>> Shoot..... its not coming up....... after the tftp it was flashing white
>>> blue white blue white blue for a bit then stopped.....
>>>
>>>  doesnt seem to be doing much....... cant ping 192.168.1.1 from my
>>> host........ hrmmmmm.... should i unplug plug it back in
>>>
>>>
>>> On Fri, Jun 13, 2014 at 10:05 PM, and...@polkaspots.com <
>>> and...@polkaspots.com> wrote:
>>>
>>>>  Great!
>>>> I was confused about the Tx-Power: 18 dBm but that makes sense, as it
>>>> has 2 x 5dBi passive gain antennas. So the total will actually be 28.
>>>> Powerful little one.
>>>>
>>>>
>>>> On 13/06/14 12:53, Outback Dingo wrote:
>>>>
>>>>  tftp> put
>>>> openwrt-ar71xx-generic-ubnt-unifi-outdoor-plus-squashfs-factory.bin
>>>> Sent 6881628 bytes in 4.0 seconds
>>>>
>>>>
>>>>  FINALLY.....
>>>>
>>>>
>>>> On Fri, Jun 13, 2014 at 9:49 PM, Outback Dingo <outbackdi...@gmail.com>
>>>> wrote:
>>>>
>>>>> yeah i just noticed that you dropped that from the initial patch,
>>>>> caught it fixed it and now i have an image.
>>>>>
>>>>>  its been too long, need more coffee.......... but Thanks.......
>>>>> always something simple
>>>>>
>>>>>
>>>>> On Fri, Jun 13, 2014 at 9:46 PM, and...@polkaspots.com <
>>>>> and...@polkaspots.com> wrote:
>>>>>
>>>>>>  Oh, sorry I think is actually my bad, I didn’t paste everything, grrr
>>>>>>
>>>>>>
>>>>>> target/linux/ar71xx/image/Makefile:
>>>>>>
>>>>>>
>>>>>>  $(eval $(call 
>>>>>> SingleProfile,UAPPRO,64k,UAPPRO,ubnt-uap-pro,UAP-PRO,ttyS0,115200,BZ,BZ,ar934x))+$(eval
>>>>>>  $(call 
>>>>>> SingleProfile,UAPPRO,64k,UBNTUNIFIOUTDOORPLUS,ubnt-unifi-outdoor-plus,UBNT-U20,ttyS0,115200,BZ,BZ,ar7240))
>>>>>>
>>>>>>
>>>>>> On 13/06/14 12:42, Outback Dingo wrote:
>>>>>>
>>>>>> seriously..... i did it even exactly as you stated and still no
>>>>>> joy..........
>>>>>>
>>>>>>  and ive been using/developing on WRT for 6+ years.... Grrrrrrr what
>>>>>> did i miss
>>>>>>  -rw-r--r-- 1 dingo dingo 5636096 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-root.squashfs
>>>>>> -rw-r--r-- 1 dingo dingo 5308420 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-root.squashfs-64k
>>>>>> -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-ubnt-airrouter-squashfs-factory.bin
>>>>>> -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-ubnt-airrouter-squashfs-sysupgrade.bin
>>>>>> -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-factory.bin
>>>>>> -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-sysupgrade.bin
>>>>>> -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-ubnt-ls-sr71-squashfs-factory.bin
>>>>>> -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-ubnt-ls-sr71-squashfs-sysupgrade.bin
>>>>>> -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-ubnt-nano-m-squashfs-factory.bin
>>>>>> -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-ubnt-nano-m-squashfs-sysupgrade.bin
>>>>>> -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-ubnt-rocket-m-squashfs-factory.bin
>>>>>> -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-ubnt-rocket-m-squashfs-sysupgrade.bin
>>>>>> -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-ubnt-rspro-squashfs-factory.bin
>>>>>> -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-ubnt-rspro-squashfs-sysupgrade.bin
>>>>>> -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-ubnt-rs-squashfs-factory.bin
>>>>>> -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-ubnt-rs-squashfs-sysupgrade.bin
>>>>>>  -rw-r--r-- 1 dingo dingo 6881628 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-ubnt-uap-pro-squashfs-factory.bin
>>>>>> -rw-r--r-- 1 dingo dingo 6881284 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-ubnt-uap-pro-squashfs-sysupgrade.bin
>>>>>> -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-ubnt-unifi-outdoor-squashfs-factory.bin
>>>>>> -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-ubnt-unifi-outdoor-squashfs-sysupgrade.bin
>>>>>> -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-ubnt-unifi-squashfs-factory.bin
>>>>>> -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-ubnt-unifi-squashfs-sysupgrade.bin
>>>>>> -rw-r--r-- 1 dingo dingo 1425844 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-uImage-gzip.bin
>>>>>> -rw-r--r-- 1 dingo dingo 1034289 Jun 13 21:37
>>>>>> openwrt-ar71xx-generic-uImage-lzma.bin
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Jun 13, 2014 at 8:48 PM, and...@polkaspots.com <
>>>>>> and...@polkaspots.com> wrote:
>>>>>>
>>>>>>>  Ubiquiti all, The outdoor+ profile is not defined, so it will call
>>>>>>> the normal Outdoor if you select that one.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 13/06/14 11:47, Outback Dingo wrote:
>>>>>>>
>>>>>>> Your building target for Ubiquiti all ? or UniFi OutDoor ?
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Jun 13, 2014 at 8:35 PM, and...@polkaspots.com <
>>>>>>> and...@polkaspots.com> wrote:
>>>>>>>
>>>>>>>>  Then it hasent been generated.
>>>>>>>>
>>>>>>>> Try :
>>>>>>>>
>>>>>>>> Do a make dirclean
>>>>>>>>
>>>>>>>> Change this :
>>>>>>>>
>>>>>>>> Modify target/linux/ar71xx/image/Makefile:
>>>>>>>>
>>>>>>>> +$(eval $(call MultiProfile,UBNT,UBNTAIRROUTER UBNTRS UBNTRSPRO
>>>>>>>> UBNTLSSR71 UBNTBULLETM UBNTROCKETM UBNTNANOM UBNTUNIFI
>>>>>>>> UBNTUNIFIOUTDOOR UBNTUNIFIOUTDOORPLUS UAPPRO))
>>>>>>>>  $(eval $(call MultiProfile,WNDR3700,WNDR3700V1 WNDR3700V2 WNDR3800
>>>>>>>> WNDRMAC WNDRMACV2))
>>>>>>>>  $(eval $(call MultiProfile,WNR612V2,REALWNR612V2 N150R))
>>>>>>>>  $(eval $(call MultiProfile,WP543,WP543_2M WP543_4M WP543_8M 
>>>>>>>> WP543_16M))
>>>>>>>>
>>>>>>>> do a make kernel_menuconfig
>>>>>>>> exit without doing anything
>>>>>>>> cd build_dir
>>>>>>>> find | grep m25p80.c
>>>>>>>> should show up something in drivers/mtd/devices/
>>>>>>>> add the patch in
>>>>>>>> +++ m25p80.c    2014-04-05 00:27:58.000000000 +0000
>>>>>>>> @@ -677,6 +677,8 @@
>>>>>>>>      { "en25q32b", INFO(0x1c3016, 0, 64 * 1024,  64, 0) },
>>>>>>>>      { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) },
>>>>>>>>      { "en25q64", INFO(0x1c3017, 0, 64 * 1024, 128, SECT_4K) },
>>>>>>>> +    { "en25qh128", INFO(0x1c7018, 0, 64 * 1024, 256, 0) },
>>>>>>>>
>>>>>>>>      /* Everspin */
>>>>>>>>      { "mr25h256", CAT25_INFO(  32 * 1024, 1, 256, 2) },
>>>>>>>>
>>>>>>>> and then do a make again.
>>>>>>>> It should generate it fine.
>>>>>>>>
>>>>>>>>
>>>>>>>> On 13/06/14 11:31, Outback Dingo wrote:
>>>>>>>>
>>>>>>>> ive applied the patches but its not building that specific image
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, Jun 13, 2014 at 8:30 PM, and...@polkaspots.com <
>>>>>>>> and...@polkaspots.com> wrote:
>>>>>>>>
>>>>>>>>>  Ah that’s wrong, you need to have one called
>>>>>>>>> openwrt-ar71xx-generic-ubnt-unifi-outdoor-plus-squashfs-factory.bin 
>>>>>>>>> not
>>>>>>>>> openwrt-ar71xx-generic-ubnt-unifi-outdoor-squashfs-factory.bin, the
>>>>>>>>> firmware check is different.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 13/06/14 11:29, Outback Dingo wrote:
>>>>>>>>>
>>>>>>>>>  somethings odd here.... would you have an image i can test ??
>>>>>>>>>
>>>>>>>>>  tftp> bin
>>>>>>>>> tftp> timeout 120
>>>>>>>>> tftp> put
>>>>>>>>> openwrt-ar71xx-generic-ubnt-unifi-outdoor-squashfs-factory.bin
>>>>>>>>> Error code 2: Firmware check failed
>>>>>>>>> Sent 6356992 bytes in 9.7 seconds
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Fri, Jun 13, 2014 at 8:27 PM, and...@polkaspots.com <
>>>>>>>>> and...@polkaspots.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi there,
>>>>>>>>>>
>>>>>>>>>> I have one as well and managed to put the firmware on using his
>>>>>>>>>> patch.
>>>>>>>>>> Now i'm just trying to wrap my head around how quilt works.
>>>>>>>>>>
>>>>>>>>>> Will update you as soon as I have something.
>>>>>>>>>> By the way, is this the correct way to reply to this patchworks
>>>>>>>>>> digest?
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to