QorIQ P1020 dual core - driver initialization duplication

Arun KS getarunks at gmail.com
Fri Feb 7 00:50:21 EST 2014


Hi Maxime,


On Thu, Feb 6, 2014 at 9:23 PM, Maxime Moge <Maxime.Moge at sick.de> wrote:

> Hi guys,
>
> I m struggling to get rid of double kernel log while the kernel is booting.
>
> Here a part of the kernel messages:
>
> *WARNING: adjusting available memory to 30000000*
> *## Booting kernel from Legacy Image at 01000000 ...*
> *   Image Name:   Linux-3.0.34-rt55-02405-ge33c5eb*
> *   Created:      2014-02-06   8:45:28 UTC*
> *   Image Type:   PowerPC Linux Kernel Image (gzip compressed)*
> *   Data Size:    2559447 Bytes = 2.4 MiB*
> *   Load Address: 00000000*
> *   Entry Point:  00000000*
> *   Verifying Checksum ... OK*
> *## Loading init Ramdisk from Legacy Image at 02000000 ...*
> *   Image Name:   Myrootfs*
> *   Created:      2014-02-06   8:37:18 UTC*
> *   Image Type:   PowerPC Linux RAMDisk Image (gzip compressed)*
> *   Data Size:    27623382 Bytes = 26.3 MiB*
> *   Load Address: 00000000*
> *   Entry Point:  00000000*
> *   Verifying Checksum ... OK*
> *## Flattened Device Tree blob at 00c00000*
> *   Booting using the fdt blob at 0x00c00000*
> *   Uncompressing Kernel Image ... OK*
> *   Loading Ramdisk to 2e5a8000, end 2fffffd6 ... OK*
> *   Loading Device Tree to 03ffb000, end 03ffff85 ... OK*
> *WARNING: could not find compatible node fsl-usb2-mph or fsl-usb2-dr:
> FDT_ERR_NOTFOUND.*
> *WARNING: could not find compatible nodefsl-usb2-dr: FDT_ERR_NOTFOUND.*
> *[    0.000000] Using P1021 RDB-PC machine description*
> *[    0.000000] Memory CAM mapping: 1024 Mb, residual: 0Mb*
> *[    0.000000] Linux version 3.0.34-rt55-02405-ge33c5eb-dirty
> (freescale at freescale-sdk) (gcc version 4.7.2 (GCC) ) #369 SMP PREEMPT RT
> Thu Feb 6 16:44:45 CST 2014*
> *[    0.000000] CPU maps initialized for 1 thread per core*
> *setup_arch: bootmem*
> *mpc85xx_rdb_setup_arch()*
> *arch: exit*
> *[    0.000000] MPC85xx RDB board from Freescale Semiconductor*
> *[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts*
> *[    0.000000] PERCPU: Embedded 7 pages/cpu @80d13000 s5536 r8192 d14944
> u32768*
> *[    0.000000] Kernel command line: root=/dev/ram rw console=ttyS0,115200
> ramdisk_size=120000*
> *[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)*
> *[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288
> bytes)*
> *[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144
> bytes)*
> *[    0.000000] Memory: 1007244k/1048576k available (4840k kernel code,
> 41332k reserved, 184k data, 118k bss, 212k init)*
> *[    0.000000] Kernel virtual memory layout:*
> *[    0.000000]   * 0xfffdf000..0xfffff000  : fixmap*
> *[    0.000000]   * 0xfdffe000..0xfe000000  : early ioremap*
> *[    0.000000]   * 0xc1000000..0xfdffe000  : vmalloc & ioremap*
> *[    0.000000] Preemptible hierarchical RCU implementation.*
> *[    0.000000] NR_IRQS:512 nr_irqs:512 16*
> *[    0.000000] mpic: Setting up MPIC " OpenPIC  " version 1.2 at
> ffe40000, max 2 CPUs*
> *[    0.000000] mpic: ISU size: 256, shift: 8, mask: ff*
> *[    0.000000] mpic: Initializing for 256 sources*
> *[    0.000000] clocksource: timebase mult[5000000] shift[22] registered*
> *[    0.000000] Console: colour dummy device 80x25*
>
> *[    0.113973] pid_max: default: 32768 minimum: 301*
> *[    0.114260] Mount-cache hash table entries: 512*
> *[    0.116845] mpic: requesting IPIs...*
> *[    0.116962] e500 family performance monitor hardware support
> registered*
> *[    0.299317] Brought up 2 CPUs*
> *[    0.301369] NET: Registered protocol family 16*
> *[    0.305380] No RSTCR register, warm reboot won't work*
> *[    0.305748] /soc at ffe00000/gpio-controller at f000: registered as generic
> GPIO chip, base is 0x000000e0*
> *[    0.326128] bio: create slab <bio-0> at 0*
> *[    0.328607] SCSI subsystem initialized*
> *[    0.333035] Switching to clocksource timebase*
> *[    0.335427] Switched to NOHz mode on CPU #1*
> *[    0.335436] Switched to NOHz mode on CPU #0*
> *[    0.356165] NET: Registered protocol family 2*
> *[    0.356590] IP route cache hash table entries: 32768 (order: 5, 131072
> bytes)*
> *[    0.358539] TCP established hash table entries: 131072 (order: 8,
> 1048576 bytes)*
> *[    0.361071] TCP bind hash table entries: 65536 (order: 9, 2097152
> bytes)*
> *[    0.366245] TCP: Hash tables configured (established 131072 bind
> 65536)*
> *[    0.366255] TCP reno registered*
> *[    0.366287] UDP hash table entries: 512 (order: 3, 40960 bytes)*
> *[    0.366394] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes)*
> *[    0.366976] NET: Registered protocol family 1*
> *[    0.367316] Trying to unpack rootfs image as initramfs...*
> *[    0.368051] rootfs image is not initramfs (no cpio magic); looks like
> an initrd*
> *[    0.469005] Freeing initrd memory: 26976k freed*
> *[    0.487340] Freescale PowerQUICC MII Bus: probed*
> *[    0.487980] mdio_bus mdio at ffe24000: error probing PHY at address 0*
> *[    0.489284] mdio_bus mdio at ffe24000: error probing PHY at address 17*
> *[    0.489913] mdio_bus mdio at ffe24000: error probing PHY at address 2*
> *[    0.490583] Freescale PowerQUICC MII Bus: probed*
> *[    0.494156] fsl-l2ctlr ffe20000.l2-cache-controller: Entire L2 as
> cache, provide valid sram address and size*
> *[    0.494180] fsl-l2ctlr: probe of ffe20000.l2-cache-controller failed
> with error -22*
> *[    0.497185] Freescale PMC driver*
> *[    0.498443] audit: initializing netlink socket (disabled)*
> *[    0.498506] type=2000 audit(0.468:1): initialized*
> *[    0.511598] NTFS driver 2.1.30 [Flags: R/O].*
> *[    0.511820] msgmni has been set to 2019*
> *[    0.513589] io scheduler noop registered*
> *[    0.513598] io scheduler deadline registered*
> *[    0.513718] io scheduler cfq registered (default)*
> *[    0.000000] Using P1021 RDB-PC machine description*
> *[    0.000000] Memory CAM mapping: 1024 Mb, residual: 0Mb*
> *[    0.000000] Linux version 3.0.34-rt55-02405-ge33c5eb-dirty
> (freescale at freescale-sdk) (gcc version 4.7.2 (GCC) ) #369 SMP PREEMPT RT
> Thu Feb 6 16:44:45 CST 2014*
> *[    0.000000] CPU maps initialized for 1 thread per core*
> *[    0.000000] MPC85xx RDB board from Freescale Semiconductor*
> *[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts*
> *[    0.000000] PERCPU: Embedded 7 pages/cpu @80d13000 s5536 r8192 d14944
> u32768*
> *[    0.000000] Kernel command line: root=/dev/ram rw console=ttyS0,115200
> ramdisk_size=120000*
> *[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)*
> *[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288
> bytes)*
> *[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144
> bytes)*
> *[    0.000000] Memory: 1007244k/1048576k available (4840k kernel code,
> 41332k reserved, 184k data, 118k bss, 212k init)*
> *[    0.000000] Kernel virtual memory layout:*
> *[    0.000000]   * 0xfffdf000..0xfffff000  : fixmap*
> *[    0.000000]   * 0xfdffe000..0xfe000000  : early ioremap*
> *[    0.000000]   * 0xc1000000..0xfdffe000  : vmalloc & ioremap*
> *[    0.000000] Preemptible hierarchical RCU implementation.*
> *[    0.000000] NR_IRQS:512 nr_irqs:512 16*
> *[    0.000000] mpic: Setting up MPIC " OpenPIC  " version 1.2 at
> ffe40000, max 2 CPUs*
> *[    0.000000] mpic: ISU size: 256, shift: 8, mask: ff*
> *[    0.000000] mpic: Initializing for 256 sources*
> *[    0.000000] clocksource: timebase mult[5000000] shift[22] registered*
> *[    0.000000] Console: colour dummy device 80x25*
> *[    0.113973] pid_max: default: 32768 minimum: 301*
> *[    0.114260] Mount-cache hash table entries: 512*
> *[    0.116845] mpic: requesting IPIs...*
> *[    0.116962] e500 family performance monitor hardware support
> registered*
> *[    0.299317] Brought up 2 CPUs*
> *[    0.301369] NET: Registered protocol family 16*
> *[    0.305380] No RSTCR register, warm reboot won't work*
> *[    0.305748] /soc at ffe00000/gpio-controller at f000: registered as generic
> GPIO chip, base is 0x000000e0*
> *[    0.326128] bio: create slab <bio-0> at 0*
> *[    0.328607] SCSI subsystem initialized*
> *[    0.333035] Switching to clocksource timebase*
> *[    0.335427] Switched to NOHz mode on CPU #1*
> *[    0.335436] Switched to NOHz mode on CPU #0*
> *[    0.356165] NET: Registered protocol family 2*
> *[    0.356590] IP route cache hash table entries: 32768 (order: 5, 131072
> bytes)*
> *[    0.358539] TCP established hash table entries: 131072 (order: 8,
> 1048576 bytes)*
> *[    0.361071] TCP bind hash table entries: 65536 (order: 9, 2097152
> bytes)*
> *[    0.366245] TCP: Hash tables configured (established 131072 bind
> 65536)*
> *[    0.366255] TCP reno registered*
> *[    0.366287] UDP hash table entries: 512 (order: 3, 40960 bytes)*
> *[    0.366394] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes)*
> *[    0.366976] NET: Registered protocol family 1*
> *[    0.367316] Trying to unpack rootfs image as initramfs...*
> *[    0.368051] rootfs image is not initramfs (no cpio magic); looks like
> an initrd*
> *[    0.469005] Freeing initrd memory: 26976k freed*
> *[    0.487340] Freescale PowerQUICC MII Bus: probed*
> *[    0.487980] mdio_bus mdio at ffe24000: error probing PHY at address 0*
> *[    0.489284] mdio_bus mdio at ffe24000: error probing PHY at address 17*
> *[    0.489913] mdio_bus mdio at ffe24000: error probing PHY at address 2*
> *[    0.490583] Freescale PowerQUICC MII Bus: probed*
> *[    0.494156] fsl-l2ctlr ffe20000.l2-cache-controller: Entire L2 as
> cache, provide valid sram address and size*
> *[    0.494180] fsl-l2ctlr: probe of ffe20000.l2-cache-controller failed
> with error -22*
> *[    0.497185] Freescale PMC driver*
> *[    0.498443] audit: initializing netlink socket (disabled)*
> *[    0.498506] type=2000 audit(0.468:1): initialized*
> *[    0.511598] NTFS driver 2.1.30 [Flags: R/O].*
> *[    0.511820] msgmni has been set to 2019*
> *[    0.513589] io scheduler noop registered*
> *[    0.513598] io scheduler deadline registered*
> *[    0.513718] io scheduler cfq registered (default)*
> *[    0.723505] Freescale DIU driver*
> *[    0.951694] Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled*
> *[    0.974326] serial8250.0: ttyS0 at MMIO 0xffe04500 (irq = 42) is a
> 16550A*
> *[    1.354250] serial8250.0: ttyS1 at MMIO 0xffe04600 (irq = 42) is a
> 16550A*
> *[    1.354250] serial8250.0: ttyS1 at MMIO 0xffe04600 (irq = 42) is a
> 16550A*
> *[    1.369442] Generic non-volatile memory driver v1.1*
> *[    1.369442] Generic non-volatile memory driver v1.1*
> *[    1.382020] brd: module loaded*
> *[    1.382020] brd: module loaded*
> *[    1.388215] loop: module loaded*
> *[    1.388215] loop: module loaded*
> *[    1.388225] st: Version 20101219, fixed bufsize 32768, s/g segs 256*
> *[    1.388225] st: Version 20101219, fixed bufsize 32768, s/g segs 256*
> *[    1.394798] m25p80 spi32766.0: s25fl129p1 (16384 Kbytes)*
> *[    1.394798] m25p80 spi32766.0: s25fl129p1 (16384 Kbytes)*
> *[    1.394817] Creating 2 MTD partitions on "spi32766.0":*
> *[    1.394817] Creating 2 MTD partitions on "spi32766.0":*
> *[    1.394831] 0x000000000000-0x000000500000 : "SPI Flash U-Boot Image"*
> *[    1.394831] 0x000000000000-0x000000500000 : "SPI Flash U-Boot Image"*
> *[    1.410261] ftl_cs: FTL header not found.*
> *[    1.410261] ftl_cs: FTL header not found.*
> *[    1.411378] 0x000000500000-0x000001000000 : "SPI Flash utilities"*
> *[    1.411378] 0x000000500000-0x000001000000 : "SPI Flash utilities"*
>
>
> Do you have any idea how to resolve this issue?
>
> How do I eventually configure the kernel in order to get it resolved?
>

I think this is because of CONFIG_DEBUG_LL.
Try disabling.

Thanks,
Arun


>
> Thank you very much in advance
>
> SICK AG - Sitz: Waldkirch i. Br. - Handelsregister: Freiburg i. Br. HRB
> 280355
> Vorstand: Dr. Robert Bauer (Vorsitzender)  -  Reinhard Bösl  -  Dr. Mats
> Gökstorp  -  Dr. Martin Krämer  -  Markus Vatter
> Aufsichtsrat: Gisela Sick (Ehrenvorsitzende) - Klaus M. Bukenberger
> (Vorsitzender)
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140207/30fd9a12/attachment-0001.html 


More information about the Kernelnewbies mailing list