Update:
I made some debugging.
Messages seem to come mostly from drivers/base/dd.c.
Log message importance has been lowered from _info to _debug. That is why
"probe deferral" message was not present in "rt-4.1" log.
Now after adding more prints it seems that nand and some other devices like
i2c are added to deferral list. They are re-probed successfully except nand
(actually 50000000.gpmc). Only following lines come from deferred gpmc
probe:
[    1.778365] platform 50000000.gpmc: Retrying from deferred list
[    1.778412] bus: 'platform': really_probe: probing driver omap-gpmc with
device 50000000.gpmc
[    1.778828] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    1.778843] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000

First two are lines that come when I changed dev_debug print functions to
dev_info functions in deferred_probe_work_func and
really_probe. Probing does not care about nand anymore.

That's for now - I'm somewhat confused!

Merry Christmas!
-Matti

2015-12-22 16:22 GMT+02:00 matti kaasinen <[email protected]>:

> Hi!
>
> I try to upgrade from linux-ti-staging-3.14 to .. -rt-4.1.
>
> Most of service seems to work after fiddling with device tree and kernel
> configs. However, I just can't figure out why nand flash does not get
> probed.
> I don't get any error messages, some warnings, though.
>
> Clear differences are that rt-41 has emif message, but does not have
> "probe deferral" message
>
> -------
> rt-4.1
> -------
> [    0.243614] omap-gpmc 50000000.gpmc: could not find pctldev for node
> /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_default,
> deferring probe
> ...
> [    1.296180]  remoteproc0: Direct firmware load for
> am335x-pm-firmware.elf failed with error -2
> [    1.300299] ti_emif_sram 4c000000.emif: Unable to get sram pool for
> ocmcram
> ...
> [    1.320653] omap-gpmc 50000000.gpmc: GPMC revision 6.0
> [    1.320668] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
> .....
> no partition messages in log nor proper contents in /proc/mtd
>
> ------
> 3.13
> ------
> [    0.305249] omap-gpmc 50000000.gpmc: could not find pctldev for node
> /pinmux@44e10800/nandflash_pins_default, deferring probe
> [    0.305307] platform 50000000.gpmc: Driver omap-gpmc requests probe
> deferral
> ....
> [    2.272467] omap-gpmc 50000000.gpmc: GPMC revision 6.0
> [    2.278170] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
> [    2.286917] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
> [    2.293595] nand: Micron MT29F2G08ABAEAWP
> [    2.297903] nand: 256MiB, SLC, page size: 2048, OOB size: 64
> [    2.303833] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
> [    2.309991] 10 ofpart partitions found on MTD device omap2-nand.0
> [    2.316478] Creating 10 MTD partitions on "omap2-nand.0":
> [    2.322149] 0x000000000000-0x000000020000 : "NAND.SPL"
> [    2.334053] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
> ...
>
> Do anyone else make sense out of this?
>
> Thanks,
> Matti
>
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to