From owner-freebsd-arm@FreeBSD.ORG Sun Apr 19 19:31:46 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 D87D8247 for ; Sun, 19 Apr 2015 19:31:46 +0000 (UTC) Received: from mail-wg0-x22a.google.com (mail-wg0-x22a.google.com [IPv6:2a00:1450:400c:c00::22a]) (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 72A2F32A for ; Sun, 19 Apr 2015 19:31:46 +0000 (UTC) Received: by wgyo15 with SMTP id o15so159063421wgy.2 for ; Sun, 19 Apr 2015 12:31:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XMxaJxkAB1gyjEK3EcHY2NHXtLLQPUfJyHTaS6Feye8=; b=qhtK30qdAGE38jLiPrkV225ofzDG8MTEqXVbHNCRu//TUk/S3/nCix4/FvNmU8eDdN H4Ee9pG11Fz4Z5f+u/cPM+Ua1bWvvN0seNvoJBuzbeS3VOXUXo3zEaefSYf21VPC7HJV 0Nh2/arcs0IInTyPVyoPuaiHJrInhdjRqUGqXSEOfQOSpaYBAkySgOTonYjltkgSucXO 3+p1ncBrpwgK6xur4Fd4KxPNcEiRkUdrUD6h4rouOtFnlz7HKiTF+ulJcqpATY5AuEQO sRkXUCJUIZWky6jjle/ZWvuezDaEx9z/oN25HvDd6/luWfQmbYlnM8gXoV714UcxtsH2 GftA== MIME-Version: 1.0 X-Received: by 10.180.73.198 with SMTP id n6mr19476252wiv.3.1429471905080; Sun, 19 Apr 2015 12:31:45 -0700 (PDT) Received: by 10.180.10.229 with HTTP; Sun, 19 Apr 2015 12:31:45 -0700 (PDT) In-Reply-To: References: Date: Sun, 19 Apr 2015 16:31:45 -0300 Message-ID: Subject: Re: Raspberry Pi B+ freeze during booting (new: r281074 causing it) From: Luiz Otavio O Souza To: Ralf Wenk Cc: "freebsd-arm@freebsd.org" 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: Sun, 19 Apr 2015 19:31:46 -0000 On 19 April 2015 at 15:43, Ralf Wenk wrote: > 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 Hi, This issue was fixed on r281200 Regards, Luiz