From owner-freebsd-arm@freebsd.org Sat Jan 30 17:30:35 2016 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 84104A73973 for ; Sat, 30 Jan 2016 17:30:35 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.franken.de", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1F277163D; Sat, 30 Jan 2016 17:30:35 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from [192.168.1.200] (p4FE31ED4.dip0.t-ipconnect.de [79.227.30.212]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id 12F671C0B460E; Sat, 30 Jan 2016 18:30:32 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: Problem booting an Raspberry Pi B+ with recent kernels From: Michael Tuexen In-Reply-To: Date: Sat, 30 Jan 2016 18:30:30 +0100 Cc: "freebsd-arm@freebsd.org" , Zbyszek Bodek Content-Transfer-Encoding: quoted-printable Message-Id: References: <1B12DAA2-3FAD-4F0A-B5C1-C82EF307F1E5@freebsd.org> To: Zbigniew Bodek X-Mailer: Apple Mail (2.3112) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jan 2016 17:30:35 -0000 > On 30 Jan 2016, at 17:55, Zbigniew Bodek wrote: >=20 > Hello, >=20 > Please check this work-in-progress patch: > = https://people.freebsd.org/~zbb/arm/other/0001-Fix-debug_monitor-code-for-= older-ARMs-ARM11.patch Will do and report... Best regards Michael >=20 > It works on RPI-B but I will need to test it again on CA9 and CA15 > platforms before sending it for review. >=20 > Best regards > zbb >=20 > 2016-01-29 19:56 GMT+01:00 Zbigniew Bodek : >> Hello, >>=20 >> This may be due to HW watchpoints support. >> There are many Debug Arch implementations and the code is supposed to = check >> and enable or disable it accordingly but there may be a bug there. >> I asked people to test this on various platforms but maybe Raspberry = Pi >> tests were performed on Cortex-A7 Raspberry Pi. >> I will check this on the old Rapsberry today. >>=20 >> Best regards >> zbb >>=20 >> 2016-01-29 18:16 GMT+01:00 Michael Tuexen : >>=20 >>> Dear all, >>>=20 >>> tyring to compile/install/boot a recent kernel fails at the boot = level. >>> Here is the console output: >>>=20 >>> U-Boot 2013.01-rc1 (Oct 17 2015 - 00:45:25) >>>=20 >>> DRAM: 480 MiB >>> WARNING: Caches not enabled >>> MMC: bcm2835_sdhci: 0 >>> reading u-boot.env >>>=20 >>> ** Unable to read "u-boot.env" from mmc0:1 ** >>> Using default environment >>>=20 >>> In: serial >>> Out: lcd >>> Err: lcd >>> mbox: Timeout waiting for response >>> bcm2835: Could not set USB power state >>> Net: Net Initialization Skipped >>> No ethernet found. >>> reading uEnv.txt >>> ** Unable to read file uEnv.txt ** >>> Hit any key to stop autoboot: 0 >>> Booting from: mmc 0 ubldr >>> reading ubldr >>> 262248 bytes read in 55694 ms (3.9 KiB/s) >>> ## Starting application at 0x02000094 ... >>> Consoles: U-Boot console >>> Compatible U-Boot API signature found @1db682a8 >>>=20 >>> FreeBSD/armv6 U-Boot loader, Revision 1.2 >>> (root@releng2.nyi.freebsd.org, Sat Oct 17 01:09:56 UTC 2015) >>>=20 >>> DRAM: 480MB >>> Number of U-Boot devices: 1 >>> U-Boot env: loaderdev=3D'mmc 0' >>> Found U-Boot device: disk >>> Checking unit=3D0 slice=3D partition=3D... good. >>> /boot/kernel/kernel text=3D0x58fb98 data=3D0x555a4+0xe5e9c >>> syms=3D[0x4+0xc6da0+0x4+0x94793] >>>=20 >>> Hit [Enter] to boot immediately, or any other key for command = prompt. >>> Booting [/boot/kernel/kernel]... >>> Using DTB provided by U-Boot at address 0x100. >>> Kernel entry at 0x2200180... >>> Kernel args: (null) >>> panic: Undefined instruction in kernel. >>>=20 >>> Uptime: 1s >>>=20 >>> Please note that >>> * booting r294694 is fine. >>> * I'm only updating the kernel, the userland is still at 1100081. >>>=20 >>> Any idea? >>>=20 >>> Best regards >>> Michael >>>=20 >>> _______________________________________________ >>> freebsd-arm@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" >>>=20 >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" >=20