From owner-freebsd-arm@freebsd.org Sat Sep 1 13:50:35 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 89BD5FF013F for ; Sat, 1 Sep 2018 13:50:35 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E54F78C5E9 for ; Sat, 1 Sep 2018 13:50:34 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: by mailman.ysv.freebsd.org (Postfix) id A5BD9FF013E; Sat, 1 Sep 2018 13:50:34 +0000 (UTC) Delivered-To: arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72F6CFF013D for ; Sat, 1 Sep 2018 13:50:34 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from out.alvermark.net (out.alvermark.net [185.34.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 10DE68C5E5 for ; Sat, 1 Sep 2018 13:50:33 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from c-42bc70d5.06-431-73746f70.bbcust.telenor.se ([213.112.188.66] helo=mail.alvermark.net) by out.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1fw6IE-000Eg0-7p; Sat, 01 Sep 2018 15:50:26 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alvermark.net; s=x; h=Content-Type:In-Reply-To:MIME-Version:Date:Message-ID :From:References:Cc:To:Subject:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=sc1NeK6EUg/lt4l2u7l1FCAIZ95ycg1+9BcA318GVzo=; b=pzEz84ed/4fko1zV2Kyft0mT2S sdThCw4pR1tbc1HtnoQIBif1CzAzYer7BLwrUpt850Rr6ftW22k8XYr1ia0WqZAWfe9YtOcbRykI6 qp0elkxjzrNZVOExIaBCqq/xYLmpTTPbXOUxJEzcAX8W9KYXJWz02NcdMzmbQPnHCMVaDOI0iTo+0 hYBddUPUuO35Hev36BAQ6mUYVEvX+8hhYOIgliBL+G21EP6Gvlx/aF3uX4nuW7T/3aJztP/99U4V1 TXWR5tP7cFT64ob3orDpNv+mrxKF0+xFz2+AHKia2nUOGawkUwjM9XWkNGS8YXLV2y8vihiZJJep7 MD3arY4w==; Received: from [192.168.67.33] by mail.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1fw6ID-000Fcg-G5; Sat, 01 Sep 2018 15:50:25 +0200 Subject: Re: allwinner/nanopi neo boot issues To: Daniel Braniss Cc: "freebsd-arm@freebsd.org" References: <42AA3AE2-E101-4B7B-B373-BEC178321671@cs.huji.ac.il> <0fdbd315-f37d-e3d3-9309-612f53c4d379@alvermark.net> <8459A9BA-183A-461B-9050-3631C51218F9@cs.huji.ac.il> From: Jakob Alvermark Message-ID: <474af48e-ba82-62ce-34a3-70dfc4382723@alvermark.net> Date: Sat, 1 Sep 2018 15:50:25 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <8459A9BA-183A-461B-9050-3631C51218F9@cs.huji.ac.il> Content-Language: en-US Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Sep 2018 13:50:35 -0000 On 8/29/18 2:22 PM, Daniel Braniss wrote: > > >> On 29 Aug 2018, at 15:17, Jakob Alvermark > > wrote: >> >> >> On 8/24/18 10:02 AM, Daniel Braniss wrote: >>> >>>> On 24 Aug 2018, at 09:34, Daniel Braniss >>> > wrote: >>>> >>>> hi, >>>> with the latest current r338243 no longer boots via ubldr, efi does >>>> but with overlays I have to manually enter the root partition. >>>> >>>> this is where it hangs via ubldr: >>>> >>>> Autoboot in 8 seconds, hit [Enter] to boot or any other key to stop >>>> >>>> Loading kernel... >>>> /boot/kernel/kernel text=0x8a0950 data=0xae160+0x184520 >>>> syms=[0x4+0xa6d70+0x4+0x109f17] >>>> Loading configured modules... >>>> /boot/entropy size=0x1000 >>>> /boot/dtb/sun8i-h3-nanopi-neo.dtb size=0x601b >>>> Loaded DTB from file 'sun8i-h3-nanopi-neo.dtb'. >>>> Kernel entry at 0x42400180... >>>> Kernel args: (null) >>>> >>>> older - r337232 - boots fine, >>>> >>>> any ideas where to look? >>> should have done an update before writing! >>> >>> with the latest (and greatest) all is back to normal! >>> so now on to test orange pi one(h3), nanopi neo 2 (h5) and nanopi >>> neo a64 >>> >>> thanks, >>> danny >> >> >> Hi, >> >> >> I am trying to get an Orange Pi R1 going, I get the same. >> >> Loading kernel... >> /boot/kernel/kernel text=0x89ee40 data=0xae620+0x1f5ba0 >> syms=[0x4+0xa6d20+0x4+0x109e51] >> Loading configured modules... >> Could not load one or more modules! >> /boot/dtb/sun8i-h2-plus-orangepi-r1.dtb size=0x6333 >> Loaded DTB from file 'sun8i-h2-plus-orangepi-r1.dtb'. >> Kernel entry at 0x42400180... >> Kernel args: (null) >> >> This is at r338369. >> >> > > try booting via efi; > make sure to copy /boot/loader.efi to /boot/msdos/EFI/BOOT/bootaa64.efi > remove /boot/msdos/boot.scr > good luck, > danny I tried the ALPHA4 snapshot, this happens: Hit any key to stop autoboot:  0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... 25395 bytes read in 4 ms (6.1 MiB/s) Found EFI removable media binary efi/boot/bootarm.efi Scanning disks on usb... Disk usb0 not ready Disk usb1 not ready Disk usb2 not ready Disk usb3 not ready Scanning disks on mmc... MMC Device 1 not found MMC Device 2 not found MMC Device 3 not found Found 3 disks 508704 bytes read in 26 ms (18.7 MiB/s) ## Starting EFI application at 42000000 ... Consoles: EFI console failed to allocate staging area: 14 failed to allocate staging area ## Application terminated, r = 5 EFI LOAD FAILED: continuing... Tried manually loading ubldr.bin: => fatload mmc 0 0x42000000 ubldr.bin 306972 bytes read in 15 ms (19.5 MiB/s) => go 0x42000000 Loading kernel... /boot/kernel/kernel text=0x85d7f0 data=0xaf620+0x24e1e0 syms=[0x4+0xa87d0+0x4+0x10c603] Loading configured modules... /boot/kernel/umodem.ko text=0x1bf4 text=0x1320 data=0x1080+0xf88 syms=[0x4+0x1070+0x4+0xbcd] loading required module 'ucom' /boot/kernel/ucom.ko text=0x1f8c text=0x2e90 data=0x1080+0x17bc syms=[0x4+0x14f0+0x4+0xc5d] Could not load one or more modules! Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... /boot/dtb/sun8i-h2-plus-orangepi-r1.dtb size=0x6333 Loaded DTB from file 'sun8i-h2-plus-orangepi-r1.dtb'. Kernel entry at 0x42400180... Kernel args: (null) And then it reboots...