TLB programming in powerpc tree. Was: Accessing peripheral bus devices on 460GT

vb vb at vsbe.com
Fri Aug 22 15:14:15 EST 2008


On Thu, Aug 21, 2008 at 7:29 PM, vb <vb at vsbe.com> wrote:
>
> But the main problem is that the kernel never sets up TLBs for neither
> the peripheral device, nor the onboard flash. I don't seem to be able
> to find the place where this is supposed to happen. I assumed that
> ioremap_nocache would take care of that, but this is not the case.
>

well, in fact the TLB is set up as soon as an attempt to access the
peripheral is made. The problem apparently is the fact that the TLB
entry uses a wrong value in the nibble specifying the internal 460GT
block...


More information about the Linuxppc-embedded mailing list