From owner-freebsd-arm@FreeBSD.ORG Thu Oct 3 16:59:35 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B6921CBB for ; Thu, 3 Oct 2013 16:59:35 +0000 (UTC) (envelope-from omgalvan.86@gmail.com) Received: from mail-oa0-x22f.google.com (mail-oa0-x22f.google.com [IPv6:2607:f8b0:4003:c02::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 83ED7214A for ; Thu, 3 Oct 2013 16:59:35 +0000 (UTC) Received: by mail-oa0-f47.google.com with SMTP id i1so2607334oag.20 for ; Thu, 03 Oct 2013 09:59:34 -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=yCLZ4hwrf7ALbXN6gaUR2sR+M6xoc4t6gwU67qNQFZI=; b=vL9l3OA1K5QNLg8449ozqUM0vVK3biws8sBfIZVzeFlw3fv6f/cMKN29nK0jE213l3 zTXiHAqgh1x8dQLRUkSATAZ/mLc4TD3uTKpMUVK01K+1bxaU32ZWn6QQHLFG8C2yxwNL BpaipCZQRZK/DPHL09VLlHLHJ26TcmxkLKdkB+djIjjudjz36FHY+qBTuH1nLX3dPsyL XIu77o5J5DInSS9K2Ilzp9+J17QNtt4+ACv7GXzA2UOsoqKpo6b+kM7uEt7eDvVH/L7O TZv9NLG6RIwTargXgFYhPHlIgeJ22XmtpztyiRuZsZsGoI7C9Pe7n8ga673IWn6tFTYm jeKA== MIME-Version: 1.0 X-Received: by 10.60.160.197 with SMTP id xm5mr2518919oeb.53.1380819574705; Thu, 03 Oct 2013 09:59:34 -0700 (PDT) Received: by 10.60.125.102 with HTTP; Thu, 3 Oct 2013 09:59:34 -0700 (PDT) Date: Thu, 3 Oct 2013 13:59:34 -0300 Message-ID: Subject: Trouble booting on Cubieboard 1 with ubldr From: Martin Galvan To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Oct 2013 16:59:35 -0000 Hey everybody! I'm currently trying to get CURRENT to boot on a Cubieboard1 using a SD card with the booting files and a USB flash with the FreeBSD filesystem. So far I've tried dd'ing sunxi-spl.bin and u-boot.bin to the SD card, then copying ubldr to its FAT16 partition, powering on the board and then doing: sun4i#fatload mmc 0 0x48000000 ubldr and sun4i#bootelf 0x48000000 However, when I do that it gives me the following error: Device: net ENET Speed is 100 Mbps - FULL duplex connection panic: uboot_eth0: empty ethernet address! --> Press a key on the console to reboot <-- After that I followed this tutorial: https://wiki.freebsd.org/FreeBSD/arm/Cubieboard The last step says to load and run the kernel directly from the mmc, which works fine and lets me boot. However, I understand u-boot shouldn't be able run ELF files, which is why we use ubldr in the first place. I have an SD card a friend made which has 2 partitions (one with the booting stuff and the other with the filesystem), and that one can be used to boot with the commands I first tried. Any ideas on why is this happening?