From owner-freebsd-arm@FreeBSD.ORG Thu Aug 14 10:56:41 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E4A7C354 for ; Thu, 14 Aug 2014 10:56:41 +0000 (UTC) Received: from poczta.toomeek.waw.pl (unknown [IPv6:2001:67c:232c:1000::fd9b:4fb4]) by mx1.freebsd.org (Postfix) with ESMTP id 9FCF2254E for ; Thu, 14 Aug 2014 10:56:41 +0000 (UTC) Received: from [192.168.137.1] (afnj61.neoplus.adsl.tpnet.pl [178.42.87.61]) by poczta.toomeek.waw.pl (Postfix) with ESMTPSA id 0AC47C600E3 for ; Thu, 14 Aug 2014 06:56:37 -0400 (EDT) Message-ID: <53EC95EE.20708@toomeek.waw.pl> Date: Thu, 14 Aug 2014 12:56:46 +0200 From: TooMeeK Admin User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: "freebsd-arm@freebsd.org" Subject: Re: U-boot for Banana Pi References: <53EB40BC.8070506@toomeek.waw.pl> <53EB41EC.1080507@toomeek.waw.pl> <53EB8994.9080801@toomeek.waw.pl> <1407947691.56408.507.camel@revolution.hippie.lan> <53EBDA95.8000604@toomeek.waw.pl> <53EC8D1A.2000005@toomeek.waw.pl> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.3.9 (poczta.toomeek.waw.pl [0.0.0.0]); Thu, 14 Aug 2014 06:56:38 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.98.1 at a8d2ba546e X-Virus-Status: Clean X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2014 10:56:42 -0000 And that's where real problem comes :) Over serial console - J11 connector - I have only view (read-only) access.. Different RX/TX pairs aren't giving any output. So the only way for me is putting commands into boot.scr file. echo "fatls mmc 0; fatload mmc 0 0x40200000 kernel; go 0x40200100" > boot.cmd /usr/src/u-boot-sunxi/tools/mkimage -C none -A arm -T script -d boot.cmd boot.scr Gives output: U-Boot SPL 2014.04-10700-g4e19806 (Aug 13 2014 - 14:44:36) Board: Bananapi DRAM: 1024 MiB CPU: 960000000Hz, AXI/AHB/APB: 3/2/2 spl: not an uImage at 1600 U-Boot 2014.04-10700-g4e19806 (Aug 13 2014 - 14:44:36) Allwinner Technology CPU: Allwinner A20 (SUN7I) Board: Bananapi I2C: ready DRAM: 1 GiB MMC: SUNXI SD/MMC: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: dwmac.1c50000 Hit any key to stop autoboot: 0 reading uEnv.txt ** Unable to read file uEnv.txt ** Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** reading boot.scr 119 bytes read in 21 ms (4.9 KiB/s) Jumping to boot.scr ## Executing script at 44000000 reading kernel Error reading cluster ** Unable to read file kernel ** ## Starting application at 0x40200100 ... And no file listing here? > Please try to remove boot.scr from SD card and then put back SD card > and when u-boot prompt comes type: > > fatload mmc 0 0x40200000 kernel; go 0x40200100 > > I think you can check whether kernel exist in fat partition of SD, > something like: > > fatls mmc 0 > > > Ganbold > >