Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2013 21:33:55 +0200
From:      Aleksandr Rybalko <ray@ddteam.net>
To:        Aleksandr Rybalko <ray@freebsd.org>
Cc:        arm@FreeBSD.org, mips@freebsd.org, ppc@freebsd.org
Subject:   Re: [CFT + RFC] FDT resource management (patch)
Message-ID:  <20130317213355.c7145f17.ray@ddteam.net>
In-Reply-To: <20130301013545.3d438d8e.ray@freebsd.org>
References:  <20130301013545.3d438d8e.ray@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 1 Mar 2013 01:35:45 +0200
Aleksandr Rybalko <ray@freebsd.org> wrote:

> Hi,
> 
> at first sorry for cross post, but IIRC we have no FDT list yet and I
> don't want to break even single ppc/MPC85XX.
> 
> Now we have: fdtbus get physical address from the blob, map address
> (panic on SPI CS "address" :) ) to virtual and return it as resource
> to child bus (f.e. simplebus), but all other, not FDT based, ARCHes
> delegate this work to parent of device who request resource. As result
> we have virtual addresses in boot log + rman and it's try to map
> address for not mapable buses.
> 
> Two month ago I made the patch:
> http://people.freebsd.org/~ray/2012-12-25_fdt_correct_resource.diff
> but testing give good results for i.MX515(Efika), BCM2835(RPi),
> OMAPxxx(Pandaboard), but fail on Beagleboard.
> 
> Patch is simple, and I was surprised by BB problem, so I have to ask
> help with testing on everything using fdtbus/simplebus.
> 
> Please help/test/comment! 
> 
> Many thanks!
> 
> WBW
> -- 
> Aleksandr Rybalko <ray@freebsd.org>

Hi,

many thanks to Ian. He has found source of BeagleBone/BeagleBoard
problems. And it seems affect RPi SDHCI driver too.
So now patch updating on more bit.
It is removing usage vtophys on rman resource. Because normally we have
physical addresses in rman.

Fresh patch:
http://people.freebsd.org/~ray/2013-03-17_fdt_correct_resource.diff

If nobody objects I will commit it tomorrow.

Thanks!

WBW
-- 
Aleksandr Rybalko <ray@ddteam.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130317213355.c7145f17.ray>