Date: Wed, 20 Apr 2016 11:02:50 -0700 From: Zbigniew Bodek <zbb@semihalf.com> To: Michael Tuexen <tuexen@freebsd.org> Cc: Zbigniew Bodek <zbb@freebsd.org>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: Problem booting an Raspberry Pi B+ with recent kernels Message-ID: <CAG7dG%2BzRnQ7GTmu6i5kS9CRLSErWYdxuB8=FMLPJ8g2v1ZJQ6w@mail.gmail.com> In-Reply-To: <7AC6AE4A-6823-4AE6-B230-A88BFFB23712@freebsd.org> References: <1B12DAA2-3FAD-4F0A-B5C1-C82EF307F1E5@freebsd.org> <CAG7dG%2ByJkzK=RECS-GJjqq2F%2BLqDigRvQhEDUW=F5u41TyUi9A@mail.gmail.com> <CALF_TxmrEPOp1jFZqY9O8CTVN3VBaqGq4GfbxKbD-SEyUFJ%2BhQ@mail.gmail.com> <7AC6AE4A-6823-4AE6-B230-A88BFFB23712@freebsd.org>
index | next in thread | previous in thread | raw e-mail
Hello, I've sent two patches related to HW watchpoints to review: https://reviews.freebsd.org/D6008 https://reviews.freebsd.org/D6009 I tested them on Arndale but it would be great if someone could test them on Raspberry-Pi (both of them, not one by one). Thanks and best regards zbb 2016-01-30 11:42 GMT-08:00 Michael Tuexen <tuexen@freebsd.org>: > > On 30 Jan 2016, at 17:55, Zbigniew Bodek <zbb@freebsd.org> wrote: > > > > 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 > I tested it. The Raspberry Pi B+ boots r295077 with you patch just fine. > It looks good to me. > > Thanks for your help! > > Best regards > Michael > > > > 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 <zbb@semihalf.com>: > >> 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 <tuexen@freebsd.org>: > >> > >>> 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=<auto> partition=<auto>... 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" > > > >help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG7dG%2BzRnQ7GTmu6i5kS9CRLSErWYdxuB8=FMLPJ8g2v1ZJQ6w>
