* [Buildroot] [BUILDROOT 2016.11.2] Change kernel version (I need 4.1.18) [not found] <1313003300.253161.1486114996684.ref@mail.yahoo.com> @ 2017-02-03 9:43 ` thierry.xenomai43 at yahoo.com 2017-02-03 23:18 ` Arnout Vandecappelle 0 siblings, 1 reply; 4+ messages in thread From: thierry.xenomai43 at yahoo.com @ 2017-02-03 9:43 UTC (permalink / raw) To: buildroot ? Hello,?I need to compile a 4.1.18 kernel linux for a RaspberryPi 3 target (ARM 64bit) to patch it with an ADEOS I-pipe (I get ipipe patch only for 4.1.18 kernel).?To start I want to test a simple project without the Xenomai package and with linux 4.1.18.?I tried to change the version of the Linux kernel but during the compilation I get the following error message: which: no flex in (/home/app/grmon-eval-2.0.60/linux/bin:/home/app/sparc-elf-4.4.2/bin:/home/app/grmon-eval-2.0.60/linux/bin:/home/app/sparc-elf-4.4.2/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/app/altera/quartus/bin:/home/thierry/.local/bin:/home/thierry/bin:/home/app/altera/quartus/bin)which: no bison in (/home/app/grmon-eval-2.0.60/linux/bin:/home/app/sparc-elf-4.4.2/bin:/home/app/grmon-eval-2.0.60/linux/bin:/home/app/sparc-elf-4.4.2/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/app/altera/quartus/bin:/home/thierry/.local/bin:/home/thierry/bin:/home/app/altera/quartus/bin)which: no cmake in (/home/app/grmon-eval-2.0.60/linux/bin:/home/app/sparc-elf-4.4.2/bin:/home/app/grmon-eval-2.0.60/linux/bin:/home/app/sparc-elf-4.4.2/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/app/altera/quartus/bin:/home/thierry/.local/bin:/home/thierry/bin:/home/app/altera/quartus/bin)****** Can't find default configuration "arch/arm/configs/bcm2709_defconfig"!***scripts/kconfig/Makefile:105: recipe for target 'bcm2709_defconfig' failedmake[3]: *** [bcm2709_defconfig] Error 1Makefile:541: recipe for target 'bcm2709_defconfig' failedmake[2]: *** [bcm2709_defconfig] Error 2linux/linux.mk:447: recipe for target '/home/thierry/MesProgrammes/C/buildroot/buildroot-2016.11.2RT/output/build/linux-4.1.18/.config' failedmake[1]: *** [/home/thierry/MesProgrammes/C/buildroot/buildroot-2016.11.2RT/output/build/linux-4.1.18/.config] Error 2Makefile:76: recipe for target '_all' failedmake: *** [_all] Error 2?When I try the 'make linux-menuconfig' command I have the same error message.?After the fail compilation I see that the '.config' file is not generated in the directory "buildroot-2016.11.2 / output / build / linux-4.1.18"?My process method is the next :make raspberrypi3_defconfig make menuconfigin "Target package ? Libraries ?Hard handling" I select package ?wiringpi?in "Kernel ? Linux Kernel" I select ?Custom version?in "Kernel ? Kernel Version" I input ?4.1.18?in "Toolchain ? Kernel Headers" I select ?Linux 4.1.x?in "System configuration ? enable rootlogin with password" I select ?Yes?in "System configuration ? Root passwort" I init my password?I save my configuration. When I use the command 'make' I get the error message mentioned above.?My questions : Where did my error come from ? Is it possible to compile an old linux for ARM ?What is the process to change kernel version ??Thanks for helpBest regardThierry -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170203/4e8e0bcc/attachment.html> ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [BUILDROOT 2016.11.2] Change kernel version (I need 4.1.18) 2017-02-03 9:43 ` [Buildroot] [BUILDROOT 2016.11.2] Change kernel version (I need 4.1.18) thierry.xenomai43 at yahoo.com @ 2017-02-03 23:18 ` Arnout Vandecappelle 0 siblings, 0 replies; 4+ messages in thread From: Arnout Vandecappelle @ 2017-02-03 23:18 UTC (permalink / raw) To: buildroot On 03-02-17 10:43, thierry.xenomai43 at yahoo.com wrote: > > Hello, > ? > I need to compile a 4.1.18 kernel linux for a RaspberryPi 3 target (ARM 64bit) > to patch it with an ADEOS I-pipe (I get ipipe patch only for 4.1.18 kernel). > ? > To start I want to test a simple project without the Xenomai package and with > linux 4.1.18. > ? > I tried to change the version of the Linux kernel but during the compilation I > get the following error message: > > which: no flex in > (/home/app/grmon-eval-2.0.60/linux/bin:/home/app/sparc-elf-4.4.2/bin:/home/app/grmon-eval-2.0.60/linux/bin:/home/app/sparc-elf-4.4.2/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/app/altera/quartus/bin:/home/thierry/.local/bin:/home/thierry/bin:/home/app/altera/quartus/bin) > which: no bison in > (/home/app/grmon-eval-2.0.60/linux/bin:/home/app/sparc-elf-4.4.2/bin:/home/app/grmon-eval-2.0.60/linux/bin:/home/app/sparc-elf-4.4.2/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/app/altera/quartus/bin:/home/thierry/.local/bin:/home/thierry/bin:/home/app/altera/quartus/bin) > which: no cmake in > (/home/app/grmon-eval-2.0.60/linux/bin:/home/app/sparc-elf-4.4.2/bin:/home/app/grmon-eval-2.0.60/linux/bin:/home/app/sparc-elf-4.4.2/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/app/altera/quartus/bin:/home/thierry/.local/bin:/home/thierry/bin:/home/app/altera/quartus/bin) > *** > *** Can't find default configuration "arch/arm/configs/bcm2709_defconfig"! > *** > scripts/kconfig/Makefile:105: recipe for target 'bcm2709_defconfig' failed The upstream 4.1 kernel doesn't have bcm2709_defconfig. You have to use a rpi3-specific kernel. Take the rpi-4.1.y branch from the RPi repo on https://github.com/raspberrypi/linux Regards, Arnout [snip] -- Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <1022335655.874129.1486143487328.ref@mail.yahoo.com>]
* [Buildroot] [BUILDROOT 2016.11.2] Change kernel version (I need 4.1.18) [not found] <1022335655.874129.1486143487328.ref@mail.yahoo.com> @ 2017-02-03 17:38 ` thierry.xenomai43 at yahoo.com 2017-02-03 23:30 ` Arnout Vandecappelle 0 siblings, 1 reply; 4+ messages in thread From: thierry.xenomai43 at yahoo.com @ 2017-02-03 17:38 UTC (permalink / raw) To: buildroot Hi, I'm sorry, I had a problem with my precedent mail I need to develop Real-Time aplication with Xenomai 3.0.3 for a RaspberryPi 3 target (ARM 64bit). I try to make project with Linux kernel v4.4.21 and Xenomai 3.0.3 When I compil my project I get this error message during the ?0001-bfin-remove-inline-keyword.patch? patch apply: //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// WARNING: no hash file for xenomai-3.0.3.tar.bz2 >>> xenomai 3.0.3 Extracting bzcat /home/thierry/MesProgrammes/C/buildroot/buildroot-2016.11.2RTv2/dl/xenomai-3.0.3.tar.bz2 | tar --strip-components=1 -C /home/thierry/MesProgrammes/C/buildroot/buildroot-2016.11.2RTv2/output/build/xenomai-3.0.3 -xf - >>> xenomai 3.0.3 Patching Applying 0001-bfin-remove-inline-keyword.patch using patch: can't find file to patch at input line 29 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From 2a96c8bbe19a193d9ae6d0780fc274abc4df03e3 Mon Sep 17 00:00:00 2001 |From: Romain Naour <romain.naour@gmail.com> |Date: Sat, 5 Nov 2016 19:09:00 +0100 |Subject: [PATCH] bfin: remove inline keyword | |Xenomai user space tools fail to build for bfin target since it's |provide it's own pthread_atfork(), shm_open() and shm_unlink() |definition using the inline keyword and weak attribute. | |With gcc 5+ the weak attribute is discarded by the inline keyword, |so each symbol are global and are redefined several time while |linking. | |Fixes: |http://autobuild.buildroot.net/results/0c2/0c2e5eb4edd4f9427f61d3c9b67a12a7a0e24140 | |Patch status: upstream, |https://git.xenomai.org/xenomai-2.6.git/commit/?id=917dcebb26ec492f276cdc3b55867aa90e01fa12 | |Signed-off-by: Romain Naour <romain.naour@gmail.com> |--- | include/asm-blackfin/syscall.h | 10 +++++----- | 1 file changed, 5 insertions(+), 5 deletions(-) | |diff --git a/include/asm-blackfin/syscall.h b/include/asm-blackfin/syscall.h |index 9eda8b9..b5728b5 100644 |--- a/include/asm-blackfin/syscall.h |+++ b/include/asm-blackfin/syscall.h -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored package/pkg-generic.mk:180: recipe for target '/home/thierry/MesProgrammes/C/buildroot/buildroot-2016.11.2RTv2/output/build/xenomai-3.0.3/.stamp_patched' failed make[1]: *** [/home/thierry/MesProgrammes/C/buildroot/buildroot-2016.11.2RTv2/output/build/xenomai-3.0.3/.stamp_patched] Error 1 Makefile:76: recipe for target '_all' failed make: *** [_all] Error 2 //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ? My process method is the next : make raspberrypi3_defconfig make menuconfig ??? in "Target package ? Libraries ? Hard handling" I select package ?wiringpi? ??? in "Kernel ? Linux Kernel" I select ?Custom Git Repository? ??? in ??Toolchain ? Kernel Headers?? I select ?Same as kernel being built? ??? in ??System configuration ? enable rootlogin with password?? I select ?Yes? ??? in "System configuration ? Root passwort" I init my password. ? I save my configuration. ? I modify the "package/xenomai/xenomai.mk" file lick this : ? ################################################################################ # # xenomai # ################################################################################ ? XENOMAI_VERSION = $(call qstrip,$(BR2_PACKAGE_XENOMAI_VERSION)) ifeq ($(XENOMAI_VERSION),) XENOMAI_VERSION = 3.0.3 else BR_NO_CHECK_HASH_FOR += $(XENOMAI_SOURCE) endif ? XENOMAI_SITE = https://xenomai.org/downloads/xenomai/stable XENOMAI_SOURCE = xenomai-$(XENOMAI_VERSION).tar.bz2 XENOMAI_LICENSE = headers: GPLv2+ with exception, libraries: LGPLv2.1+, kernel: GPLv2+, docs: GFDLv1.2+, ipipe patch and can driver: GPLv2 # GFDL is not included but refers to gnu.org XENOMAI_LICENSE_FILES = debian/copyright include/COPYING src/skins/native/COPYING ksrc/nucleus/COPYING ? XENOMAI_INSTALL_STAGING = YES XENOMAI_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-user XENOMAI_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install-user ? XENOMAI_CONF_OPTS += --includedir=/usr/include/xenomai/ --disable-doc-install ? define XENOMAI_REMOVE_DEVFILES for i in xeno-config xeno-info wrap-link.sh ; do \ rm -f $(TARGET_DIR)/usr/bin/$$i ; \ done endef ? XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_REMOVE_DEVFILES ? ifeq ($(BR2_PACKAGE_XENOMAI_TESTSUITE),) define XENOMAI_REMOVE_TESTSUITE rm -rf $(TARGET_DIR)/usr/share/xenomai/ for i in klatency rtdm xeno xeno-load check-vdso \ irqloop cond-torture-posix switchtest arith \ sigtest clocktest cyclictest latency wakeup-time \ xeno-test cond-torture-native mutex-torture-posix \ mutex-torture-native ; do \ rm -f $(TARGET_DIR)/usr/bin/$$i ; \ done endef ? XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_REMOVE_TESTSUITE endif ? ifeq ($(BR2_PACKAGE_XENOMAI_RTCAN),) define XENOMAI_REMOVE_RTCAN_PROGS for i in rtcanrecv rtcansend ; do \ rm -f $(TARGET_DIR)/usr/bin/$$i ; \ done rm -f $(TARGET_DIR)/usr/sbin/rtcanconfig endef ? XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_REMOVE_RTCAN_PROGS endif ? ifeq ($(BR2_PACKAGE_XENOMAI_ANALOGY),) define XENOMAI_REMOVE_ANALOGY for i in cmd_bits cmd_read cmd_write insn_write \ insn_bits insn_read ; do \ rm -f $(TARGET_DIR)/usr/bin/$$i ; \ done rm -f $(TARGET_DIR)/usr/sbin/analogy_config rm -f $(TARGET_DIR)/usr/lib/libanalogy.* endef ? XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_REMOVE_ANALOGY endif ? XENOMAI_REMOVE_SKIN_LIST += $(if $(BR2_PACKAGE_XENOMAI_NATIVE_SKIN),,native) XENOMAI_REMOVE_SKIN_LIST += $(if $(BR2_PACKAGE_XENOMAI_POSIX_SKIN),,posix) XENOMAI_REMOVE_SKIN_LIST += $(if $(BR2_PACKAGE_XENOMAI_VXWORKS_SKIN),,vxworks) XENOMAI_REMOVE_SKIN_LIST += $(if $(BR2_PACKAGE_XENOMAI_PSOS_SKIN),,psos) XENOMAI_REMOVE_SKIN_LIST += $(if $(BR2_PACKAGE_XENOMAI_RTAI_SKIN),,rtai) XENOMAI_REMOVE_SKIN_LIST += $(if $(BR2_PACKAGE_XENOMAI_UITRON_SKIN),,uitron) XENOMAI_REMOVE_SKIN_LIST += $(if $(BR2_PACKAGE_XENOMAI_VRTX_SKIN),,vrtx) ? define XENOMAI_REMOVE_SKINS for i in $(XENOMAI_REMOVE_SKIN_LIST) ; do \ rm -f $(TARGET_DIR)/usr/lib/lib$$i.* ; \ if [ $$i == "posix" ] ; then \ rm -f $(TARGET_DIR)/usr/lib/posix.wrappers ; \ fi ; \ done endef ? XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_REMOVE_SKINS ? define XENOMAI_DEVICES /dev/rtheap c 666 0 0 10 254 0 0 - /dev/rtscope c 666 0 0 10 253 0 0 - /dev/rtp c 666 0 0 150 0 0 1 32 endef ? ifeq ($(BR2_PACKAGE_HAS_UDEV),y) XENOMAI_DEPENDENCIES += udev ? define XENOMAI_INSTALL_UDEV_RULES if test -d $(TARGET_DIR)/etc/udev/rules.d ; then \ for f in $(@D)/ksrc/nucleus/udev/*.rules ; do \ cp $$f $(TARGET_DIR)/etc/udev/rules.d/ || exit 1 ; \ done ; \ fi; endef ? XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_INSTALL_UDEV_RULES endif # udev ? $(eval $(autotools-package)) ? //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ? When I use the command 'make' I get the error message mentioned above. ? My questions : ? Where can I found the compatible ?0001-bfin-remove-inline-keyword.patch? patch ? Where can I found I-pipe patch for 4.4.21 Linux kernel and ARM 64bit ? Thanks for help Best regard Thierry -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170203/b28dbd2e/attachment-0001.html> ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [BUILDROOT 2016.11.2] Change kernel version (I need 4.1.18) 2017-02-03 17:38 ` thierry.xenomai43 at yahoo.com @ 2017-02-03 23:30 ` Arnout Vandecappelle 0 siblings, 0 replies; 4+ messages in thread From: Arnout Vandecappelle @ 2017-02-03 23:30 UTC (permalink / raw) To: buildroot On 03-02-17 18:38, thierry.xenomai43 at yahoo.com wrote: [snip] > I modify the "package/xenomai/xenomai.mk" file lick this : [snip] > XENOMAI_VERSION = 3.0.3 When you change a package version, the patches won't apply anymore. For your particular case, you probably don't care about blackfin so you can just remove 0001-bfin-remove-inline-keyword.patch. A word of warning though: the update to Xenomai 3 is pretty major, it is quite likely that you will encounter more issues. Regards, Arnout [snip] -- Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-02-03 23:30 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <1313003300.253161.1486114996684.ref@mail.yahoo.com> 2017-02-03 9:43 ` [Buildroot] [BUILDROOT 2016.11.2] Change kernel version (I need 4.1.18) thierry.xenomai43 at yahoo.com 2017-02-03 23:18 ` Arnout Vandecappelle [not found] <1022335655.874129.1486143487328.ref@mail.yahoo.com> 2017-02-03 17:38 ` thierry.xenomai43 at yahoo.com 2017-02-03 23:30 ` Arnout Vandecappelle
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.