FreeBSD/armv6z/clang on Raspberry Pi 512MB (with U-Boot + ubldr)

Daisuke Aoyama aoyama at peach.ne.jp
Wed Mar 6 12:43:35 UTC 2013


> 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
 



More information about the freebsd-arm mailing list