[PATCH rtems-net-legacy] powerpc/beatnik: Add mv643xx_eth.c driver from RTEMS 5

Vijay Kumar Banerjee vijay at rtems.org
Thu Jul 20 01:33:36 UTC 2023


On Wed, Jul 19, 2023 at 7:56 PM Vijay Kumar Banerjee <vijay at rtems.org> wrote:
>
> On Wed, Jul 19, 2023 at 7:50 PM Chris Johns <chrisj at rtems.org> wrote:
> >
> > On 20/7/2023 10:18 am, Vijay Kumar Banerjee wrote:
> > > On Wed, Jul 19, 2023 at 6:39 PM Chris Johns <chrisj at rtems.org> wrote:
> > >>
> > >> Excellent.
> > >>
> > >> Could you please update the hash in the RSB for the net legacy package?
> > >>
Updating net legacy version and waf version:

https://lists.rtems.org/pipermail/devel/2023-July/075839.html


> > > Thanks for mentioning it! While trying to build from RSB, I realized
> > > two important changes I need from rtems build:
> > > 1. Removing networking check, put a patch for it just now:
> > > https://lists.rtems.org/pipermail/devel/2023-July/075830.html
> >
> > I saw that.
> >
> > > 2. Building the ping and telnetd02 requires posix. For this, should be
> > > conditionally build these two tests only when RTEMS_POSIX_API is true?
> >
> > Which part of POSIX is needed? I ask because I think the POSIX option is only
> > controlling signals and maybe something else,
> Signals only, yes.
>
> > I cannot remember what the list
> > is. What happens if you remove the check?
>
> ```
> /home/vijay/development/rtems/6/lib/gcc/powerpc-rtems6/10.3.1/../../../../powerpc-rtems6/bin/ld:
> ./libnetworking.a(main_ping.c.3.o): in function `main_ping':
> /home/vijay/development/rtems-net-legacy/build/powerpc-rtems6-beatnik/../../libmisc/main_ping.c:684:
> undefined reference to `alarm'
> /home/vijay/development/rtems/6/lib/gcc/powerpc-rtems6/10.3.1/../../../../powerpc-rtems6/bin/ld:
> /home/vijay/development/rtems-net-legacy/build/powerpc-rtems6-beatnik/../../libmisc/main_ping.c:987:
> undefined reference to `sigaction'
> /home/vijay/development/rtems/6/lib/gcc/powerpc-rtems6/10.3.1/../../../../powerpc-rtems6/bin/ld:
> /home/vijay/development/rtems-net-legacy/build/powerpc-rtems6-beatnik/../../libmisc/main_ping.c:1000:
> undefined reference to `sigaction'
> /home/vijay/development/rtems/6/lib/gcc/powerpc-rtems6/10.3.1/../../../../powerpc-rtems6/bin/ld:
> ./libnetworking.a(main_ping.c.3.o): in function `g_finish':
> /home/vijay/development/rtems-net-legacy/build/powerpc-rtems6-beatnik/../../libmisc/main_ping.c:1620:
> undefined reference to `signal'
> /home/vijay/development/rtems/6/lib/gcc/powerpc-rtems6/10.3.1/../../../../powerpc-rtems6/bin/ld:
> /home/vijay/development/rtems-net-legacy/build/powerpc-rtems6-beatnik/../../libmisc/main_ping.c:1621:
> undefined reference to `signal'
> collect2: error: ld returned 1 exit status
>
> ```
>
>
> >
>
>
> > Chris


More information about the devel mailing list