status of linuxppc_2_4_devel for ppc405gp

Benjamin Herrenschmidt benh at
Thu Aug 23 21:08:18 EST 2001

>>I'm now able to run a very simple binary as init - basically "Hello,
>>world!" implemented with one write() syscall, and none of the libc
>>initialisation junk present.  A one write hello world with the normal
>>crt0 (statically linked) fails.
>Ok. So this would mean the problem is with the libc junk ? Hrm.
>I didn't trace that far yet, but I suspect the libc I've been
>using (the "normal" 6xx one) lacks some cache stuffs. I'm
>pretty convinced that we must inval the entire instructions cache
>each time we used to do icbi's (either that or handle the cache
>aliasing issues specific to the 405GP weird icache design).
>I'll do more experiments later today.

I found at least one other problem: The kernel is happily doing
tlbie's on the 405 (which doesn't support them). Among other places,
calls to flush_HPTE are turned into _tlbie which is not redefined
to do a tlbia, causing at least ioremap to break.

I'll push a fix for that today.


** Sent via the linuxppc-embedded mail list. See

More information about the Linuxppc-embedded mailing list