[Barrelfish-users] Build for ARM

pintu mehta pintumehta at gmail.com
Fri Jul 15 07:43:20 CEST 2011


Hi,
    Build is sucess for arm after taken code from mercurial repository.
   try to run barrelfish inside qemu arm but system hand after get following
message

qemu-system-arm  -kernel arm/sbin/cpu.bin -nographic -no-reboot -m 256
-initrd arm/romfs.cpio




Barrelfish CPU driver starting on ARMv5 Board id 0x00000113
The address of paging_map_kernel_section is 0xfff1d7ec
XXX: Debug print to make Bram's code work
Kernel ready.
init: invoked as: init 2097152
Spawning memory server (arm/sbin/mem_serv)...
Spawning monitor (arm/sbin/monitor)...
monitor: invoked as: arm/sbin/monitor 6852608
RAM allocator initialised, 201 MB (of 217 MB) available
Spawning chips on core 0
Spawning ./arm/sbin/ramfsd on core 0
Spawning ./arm/sbin/spawnd on core 0
Spawning ./arm/sbin/startd on core 0
chips: client waiting for ramfs
chips: client waiting for ramfs
ramfsd.0: pre-populating from boot image...
ramfsd.0: ready
chips: notifying client about ramfs
chips: notifying client about ramfs
all 1 monitors up

Now, i am not able get command prompt  so hw can i get it?

Regrds
pintu
On Thu, Jul 14, 2011 at 7:34 PM, Calum McCall <0800410m at student.gla.ac.uk>wrote:

> Hi,
>
> It looks like you are using barrelfish-20110301, the arm code has
> changed in the latest version available from the mercurial repository at
> hg.barrelfish.org. You should try that and post back if you are still
> having problems.
>
> -Calum
>
> On 14/07/11 05:47, pintu mehta wrote:
> > Hi,
> > is it possble to build and run barrelfish for arm target?
> > i am sucess to run inside qemu x86_64 but my plan to build barrelfish
> > for arm target and run inside  qemu-arm.
> > if possible plz send me the steps to build it and what should be the
> > qemu configuration for arm to run barrelfish
> >
> > i am trying to build it accoding to readme file.
> >
> > steps are-
> >
> > 1> ../hake/hake.sh .. arm   - sucess
> > 2>download arm eabi tool from http://www.codesourcery.com/sgpp/lite/arm
> > - sucess
> > 3>make (Getting following error)
> >
> > barrelfish-20110301/build/../include/thc/thcsync.h:55: undefined
> > reference to `__sync_bool_compare_and_swap_4'
> > barrelfish-20110301/build/../include/thc/thcsync.h:55: undefined
> > reference to `__sync_bool_compare_and_swap_4'
> > barrelfish-20110301/build/../include/thc/thcsync.h:55: undefined
> > reference to `__sync_bool_compare_and_swap_4'
> > ./arm/lib/libthc.a(thcsync.o): In function `thc_seq_ticket':
> > barrelfish-20110301/build/../lib/thc/thcsync.c:539: undefined reference
> > to `__sync_bool_compare_and_swap_4'
> > ./arm/lib/libthc.a(thcsync.o): In function `thc_latch_acquire':
> > barrelfish-20110301/build/../include/thc/thcsync.h:55: undefined
> > reference to `__sync_bool_compare_and_swap_4'
> >
> ./arm/lib/libthc.a(thcsync.o):/home/lokesh/Bfish_arm2/barrelfish-20110301/build/../include/thc/thcsync.h:55:
> > more undefined references to `__sync_bool_compare_and_swap_4' follow
> > collect2: ld returned 1 exit status
> >
> > what should i do to remove above error?
> > Regards
> > pintu
> >
>
> _______________________________________________
> Barrelfish-users mailing list
> Barrelfish-users at lists.inf.ethz.ch
> https://lists.inf.ethz.ch/mailman/listinfo/barrelfish-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20110715/10394cfc/attachment.html 


More information about the Barrelfish-users mailing list