Re: [VOTE] Release Apache NuttX (Incubating) 10.3.0 [RC0]

2022-04-14 Thread Duo Zhang
This is all the directories in the LICENSE file, and after removing the
files under these directories, I finally get a list with 136 files.

We are very close to finish the license work now :)

张铎(Duo Zhang)  于2022年4月14日周四 20:51写道:

> Oh I must have made some mistakes in the scripts...
>
> See the new attachment. It should be 314 files.
>
> 张铎(Duo Zhang)  于2022年4月14日周四 20:43写道:
>
>> Oh, there are some .S files. Let me also count them.
>>
>> 张铎(Duo Zhang)  于2022年4月14日周四 20:22写道:
>>
>>> I tried to find all the .h and .c files with the rat check result, there
>>> are 778 files. And then I tried to find all the .h and .c files in the
>>> LICENSE file, there are 452 files.
>>>
>>> And then I use comm -13 to output all the files with are in the rat
>>> check result but not in LICENSE file, there are 350 files. Please see the
>>> attached file.
>>>
>>> Of course, I saw that we may specify a directory in the LICENSE file so
>>> I still need to check it manually again.
>>>
>>> I think you guys could also post your analysis here.
>>>
>>> I haven't checked the apps tarball yet.
>>>
>>> Thanks.
>>>
>>> Alin Jerpelea  于2022年4月14日周四 15:35写道:
>>>
 Hi Duo Zhang,

 Did you have time to conclude?
 Is it possible to proceed with this release?

 Thanks
 Alin


 On 2022/04/10 23:34:59 "张铎(Duo Zhang)" wrote:
 > https://creadur.apache.org/rat/
 >
 > Just download the jar and run 'java -jar apache-rat-0.13.jar >>> > directory>'.
 >
 > Let me see how to check whether all the files with non AL headers
 have all
 > been included in LICENSE.
 >
 >
 >
 >
 >
 > Nathan Hartman  于2022年4月10日周日 23:36写道:
 >
 > > On Sat, Apr 9, 2022 at 8:57 AM 张铎(Duo Zhang) >>> >
 > > wrote:
 > > >
 > > > Yes, most of them are Kconfig, defconfig and .ld files. I think
 all of
 > > them
 > > > are generated files so do not need a license header.
 > > >
 > > > We could introduce a rat.exclude file in our repo to exclude these
 > > > generated files.
 > > >
 > > > And thanks for the pointer. Let me check the LICENSE file as well.
 > >
 > >
 > > Thanks Duo for checking. Did you see any files that do need to be
 > > mentioned in LICENSE?
 > >
 > > Also is there a HOWTO how to run the rat check on our repo?
 > >
 > > Thanks,
 > > Nathan
 > >
 > >
 -
 > > To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org
 > > For additional commands, e-mail: general-h...@incubator.apache.org
 > >
 > >
 >

 -
 To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org
 For additional commands, e-mail: general-h...@incubator.apache.org




Re: [VOTE] Release Apache NuttX (Incubating) 10.3.0 [RC0]

2022-04-14 Thread Duo Zhang
Oh I forgot to paste the directory list...

fs/nfs
fs/spiffs
libs/libc/math
libs/libc/lzf
include/lzf
drivers/video/ov2640
libs/libc/machine/arm/armv8-m
libs/libc/wchar
libs/libc/wctype
wireless/bluetooth
tools/size_report
drivers/wireless/spirit/
arch/arm/src/nrf52/sdk-nrfxlib

张铎(Duo Zhang)  于2022年4月14日周四 21:05写道:

> This is all the directories in the LICENSE file, and after removing the
> files under these directories, I finally get a list with 136 files.
>
> We are very close to finish the license work now :)
>
> 张铎(Duo Zhang)  于2022年4月14日周四 20:51写道:
>
>> Oh I must have made some mistakes in the scripts...
>>
>> See the new attachment. It should be 314 files.
>>
>> 张铎(Duo Zhang)  于2022年4月14日周四 20:43写道:
>>
>>> Oh, there are some .S files. Let me also count them.
>>>
>>> 张铎(Duo Zhang)  于2022年4月14日周四 20:22写道:
>>>
 I tried to find all the .h and .c files with the rat check result,
 there are 778 files. And then I tried to find all the .h and .c files in
 the LICENSE file, there are 452 files.

 And then I use comm -13 to output all the files with are in the rat
 check result but not in LICENSE file, there are 350 files. Please see the
 attached file.

 Of course, I saw that we may specify a directory in the LICENSE file so
 I still need to check it manually again.

 I think you guys could also post your analysis here.

 I haven't checked the apps tarball yet.

 Thanks.

 Alin Jerpelea  于2022年4月14日周四 15:35写道:

