Problem compiling bios-crypto in XO1.75 hardware

2013-04-01 Thread Juan Cubillo
 Hello,

I'm creating xo1.75 OS images on a 1.75 XO since that's the only ARM
hardware I have around. In order to sign the images I need to compile
bios-crypto following the instructions from the wiki:

http://wiki.laptop.org/go/OS_Builder#Signing_preparation

make is not finishing correctly and ends with the following error message:

 bash-4.2# make
echo Building in the 'build' subdirectory
Building in the 'build' subdirectory
make -C build
make[1]: Entering directory `/home/root/bios-crypto/build'
ld  -Ttext 0xc -Tbss 0xd --defsym _start=verify_data bios_verify.o
stack_alloc.o bios_string.o ../depends/libtomcrypt.a ../depends/libtfm.a
arm_libs.o /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2/libgcc.a -o
bios_verify.elf
/usr/lib/gcc/armv7hl-redhat-linux-gnueabi/4.7.2/libgcc.a(bpabi.o):(.ARM.exidx+0x0):
undefined reference to `__aeabi_unwind_cpp_pr1'
make[1]: *** [bios_verify.elf] Error 1
make[1]: Leaving directory `/home/root/bios-crypto/build'
make: *** [all] Error 2
bash-4.2#

Has anyone been able to get bios-crypto working on ARM architecture? How
could I solve this issue?

 - Juan Cubillo
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Problem compiling bios-crypto in XO1.75 hardware

2013-04-01 Thread Daniel Drake
On Mon, Apr 1, 2013 at 10:51 AM, Juan Cubillo jcubi...@fundacionqt.org wrote:
 Hello,

 I'm creating xo1.75 OS images on a 1.75 XO since that's the only ARM
 hardware I have around. In order to sign the images I need to compile
 bios-crypto following the instructions from the wiki:

 http://wiki.laptop.org/go/OS_Builder#Signing_preparation

 make is not finishing correctly and ends with the following error message:

 bash-4.2# make

Have you tried using the exact instructions given at
http://wiki.laptop.org/go/OS_Builder#Signing_preparation

$ cd bios-crypto/build
$ make cli

Thanks
Daniel
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Problem compiling bios-crypto in XO1.75 hardware

2013-04-01 Thread Juan Cubillo



On 04/01/2013 10:56 AM, Daniel Drake wrote:

On Mon, Apr 1, 2013 at 10:51 AM, Juan Cubillo jcubi...@fundacionqt.org wrote:

Hello,

I'm creating xo1.75 OS images on a 1.75 XO since that's the only ARM
hardware I have around. In order to sign the images I need to compile
bios-crypto following the instructions from the wiki:

http://wiki.laptop.org/go/OS_Builder#Signing_preparation

make is not finishing correctly and ends with the following error message:

bash-4.2# make

Have you tried using the exact instructions given at
http://wiki.laptop.org/go/OS_Builder#Signing_preparation

$ cd bios-crypto/build
$ make cli

Thanks
Daniel
Yes, I cloned the git repo, changed directory and issued the make 
command but I get the error described. I'm running this on the latest 
stable image for the xo1.75.
From your reply I assume that this error is not normal. Should the make 
work with no issues on arm hardware?

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Problem compiling bios-crypto in XO1.75 hardware

2013-04-01 Thread Daniel Drake
On Mon, Apr 1, 2013 at 11:12 AM, Juan Cubillo jcubi...@fundacionqt.org wrote:
 Yes, I cloned the git repo, changed directory and issued the make command
 but I get the error described. I'm running this on the latest stable image
 for the xo1.75.
 From your reply I assume that this error is not normal. Should the make work
 with no issues on arm hardware?

In your mail you seem to be in the bios-crypto root directory, and you
ran make.
However following the instructions you should be in the
bios-crypto/build directory and the command is make cli.

Daniel
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Problem compiling bios-crypto in XO1.75 hardware

2013-04-01 Thread Juan Cubillo
Just noticed that mistake. I was missing the cli parameter for the make
command. It's now built and I'll include the crypto module in the oob ini
file to test it. Thank you for the help

 - Juan


On Mon, Apr 1, 2013 at 11:34 AM, Daniel Drake d...@laptop.org wrote:

 On Mon, Apr 1, 2013 at 11:12 AM, Juan Cubillo jcubi...@fundacionqt.org
 wrote:
  Yes, I cloned the git repo, changed directory and issued the make command
  but I get the error described. I'm running this on the latest stable
 image
  for the xo1.75.
  From your reply I assume that this error is not normal. Should the make
 work
  with no issues on arm hardware?

 In your mail you seem to be in the bios-crypto root directory, and you
 ran make.
 However following the instructions you should be in the
 bios-crypto/build directory and the command is make cli.

 Daniel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel