gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Re: [gem5-users] Building a DTB file for NoMali Android

AS
Andreas Sandberg
Thu, Jul 21, 2016 12:27 PM

Hi Sebastian,

You should ideally not use the old DTBs that we used to ship with the ancient kernels. All 4.x kernels use the DTBs that ship with gem5 (see system/arm/dt/). These use the new VExpress_GEM5_V1 platform instead of the old VExpress_EMM platform.

See the wiki for more details: http://www.gem5.org/ARM_Linux_Kernel

Cheers,
Andreas

-----Original Message-----
From: gem5-users <gem5-users-bounces(a)gem5.org> on behalf of Sebastian Cai <seb06cai(a)hotmail.com>
Reply-To: gem5 users mailing list <gem5-users(a)gem5.org>
Date: Wednesday, 20 July 2016 at 02:28
To: "m5-users(a)m5sim.org" <m5-users(a)m5sim.org>
Subject: [gem5-users] Building a DTB file for NoMali Android

Hello All,

I've successfully built and run Android KitKat within gem5, and for the next step I want to incorporate NoMali. I have successfully followed the instructions on http://gem5.org/Android_KitKat up
to adding to the device tree. Android by default seems to use the dtb file: vexpress.aarch32.ll_20131205.0-gem5.1cpu.dtb. I can't find the dts file for that so I may build a new dtb file.
After looking around a bit, it seems that it could use the vexpress-v2p-ca15-tc1-gem5.dts that comes with the linux-arm-gem5 kernel repository. However, I'm trying to run the command make in the /linux-arm-gem5/arch/arm/boot/dts directory, but it just returns:
rm -f /../*.dtb.

So my question is, which dts file do I edit to include gpu, and if its the linux-arm-gem5 one, how do I actually build the necessary dtb file.

Thanks,
Sebastian

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

Hi Sebastian, You should ideally not use the old DTBs that we used to ship with the ancient kernels. All 4.x kernels use the DTBs that ship with gem5 (see system/arm/dt/). These use the new VExpress_GEM5_V1 platform instead of the old VExpress_EMM platform. See the wiki for more details: http://www.gem5.org/ARM_Linux_Kernel Cheers, Andreas -----Original Message----- From: gem5-users <gem5-users-bounces(a)gem5.org> on behalf of Sebastian Cai <seb06cai(a)hotmail.com> Reply-To: gem5 users mailing list <gem5-users(a)gem5.org> Date: Wednesday, 20 July 2016 at 02:28 To: "m5-users(a)m5sim.org" <m5-users(a)m5sim.org> Subject: [gem5-users] Building a DTB file for NoMali Android Hello All, I've successfully built and run Android KitKat within gem5, and for the next step I want to incorporate NoMali. I have successfully followed the instructions on http://gem5.org/Android_KitKat up to adding to the device tree. Android by default seems to use the dtb file: vexpress.aarch32.ll_20131205.0-gem5.1cpu.dtb. I can't find the dts file for that so I may build a new dtb file. After looking around a bit, it seems that it could use the vexpress-v2p-ca15-tc1-gem5.dts that comes with the linux-arm-gem5 kernel repository. However, I'm trying to run the command make in the /linux-arm-gem5/arch/arm/boot/dts directory, but it just returns: rm -f /../*.dtb. So my question is, which dts file do I edit to include gpu, and if its the linux-arm-gem5 one, how do I actually build the necessary dtb file. Thanks, Sebastian IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.