> Hi Duo Zhang,
>
> Did you have time to conclude?
> Is it possible to proceed with this release?
>
> Thanks
> Alin
>
>
> On 2022/04/10 23:34:59 "张铎(Duo Zhang)" wrote:
> > https://creadur.apache.org/rat/
> >
> > Just download the jar and run 'java -jar apache-rat-0.13.jar  > directory>'.
> >
> > Let me see how to check whether all the files with non AL headers
> have all
> > been included in LICENSE.
> >
> >
> >
> >
> >
> > Nathan Hartman  于2022年4月10日周日 23:36写道:
> >
> > > On Sat, Apr 9, 2022 at 8:57 AM 张铎(Duo Zhang) <
> palomino...@gmail.com>
> > > wrote:
> > > >
> > > > Yes, most of them are Kconfig, defconfig and .ld files. I think
> all of
> > > them
> > > > are generated files so do not need a license header.
> > > >
> > > > We could introduce a rat.exclude file in our repo to exclude
> these
> > > > generated files.
> > > >
> > > > And thanks for the pointer. Let me check the LICENSE file as
> well.
> > >
> > >
> > > Thanks Duo for checking. Did you see any files that do need to be
> > > mentioned in LICENSE?
> > >
> > > Also is there a HOWTO how to run the rat check on our repo?
> > >
> > > Thanks,
> > > Nathan
> > >
> > >
> -
> > > To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org
> > > For additional commands, e-mail: general-h...@incubator.apache.org
> > >
> > >
> >
>
> -
> To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org
> For additional commands, e-mail: general-h...@incubator.apache.org
>
>


Re: [LEGAL] Update of include/nuttx/wireless/ieee80211/ieee80211.h

2022-04-14 Thread Petro Karashchenko
The PR contains the implementation of inline functions. Are those handled
in the same way as symbols definitions?

Best regards,
Petro

ср, 13 квіт. 2022 р. о 16:10 Alan Carvalho de Assis 
пише:

> Simple header files, for example only symbols definitions are not
> considered derivative work, more info:
>
>
> https://linux.slashdot.org/story/11/03/20/1529238/rms-on-header-files-and-derivative-works
>
> On 4/13/22, Gregory Nutt  wrote:
> >
> >> We are having a PRhttps://github.com/apache/incubator-nuttx/pull/5755
> >> that
> >> is intended to update "include/nuttx/wireless/ieee80211/ieee80211.h"
> >> header
> >> in NuttX code tree.
> >>
> >> the changes are the sync with
> >> https://github.com/torvalds/linux/blob/master/include/linux/ieee80211.h
> >> verison that is available under: "/* SPDX-License-Identifier:
> >> GPL-2.0-only
> >> */".
> >> Basically the changes are a reformatted code from the original Linux
> >> header
> >> file.
> >>
> >> I have the question if we are allowed to do it from a legal perspective?
> >
> > Probably not.  Any code that derives from GPL is also GPL. Reformatting
> > does not effect that; the code still derives from GPL.
> >
> > But there are caveats for Linux header files.  I am not an attorney, so
> > I don't want claim too much knowledge on this.  But use of header files
> > that define operating system interfaces are considered "normal use" the
> > SPDX referenced in the Linux COPYING file.  That is
> > https://spdx.org/licenses/Linux-syscall-note.html :
> >
> > /NOTE! This copyright does *not* cover user programs that use kernel
> > services by normal system calls - this is merely considered normal
> > use of the kernel, and does *not* fall under the heading of "derived
> > work". Also note that the GPL below is copyrighted by the Free
> > Software Foundation, but the instance of code that it refers to (the
> > Linux kernel) is copyrighted by me and others who actually wrote it./
> >
> > //
> >
> > /Linus Torvalds/
> >
>


Re: [VOTE] Release Apache NuttX (Incubating) 10.3.0 [RC0]

2022-04-14 Thread Duo Zhang
Ah, then let me just post them as the content. I've removed several files
from the list by the information you provided. And I suggested that when
you specify a library, better also provide the place where the related
files are stored. For example, The Rhombus math library, I do not know
which files are for it...

This is the remaining files. PTAL.

