Re: [LEDE-DEV] [OpenWrt-Devel] OpenWrt -> LEDE git tree merge

2017-10-23 Thread p . wassi
Hi,
 
> > - https://github.com/openwrt/openwrt/pull/539
> > Add TL-WA901v5 support
> 
> The GCC 7 patches are probably already in, but the target commit looks
> ok to me, but I am not a ar71xx expert.

Yesterday, I came across a TL-WA901v5 and did a PR on LEDE github, without 
knowing that
someone already started on the OpenWrt side ;-)
The OpenWrt PR adds another mach-*-v5 file, which basically is a copy of the 
mach-*-v4.
Since both boards are identical in HW (used CPU, RAM, Flash, WLAN, GPIO 
assignments),
I've just added another MIPS_MACHINE in the existing mach-*-v4 file without 
introducing
a clone there.
However, as the OEM bootloader requires the image to have the correct HW-ID 
(09010005), we
still need to make a seperate image for these devices.
Flashing is successfully tested via TFTP, like for the -v4 unit as described in 
[1]
You can find the LEDE PR at [2] - everything is compile-tested and run-tested 
on real HW.

Best regards,
P. Wassi

[1]:
https://forum.openwrt.org/viewtopic.php?pid=320942#p320942

[2]:
https://github.com/lede-project/source/pull/1446

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [OpenWrt-Devel] OpenWrt -> LEDE git tree merge

2017-10-23 Thread Zoltan HERPAI

Hi Mathias,

On Mon, 23 Oct 2017, Mathias Kresin wrote:


22.10.2017 22:56, Hauke Mehrtens:

On 10/22/2017 10:28 PM, Zoltan HERPAI wrote:

Hi,




- https://github.com/openwrt/openwrt/pull/312
ar71xx: add support for Zsun WiFi SD Card Reader


This is missing a Singed-of-by line


A few days ago a similar PR was created (and unfortunately already 
closed): https://github.com/lede-project/source/pull/1422.


The OpenWrt PR has a lot of issues, like enabling unencrypted wireless 
for the whole target.


"- #5 needs some work as it has some dirty hacks. This can be taken care on 
the summit's second day - I recall someone going there has a ZSun reader"


So, fully agree, I could have written s/some work/full rework/. If n0p 
doesn't come back with the fixes by the summit, we could take care of 
adding the support there, with the actual hardware to test.


-w-

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [OpenWrt-Devel] OpenWrt -> LEDE git tree merge

2017-10-23 Thread Mathias Kresin

22.10.2017 22:56, Hauke Mehrtens:

On 10/22/2017 10:28 PM, Zoltan HERPAI wrote:

Hi,

Zoltan HERPAI wrote:

Hi Hauke,

On Sun, 22 Oct 2017, Hauke Mehrtens wrote:


I am working on merging the missing commits from the OpenWrt git
repository into the LEDE repository.

Here is a list of all non merge commits from the OpenWrt git repository
and their corresponding LEDE commit IDs:
https://github.com/hauke/openwrt-lede-merge/blob/master/commits.csv

I only looked into the non merge commits and assumed that commits with
the same title are the same, if this is wrong please point me to some
place where this causes problems.

I used this script to generate the csv table:
https://github.com/hauke/openwrt-lede-merge/blob/master/openwrt-merge.py

The bigger topics I see are:
* addition of SoCFPGA target with kernel 4.4 support
* Will someone port this to kernel 4.9 or provide me with hardware so I
   can try to port this and test it?
* There are some commits without a Signed-off-by line, I will contact
  the authors.
* The realview target was removed from LEDE, but it got an update to
  kernel 4.4 in OpenWrt, how do we want to handle this? Does anyone need
  the realview target?


As discussed earlier, I've prepared manually a list of commits that
are missing from LEDE. I was about to send:

  - a set of patches that probably don't need any discussion and can be
merged right away,
  - a set of patches that are RFC, and should be discussed.

Let me know if that should still happen.

The series has been sent as discussed on irc. I don't recall any more
required - also based on checking the CSV, thanks for prepping that.

The RFC patches/PRs are:




...


- https://github.com/openwrt/openwrt/pull/312
ar71xx: add support for Zsun WiFi SD Card Reader


This is missing a Singed-of-by line


A few days ago a similar PR was created (and unfortunately already 
closed): https://github.com/lede-project/source/pull/1422.


The OpenWrt PR has a lot of issues, like enabling unencrypted wireless 
for the whole target.





