From owner-freebsd-arm@FreeBSD.ORG Sun Apr 19 19:12:13 2015 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6B328D15 for ; Sun, 19 Apr 2015 19:12:13 +0000 (UTC) Received: from smtp.hs-karlsruhe.de (smtp.HS-Karlsruhe.DE [193.196.64.25]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 30DBCDB for ; Sun, 19 Apr 2015 19:12:12 +0000 (UTC) Received: from iz-wera01.hs-karlsruhe.de ([193.196.65.46]) by smtp.hs-karlsruhe.de with esmtp (Exim 4.80.1) (envelope-from ) id 1YjuBs-004cg6-OO; Sun, 19 Apr 2015 20:43:36 +0200 X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.6 From: Ralf Wenk To: freebsd-arm@FreeBSD.org Subject: Re: Raspberry Pi B+ freeze during booting (new: r281074 causing it) In-reply-to: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 19 Apr 2015 20:43:36 +0200 Message-Id: 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: Sun, 19 Apr 2015 19:12:13 -0000 Hello, I wrote at Wed, 15 Apr 2015 14:30:48 +0200: > with r281139 my RPi freeze while booting. The last two lines logged > are always the same and belong to the ethernet interface. > > ue0: on smsc0 > ue0: Ethernet address: b8:eb:71:8a:6d:0b > > [...] the last revision which kernel boots here successful is 281073. Release 281074 is the first one which shows the described problem. I tried to break into the kernel debugger or booted with verbose mode turned on to get more information. Unfortunately without any success. The log entry of release 281074 says Remove the extra copy of uart_fdt_get_clock and uart_fdt_get_shift. While here also use OF_getencprop in uart_fdt_get_clock. As I am using the boot console on serial port I am using a slightly changed kernel configuration (RPI-Bsc) with #device vt #device kbdmux #device ukbd commented as suggested in the default kernel configuration (RPI-B). Any suggestions what to do? Some ideas: - r281074 changes OF_getprop into OF_getencprop uart_cpu_fdt.c should I reverse it and give it a try? - Also the extra copy of uart_fdt_get_clock() in uart_bus_fdt.c contained the line *cell = fdt32_to_cpu(clock); just before the return(0); uart_fdt_get_clock() in uart_cpu_fdt.c r281073 contained it as well, but it was deleted in r281074. Was this statement useless? Ralf