arch/arm/src/am335x/am335x_lcdc.c
arch/arm/src/armv7-a/cp15_clean_dcache_all.S
arch/arm/src/armv7-a/cp15_flush_dcache_all.S
arch/arm/src/armv7-r/cp15_clean_dcache_all.S
arch/arm/src/armv7-r/cp15_flush_dcache_all.S
arch/arm/src/cxd56xx/hardware/cxd5602_isop.h
arch/arm/src/cxd56xx/hardware/cxd5602_isop_hadc0_highspeed.h
arch/arm/src/imxrt/hardware/rt102x/imxrt102x_xbar.h
arch/arm/src/imxrt/hardware/rt105x/imxrt105x_xbar.h
arch/arm/src/imxrt/hardware/rt106x/imxrt106x_xbar.h
arch/arm/src/lpc2378/lpc23xx_head.S
arch/arm/src/lpc43xx/lpc43_emc.c
arch/arm/src/lpc43xx/lpc43_rtc.h
arch/arm/src/phy62xx/phy62xx_exception.S
arch/arm/src/phy62xx/phy62xx_start.S
arch/arm/src/samd2l2/sam_i2c_master.c
arch/arm/src/samd5e5/sam_i2c_master.c
arch/arm/src/stm32l4/stm32l4_fsmc.h
arch/arm/src/stm32l4/stm32l4_lcd.h
arch/arm/src/tiva/common/tiva_pwm.c
arch/arm/src/tiva/common/tiva_qencoder.c
arch/arm/src/tiva/hardware/lm/lm3s_timer.h
arch/arm/src/tiva/hardware/lm/lm4f_timer.h
arch/arm/src/tiva/hardware/tiva_adc.h
arch/arm/src/tiva/hardware/tiva_epi.h
arch/arm/src/tiva/hardware/tiva_pwm.h
arch/arm/src/tiva/hardware/tiva_qencoder.h
arch/arm/src/tiva/hardware/tm4c/tm4c123_timer.h
arch/arm/src/tiva/hardware/tm4c/tm4c129_timer.h
arch/arm/src/tiva/hardware/tm4c/tm4c_ethernet.h
arch/arm/src/tiva/hardware/tm4c/tm4c_flash.h
arch/arm/src/tiva/tiva_adc.h
arch/arm/src/tiva/tiva_pwm.h
arch/arm/src/tiva/tiva_qencoder.h
arch/or1k/src/mor1kx/hardware/irq.h
arch/xtensa/src/common/xtensa_asm_utils.h
boards/arm/sama5/sama5d4-ek/include/nsh_romfsimg.h
boards/arm/stm32/emw3162/src/stm32_wlan_firmware.c
boards/arm/stm32l4/stm32l476vg-disco/include/nsh_romfsimg.h
boards/arm/stm32l4/stm32l4r9ai-disco/include/nsh_romfsimg.h
boards/sim/sim/sim/include/board.h
boards/sim/sim/sim/src/dummy.c
drivers/leds/ncp5623c.c
drivers/mtd/at24xx.c
drivers/mtd/gd5f.c
drivers/sensors/mlx90614.c
drivers/wireless/ieee80211/bcm43xxx/bcmf_sdio_core.h
drivers/wireless/ieee80211/bcm43xxx/bcmf_sdio_regs.h
include/nuttx/fs/nfs.h
include/nuttx/himem/himem.h
include/nuttx/leds/ncp5623c.h
include/nuttx/net/arp.h
include/nuttx/net/can.h
include/nuttx/net/dns.h
include/nuttx/net/ethernet.h
include/nuttx/net/icmp.h
include/nuttx/net/icmpv6.h
include/nuttx/net/igmp.h
include/nuttx/net/ip.h
include/nuttx/net/netconfig.h
include/nuttx/net/netdev.h
include/nuttx/net/netstats.h
include/nuttx/net/sixlowpan.h
include/nuttx/net/tcp.h
include/nuttx/net/tun.h
include/nuttx/net/udp.h
include/nuttx/wireless/bluetooth/bt_buf.h
include/nuttx/wireless/bluetooth/bt_core.h
include/nuttx/wireless/bluetooth/bt_driver.h
include/nuttx/wireless/bluetooth/bt_gatt.h
include/nuttx/wireless/bluetooth/bt_hci.h
include/nuttx/wireless/bluetooth/bt_ioctl.h
include/nuttx/wireless/bluetooth/bt_null.h
include/nuttx/wireless/bluetooth/bt_uart.h
include/nuttx/wireless/bluetooth/bt_uuid.h
include/nuttx/wireless/ieee80211/ieee80211_cypto.h
include/nuttx/wireless/ieee80211/ieee80211.h
libs/libc/machine/arm/armv7-a/gnu/arch_memcpy.S
libs/libc/machine/arm/armv7-m/gnu/arch_memcpy.S
libs/libc/machine/arm/armv7-r/gnu/arch_memcpy.S
libs/libc/misc/lib_crc16.c
libs/libc/misc/lib_crc32.c
libs/libc/misc/lib_fnmatch.c
libs/libc/misc/lib_ncompress.c
libs/libc/misc/lib_utsname.c
libs/libc/netdb/lib_dns.h
libs/libc/netdb/lib_dnsquery.c
libs/libc/net/lib_addrconfig.c
libs/libc/stdlib/lib_strtod.c
libs/libc/stdlib/lib_strtof.c
libs/libc/stdlib/lib_strtold.c
libs/libc/stdlib/lib_wctomb.c
libs/libc/string/lib_vikmemcpy.c
net/arp/arp_arpin.c
net/arp/arp_dump.c
net/arp/arp_format.c
net/arp/arp_ipin.c
net/arp/arp_out.c
net/arp/arp_table.c
net/devif/devif.h
net/devif/devif_initialize.c
net/devif/devif_send.c
net/devif/ipv4_input.c
net/icmp/icmp_input.c
net/igmp/igmp_group.c
net/igmp/igmp_initialize.c
net/igmp/igmp_input.c
net/igmp/igmp_join.c
net/igmp/igmp_leave.c
net/igmp/igmp_mcastmac.c
net/igmp/igmp_msg.c
net/igmp/igmp_poll.c
net/igmp/igmp_timer.c
net/sixlowpan/sixlowpan_framelist.c
net/sixlowpan/sixlowpan_hc06.c
net/sixlowpan/sixlowpan_hc1.c
net/sixlowpan/sixlowpan_input.c
net/sixlowpan/sixlowpan_internal.h
net/sixlowpan/sixlowpan_utils.c
net/tcp/tcp_appsend.c
net/tcp/tcp_conn.c
net/tcp/tcp_devpoll.c
net/tcp/tcp_input.c
net/tcp/tcp_listen.c
net/tcp/tcp_send.c
net/tcp/tcp_seqno.c
net/tcp/tcp_timer.c
net/udp/udp_conn.c
net/udp/udp_devpoll.c
net/udp/udp_input.c
net/udp/udp_send.c