https://github.com/openwrt/openwrt/commit/4f997727aef0603f02e9320ba787ea1b894747c0

lantiq: td-w8980: fix failsafe mode via ethernet.


This looks correct to me, but I do not have this board.


This one isn't required. The wrong interface in failsafe was fixed for 
the whole target with f080cfab72d8801856fa01f0476f1fc9b920a9d9.


Mathias

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [OpenWrt-Devel] OpenWrt -> LEDE git tree merge

2017-10-22 Thread Hauke Mehrtens
On 10/22/2017 10:28 PM, Zoltan HERPAI wrote:
> Hi,
> 
> Zoltan HERPAI wrote:
>> Hi Hauke,
>>
>> On Sun, 22 Oct 2017, Hauke Mehrtens wrote:
>>
>>> I am working on merging the missing commits from the OpenWrt git
>>> repository into the LEDE repository.
>>>
>>> Here is a list of all non merge commits from the OpenWrt git repository
>>> and their corresponding LEDE commit IDs:
>>> https://github.com/hauke/openwrt-lede-merge/blob/master/commits.csv
>>>
>>> I only looked into the non merge commits and assumed that commits with
>>> the same title are the same, if this is wrong please point me to some
>>> place where this causes problems.
>>>
>>> I used this script to generate the csv table:
>>> https://github.com/hauke/openwrt-lede-merge/blob/master/openwrt-merge.py
>>>
>>> The bigger topics I see are:
>>> * addition of SoCFPGA target with kernel 4.4 support
>>> * Will someone port this to kernel 4.9 or provide me with hardware so I
>>>   can try to port this and test it?
>>> * There are some commits without a Signed-off-by line, I will contact
>>>  the authors.
>>> * The realview target was removed from LEDE, but it got an update to
>>>  kernel 4.4 in OpenWrt, how do we want to handle this? Does anyone need
>>>  the realview target?
>>
>> As discussed earlier, I've prepared manually a list of commits that
>> are missing from LEDE. I was about to send:
>>
>>  - a set of patches that probably don't need any discussion and can be
>> merged right away,
>>  - a set of patches that are RFC, and should be discussed.
>>
>> Let me know if that should still happen.
> The series has been sent as discussed on irc. I don't recall any more
> required - also based on checking the CSV, thanks for prepping that.
> 
> The RFC patches/PRs are:
> 
> 
> - https://github.com/openwrt/openwrt/pull/433
> I'd like to add genimage support to OpenWrt. With this package one can
> create arbitrary image either for internal flash or SD/USB storage devices.
> As this package is basically applicable to any target should I enable it
> in tools/Makefile tools-y target?
> 
> - https://github.com/openwrt/openwrt/pull/409
> Add nconfig toplevel target to utilize ncurses ui configuration utility
> as found on kernel's buildsystem.

There is also a pull open request for LEDE:
https://github.com/lede-project/source/pull/903

> - https://github.com/openwrt/openwrt/pull/533
> tools: add package autoconf-archive

There is also a open pull request for LEDE:
https://github.com/lede-project/source/pull/1368

> - https://github.com/openwrt/openwrt/pull/464
> Add full control of network configuration to a user script #464
> 
> - https://github.com/openwrt/openwrt/pull/312
> ar71xx: add support for Zsun WiFi SD Card Reader

This is missing a Singed-of-by line

> https://github.com/openwrt/openwrt/commit/4f997727aef0603f02e9320ba787ea1b894747c0
> 
> lantiq: td-w8980: fix failsafe mode via ethernet.

This looks correct to me, but I do not have this board.

> https://github.com/openwrt/openwrt/commit/9fb1348a0aa8954535ec5a2c088037af0d7b9297
> 
> packages: lzo: Update LZO Makefile to repair dead Main URL

For me also the old URL works, this was probably only temporary, we
should add both URLs to the build system.

> - https://github.com/openwrt/openwrt/pull/539
> Add TL-WA901v5 support

The GCC 7 patches are probably already in, but the target commit looks
ok to me, but I am not a ar71xx expert.


> 
> 
> - #1-4 would require discussion if they're needed at all, they look as
> "nice to have".
> - #5 needs some work as it has some dirty hacks. This can be taken care
> on the summit's second day - I recall someone going there has a ZSun reader
> - #6 - I haven't seen traces of this in LEDE, but I leave it to the
> lantiq experts to opinion on
> - #7 was due to an outage if I recall correctly, again, it's optional
> - #8 - needs some further changes around creating the -factory image
> 
> Regards,
> -w-
What about the SoCFPGA target?
https://github.com/openwrt/openwrt/tree/master/target/linux/socfpga

