All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vijay Kumar Mishra <vijay.kumar@st.com>
To: <linux@arm.linux.org.uk>, <linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>
Cc: <spear-devel@codex.cro.st.com>, <viresh.kumar@linaro.org>,
	Vijay Kumar Mishra <vijay.kumar@st.com>
Subject: [PATCH 3/3] SPEAr13xx_defconfig: Enable compilation using the latest
Date: Fri, 8 Feb 2013 16:16:31 +0530	[thread overview]
Message-ID: <4d1cdf05ed312af2d8004496765f8fc82c27f2c1.1360317993.git.vijay.kumar@st.com> (raw)
In-Reply-To: <cover.1360317993.git.vijay.kumar@st.com>

This Patch is to enable CONFIG_AEABI option in kernel. Which basically adds
support for latest ARMABI (EABI).

It also include support for changes the kernel syscall calling convention to
disambiguate both ABIs and allow for backward compatibility support.

Without this option the kernel crashes. Crash log is below:

Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
Exception stack(0xbf873f64 to 0xbf873fac)
3f60:          00000020 804725b4 00000001 00000000 bf872000 80498684 803308bc
3f80: 80474fe8 bf872000 412fc091 00000000 bf873fb8 bf873fbc bf873fac 80009c50
3fa0: 80009c54 60000113 ffffffff
 r7:bf873f98 r6:ffffffff r5:60000113 r4:80009c54
[<80009c24>] (default_idle+0x0/0x38) from [<80009e24>] (cpu_idle+0xac/0xf0)
[<80009d78>] (cpu_idle+0x0/0xf0) from [<803277ec>]
(secondary_start_kernel+0xec/0x10c)
 r8:0000406a r7:80498950 r6:10c03c7d r5:00000001 r4:80478bd0
[<80327700>] (secondary_start_kernel+0x0/0x10c) from [<00326dc8>] (0x326dc8)
 r5:0
---
 arch/arm/configs/spear13xx_defconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/spear13xx_defconfig b/arch/arm/configs/spear13xx_defconfig
index 1b5ceff..4e2866d 100644
--- a/arch/arm/configs/spear13xx_defconfig
+++ b/arch/arm/configs/spear13xx_defconfig
@@ -15,6 +15,7 @@ CONFIG_SMP=y
 # CONFIG_SMP_ON_UP is not set
 # CONFIG_ARM_CPU_TOPOLOGY is not set
 CONFIG_VMSPLIT_2G=y
+CONFIG_AEABI=y
 CONFIG_ARM_APPENDED_DTB=y
 CONFIG_ARM_ATAG_DTB_COMPAT=y
 CONFIG_BINFMT_MISC=y
-- 
1.7.9.5


WARNING: multiple messages have this Message-ID (diff)
From: vijay.kumar@st.com (Vijay Kumar Mishra)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/3] SPEAr13xx_defconfig: Enable compilation using the latest
Date: Fri, 8 Feb 2013 16:16:31 +0530	[thread overview]
Message-ID: <4d1cdf05ed312af2d8004496765f8fc82c27f2c1.1360317993.git.vijay.kumar@st.com> (raw)
In-Reply-To: <cover.1360317993.git.vijay.kumar@st.com>

This Patch is to enable CONFIG_AEABI option in kernel. Which basically adds
support for latest ARMABI (EABI).

It also include support for changes the kernel syscall calling convention to
disambiguate both ABIs and allow for backward compatibility support.

Without this option the kernel crashes. Crash log is below:

Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
Exception stack(0xbf873f64 to 0xbf873fac)
3f60:          00000020 804725b4 00000001 00000000 bf872000 80498684 803308bc
3f80: 80474fe8 bf872000 412fc091 00000000 bf873fb8 bf873fbc bf873fac 80009c50
3fa0: 80009c54 60000113 ffffffff
 r7:bf873f98 r6:ffffffff r5:60000113 r4:80009c54
[<80009c24>] (default_idle+0x0/0x38) from [<80009e24>] (cpu_idle+0xac/0xf0)
[<80009d78>] (cpu_idle+0x0/0xf0) from [<803277ec>]
(secondary_start_kernel+0xec/0x10c)
 r8:0000406a r7:80498950 r6:10c03c7d r5:00000001 r4:80478bd0
[<80327700>] (secondary_start_kernel+0x0/0x10c) from [<00326dc8>] (0x326dc8)
 r5:0
---
 arch/arm/configs/spear13xx_defconfig |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/spear13xx_defconfig b/arch/arm/configs/spear13xx_defconfig
index 1b5ceff..4e2866d 100644
--- a/arch/arm/configs/spear13xx_defconfig
+++ b/arch/arm/configs/spear13xx_defconfig
@@ -15,6 +15,7 @@ CONFIG_SMP=y
 # CONFIG_SMP_ON_UP is not set
 # CONFIG_ARM_CPU_TOPOLOGY is not set
 CONFIG_VMSPLIT_2G=y
+CONFIG_AEABI=y
 CONFIG_ARM_APPENDED_DTB=y
 CONFIG_ARM_ATAG_DTB_COMPAT=y
 CONFIG_BINFMT_MISC=y
-- 
1.7.9.5

  parent reply	other threads:[~2013-02-08 10:47 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-08 10:46 [PATCH 0/3] Patch set fixing SPEAr13xx boot issues on V3.8-rc6 Vijay Kumar Mishra
2013-02-08 10:46 ` [PATCH 1/3] SPEAr13xx_defconfig: Enable Memory split 2G/2G needed Vijay Kumar Mishra
2013-02-08 10:46   ` Vijay Kumar Mishra
2013-02-08 10:50   ` Viresh Kumar
2013-02-08 10:50     ` Viresh Kumar
2013-02-08 17:49     ` Nicolas Pitre
2013-02-08 17:49       ` Nicolas Pitre
2013-02-11  3:50       ` Shiraz Hashim
2013-02-11  3:50         ` Shiraz Hashim
2013-02-08 10:46 ` [PATCH 2/3] ARM:dts:SPEAr1310:Correct the clcd pin group name Vijay Kumar Mishra
2013-02-08 10:46   ` Vijay Kumar Mishra
2013-02-08 10:53   ` Viresh Kumar
2013-02-08 10:53     ` Viresh Kumar
2013-02-08 10:46 ` Vijay Kumar Mishra [this message]
2013-02-08 10:46   ` [PATCH 3/3] SPEAr13xx_defconfig: Enable compilation using the latest Vijay Kumar Mishra
2013-02-08 10:55   ` Viresh Kumar
2013-02-08 10:55     ` Viresh Kumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4d1cdf05ed312af2d8004496765f8fc82c27f2c1.1360317993.git.vijay.kumar@st.com \
    --to=vijay.kumar@st.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=spear-devel@codex.cro.st.com \
    --cc=viresh.kumar@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.