From owner-freebsd-arm@freebsd.org Tue Oct 13 04:11:13 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 55B0AA122DA for ; Tue, 13 Oct 2015 04:11:13 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-yk0-x236.google.com (mail-yk0-x236.google.com [IPv6:2607:f8b0:4002:c07::236]) (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 20DA113A7 for ; Tue, 13 Oct 2015 04:11:13 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: by ykec126 with SMTP id c126so5596917yke.2 for ; Mon, 12 Oct 2015 21:11:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xs6XAgsTyci9Rqu0nQM3uQOUmSk0xTGpXE4IqQrRVC0=; b=BR0Rh18JuJtBF0vIxBC5yIhYN57hfWTOK4smv+h5p6qKzwcezrloASc9V2GmUYHuxs aosxmecdHVbykW/LMGN3zgnPYvGgNXj8bOmNaYIpmhpu7uM0awFu0gYDpJWdUqlqy84E VBpmg7ThpyiLqY9MjxctSM0ASieW5DrkkGusaAEiqr/dRSmzbnPUi0mHZUGl7eHQcJzC 21Ri3MXgbuKhyJXF5/0OlTl2iuu2pQdkHe7YFeXIFNYRk9guUp640Nw5E340wd6dPV+7 aJhsKEb6aTwU2JN2j8nAHzM3pSBxxy8K0kyJcFhBMo8Jcd6LxnpEaluNzDiiPNL+nNyn Csvg== MIME-Version: 1.0 X-Received: by 10.13.220.133 with SMTP id f127mr22579338ywe.208.1444709472256; Mon, 12 Oct 2015 21:11:12 -0700 (PDT) Received: by 10.129.43.70 with HTTP; Mon, 12 Oct 2015 21:11:12 -0700 (PDT) In-Reply-To: <1624600.Emhi2YBmRE@thinkpad> References: <1624600.Emhi2YBmRE@thinkpad> Date: Tue, 13 Oct 2015 01:11:12 -0300 Message-ID: Subject: Re: Cubieboard2 (AllWinner A20) hangs on boot From: Luiz Otavio O Souza To: che@bein.link Cc: "freebsd-arm@freebsd.org" 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, 13 Oct 2015 04:11:13 -0000 On 8 October 2015 at 19:49, Maxim V Filimonov wrote: > Dear Everyone, > > I compiled the brand-new FreeBSD-CURRENT for my Cubieboard (following the > instructions there: https://wiki.freebsd.org/FreeBSD/arm/Cubieboard) and tried > to boot this, and that's what I'm stuck at: > > U-Boot 2013.07-07794-gc0f3b94 (Aug 15 2013 - 18:01:45) Allwinner Technology > > CPU: Allwinner A20 (SUN7I) > Board: Cubieboard2 > I2C: ready > DRAM: 1 GiB > MMC: SUNXI SD/MMC: 0 > *** Warning - bad CRC, using default environment > > In: serial > Out: serial > Err: serial > Net: emac > Hit any key to stop autoboot: 0 > sun7i#fatload mmc 0 0x40200000 kernel; go 0x40200100 > reading kernel > 8080052 bytes read in 890 ms (8.7 MiB/s) > ## Starting application at 0x40200100 ... > > Can I do anything about this? > Maxim, You should use the instructions at https://wiki.freebsd.org/FreeBSD/arm/Allwinner The old wiki page is deprecated. The old instructions uses an u-boot that do not pass the DTB to kernel, so you have to define 'options FDT_DTB_STATIC' in kernel config file. Sorry for the misleading information in wiki, I've added a note there WRT the new instructions. Luiz