[Barrelfish-users] ARM Build

Simon Gerber simon.gerber at inf.ethz.ch
Mon Jan 19 10:38:24 CET 2015


Hi Nagendra,

On 19.01.2015 06:42, Nagendra wrote:
> Thanks for pointer.
>
> I installed Ubuntu 14.04 and I am trying to build arm_gem5_image
> (../hake/hake.sh -s .. -a armv7 followed by make arm_gem5_image).
>
> With this I am getting following error.
>
> /home/nag/barrelfish/build/../kernel/arch/arm/syscall.c:1024: undefined
> reference to `gt_read_high'
> /home/nag/barrelfish/build/../kernel/arch/arm/syscall.c:1020: undefined
> reference to `gt_read_low'
>
> I see these are only used in case of pandaboard. Not sure why
>"__pandaboard__" is getting defined for gem5 build.

The pandaboard is the default armv7 platform for Barrelfish. You need to 
change the variable armv7_platform in hake/Config.hs in the build 
directory to "gem5" when building for the gem5 simulator.

Best,
-- Simon

>
> Am I missing something?
>
> Regards
> Nagendra
>
> ----- Original Message -----
> From: Timothy Roscoe <troscoe at inf.ethz.ch <javascript:return>>
> To: Nagendra <k2nag at yahoo.com <javascript:return>>
> Cc: barrelfish-users at lists.inf.ethz.ch <javascript:return>
> Sent: Wednesday, 14 January 2015 1:47 PM
> Subject: Re: [Barrelfish-users] ARM Build
>
> Dear Nagendra,
>
> It would be helpful if you could let us know what make command you are
> using to build Barrelfish, and also what image you are trying to
> build.  For example, have you tried 'make pandaboard_image', or 'make
> arm_gem5_image'?
>
> The place to look is in symbolictargets.mk, which will give you a list
> of the kind of platforms we supply complete make targets for.
>
> Also, be aware that we support Ubuntu 14.04 (i.e. LTS), but not
> 14.10.  Non-long-term-support versions of Ubuntu might work, but we
> make no guarantees.
>
> Hope this helps.
>
> -- Mothy
>
> At Wed, 14 Jan 2015 03:54:29 +0000, Nagendra <k2nag at yahoo.com
> <javascript:return>> wrote:
>  > Hi Kornilios,
>  >
>  > Thanks for responding.
>  >
>  > Initially I tried ../hake/hake.sh -s .. -a arm, as mentioned in
> getting started guide. But this failed with following error.
>  >
>  >    Error in configuration: unknown architecture(s) specified: arm
>  >
>  >
>  > Then i tried building for armv7
>  >
>  >    ../hake/hake.sh -s .. -a armv7
>  >
>  > This went fine without any issues.
>  >
>  > but make failed with following error,
>  >
>  >    make: *** No rule to make target '../hake/menu.lst.armv7', needed
> by 'menu.lst'.  Stop.
>  >
>  > Regards
>  >
>  > Nagendra
>  >
>  > PS : I am using Ubuntu 14.10
>  >
>  >
>  > On Tuesday, 13 January 2015 6:15 PM, Kornilios Kourtis
> <kornilios.kourtis at inf.ethz.ch <javascript:return>> wrote:
>  > Hi Nagendra,
>  >
>  >
>  > On Tue, Jan 13, 2015 at 11:23:53AM +0800, Nagendra wrote:
>  > > I am trying to build barrelfish for armv7. The build is failing as
>  > > menu.lst.armv7 is missing.
>  > >
>  > > Anyone tried building barrelfish on ARM recently? Can you please post
>  > > the steps to build barrelfish for ARM and run it on qemu.
>  >
>  > Can you please provide us with the commands you try to execute for
>  > building Barrelfish and any relevant error messages?
>  >
>  > cheers,
>  > Kornilios.
>  >
>  > --
>  > Kornilios Kourtis
>  >
>  > _______________________________________________
>  > Barrelfish-users mailing list
>  > Barrelfish-users at lists.inf.ethz.ch <javascript:return>
>  > https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users
>
>  >
>  >
>  >
>
>
>
> _______________________________________________
> Barrelfish-users mailing list
> Barrelfish-users at lists.inf.ethz.ch
> https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users
>



More information about the Barrelfish-users mailing list