[ptxdist] Booting kernel crashes when using OSELAS.Toolchain-2014.12.1 for ARMv5TE

2015-08-25 Thread Stranz Jan-Marc
Hi Juergen, thank you for the hints. Searching for an useful answer by Google isn't so easy, you'll get a lot of comments and I haven't the experience as a kernel developer has; I'm only a user of the components and tools. Now a I've got a hint to that the implementation of memset

Re: [ptxdist] Booting kernel crashes when using OSELAS.Toolchain-2014.12.1 for ARMv5TE

2015-08-25 Thread Juergen Borleis
Hi Jan-Marc, On Tuesday 25 August 2015 15:37:48 Stranz Jan-Marc wrote: thank you for the hint. But I need some help: where can I check if there any known issues with specific gcc versions and specific Linux kernel versions. By using Google? Concrete: I'm using Linux kernel 3.3.0 (with some

[ptxdist] Booting kernel crashes when using OSELAS.Toolchain-2014.12.1 for ARMv5TE

2015-08-25 Thread Stranz Jan-Marc
Hello Erwin, thank you very much for the very useful hint. I've applied both patches to my kernel source tree and now the kernel is starting! Best regards Jan-Marc. -Ursprüngliche Nachricht- Von: Erwin Rol [mailto:mailingli...@erwinrol.com] Gesendet: Dienstag, 25. August 2015 16:41

Re: [ptxdist] Booting kernel crashes when using OSELAS.Toolchain-2014.12.1 for ARMv5TE

2015-08-25 Thread Erwin Rol
Does your kernel have the following commits ? cf74ff32e7d9c0eeb45a1c9127a2f920d066a6dc ARM: 7668/1: fix memset-related crashes caused by recent GCC (4.7.2) optimizations 90bfa421f2bf589b6fdf76b250adacdaf52acc16 ARM: 7670/1: fix the memset fix - Erwin On 25-8-2015 16:01, Juergen Borleis

Re: [ptxdist] PTXdist variables

2015-08-25 Thread Juergen Borleis
Hi Jan-Marc, On Tuesday 25 August 2015 08:24:58 Stranz Jan-Marc wrote: I know this document you have pointed to very well; I've already been working with PTXdist some time. But looking around existing rules I see, there are a lot useful ptxdist variables and these variables are not described

[ptxdist] PTXdist variables

2015-08-25 Thread Stranz Jan-Marc
Hi Bruno, thank you very much for this hint. But there are much more ptxdist variables (e.a. PTXDIST_TOOLCHAIN or PTXCONF_GNU_TARGET) with are very useful to know in order to write a rule. For instance I've to write a rule for a very special kernel module and I need a call like this: make

Re: [ptxdist] genimage segfaults with glibc 2.22

2015-08-25 Thread Koch, Alexander
Hi, I stumbled upon this as well, when upgrading glibc under Arch. So to clarify, do we just need to wait until the patch mentioned by Alex in [0] gets included in an updated glibc package, or is there a proper way to make PTXdist (or better `genimage`) work again under Arch? Best regards,

[ptxdist] Booting kernel crashes when using OSELAS.Toolchain-2014.12.1 for ARMv5TE

2015-08-25 Thread Stranz Jan-Marc
Hi Juergen, I also think it is hard to find out the root of the problem. But I have to find it out otherwise the new OSELAS-Toolchain isn't usable for our project and maybe also for others too. I would underline the point again, that I didn't change the configuration of the bsp project (same

Re: [ptxdist] genimage segfaults with glibc 2.22

2015-08-25 Thread Alexander Aring
On Tue, Aug 25, 2015 at 01:41:42PM +0200, Koch, Alexander wrote: Hi, I stumbled upon this as well, when upgrading glibc under Arch. So to clarify, do we just need to wait until the patch mentioned by Alex in [0] gets included in an updated glibc package, or is there a proper way to make

Re: [ptxdist] PTXdist variables

2015-08-25 Thread Bruno Thomsen
Hi Jan-Marc, Is there an deterministic way to obtain the list of existent variables for a project? ptxdist bash printenv /Bruno -- ptxdist mailing list ptxdist@pengutronix.de

Re: [ptxdist] Booting kernel crashes when using OSELAS.Toolchain-2014.12.1 for ARMv5TE

2015-08-25 Thread Lucas Stach
Hi Jan-Marc, Am Dienstag, den 25.08.2015, 11:56 + schrieb Stranz Jan-Marc: Hi Juergen, I also think it is hard to find out the root of the problem. But I have to find it out otherwise the new OSELAS-Toolchain isn't usable for our project and maybe also for others too. I would

Re: [ptxdist] [PATCH 2/2] genimage: add workaround to work with glibc 2.22

2015-08-25 Thread Alexander Aring
On Sun, Aug 23, 2015 at 03:56:58PM +0200, Alexander Aring wrote: This patch adds a workaround for check if value argument of setenv is null. In all glibc versions setenv(..., NULL, ...) ends in an undef behaviour, since glibc 2.22 it will end in a core dump. This is a workaround because it

Re: [ptxdist] genimage segfaults with glibc 2.22

2015-08-25 Thread Alexander Aring
On Tue, Aug 25, 2015 at 02:09:15PM +0200, Alexander Aring wrote: On Tue, Aug 25, 2015 at 01:41:42PM +0200, Koch, Alexander wrote: Hi, I stumbled upon this as well, when upgrading glibc under Arch. So to clarify, do we just need to wait until the patch mentioned by Alex in [0]

Re: [ptxdist] Booting kernel crashes when using OSELAS.Toolchain-2014.12.1 for ARMv5TE

2015-08-25 Thread Juergen Borleis
Hi Jan-Marc, On Tuesday 25 August 2015 13:56:15 Stranz Jan-Marc wrote: I also think it is hard to find out the root of the problem. But I have to find it out otherwise the new OSELAS-Toolchain isn't usable for our project and maybe also for others too. I would underline the point again,

[ptxdist] Booting kernel crashes when using OSELAS.Toolchain-2014.12.1 for ARMv5TE

2015-08-25 Thread Stranz Jan-Marc
Hi Juergen, thank you for the hint. But I need some help: where can I check if there any known issues with specific gcc versions and specific Linux kernel versions. Concrete: I'm using Linux kernel 3.3.0 (with some hardware specific adaptions) and the OSELAS.Toolchain-2014.12.1 provides gcc