From owner-freebsd-arm@freebsd.org Tue Jul 28 04:13:47 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5EB2D9ABB92 for ; Tue, 28 Jul 2015 04:13:47 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com [IPv6:2a00:1450:4010:c04::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DF39BF54 for ; Tue, 28 Jul 2015 04:13:46 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by lbbqi7 with SMTP id qi7so66336852lbb.3 for ; Mon, 27 Jul 2015 21:13:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=8STJt88VQTqMbwSU+hzXR+pSltGLDTcXyED5E1CS7ZU=; b=dAfOtKqvijL0skb3jG2DzLu+zc9NjliRXOXmqZgAosQWtE403kdKyLNTbhomN8uEgX +jiGjGCxsPbopTVftzAkohdho5ZwUErLVI9B6tphpz8yLBbfuVBVR7DLWxfdkFyg/1FU HGfihVumzazAvomV/LcbwQhd5LSdi6ui27OA6t/uhA9oFrl0idglZZ5GEelOsbrYtAQH HhGDtv+x244SC77G9C6G9b5hQCtPOZFS32lpUvratVBmmswLkwErG5xRir+kMGgY+Nhr mu4JYuau4nfPja+AVhAyYG0N2Aa5fbCxycsTpHr2OwXzJ4YOzkv9v+yVNtrVHOhizuQe fiQw== MIME-Version: 1.0 X-Received: by 10.152.87.205 with SMTP id ba13mr29446817lab.37.1438056824793; Mon, 27 Jul 2015 21:13:44 -0700 (PDT) Received: by 10.152.180.166 with HTTP; Mon, 27 Jul 2015 21:13:44 -0700 (PDT) Date: Mon, 27 Jul 2015 21:13:44 -0700 Message-ID: Subject: Hummingboard u-boot not loading? From: Russell Haley To: freebsd-arm Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 04:13:47 -0000 Hello, So I seem to be stalled out because I can't get the boot loader to run. First: pkg install u-boot-cubox-hummingboard and then dd if=u-boot.imx of=/dev/da2 bs=1k oseek=1 conv=sync 265+0 records in 265+0 records out 271360 bytes transferred in 0.771273 secs (351834 bytes/sec) When I put in the card and run it I see the SolidRun graphic with a date/time (buid date I presume?) but it doesn't go any further than that... I thought I would at least see a command prompt? Any input would be great. I also tried building it from ports but got this error: Generating include/generated/asm-offsets.h tools/scripts/make-asm-offsets arch/arm/cpu/armv7/mx6/asm-offsets.s include/generated/asm-offsets.h In file included from /usr/ports/sysutils/u-boot-cubox-hummingboard/work/u-boot-imx6-e4bc4c3/include/linux/compiler.h:40:0, from /usr/ports/sysutils/u-boot-cubox-hummingboard/work/u-boot-imx6-e4bc4c3/include/linux/byteorder/little_endian.h:12, from /usr/ports/sysutils/u-boot-cubox-hummingboard/work/u-boot-imx6-e4bc4c3/include/asm/byteorder.h:29, from /usr/ports/sysutils/u-boot-cubox-hummingboard/work/u-boot-imx6-e4bc4c3/include/compiler.h:112, from /usr/ports/sysutils/u-boot-cubox-hummingboard/work/u-boot-imx6-e4bc4c3/include/image.h:19, from /usr/ports/sysutils/u-boot-cubox-hummingboard/work/u-boot-imx6-e4bc4c3/include/common.h:100, from lib/asm-offsets.c:15: /usr/ports/sysutils/u-boot-cubox-hummingboard/work/u-boot-imx6-e4bc4c3/include/linux/compiler-gcc.h:93:30: fatal error: linux/compiler-gcc5.h: No such file or directory compilation terminated. Makefile:746: recipe for target 'lib/asm-offsets.s' failed gmake[1]: *** [lib/asm-offsets.s] Error 1 gmake[1]: Leaving directory '/usr/ports/sysutils/u-boot-cubox-hummingboard/work/u-boot-imx6-e4bc4c3' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/sysutils/u-boot-cubox-hummingboard Thanks, Russ