Alin Jerpelea  于2022年4月14日周四 22:28写道:

> HI Dup Zang,
>
> I can not see an attachment
>
> Please do not forget to exclude
> UIP
> https://github.com/apache/incubator-nuttx/blob/master/LICENSE#L205
> Rombus
> https://github.com/apache/incubator-nuttx/blob/master/LICENSE#L237
> IGMP
> https://github.com/apache/incubator-nut

Re: [LEGAL] Update of include/nuttx/wireless/ieee80211/ieee80211.h

2022-04-14 Thread Gregory Nutt
Good question.  From what I read, inline functions ARE copyright-able, 
but of course, that is also controversial:


https://lwn.net/Articles/53964/

Stallman's FSF statement implies that it depends on the /amount /of GPL 
code in the inline functions:


https://linux.slashdot.org/story/11/03/20/1529238/rms-on-header-files-and-derivative-works

Maybe ten lines?

https://lists.debian.org/debian-devel/1999/07/msg00605.html

On 4/14/2022 7:33 AM, Petro Karashchenko wrote:

The PR contains the implementation of inline functions. Are those handled
in the same way as symbols definitions?

Best regards,
Petro

ср, 13 квіт. 2022 р. о 16:10 Alan Carvalho de Assis
пише:


Simple header files, for example only symbols definitions are not
considered derivative work, more info:


https://linux.slashdot.org/story/11/03/20/1529238/rms-on-header-files-and-derivative-works

On 4/13/22, Gregory Nutt  wrote:

We are having a PRhttps://github.com/apache/incubator-nuttx/pull/5755
that
is intended to update "include/nuttx/wireless/ieee80211/ieee80211.h"
header
in NuttX code tree.

the changes are the sync with
https://github.com/torvalds/linux/blob/master/include/linux/ieee80211.h
verison that is available under: "/* SPDX-License-Identifier:
GPL-2.0-only
*/".
Basically the changes are a reformatted code from the original Linux
header
file.

I have the question if we are allowed to do it from a legal perspective?

Probably not.  Any code that derives from GPL is also GPL. Reformatting
does not effect that; the code still derives from GPL.

But there are caveats for Linux header files.  I am not an attorney, so
I don't want claim too much knowledge on this.  But use of header files
that define operating system interfaces are considered "normal use" the
SPDX referenced in the Linux COPYING file.  That is
https://spdx.org/licenses/Linux-syscall-note.html  :

 /NOTE! This copyright does *not* cover user programs that use kernel
 services by normal system calls - this is merely considered normal
 use of the kernel, and does *not* fall under the heading of "derived
 work". Also note that the GPL below is copyrighted by the Free
 Software Foundation, but the instance of code that it refers to (the
 Linux kernel) is copyrighted by me and others who actually wrote it./

 //

 /Linus Torvalds/