From owner-freebsd-arm@freebsd.org Sat Jan 6 14:24:58 2018 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 19BABEBBD8F for ; Sat, 6 Jan 2018 14:24:58 +0000 (UTC) (envelope-from byond.lenox@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id E91C571469 for ; Sat, 6 Jan 2018 14:24:57 +0000 (UTC) (envelope-from byond.lenox@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id E56E6EBBD8B; Sat, 6 Jan 2018 14:24:57 +0000 (UTC) Delivered-To: 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 E4CC7EBBD8A; Sat, 6 Jan 2018 14:24:57 +0000 (UTC) (envelope-from byond.lenox@gmail.com) Received: from mail-io0-f196.google.com (mail-io0-f196.google.com [209.85.223.196]) (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 B4ED271468; Sat, 6 Jan 2018 14:24:57 +0000 (UTC) (envelope-from byond.lenox@gmail.com) Received: by mail-io0-f196.google.com with SMTP id 87so8627590ior.5; Sat, 06 Jan 2018 06:24:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=aY0SbdtumCWmBjPhvW055+jjBEQpBHEM2rj+tKkEESs=; b=KQQejPG/QHmtAjh6HHdYqcE/wo3DGQrs+8TMGO7fhKKvMUbZgoqpeKXDS0SFUGNv5/ ltaO0mmvt+ZX7hHZTapxy6jG5nyWTD6yjPaxf9j+laygxttBkg8ECTZzMxtHMDguwMVL Qh+zBBjF7tN9iJ6KGYDj3d7AxHXUyM7yth4VCBTB7gxLAFFZw/r++D/8SMVtfAQiXiGy J1KSfu6rLjcpVA7FiNSNgAxRrpCbWQ8UpzwklhI6nSI4O9SreNbxlc3lQWRiulkIRYNp QIw8iIRwi/az6FVhTmiCEUfH52fDT7OMkOyOrWXWD3sMKfJHa7vAFP07HUpnO166qmJV WAFw== X-Gm-Message-State: AKGB3mK1A/Y4gUgjtkgJB3hgLAc5L8q5rGIt3WDLmRGV6Irb75lkb+NJ UhXEyxtWNZEaVIxDnqTi6bt5VaLd X-Google-Smtp-Source: ACJfBovEkzfp9GOmDAcm1miOrKEyTmx98vVj+dAeng0sGIlNEnl0vW5JtOayuRjqj6DiU715FaZHHg== X-Received: by 10.107.24.195 with SMTP id 186mr3302151ioy.185.1515248691315; Sat, 06 Jan 2018 06:24:51 -0800 (PST) Received: from mail-it0-f50.google.com (mail-it0-f50.google.com. [209.85.214.50]) by smtp.gmail.com with ESMTPSA id y66sm4809082iod.48.2018.01.06.06.24.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 Jan 2018 06:24:50 -0800 (PST) Received: by mail-it0-f50.google.com with SMTP id p139so4597008itb.1; Sat, 06 Jan 2018 06:24:50 -0800 (PST) X-Received: by 10.36.51.202 with SMTP id k193mr6054046itk.130.1515248690343; Sat, 06 Jan 2018 06:24:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.149.147 with HTTP; Sat, 6 Jan 2018 06:24:29 -0800 (PST) In-Reply-To: <6F912304-B760-4DA2-AB74-C2C934026FC1@freebsd.org> References: <201801042237.w04MbFVR015965@repo.freebsd.org> <6F912304-B760-4DA2-AB74-C2C934026FC1@freebsd.org> From: Kyle Evans Date: Sat, 6 Jan 2018 08:24:29 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r327563 - in head/sys: arm/allwinner arm/conf arm64/conf conf To: Michael Tuexen Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org, "freebsd-arm@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jan 2018 14:24:58 -0000 On Sat, Jan 6, 2018 at 7:23 AM, Michael Tuexen wrote: >> On 4. Jan 2018, at 23:37, Kyle Evans wrote: >> >> Author: kevans >> Date: Thu Jan 4 22:37:15 2018 >> New Revision: 327563 >> URL: https://svnweb.freebsd.org/changeset/base/327563 >> >> Log: >> if_awg: Use syscon prop if it exists >> >> The emac bindings that are landing in Linux 4.15 specify a syscon property >> on the emac node that point to /soc/syscon. Use this property if it's >> specified, but maintain backwards compatibility with the old method. >> >> The older method is still used for boards that we get .dtb from u-boot, such >> as pine64, that did not yet have stable emac bindings. >> >> Tested on: Banana Pi-M3 (a83t) >> Tested on: Pine64 (a64) >> Reviewed by: manu >> Differential Revision: https://reviews.freebsd.org/D13296 > This breaks booting on a RPi3. Please note that it is not only panic'ing, > but there are multiple errors before that. Ugh, sorry about that. >>> FreeBSD EFI boot block > Loader path: /boot/loader.efi > > Initializing modules: UFS > Probing 3 block devices.....* done > UFS found 1 partition > Consoles: EFI console > Command line arguments: loader.efi > Image base: 0x39ab8008 > EFI version: 2.05 > EFI Firmware: Das U-boot (rev 0.00) > > FreeBSD/arm64 EFI loader, Revision 1.1 > (Wed Dec 6 19:13:14 CET 2017 root@bsd18.fh-muenster.de) > EFI boot environment > Loading /boot/defaults/loader.conf > /boot/kernel/kernel text=0x7f3b28 data=0xaac80+0x3a106d syms=[0x8+0x10e870+0x8+0x101345] > /boot/entropy size=0x1000 > /boot/kernel/geom_label.ko text=0x2a80 text=0x2710 data=0x10118+0xfeec syms=[0x8+0x1548+0x8+0xef2] > > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... > Using DTB provided by EFI at 0x8004000. > KDB: debugger backends: ddb > KDB: current backend: ddb > Copyright (c) 1992-2018 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 12.0-CURRENT #21 r327563M: Sat Jan 6 14:16:20 CET 2018 > tuexen@bsd10.fh-muenster.de:/usr/home/tuexen/head/sys/arm64/compile/TCP arm64 > FreeBSD clang version 5.0.1 (branches/release_50 319231) (based on LLVM 5.0.1) > VT: init without driver. > sysctl_warn_reuse: can't re-use a leaf (kern.features.geom_label)! > module_register: cannot register g_label from kernel; already loaded from geom_label.ko > Module g_label failed to register: 17 > Starting CPU 1 (1) > Starting CPU 2 (2) > Starting CPU 3 (3) > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > random: unblocking device. > module_register_init: MOD_LOAD (efirt, 0xffff0000000cb414, 0) error 12 > random: entropy device external interface > kbd0 at kbdmux0 > ofwbus0: > simplebus0: on ofwbus0 > ofw_clkbus0: on ofwbus0 > clk_fixed0: on ofw_clkbus0 > clk_fixed1: on ofw_clkbus0 > regfix0: on ofwbus0 > regfix1: on ofwbus0 > syscon_generic0: mem 0x40000000-0x400000ff on simplebus0 > psci0: on ofwbus0 > local_intc0: mem 0x40000000-0x400000ff on simplebus0 > local_intc0: could not allocate memory resource > device_attach: local_intc0 attach returned 6 Apologies for the breakage; this should be alleviated by r327621. There will still be some errors (syscon_generic cannot allocate memory resource), but that should be completely innocent in this case and will give me time to track down why syscon shares register space with local intc here.