I think they should submit it again with kernel 4.9 support.

Hauke

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [OpenWrt-Devel] OpenWrt -> LEDE git tree merge

2017-10-22 Thread Hans Dedecker
On Sun, Oct 22, 2017 at 10:28 PM, Zoltan HERPAI  wrote:
> Hi,
>
>
> Zoltan HERPAI wrote:
>>
>> Hi Hauke,
>>
>> On Sun, 22 Oct 2017, Hauke Mehrtens wrote:
>>
>>> I am working on merging the missing commits from the OpenWrt git
>>> repository into the LEDE repository.
>>>
>>> Here is a list of all non merge commits from the OpenWrt git repository
>>> and their corresponding LEDE commit IDs:
>>> https://github.com/hauke/openwrt-lede-merge/blob/master/commits.csv
>>>
>>> I only looked into the non merge commits and assumed that commits with
>>> the same title are the same, if this is wrong please point me to some
>>> place where this causes problems.
>>>
>>> I used this script to generate the csv table:
>>> https://github.com/hauke/openwrt-lede-merge/blob/master/openwrt-merge.py
>>>
>>> The bigger topics I see are:
>>> * addition of SoCFPGA target with kernel 4.4 support
>>> * Will someone port this to kernel 4.9 or provide me with hardware so I
>>>   can try to port this and test it?
>>> * There are some commits without a Signed-off-by line, I will contact
>>>  the authors.
>>> * The realview target was removed from LEDE, but it got an update to
>>>  kernel 4.4 in OpenWrt, how do we want to handle this? Does anyone need
>>>  the realview target?
>>
>>
>> As discussed earlier, I've prepared manually a list of commits that are
>> missing from LEDE. I was about to send:
>>
>>  - a set of patches that probably don't need any discussion and can be
>> merged right away,
>>  - a set of patches that are RFC, and should be discussed.
>>
>> Let me know if that should still happen.
>
> The series has been sent as discussed on irc. I don't recall any more
> required - also based on checking the CSV, thanks for prepping that.
>
> The RFC patches/PRs are:
>
> 
> - https://github.com/openwrt/openwrt/pull/433
> I'd like to add genimage support to OpenWrt. With this package one can
> create arbitrary image either for internal flash or SD/USB storage devices.
> As this package is basically applicable to any target should I enable it in
> tools/Makefile tools-y target?
>
> - https://github.com/openwrt/openwrt/pull/409
> Add nconfig toplevel target to utilize ncurses ui configuration utility as
> found on kernel's buildsystem.
>
> - https://github.com/openwrt/openwrt/pull/533
> tools: add package autoconf-archive
>
> - https://github.com/openwrt/openwrt/pull/464
> Add full control of network configuration to a user script #464
>
> - https://github.com/openwrt/openwrt/pull/312
> ar71xx: add support for Zsun WiFi SD Card Reader
>
> -
> https://github.com/openwrt/openwrt/commit/4f997727aef0603f02e9320ba787ea1b894747c0
> lantiq: td-w8980: fix failsafe mode via ethernet.
>
> -
> https://github.com/openwrt/openwrt/commit/9fb1348a0aa8954535ec5a2c088037af0d7b9297
> packages: lzo: Update LZO Makefile to repair dead Main URL
>
> - https://github.com/openwrt/openwrt/pull/539
> Add TL-WA901v5 support

Following PR is also nice to have :
-https://github.com/openwrt/openwrt/pull/463
Stop pollution of dns and domain variables in dhcp.script

Hans

> 
>
> - #1-4 would require discussion if they're needed at all, they look as "nice
> to have".
> - #5 needs some work as it has some dirty hacks. This can be taken care on
> the summit's second day - I recall someone going there has a ZSun reader
> - #6 - I haven't seen traces of this in LEDE, but I leave it to the lantiq
> experts to opinion on
> - #7 was due to an outage if I recall correctly, again, it's optional
> - #8 - needs some further changes around creating the -factory image
>
> Regards,
>
> -w-
> ___
> openwrt-devel mailing list
> openwrt-de...@lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [OpenWrt-Devel] OpenWrt -> LEDE git tree merge

2017-10-22 Thread Zoltan HERPAI

Hi,

