Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Mar 2013 21:43:28 +0900
From:      "Daisuke Aoyama" <aoyama@peach.ne.jp>
To:        "Oleksandr Tymoshenko" <gonzo@bluezbox.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: FreeBSD/armv6z/clang on Raspberry Pi 512MB (with U-Boot + ubldr)
Message-ID:  <DCFED2B21AAB4EC19FF4358CEEAB1C3A@ad.peach.ne.jp>
In-Reply-To: <51364F20.500@bluezbox.com>
References:  <B5F827FF91C94FF2AFEE00194A2BB2C5@ad.peach.ne.jp> <B508111FCE534B2CBA61F4D1EC1078D3@ad.peach.ne.jp> <D3ABE3919EA74D668DB060952B5CD8C0@ad.peach.ne.jp> <2659960079254C38ACD2F1DCBB7A1A19@ad.peach.ne.jp> <E48DEAF481F74C69A1BC7A01F2B8E74A@ad.peach.ne.jp> <D867259F89CF44409C2359527D0263D4@ad.peach.ne.jp> <512FD3E8.4000307@bluezbox.com> <2D2EAE5B346840A49A5D99A9BFD1DA1D@ad.peach.ne.jp> <51364F20.500@bluezbox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> These are not really required. With current code if dreq is zero it will
> overwrite info bits properly while when patched - bits will be left untouched
> from previous setup call.

No, you need it. Current code cannot handle PERMAP (not INFO_S_DREQ and INFO_D_DREQ) if calling 
it with:

setup_src(IO/DREQ_XXXX) *1
setup_dst(mem/DREQ_NONE)

or

setup_dst(IO/DREQ_XXXX) *2
setup_src(mem/DREQ_NONE)

Note: Peripheral Mapping(20:16, see p.51) is shared by both src and dst.
At least, you cannot use like:

> info &= ~INFO_PERMAP_MASK;

Because, previous call (*1 and *2) may put a value to it.

-- 
Daisuke Aoyama
 




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