From owner-freebsd-arm@FreeBSD.ORG Wed Jun 17 21:23:46 2015 Return-Path: Delivered-To: freebsd-arm@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 201B9B24 for ; Wed, 17 Jun 2015 21:23:46 +0000 (UTC) (envelope-from mihai.carabas@gmail.com) Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (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 AAC5231B for ; Wed, 17 Jun 2015 21:23:45 +0000 (UTC) (envelope-from mihai.carabas@gmail.com) Received: by wiga1 with SMTP id a1so152518099wig.0 for ; Wed, 17 Jun 2015 14:23:44 -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=8s2cXHZetopHlbt679UbCB/qreXTbuXrajCUJl2XKCU=; b=D7gzHsAPO3yxUWMqSz3I00YIMtR99B/fhZcZphtA7vCrFoubDLwvsmzVh/zJ/OH+l1 9G7CmKb/Bdk67Enh7CwS133UDCK4C5RPTIVmBPv2Yll9/1PEq51pBleV695xtIHkdJRA cFHXECKfwFKUMPnz9nhILte25rzsr3c8x1Faxq08WziGtfKHTFkmPpppxQ5ouVK3nBYl ZGZEAS0nue2uOowIvsFGKIRrCWEBWb7DBPPnStO7ZmATTAkAVuws6HdO6MgAGMiKkYHa 4fJUTb/wW/lzBBYEc7nhLnwbIfss1k9Al5UZlw8czx6h4WkyAcwhlV6HVZ8FdNbmkCIa cBzw== MIME-Version: 1.0 X-Received: by 10.180.109.226 with SMTP id hv2mr21548817wib.64.1434576224302; Wed, 17 Jun 2015 14:23:44 -0700 (PDT) Received: by 10.28.21.134 with HTTP; Wed, 17 Jun 2015 14:23:43 -0700 (PDT) Received: by 10.28.21.134 with HTTP; Wed, 17 Jun 2015 14:23:43 -0700 (PDT) In-Reply-To: <5581E07E.4070206@gmail.com> References: <5581E07E.4070206@gmail.com> Date: Thu, 18 Jun 2015 00:23:43 +0300 Message-ID: Subject: Re: porting freebsd-arm on FastModels - CortexA15 From: Mihai Carabas To: Julien Grall 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: Wed, 17 Jun 2015 21:23:46 -0000 On Jun 18, 2015 12:02 AM, "Julien Grall" wrote: > > Hi, > > > On 15/06/2015 12:41, Mihai Carabas wrote: >> >> On Sat, Jun 13, 2015 at 4:59 PM, Mihai Carabas >> wrote: >> I managed to pass through all these problems by fixing the DTS bugs (with >> some workarounds) that appeared and enabling some register access from >> secure-world in the boot-wrapper (the machine starts in SecureWorld and >> must give access to all coprocessors for NormalWorld). >> >> I've managed to get to interrupt controller and timer initialization, and >> it breaks at uart_ungrab [1]. Before this are some strange erros regarding >> the interrupts-cells. I don't understand why it complains with that 3 value >> (indeed the parent has size 3 for interrupts-cells, but the child node has >> it's value at 1). Anyone has any idea why this is happening? > > > I've got a similar issue with DTS shipped with ARMv8 Foundation model. Although they are not very important, FreeBSD can continue to boot without damage, but you won't be able to use the offending device. > > I'm still trying to figure out what's going on. But I expect to see an issue in the ofw driver as the DTS is valid. > I've dropped the complex DTS from ARM and I've created a simple one with only the cpu, interrupt controller, timer and console. That worked faster. Thanks, Mihai > Regards, > > -- > Julien Grall