Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 2014 07:15:41 -0700
From:      Thomas Skibo <ThomasSkibo@sbcglobal.net>
To:        Ian Lepore <ian@FreeBSD.org>
Cc:        freebsd-arm <freebsd-arm@FreeBSD.org>
Subject:   Re: Microzed bug-fix,
Message-ID:  <5361058D.4020900@sbcglobal.net>
In-Reply-To: <1398815541.22079.46.camel@revolution.hippie.lan>
References:  <53601828.7030800@sbcglobal.net> <1398815541.22079.46.camel@revolution.hippie.lan>

next in thread | previous in thread | raw e-mail | index | archive | help


On 4/29/14, 4:52 PM, Ian Lepore wrote:
>
> There's a newer way to do this, but I didn't do the xilinx stuff when I
> set this up last year because I had no way to test it.  The new scheme
> lets you declare the physaddr and size of any regions to be
> device-mapped, and it dynamically allocates virtual address space for it
> from the top down, so device mapping doesn't waste any space.
>
> Please try the attached patch.  The *_VBASE defines are deleted because
> those things aren't at a fixed address anymore.  If it's ever necessary
> to get a virtual address outside of the bus_space system (like for a
> debugging uart) you can call arm_devmap_ptov().
>
> Oh -- I have 2G wandboards that have no trouble with memory.
>
> -- Ian
>

Thanks, Ian.  I tested the patch and it works.

--Thomas

-- 
--------
Thomas Skibo
ThomasSkibo@sbcglobal.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5361058D.4020900>