Zoltan HERPAI wrote:

Hi Hauke,

On Sun, 22 Oct 2017, Hauke Mehrtens wrote:


I am working on merging the missing commits from the OpenWrt git
repository into the LEDE repository.

Here is a list of all non merge commits from the OpenWrt git repository
and their corresponding LEDE commit IDs:
https://github.com/hauke/openwrt-lede-merge/blob/master/commits.csv

I only looked into the non merge commits and assumed that commits with
the same title are the same, if this is wrong please point me to some
place where this causes problems.

I used this script to generate the csv table:
https://github.com/hauke/openwrt-lede-merge/blob/master/openwrt-merge.py

The bigger topics I see are:
* addition of SoCFPGA target with kernel 4.4 support
* Will someone port this to kernel 4.9 or provide me with hardware so I
  can try to port this and test it?
* There are some commits without a Signed-off-by line, I will contact
 the authors.
* The realview target was removed from LEDE, but it got an update to
 kernel 4.4 in OpenWrt, how do we want to handle this? Does anyone need
 the realview target?


As discussed earlier, I've prepared manually a list of commits that 
are missing from LEDE. I was about to send:


 - a set of patches that probably don't need any discussion and can be 
merged right away,

 - a set of patches that are RFC, and should be discussed.

Let me know if that should still happen.
The series has been sent as discussed on irc. I don't recall any more 
required - also based on checking the CSV, thanks for prepping that.


The RFC patches/PRs are:


- https://github.com/openwrt/openwrt/pull/433
I'd like to add genimage support to OpenWrt. With this package one can 
create arbitrary image either for internal flash or SD/USB storage devices.
As this package is basically applicable to any target should I enable it 
in tools/Makefile tools-y target?


- https://github.com/openwrt/openwrt/pull/409
Add nconfig toplevel target to utilize ncurses ui configuration utility 
as found on kernel's buildsystem.


- https://github.com/openwrt/openwrt/pull/533
tools: add package autoconf-archive

- https://github.com/openwrt/openwrt/pull/464
Add full control of network configuration to a user script #464

- https://github.com/openwrt/openwrt/pull/312
ar71xx: add support for Zsun WiFi SD Card Reader

- 
https://github.com/openwrt/openwrt/commit/4f997727aef0603f02e9320ba787ea1b894747c0

lantiq: td-w8980: fix failsafe mode via ethernet.

- 
https://github.com/openwrt/openwrt/commit/9fb1348a0aa8954535ec5a2c088037af0d7b9297

packages: lzo: Update LZO Makefile to repair dead Main URL

- https://github.com/openwrt/openwrt/pull/539
Add TL-WA901v5 support


- #1-4 would require discussion if they're needed at all, they look as 
"nice to have".
- #5 needs some work as it has some dirty hacks. This can be taken care 
on the summit's second day - I recall someone going there has a ZSun reader
- #6 - I haven't seen traces of this in LEDE, but I leave it to the 
lantiq experts to opinion on

- #7 was due to an outage if I recall correctly, again, it's optional
- #8 - needs some further changes around creating the -factory image

Regards,
-w-








___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev


Re: [LEDE-DEV] [OpenWrt-Devel] OpenWrt -> LEDE git tree merge

2017-10-22 Thread Florian Fainelli


On 10/22/2017 11:46 AM, Hauke Mehrtens wrote:
> Hi,
> 
> I am working on merging the missing commits from the OpenWrt git
> repository into the LEDE repository.
> 
> Here is a list of all non merge commits from the OpenWrt git repository
> and their corresponding LEDE commit IDs:
> https://github.com/hauke/openwrt-lede-merge/blob/master/commits.csv
> 
> I only looked into the non merge commits and assumed that commits with
> the same title are the same, if this is wrong please point me to some
> place where this causes problems.
> 
> I used this script to generate the csv table:
> https://github.com/hauke/openwrt-lede-merge/blob/master/openwrt-merge.py
> 
> The bigger topics I see are:
> * addition of SoCFPGA target with kernel 4.4 support
>  * Will someone port this to kernel 4.9 or provide me with hardware so I
>can try to port this and test it?
> * There are some commits without a Signed-off-by line, I will contact
>   the authors.
> * The realview target was removed from LEDE, but it got an update to
>   kernel 4.4 in OpenWrt, how do we want to handle this? Does anyone need
>   the realview target?

armvirt is now a superset of realview so this can be dropped.
-- 
Florian

___
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev