From: Michal Simek Date: Fri, 29 May 2009 12:15:33 +0000 (+0200) Subject: microblaze: Fix problem with early_printk in startup X-Git-Tag: v2.6.31-rc1~360^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fee3c55d7fb9486f02d3285678d58e433ffe3c2a;p=pandora-kernel.git microblaze: Fix problem with early_printk in startup Problem arise when is incopatibility between kernel/dts/pvr and kernel tries to announce it. Early printk device (uartlite in our case) was in TLB 2 and when kernel extract DTB it necessary to allocate at least one TLB at the end of memory. First free TLB was number two where was early printk. But checking mechanism (kernel/dts/pvr) was after extrahing but TLB 2 was different. This caused that kernel hung up. Moving early printk device to TLB 63 solve it and we don't protect it which means that we can use early_printk messages only for initial parts of kernel then we rewrite TLB 63. Reported-by: Edgar E. Iglesias Signed-off-by: Michal Simek --- Reading git-diff-tree failed