fix compilation of dtc-1.6.0 on FreeBSD
>From b6ac0c3cc24bcda262936d5c2b97ebbb9efb8951 Mon Sep 17 00:00:00 2001 From: Karel Gardas Date: Thu, 11 Nov 2021 13:39:35 +0100 Subject: [PATCH 2/3] fix compilation of dtc-1.6.0 on FreeBSD --- source-builder/config/dtc-1-1.cfg| 5 - source-builder/patches/dtc-1.6.0-freebsd13-fix.patch | 10 ++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 source-builder/patches/dtc-1.6.0-freebsd13-fix.patch diff --git a/source-builder/config/dtc-1-1.cfg b/source-builder/config/dtc-1-1.cfg index 686a1e0..3c9084a 100644 --- a/source-builder/config/dtc-1-1.cfg +++ b/source-builder/config/dtc-1-1.cfg @@ -18,6 +18,9 @@ URL: https://www.devicetree.org/ # Source # %source set dtc https://www.kernel.org/pub/software/utils/dtc/dtc-%{dtc_version}.tar.gz +%patch add dtc file://dtc-1.6.0-freebsd13-fix.patch +%hash sha512 dtc-1.6.0-freebsd13-fix.patch 78c2d5336399bf735f16cab6349e54503f90aea0b2b8c40727769b209c6c48fa18e2bad9b6e497cab940f53585140c5ebfa413a52077fcd40db9acef0a39946c + # # Prepare the source code. @@ -26,7 +29,7 @@ URL: https://www.devicetree.org/ build_top=$(pwd) %source setup dtc -q -n dtc-%{dtc_version} - %patch setup dtc -p1 + %patch setup dtc -p0 cd ${build_top} diff --git a/source-builder/patches/dtc-1.6.0-freebsd13-fix.patch b/source-builder/patches/dtc-1.6.0-freebsd13-fix.patch new file mode 100644 index 000..13ee731 --- /dev/null +++ b/source-builder/patches/dtc-1.6.0-freebsd13-fix.patch @@ -0,0 +1,10 @@ +--- Makefile.orig 2021-11-11 10:04:51.462057000 +0100 Makefile 2021-11-11 10:04:57.933978000 +0100 +@@ -58,6 +58,7 @@ + ifeq ($(NO_YAML),1) + CFLAGS += -DNO_YAML + else ++ CFLAGS += $(shell $(PKG_CONFIG) --cflags yaml-0.1) + LDLIBS_dtc += $(shell $(PKG_CONFIG) --libs yaml-0.1) + endif + -- 2.25.1 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
fix compilation of Grub2 on FreeBSD.
>From efa44e47a7d2f3fcb66c7bbedfd2b6e06f1cf54c Mon Sep 17 00:00:00 2001 From: Karel Gardas Date: Thu, 11 Nov 2021 13:40:03 +0100 Subject: [PATCH 3/3] fix compilation of grub2 on FreeBSD --- source-builder/config/grub2.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source-builder/config/grub2.cfg b/source-builder/config/grub2.cfg index c9b9c22..65aba60 100644 --- a/source-builder/config/grub2.cfg +++ b/source-builder/config/grub2.cfg @@ -44,7 +44,8 @@ URL: https://www.gnu.org/software/grub/index.html --includedir=%{_includedir} --libdir=%{_libdir} \ --mandir=%{_mandir} --infodir=%{_infodir} \ --with-platform=%{grub2_platform} \ ---target=%{grub2_target} +--target=%{grub2_target} \ +--disable-libzfs # broken on FreeBSD and not needed at all %{__make} %{?_smp_mflags} all -- 2.25.1 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Please ignore today's patches.
Guys, sorry for noise on the devel. Please ignore: fix compilation of dtc-1.6.0 on FreeBSD fix compilation of Grub2 on FreeBSD. emails send from karel.gar...@centrum.cz for now. I think using git format-patch -> gedit -> select all, ctrl-c -> thunderbird -> ctrl-v is no longer acceptable especially since thunderbird may always malformat the patch. I'm setting up git email framework to better work with rtems-devel@. Once done, I'll resubmit the patches again. Thanks for your patience, Karel ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Interested in working on ticket #2902, #4328, or #4334
Hello Everyone, I doubt that my email went into spam. Sorry for the inconvenience. Email link: https://lists.rtems.org/pipermail/devel/2021-November/069853.html >From now on, I'll be using *Gmail* for sending emails on this list. Thanking you, Prateek ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Building a BSP for rtems7
Hi I was looking at the logs for building the rtems7 tools and it seems that I am missing something on the waf configure for rtems to build for rtems7. Assuming it is possible. My command was: ./waf configure --rtems-tools=/home/joel/rtems-cron-7/tools/7 --rtems-bsps=sparc/leon3 --out=b-leon3 --prefix=/home/joel/rtems-cron-7/tools/7/bsp-install --rtems-config=config-sparc-leon3.ini And it still tried to find sparc-rtems6-gcc. Is there an argument i am mising? Thanks. --joel ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: Interested in working on ticket #2902, #4328, or #4334
On Thu, Nov 11, 2021 at 10:34 AM Prateek Pardeshi wrote: > > Hello Everyone, > > I doubt that my email went into spam. Sorry for the inconvenience. I have no idea. I know I have been swamped with work and personal matters. > Email link: > https://lists.rtems.org/pipermail/devel/2021-November/069853.html > > From now on, I'll be using *Gmail* for sending emails on this list. Mostly it is a matter of using text format. Some clients do not do well with threaded discussions also. And now for the tickets: #2902 - Microblaze port I just closed this. The Microblaze port was recently merged. It has a BSP for HW and Qemu. Network support for libbsd and lwip should be close. libdl and libdebugger support are missing. libdl should be approachable. #4328 - New POSIX APIs from Issue 8 (2021/2022) Matthew Joyce worked on this list for GSoC 2021. I've cc'ed him for suggestions on which APIs make sense to tackle next. #4334 - Replace Mongoose with Civetweb Is still an open project. I'm not sure whether we would ultimately want a "cloned and owned" snapshot of civitweb or if it would make more sense to have an RSB package which could build it. It would be a change from the current usage pattern to have it from RSB, but that is likely the better long term solution. --joel > Thanking you, > Prateek > ___ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: Building a BSP for rtems7
On 11/11/2021 17:47, Joel Sherrill wrote: Hi I was looking at the logs for building the rtems7 tools and it seems that I am missing something on the waf configure for rtems to build for rtems7. Assuming it is possible. My command was: ./waf configure --rtems-tools=/home/joel/rtems-cron-7/tools/7 --rtems-bsps=sparc/leon3 --out=b-leon3 --prefix=/home/joel/rtems-cron-7/tools/7/bsp-install --rtems-config=config-sparc-leon3.ini And it still tried to find sparc-rtems6-gcc. Is there an argument i am mising? Try to add __RTEMS_MAJOR__ = 7 to the config.ini. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-89-18 94 741 - 08 Registergericht: Amtsgericht München Registernummer: HRB 157899 Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler Unsere Datenschutzerklärung finden Sie hier: https://embedded-brains.de/datenschutzerklaerung/ ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: Building a BSP for rtems7
On Thu, Nov 11, 2021 at 12:56 PM Sebastian Huber wrote: > > > > On 11/11/2021 17:47, Joel Sherrill wrote: > > Hi > > > > I was looking at the logs for building the rtems7 tools and it seems > > that I am missing something on the waf configure for rtems to build > > for rtems7. Assuming it is possible. My command was: > > > > ./waf configure --rtems-tools=/home/joel/rtems-cron-7/tools/7 > > --rtems-bsps=sparc/leon3 --out=b-leon3 > > --prefix=/home/joel/rtems-cron-7/tools/7/bsp-install > > --rtems-config=config-sparc-leon3.ini > > > > And it still tried to find sparc-rtems6-gcc. Is there an argument i am > > mising? > > Try to add > > __RTEMS_MAJOR__ = 7 > > to the config.ini. That isn't in the set dumped by bsp_defaults and using it didn't appear to change anything. > > -- > embedded brains GmbH > Herr Sebastian HUBER > Dornierstr. 4 > 82178 Puchheim > Germany > email: sebastian.hu...@embedded-brains.de > phone: +49-89-18 94 741 - 16 > fax: +49-89-18 94 741 - 08 > > Registergericht: Amtsgericht München > Registernummer: HRB 157899 > Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler > Unsere Datenschutzerklärung finden Sie hier: > https://embedded-brains.de/datenschutzerklaerung/ ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel