mx6q boot on linux-next 20130703
Fabio Estevam
festevam at gmail.com
Thu Jul 4 00:08:13 EDT 2013
On Wed, Jul 3, 2013 at 8:52 PM, Fabio Estevam <festevam at gmail.com> wrote:
> Hi,
>
> I am running linux-next 20130703 on a mx6q board, and seeing a strange
> behaviour.
>
> Only if I enable DEBUG_LL + earlyprintk and disable
> CONFIG_SERIAL_FSL_LPUART (serial driver for the FSL Vybrid SoC), I am
> able to boot the kernel until the prompt.
>
> Does anyone have any suggestion?
Ok, I managed to boot the default imx_v6_v7_defconfig on my mx6q board if I do:
--- a/drivers/tty/serial/imx.c
+++ b/drivers/tty/serial/imx.c
@@ -1652,7 +1652,7 @@ static void __exit imx_serial_exit(void)
uart_unregister_driver(&imx_reg);
}
-module_init(imx_serial_init);
+arch_initcall(imx_serial_init);
module_exit(imx_serial_exit);
MODULE_AUTHOR("Sascha Hauer");
Is this the correct approach?
More information about the linux-arm-kernel
mailing list