From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966828AbdEYVMh (ORCPT ); Thu, 25 May 2017 17:12:37 -0400 Received: from mail-qt0-f193.google.com ([209.85.216.193]:33312 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933791AbdEYVMe (ORCPT ); Thu, 25 May 2017 17:12:34 -0400 Subject: Re: [PATCH] RFC: arm: eBPF JIT compiler To: Shubham Bansal Cc: Andrew Lunn , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Russell King - ARM Linux References: <1495564433-9750-1-git-send-email-illusionist.neo@gmail.com> <20170523204608.GG24807@lunn.ch> <20170523232555.GY13759@lunn.ch> <20170525170051.GC18357@lunn.ch> <20170525172255.GF18357@lunn.ch> <20170525182849.GG18357@lunn.ch> <20170525184809.GH18357@lunn.ch> From: Florian Fainelli Message-ID: Date: Thu, 25 May 2017 14:12:30 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/25/2017 01:08 PM, Shubham Bansal wrote: > Hi Florian, > > It would be great if you could help me with it. > > Currently, what I am doing is. > > root@arm$ ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make -j4 > > Then I am using Busybox to build the root filesystem > > root@arm$ qemu-system-arm -M vexpress-a9 -dtb > ./linux/arch/arm/boot/dts/vexpress-v2p-ca9.dtb -kernel > ./linux/arch/arm/boot/zImage -append "root=/dev/mmcblk0 > console=ttyAMA0" -sd ./a9rootfs.ext3 --nographic > > Which machine I should use for ARMv6 in QEMU. Which dtb file I should > use for ? All these questions I have. If anybody knows please let me > know. You should use realview-eb-mpcore for instance (ARM11MPCORE is ARMv6). > > > Best, > Shubham Bansal > > > On Fri, May 26, 2017 at 1:14 AM, Florian Fainelli wrote: >> On 05/25/2017 12:09 PM, Shubham Bansal wrote: >>> Hi Andrew, >>> >>> On Fri, May 26, 2017 at 12:18 AM, Andrew Lunn wrote: >>>> On Fri, May 26, 2017 at 12:05:23AM +0530, Shubham Bansal wrote: >>>>> Hi Andrew, >>>>> >>>>> My Apologies. >>>>> >>>>> I will remove the #ifdef CONFIG_CPU_LITTLE_ENDIAN. Do you have the >>>>> ARMv6 machine you can test it on? >>>> >>>> Sorry, i don't have a v6. >>>> >>>> Maybe try kzm with qemu-system-qemu? >>> >>> I am afraid I not so familiar with qemu, otherwise I would have tried >>> to test the code on ARMv5,6,7 myself. >>> If you can help me with that it would be great, Otherwise I think I >>> have to wait for someone to test it for ARMv6. Although, I am pretty >>> sure it would work on that as it worked on ARMv5. >> >> Using QEMU is far less complex than the patch you wrote, the tricky >> point me be to find an ARMv6 root filesystem, unless you build the >> module into the kernel and let it run its tests. >> -- >> Florian -- Florian