From: peter@korsgaard.com (Peter Korsgaard) Date: Sun, 11 Dec 2016 21:01:59 +0100 Subject: [RFC v3 PATCH 00/25] Allow NOMMU for MULTIPLATFORM In-Reply-To: <20161211070104.GB3035@afzalpc> (Afzal Mohammed's message of "Sun, 11 Dec 2016 12:31:04 +0530") References: <1480691143-19845-1-git-send-email-vladimir.murzin@arm.com> <20161210181639.GA5660@afzalpc> <878trntrig.fsf@dell.be.48ers.dk> <20161211070104.GB3035@afzalpc> Message-ID: <87fulus094.fsf@dell.be.48ers.dk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org >>>>> "Afzal" == Afzal Mohammed writes: Hi, >> You can build a toolchain and initramfs with Buildroot. Have a look at >> the stm32f429 nommu config: >> >> https://git.buildroot.net/buildroot/tree/configs/stm32f429_disco_defconfig > iiuc, it builds one for Cortex-M. i already had a file system w/ > busybox compiled using a Cortex-M toolchain (stolen from > Pengutronix's OSELAS.Toolchain), which works on Cortex M4 (Vybrid > VF610 M4 core). But it does not work here, i.e. on Cortex A, seems the > above mentioned also would have the same effect. Hmm, I'm not sure why a cortex-M toolchain wouldn't work on cortex-A, I thought the 'M' instruction set was a pure subset of the 'A'. > And in buildroot, couldn't see Cortex R option in menuconfig, and > selecting Cortex-A's excludes flat binary target & presents only with > ELF. We indeed don't have cortex-R support. I'm not aware of any cortex-R Linux support. When you select a cortex-A variant, then we enable MMU support by default, but you can disable it under toolchain options (Enable MMU) and then the flat binary option is available. -- Bye, Peter Korsgaard