Issues when running DT enabled kernel on iMX28 from linux-next

Shawn Guo shawn.guo at linaro.org
Thu May 17 21:01:42 EDT 2012


On Thu, May 17, 2012 at 04:03:43PM -0700, Subodh Nijsure wrote:
> 
> Should one be able to run top of the linux-next on MX28 EVK hardware
> with DT support enabled?

Yes, I'm running it well with next-20120516.

> I have attached boot log I see when I try to do that.
> 
One thing from the boot log worth checking is 

  [    0.820000] stmp_reset_block(f5010000): module reset timeout

My wild guess is stmp_reset_block call on mmc0 failed on your end.

> Further if one enables, CONFIG_MTD_NAND_GPMI_NAND=y
> CONFIG_MTD_NAND_PLATFORM=y code in
> drivers/mtd/nand/gpmi-nand/gpmi-nand.c doesn't compile because of
> this code:
> 
>         pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
>         if (IS_ERR(pinctrl)) {
>                 ret = PTR_ERR(pinctrl);
>                 goto exit_pin;
>         }
> 
Thanks for reporting it.  It's my bad.  I thought I had mxs_defconfig
build testing cover the change.  Actually, the gpmi is not enabled in
mxs_defconfig yet.  I will send the following fix to Arnd and Olof soon.

@@ -486,7 +486,7 @@ static int __devinit acquire_resources(struct gpmi_nand_data *this)
        if (ret)
                goto exit_dma_channels;

-       pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
+       pinctrl = devm_pinctrl_get_select_default(&this->pdev->dev);
        if (IS_ERR(pinctrl)) {
                ret = PTR_ERR(pinctrl);
                goto exit_pin;

-- 
Regards,
Shawn



More information about the linux-arm-kernel mailing list