From owner-freebsd-arm@freebsd.org Mon Apr 1 05:53:19 2019 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 12EA2158280E for ; Mon, 1 Apr 2019 05:53:19 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) 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 7E33476FBB for ; Mon, 1 Apr 2019 05:53:18 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.ysv.freebsd.org (Postfix) id 3F02A158280A; Mon, 1 Apr 2019 05:53:18 +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 16D8D1582809 for ; Mon, 1 Apr 2019 05:53:18 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DE88976F80 for ; Mon, 1 Apr 2019 05:53:09 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=11Ve4g8Fcl+k1/EbCNHUjYNQ6QXR8ggssPZ8bu4w4u4=; b=WTJniLSHlqMLZlVbyZ1tBfzqh424Qx0V2AjOkSW29v99pCXN2cJETqk0uAGCN0ILB0g8iiknwK+5gETS8jKNcAnLUnJO95XRVFbtqbLds2n9SVXPM1W+VlYhhzlZRdVOCiseo2GaCvm5ZGLfcQxWSlShiSBB0Ojh3Gr7W36eS1z7I8sEEVnftJA5ZQCnVZGrIwnLe8qYw8YD+xYVj/lofHZe5yvLNH7CaQ2H7OXYulNiHxMYAUlVx62gZYORkJat5h13HGXZSaBKPB0Ppk2bX2FShAK8nw5fzGHAv3P9UThHcJrT/Z+8HY7q9jvwct8Gp5RCRbO+432g5yovHrZU/A==; Received: from bach.cs.huji.ac.il ([132.65.80.20]) by kabab.cs.huji.ac.il with esmtp id 1hApsN-0008l9-N5; Mon, 01 Apr 2019 08:52:55 +0300 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: network booting allwinner(nanopi) From: Daniel Braniss In-Reply-To: <20190329193608.GC99439@cicely7.cicely.de> Date: Mon, 1 Apr 2019 08:52:55 +0300 Cc: "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <20190329193608.GC99439@cicely7.cicely.de> To: ticso@cicely.de X-Mailer: Apple Mail (2.3445.9.1) X-Rspamd-Queue-Id: DE88976F80 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cs.huji.ac.il header.s=57791128 header.b=WTJniLSH X-Spamd-Result: default: False [-3.39 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.995,0]; R_DKIM_ALLOW(-0.20)[cs.huji.ac.il:s=57791128]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[huji.ac.il]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cs.huji.ac.il:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[210.116.65.132.list.dnswl.org : 127.0.10.0]; MX_GOOD(-0.01)[kabab.cs.huji.ac.il,post.cs.huji.ac.il]; R_SPF_NA(0.00)[]; NEURAL_HAM_SHORT(-0.90)[-0.901,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:378, ipnet:132.64.0.0/13, country:EU]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.68)[ipnet: 132.64.0.0/13(-1.90), asn: 378(-1.52), country: EU(-0.01)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2019 05:53:19 -0000 > On 29 Mar 2019, at 22:36, Bernd Walter = wrote: >=20 > On Fri, Mar 29, 2019 at 09:34:30AM +0300, Daniel Braniss wrote: >> Hi, >> with last weeks head (r345465), >> I tried - again - to netboot and the old way no longer works >> usb start >> setenv loaderdev net >> boot >>=20 >> now it complains allot:-) but no dice. >> So, is there a way that netboot works? >=20 > On a Pi1 project I put the following in loader.conf: > currdev=3D"net0" > This requires the loader.conf to be on the SD card however. > I used an UFS partition for that, but I assume that the msdosfs > partition would work too as the loader can read that filesystem > as well. >=20 > --=20 > B.Walter http://www.bwct.de > Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. well, this is what I get: U-Boot SPL 2019.01 (Mar 24 2019 - 10:15:37 +0200) DRAM: 512 MiB Trying to boot from MMC1 U-Boot 2019.01 (Mar 24 2019 - 10:15:37 +0200) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: FriendlyARM NanoPi NEO DRAM: 512 MiB MMC: SUNXI SD/MMC: 0 Loading Environment from FAT... *** Warning - bad CRC, using default = environment In: serial Out: serial Err: serial Net: phy interface0 Error: ethernet@1c30000 address not set. eth-1: ethernet@1c30000 starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 USB2: USB EHCI 1.00 USB3: USB OHCI 1.0 scanning bus 0 for devices... 1 USB Device(s) found scanning bus 2 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot: 2 =08=08=08 0 =3D> usb start =3D> boot=08 =08=08 =08=08 =08=08 =08setn=08 =08env loaderdev net =3D> boot switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot.scr 199 bytes read in 1 ms (194.3 KiB/s) ## Executing script at 43100000 375752 bytes read in 19 ms (18.9 MiB/s) ## Starting application at 0x42000000 ... Consoles: U-Boot console =20 Compatible U-Boot API signature found @0x5bf595c8 FreeBSD/armv7 U-Boot loader, Revision 1.2 DRAM: 512MB Number of U-Boot devices: 1 U-Boot env: loaderdev=3D'net' Found U-Boot device: disk Found U-Boot device: net Booting from net0: net_probe: no network devices found, maybe not enumerated yet..? netboot: couldn't probe uboot_eth0 net_open: netif_open() failed Startup error in /boot/lua/loader.lua: LUA ERROR: cannot open /boot/lua/loader.lua: device not configured. net_probe: no network devices found, maybe not enumerated yet..? netboot: couldn't probe uboot_eth0 net_open: netif_open() failed net_probe: no network devices found, maybe not enumerated yet..? netboot: couldn't probe uboot_eth0 net_open: netif_open() failed net_probe: no network devices found, maybe not enumerated yet..? netboot: couldn't probe uboot_eth0 net_open: netif_open() failed net_probe: no network devices found, maybe not enumerated yet..? netboot: couldn't probe uboot_eth0 net_open: netif_open() failed net_probe: no network devices found, maybe not enumerated yet..? netboot: couldn't probe uboot_eth0 net_open: netif_open() failed net_probe: no network devices found, maybe not enumerated yet..? netboot: couldn't probe uboot_eth0 net_open: netif_open() failed net_probe: no network devices found, maybe not enumerated yet..? netboot: couldn't probe uboot_eth0 net_open: netif_open() failed net_probe: no network devices found, maybe not enumerated yet..? netboot: couldn't probe uboot_eth0 net_open: netif_open() failed net_probe: no network devices found, maybe not enumerated yet..? netboot: couldn't probe uboot_eth0 net_open: netif_open() failed can't load 'kernel' Type '?' for a list of commands, 'help' for more detailed help. loader>=