Microzed bug-fix,

Thomas Skibo ThomasSkibo at sbcglobal.net
Wed Apr 30 14:21:23 UTC 2014



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 at sbcglobal.net



More information about the freebsd-arm mailing list