Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932297AbcLLSoi (ORCPT ); Mon, 12 Dec 2016 13:44:38 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:32788 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752843AbcLLSog (ORCPT ); Mon, 12 Dec 2016 13:44:36 -0500 Date: Tue, 13 Dec 2016 00:14:29 +0530 From: Afzal Mohammed To: Russell King Cc: Vladimir Murzin , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peter Korsgaard Subject: Re: [PATCH 0/2] ARM: v7-A !MMU fixes for fun (&fame) Message-ID: <20161212184429.GA5219@afzalpc> References: <20161211131028.3019-1-afzal.mohd.ma@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161211131028.3019-1-afzal.mohd.ma@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1095 Lines: 27 Hi, On Sun, Dec 11, 2016 at 06:40:28PM +0530, Afzal Mohammed wrote: > Kernel reached the stage of invoking user space init & panicked, though > it could not reach till prompt for want of user space executables > > So far i have not come across a toolchain (or a way to create toolchain) > to create !MMU user space executables for Cortex-A. Now able to reach prompt using buildroot initramfs, Thanks to Peter Korsgaard for suggesting the way to create user space executables for !MMU Cortex-A. > multi_v7_defconfig was used & all platforms except TI OMAP/AM/DM/DRA & > Freescale i.MX family was deselected. ARM_MPU option was disabled as > Vladimir had given an early warning. DRAM_BASE was set to 0x80000000. > During the course of bringup, futex was causing issues, hence FUTEX was > removed. L1 & L2 caches were disabled in config. High vectors were > disabled & vectors were made to remap to base of RAM. An additional OMAP > specific change to avoid one ioremap was also required. For the sake of completeness, SMP was disabled & flat binary support enabled in Kernel. Regards afzal