From owner-freebsd-arm@freebsd.org Sat Jul 13 18:50:06 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 A4E0A15EE6FF for ; Sat, 13 Jul 2019 18:50:06 +0000 (UTC) (envelope-from samm@net-art.cz) Received: from zebra.net-art.cz (smtp-out.net-art.cz [IPv6:2001:1468::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "zebra.net-art.cz", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 07026684F4 for ; Sat, 13 Jul 2019 18:50:05 +0000 (UTC) (envelope-from samm@net-art.cz) Received: by zebra.net-art.cz (Postfix, from userid 65534) id CD7443343C; Sat, 13 Jul 2019 20:50:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=net-art.cz; s=netart; t=1563043800; bh=W8e3HWQdJtBrWcdnIsjr2k0rf+8+hYvx97z2Fna4d2I=; h=To:From:Subject:Date; b=ZxzMkgXH/UBrChkZZwtJDa5Qi8fzOkQNt4BNfJpiG4KqFpUdSHYswxjQ0WuB0oZtz KAsty7+VvAYf7XF3EyYreGq3+bVFzopXAUgeMJ0XEbyYuK1n+K4Q3dLnSqWki7Za8P W7VH98QASri0PbDJE6xhLGNtjwZKBaygC1g1OcAAnmo0BgvmM+5XWkiA6vK9c7KvX8 9pQ1Xqz/GHLXN4uGBLHWkKrep6rYlAEy0UfX9sEf1yVC0LC5K02NmWMmpwLe/8cxYL 65fLY50m8XGZyIubTAkP6mWnw7oPBGURz9B5uYHedN5GmeooYTrqZHM3XMk1+UVaht BgqEDy41TZfpQ== X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on zebra.dc.rinet.ru X-Spam-Level: X-Spam-Status: No, score=-1.9 required=10.0 tests=BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 Reported 0 times. [5 zebra.net-art.cz., 1000 coolmx.net-art.cz.] [188.130.248.80] autolearn=ham autolearn_force=no version=3.4.2 Received: from owl.net-art.cz (surikat.net-art.cz [185.82.212.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "owl.net-art.cz", Issuer "owl.net-art.cz" (verified OK)) by zebra.net-art.cz (Postfix) with ESMTPS id E56CD3343A for ; Sat, 13 Jul 2019 20:49:59 +0200 (CEST) Received: from [2001:1a48:6:10:d9a0:dce:26e1:b20f] (account samm@net-art.cz HELO Administrators-MacBook-Pro.local) by owl.net-art.cz (CommuniGate Pro SMTP 6.1.20) with ESMTPSA id 165244 for freebsd-arm@freebsd.org; Sat, 13 Jul 2019 20:49:59 +0200 To: "freebsd-arm@freebsd.org" From: Alex Samorukov Subject: FreeBSD 11.3-R does not boot on RPi1 Message-ID: <57851faa-180b-8033-d29a-129776d2d1fa@net-art.cz> Date: Sat, 13 Jul 2019 20:49:56 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Virus-Status: No X-Virus-Checker-Version: clamassassin 1.2.4 with clamdscan / ClamAV 0.101.1/25509/Sat Jul 13 10:08:40 2019 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: Sat, 13 Jul 2019 18:50:06 -0000 Hi. I tried today to boot 11.3 from the official image (FreeBSD-11.3-RELEASE-arm-armv6-RPI-B.img) and found that it does not work. I think it is a regression, as 11.2 boots on the same hw without any issues. I was using dd to put image to sd card. Bootlog is provided belowl Loading Environment from FAT... In:    serial Out:   vidconsole Err:   vidconsole Net:   No ethernet found. starting USB... USB0:   scanning bus 0 for devices... 3 USB Device(s) found        scanning usb for storage devices... 0 Storage Device(s) found Hit any key to stop autoboot:  0 MMC Device 0 not found no mmc device at slot 0 switch to partitions #0, OK mmc1 is current device Scanning mmc 1:1... Found U-Boot script /boot.scr 199 bytes read in 6 ms (32.2 KiB/s) ## Executing script at 02400000 285056 bytes read in 32 ms (8.5 MiB/s) ## Starting application at 0x00080000 ... Consoles: U-Boot console Compatible U-Boot API signature found @0x1bb40c80 FreeBSD/armv6 U-Boot loader, Revision 1.2 (Fri Jul  5 03:38:30 UTC 2019 root@releng2.nyi.freebsd.org) DRAM: 448MB Number of U-Boot devices: 1 U-Boot env: loaderdev not set, will probe all devices. Found U-Boot device: disk   Probing all devices...   Checking unit=0 slice= partition=... good. Booting from disk0s2a: Loading /boot/defaults/loader.conf /boot/kernel/kernel data=0x6482ac+0x19fd54 syms=[0x4+0xaae80+0x4+0x98ff0] / Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Using DTB provided by U-Boot at address 0x1bfea200. Kernel entry at 0x400100... Kernel args: (null) Copyright (c) 1992-2019 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 11.3-RELEASE #0 r349754: Fri Jul  5 03:51:28 UTC 2019 root@releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI-B arm FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) VT: init without driver. CPU: ARM ARM1176 r0p7 (ECO: 0x00000000) CPU Features:   Thumb, Security, VMSAv7 Optional instructions:   UMULL, SMULL, MLA, SIMD(ext)   16KB/32B 4-way instruction cache   16KB/32B 4-way WB data cache real memory  = 469757952 (447 MB) avail memory = 448118784 (427 MB) random: entropy device external interface kbd0 at kbdmux0 ofwbus0: simplebus0: on ofwbus0 bcm_dma0: mem 0x7e007000-0x7e007eff irq 4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 on simplebus0 bcm_dma0: cannot allocate interrupt device_attach: bcm_dma0 attach returned 6 bcmwd0: mem 0x7e100000-0x7e100027 on simplebus0 bcmrng0: mem 0x7e104000-0x7e10400f irq 20 on simplebus0 mbox0: mem 0x7e00b880-0x7e00b8bf irq 21 on simplebus0 mbox0: could not allocate interrupt resource device_attach: mbox0 attach returned 6 gpio0: mem 0x7e200000-0x7e2000b3 irq 22,23 on simplebus0 gpio0: cannot allocate resources gpio0: bcm_gpio_pic_detach: not implemented yet device_attach: gpio0 attach returned 6 uart0: mem 0x7e201000-0x7e201fff irq 24 on simplebus0 uart0: console (115200,n,8,1) bcm283x_dwcotg0: mem 0x7e980000-0x7e98ffff,0x7e006000-0x7e006fff irq 45,46 on simplebus0 bcm283x_dwcotg0: failed to set power state, err=6 device_attach: bcm283x_dwcotg0 attach returned 6 sdhci_bcm0: mem 0x7e300000-0x7e3000ff irq 48 on simplebus0 device_attach: sdhci_bcm0 attach returned 6 fb0: on simplebus0 device_attach: fb0 attach returned 6 vchiq0: mem 0x7e00b840-0x7e00b84e irq 51 on simplebus0 vchiq0: could not allocate interrupt resource device_attach: vchiq0 attach returned 6 gpioled0: on ofwbus0 gpioled0: failed to map pin cryptosoft0: panic: No usable event timer found! Uptime: 1s Automatic reboot in 15 seconds - press a key on the console to abort Rebooting...