i.MX6 kernel uncompress: how to output uncompress messages?

Dirk Behme dirk.behme at de.bosch.com
Fri Jan 11 07:58:19 EST 2013


Hi,

using an older, non-multiplatform kernel which still uses

arch/arm/mach-imx/include/mach/uncompress.h

I wonder how the uncompress is supposed to set the 'uart_base' for i.MX6?

Looking in

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=arch/arm/mach-imx/include/mach/uncompress.h;h=477971b009308a929c53c19ce40c4b35c425d623;hb=69ac71d370b21cc52a2afd06f3a6d6d1da5edc75#l70

there doesn't seem to be any i.MX6 related case part?

This results in no

Uncompressing Linux... done, booting the kernle.

messages output on i.MX6. And with this the associated error messages in 
case anything goes wrong with the uncompression aren't output, either.

Adding a hack like

uart_base = MX6Q_UART4_BASE_ADDR;

outputs these uncompression messages.

What's the supposed clean way to do this?

Many thanks

Dirk




More information about the linux-arm-kernel mailing list