From owner-freebsd-arm@freebsd.org Fri Jan 29 18:56:46 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 51B09A72D0C for ; Fri, 29 Jan 2016 18:56:46 +0000 (UTC) (envelope-from zbb@semihalf.com) Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com [IPv6:2a00:1450:4010:c07::22d]) (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 BAD281A38 for ; Fri, 29 Jan 2016 18:56:45 +0000 (UTC) (envelope-from zbb@semihalf.com) Received: by mail-lf0-x22d.google.com with SMTP id c192so52796689lfe.2 for ; Fri, 29 Jan 2016 10:56:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=AEQib48IHYVbVAUGN0VUmXc/h5HP9DBoajL+Fvs9Xpo=; b=K9gyp8+iGzgXLdaAOnzk8dKeVww5jQEmBHExRCVkHgoAHYmO8+bZHmrIKwH/Dt/w7A JtvhJ+F9bxsuZAVLhyUBs7sPfBI3YfWOXDfEEfWzDjOHAws2Jy1CmFSaIDuICX3jYcYp e9lbVfEn3s8hpiSF8ScjNSVMmr+6Rfj53OsGVC7I8jIDXJWAK87fJawZqg5a09EMIAoC HjIjdpwmLnwz+48fe0D2BTabLwSaUBRxYwPsOiZGUyOnUFab2M2RQZh3y68htbybvAKN 3BBvtR/OIngCflwlfFaqTludKqFCmBwJPZEXQU+A0yYU8xoBPT0mcYcfY4zz5AUkINJL y9XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=AEQib48IHYVbVAUGN0VUmXc/h5HP9DBoajL+Fvs9Xpo=; b=Jlr/E1KZk7874AGNhrrEJws3KytqVeBdkEMZBEtEkbuqDTD5tgN+qLgfsa3+FKqoP9 UW85oyZfQcM6J8hXkGrYyjzh0fHha7Jz+haFvGelZtGsOQrq0PoYWPCVMyFHejLMJN+4 ZBS5s4yyzVcctIEpcJTyriawQzqKmKHFTi2pejlAvktwxREy3JBSu1RgaTNis2TTVvVb utV2PWTcwFKEW7CaXBpW2cxoLjvh0/o7wv5U2R167atvL1jveE5kK9cwfPGLrGvbaMfB MN841JV/stnSMPYjBbOlWGhA2A8jAhkRiAj67KtEjQO1u9P+668saDP1JvxBbvkzPhO2 4HlA== X-Gm-Message-State: AG10YOT06vwVPtyOiMWEPJl+guUSgl0pe2LrnAOHiaMC2UqO048ZqPO0LfLN7ubyWMmYWAV+PRD3KHYhCupyQw== X-Received: by 10.25.205.81 with SMTP id d78mr4122845lfg.15.1454093803631; Fri, 29 Jan 2016 10:56:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.198.7 with HTTP; Fri, 29 Jan 2016 10:56:24 -0800 (PST) In-Reply-To: <1B12DAA2-3FAD-4F0A-B5C1-C82EF307F1E5@freebsd.org> References: <1B12DAA2-3FAD-4F0A-B5C1-C82EF307F1E5@freebsd.org> From: Zbigniew Bodek Date: Fri, 29 Jan 2016 19:56:24 +0100 Message-ID: Subject: Re: Problem booting an Raspberry Pi B+ with recent kernels To: Michael Tuexen Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Fri, 29 Jan 2016 18:56:46 -0000 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" >