From owner-svn-src-all@FreeBSD.ORG Mon Sep 2 19:16:35 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4DC6EBCE; Mon, 2 Sep 2013 19:16:35 +0000 (UTC) (envelope-from ray@freebsd.org) Received: from smtp.dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id 06C902BDC; Mon, 2 Sep 2013 19:16:34 +0000 (UTC) Received: from rnote.ddteam.net (150-124-135-95.pool.ukrtel.net [95.135.124.150]) (Authenticated sender: ray) by smtp.dlink.ua (Postfix) with ESMTPSA id 20355C492D; Mon, 2 Sep 2013 22:16:33 +0300 (EEST) Date: Mon, 2 Sep 2013 22:16:15 +0300 From: Aleksandr Rybalko To: Rui Paulo Subject: Re: svn commit: r255130 - in head/sys: arm/conf arm/freescale/imx boot/fdt/dts Message-Id: <20130902221615.4f88fb27.ray@freebsd.org> In-Reply-To: References: <201309012015.r81KFaa9056648@svn.freebsd.org> <20130902112652.870eff18955c9b28fee978df@ddteam.net> Organization: FreeBSD.ORG X-Mailer: Sylpheed 3.1.2 (GTK+ 2.24.5; amd64-portbld-freebsd9.0) X-Operating-System: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, Aleksandr Rybalko , src-committers@freebsd.org, svn-src-all@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Sep 2013 19:16:35 -0000 On Mon, 2 Sep 2013 10:10:39 -0700 Rui Paulo wrote: > On 2 Sep 2013, at 01:26, Aleksandr Rybalko wrote: > > > Hello Rui! > > > > On Sun, 1 Sep 2013 20:15:36 +0000 (UTC) > > Rui Paulo wrote: > > > >> Author: rpaulo > >> Date: Sun Sep 1 20:15:35 2013 > >> New Revision: 255130 > >> URL: http://svnweb.freebsd.org/changeset/base/255130 > >> > >> Log: > >> Initial support for the Digi ConnectCore(c) i.MX53 / Wi-i.MX53 > >> boards. > >> > >> There are many drivers missing, but we can reach single user mode > >> now. > >> > >> Hardware graciously donated by Douglas Beattie. > >> > >> Added: > >> head/sys/arm/conf/DIGI-CCWMX53 (contents, props changed) > >> head/sys/arm/freescale/imx/files.imx53 (contents, props changed) > >> head/sys/arm/freescale/imx/imx53_machdep.c (contents, props > >> changed) head/sys/arm/freescale/imx/std.imx53 (contents, props > >> changed) head/sys/boot/fdt/dts/digi-ccwmx53.dts (contents, props > >> changed) head/sys/boot/fdt/dts/imx53x.dtsi (contents, props > >> changed) Modified: > >> head/sys/arm/freescale/imx/imx51_ccm.c > >> head/sys/arm/freescale/imx/imx51_gpio.c > >> head/sys/arm/freescale/imx/imx51_iomux.c > >> head/sys/arm/freescale/imx/imx51_machdep.c > >> head/sys/arm/freescale/imx/imx_gpt.c > >> head/sys/arm/freescale/imx/imx_wdog.c > >> > > > > [[cut]] > > > >> Modified: head/sys/arm/freescale/imx/imx51_machdep.c > >> ============================================================================== > >> --- head/sys/arm/freescale/imx/imx51_machdep.c Sun Sep 1 > >> 19:59:54 2013 (r255129) +++ > >> head/sys/arm/freescale/imx/imx51_machdep.c Sun Sep 1 > >> 20:15:35 2013 (r255130) @@ -107,7 +107,7 @@ > >> platform_devmap_init(void) > >> * Map segment where UART1 and UART2 located. > >> */ > >> fdt_devmap[0].pd_va = IMX51_DEV_VIRT_BASE + 0x03f00000; > >> - fdt_devmap[0].pd_pa = 0x73f00000; > >> + fdt_devmap[0].pd_pa = 0x53f00000; > > > > I hope it is just mistake, is it? > > Yes, fixed. Thanks > > > > >> fdt_devmap[0].pd_size = 0x00100000; > >> fdt_devmap[0].pd_prot = VM_PROT_READ | VM_PROT_WRITE; > >> fdt_devmap[0].pd_cache = PTE_NOCACHE; > >> > > > > [[cut]] > > > > And, do you board have own FDT blob? > > If it so, then better to try to use it. Otherwise, it is better to > > unify compatible property values, instead of do test for growing > > list. > > The FDT blob is not relevant to this since console.c is not using any > FDT functions. This is just a debugging aid for the platform bring up > until I get uart_dev_imx.c working correctly. That said, eventually > this will go away. The i.MX51 port you did has the same problem, > anyway. I'm not about console, just want to look what vendors start to supply with i.mx devices. > > -- > Rui Paulo > -- Aleksandr Rybalko