[U-Boot] [BUG] common/console.c

Heiko Schocher hs at denx.de
Mon Sep 1 13:40:30 CEST 2008


Hello Jean-Christophe,

I compilied actual u-boot for the muas3001 board and tried to start
it, but it crashes in common/console.c console_init_r () ...

After reversing your Patch:

http://git.denx.de/?p=u-boot.git;a=commitdiff;h=c1de7a6daf9c657484e1c6d433f01fccd49a7f48#patch4

it works again fine.

It seems to me, that in console_init_r ()

struct list_head *list = device_get_list();

list points after device_get_list() not to a valid list ...

at least for MPC8260 systems!

bye
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list