From owner-freebsd-ppc@FreeBSD.ORG Tue Sep 28 07:08:10 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99A72106564A for ; Tue, 28 Sep 2010 07:08:10 +0000 (UTC) (envelope-from joshua.piccari@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 561EF8FC0C for ; Tue, 28 Sep 2010 07:08:09 +0000 (UTC) Received: by yxn35 with SMTP id 35so2251160yxn.13 for ; Tue, 28 Sep 2010 00:08:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=kdIg+bZ+QaxGFc0ngfZVnjb5PNomeQZFyK0fH3r27FY=; b=ErT2NxLAsEBoR8d21jfEt8IzKQDHZ8QtcXzxnMqE/GNr9c6tNP5zx8TQXQ5USskp2y tkcR139ECXaFAG2qRD0nVD2xhdnvvigRIVSrcbmeZOUcIsiiJXJW6ph3Op7DY5oUGj2M ZBPrY1K/RGZxIL7/mJPlsvF1E/ErM9E4a4Dkc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=MlvYscWSusk1KYE3f22HcarxTay6cJx7Eh6YUSdTld3LFAMAY40BLfNi/IdvGelnAz aFVG9wwy39Vs/bhY7oZ8QqKy1Qjbq4clBl7vIxySKOgRKTa0iD186eqCG5fvC68+X0aH au1rITLy19f560NzUYukdALu6WV/3wH2JZMjs= MIME-Version: 1.0 Received: by 10.100.197.4 with SMTP id u4mr7061834anf.17.1285655963875; Mon, 27 Sep 2010 23:39:23 -0700 (PDT) Received: by 10.100.244.40 with HTTP; Mon, 27 Sep 2010 23:39:23 -0700 (PDT) Date: Mon, 27 Sep 2010 23:39:23 -0700 Message-ID: From: Joshua Piccari To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Cross-compiling ppc bootcode X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2010 07:08:10 -0000 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/