From owner-freebsd-arm@freebsd.org Sat Jan 30 16:56:16 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 B40A1A72E8F for ; Sat, 30 Jan 2016 16:56:16 +0000 (UTC) (envelope-from zbodek@gmail.com) Received: from mail-lf0-x231.google.com (mail-lf0-x231.google.com [IPv6:2a00:1450:4010:c07::231]) (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 34A9875A; Sat, 30 Jan 2016 16:56:16 +0000 (UTC) (envelope-from zbodek@gmail.com) Received: by mail-lf0-x231.google.com with SMTP id l143so7150125lfe.2; Sat, 30 Jan 2016 08:56:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=5k5NesgCOUB0YJFqwRzn49Xc6bSr61ApsQSdEOnR4b4=; b=r9+/6uN8Vq7hPdasb2qvbIsmXcqa8U34HF7H7w+bcAwOvRpBua8uPvn2nHHEjzduy9 5Dy2/xhD2U/mYDChxZRiSZqLmbzqC9ZWPCc/6pR7mQnczAx+v5U4G4eW42ZeP4OWlVfb 9On5KcxJjEa17Hs3l08kC1S053d1aDdpVJ9Rl3eOHdWvCxIt14IbaMYez9a7nhMtjqEE S9YkAQwo8PXPd7vkFN5AqBEQECrq8Cny7d9Wb5g4NlTJ3I/0WNCGFf2IRjDDGqNYd1h1 RlvbDnX8BLQhRvw7S/4/LHQSoyFILvC9NtXjroOA4fBOTRzPjs8Ii90ugrUwjyXoDejV CWMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=5k5NesgCOUB0YJFqwRzn49Xc6bSr61ApsQSdEOnR4b4=; b=YdHefAdPpJEvbtJJ4yrkXGxfkm0eMndmjwwXwj8+iYrEJYuprnPcQ5QTQawRkiic6c qpOR7g/Y4pW6d0IVym5mqsW+az8SY184JEKFWOMZS92+wkgc2qeKQtHbi2JL/szPnHK+ YU7qXM1a2/S9EXCTh28DsvzEBqTsPxivsn8Mzxjne5mw1/2yRqBJVVMsInYKLyx0zXps JcXoNH5Jfqi9WWgPKj/wAHt8jPWm+6U63wiEGZZZyGEtVu1K6AIBnENcm2K/Sg0uqkYH 0Pthle9lNX5pysfm0NUtrWp2PsVLJlFJRpoJAobJMu9VbVdmqmwEXx+5N6U+0J5F0C6m 3DnQ== X-Gm-Message-State: AG10YOTszQIcG5aogPpjkYyZXyhubmUoTKlfr/xQwLubq3CATEukdvzACY0LVaH1bgJ4BuYHKdFKRl8xsQ0Jqg== X-Received: by 10.25.28.134 with SMTP id c128mr4516946lfc.95.1454172973828; Sat, 30 Jan 2016 08:56:13 -0800 (PST) MIME-Version: 1.0 Sender: zbodek@gmail.com Received: by 10.25.33.83 with HTTP; Sat, 30 Jan 2016 08:55:54 -0800 (PST) In-Reply-To: References: <1B12DAA2-3FAD-4F0A-B5C1-C82EF307F1E5@freebsd.org> From: Zbigniew Bodek Date: Sat, 30 Jan 2016 17:55:54 +0100 X-Google-Sender-Auth: 2TXoSnpJByO8V69yV56e014GhMU Message-ID: Subject: Re: Problem booting an Raspberry Pi B+ with recent kernels To: Michael Tuexen Cc: "freebsd-arm@freebsd.org" , Zbyszek Bodek Content-Type: text/plain; charset=UTF-8 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 16:56:16 -0000 Hello, Please check this work-in-progress patch: https://people.freebsd.org/~zbb/arm/other/0001-Fix-debug_monitor-code-for-older-ARMs-ARM11.patch It works on RPI-B but I will need to test it again on CA9 and CA15 platforms before sending it for review. Best regards zbb 2016-01-29 19:56 GMT+01:00 Zbigniew Bodek : > Hello, > > 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. > > Best regards > zbb > > 2016-01-29 18:16 GMT+01:00 Michael Tuexen : > >> Dear all, >> >> tyring to compile/install/boot a recent kernel fails at the boot level. >> Here is the console output: >> >> U-Boot 2013.01-rc1 (Oct 17 2015 - 00:45:25) >> >> DRAM: 480 MiB >> WARNING: Caches not enabled >> MMC: bcm2835_sdhci: 0 >> reading u-boot.env >> >> ** Unable to read "u-boot.env" from mmc0:1 ** >> Using default environment >> >> 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 >> >> FreeBSD/armv6 U-Boot loader, Revision 1.2 >> (root@releng2.nyi.freebsd.org, Sat Oct 17 01:09:56 UTC 2015) >> >> DRAM: 480MB >> Number of U-Boot devices: 1 >> U-Boot env: loaderdev='mmc 0' >> Found U-Boot device: disk >> Checking unit=0 slice= partition=... good. >> /boot/kernel/kernel text=0x58fb98 data=0x555a4+0xe5e9c >> syms=[0x4+0xc6da0+0x4+0x94793] >> >> 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. >> >> Uptime: 1s >> >> Please note that >> * booting r294694 is fine. >> * I'm only updating the kernel, the userland is still at 1100081. >> >> Any idea? >> >> Best regards >> Michael >> >> _______________________________________________ >> 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" >> > _______________________________________________ > 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"