Date: Mon, 27 Sep 2010 23:39:23 -0700 From: Joshua Piccari <joshua.piccari@gmail.com> To: freebsd-ppc@freebsd.org Subject: Cross-compiling ppc bootcode Message-ID: <AANLkTiks-dPn1-a2x8LAQkCzMtjE0ku%2Bj7LWdjLfsbzL@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi all, I've been trying to cross-compile a nanobsd build for a RouterBoard rb800. I've run into some trouble with the bootcode however. Here is the error I get: /var/tmp//ccC6sQLy.s: Assembler messages: /var/tmp//ccC6sQLy.s: 12: Error: no such instruction: 'lis %r1,stack@ha' /var/tmp//ccC6sQLy.s: 13: Error: no such instruction: 'addi %r1,%r1,stack@l' /var/tmp//ccC6sQLy.s: 14: Error: no such instruction: 'addi %r1,%r1,8192' /var/tmp//ccC6sQLy.s: 16: Error: no such instruction: 'b ofw_init' *** Error cod 1 Stop in /usr/src/sys/boot/powerpc/boot1.chrp. *** Error code 1 Stop in /usr/src/sys/boot/powerpc. Is there any way to cross-compile the ppc boot code from amd64? Is there another option for obtaining the bootcode necessary to boot my rb800? And has anybody attempted (and had success) with the RouterBoard ppc-based boards? Any help would be greatly appreciated! -- Joshua Piccari /dv/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTiks-dPn1-a2x8LAQkCzMtjE0ku%2Bj7LWdjLfsbzL>