RZG2UL:Boot log error

Hii Team,

Currently i am using VLP3.0.5 Update-3

in boot log i am getting the messgae like below

gpio gpiochip0: (11030000.pinctrl): detected irqchip that is shared with multiple gpiochips: please fix the driver

What will be the cause for the above print?

Regards,

Ashritha

Parents
  • Hi Ashritha,
    Can you please share your full bootlog?
    Kind Regards.

  • NOTICE: BL2: v2.9(release):4319873-dirty
    NOTICE: BL2: Built : 12:14:16, May 24 2024
    NOTICE: BL2: eMMC boot from partition 1
    NOTICE: BL2: Load dst=0x1f740 src=(p:1)0x20000(256) len=0x10(1)
    NOTICE: BL2: eMMC boot from partition 1
    NOTICE: BL2: Load dst=0x1f8a0 src=(p:1)0x20010(256) len=0x28(1)
    NOTICE: BL2: eMMC boot from partition 1
    NOTICE: BL2: Load dst=0x44000000 src=(p:1)0x20090(256) len=0x6069(49)
    NOTICE: BL2: eMMC boot from partition 1
    NOTICE: BL2: Load dst=0x1f740 src=(p:1)0x20000(256) len=0x10(1)
    NOTICE: BL2: eMMC boot from partition 1
    NOTICE: BL2: Load dst=0x1f8a0 src=(p:1)0x20010(256) len=0x28(1)
    NOTICE: BL2: Load dst=0x1f8a0 src=(p:1)0x20038(256) len=0x28(1)
    NOTICE: BL2: eMMC boot from partition 1
    NOTICE: BL2: Load dst=0x50000000 src=(p:1)0x26100(304) len=0xb2e70(1432)
    NOTICE: BL2: Booting BL31
    NOTICE: BL31: v2.9(release):4319873-dirty
    NOTICE: BL31: Built : 12:14:16, May 24 2024


    U-Boot 2021.10 (May 31 2024 - 06:44:29 +0000)

    CPU: Renesas Electronics CPU rev 1.0
    Model: iW-RainboW-G53M-RZ/G2UL-OSM
    DRAM: 1.9 GiB
    WDT: watchdog@0000000012800800
    WDT: Started with servicing (60s timeout)
    MMC: sd@11c00000: 0, sd@11c10000: 1
    Loading Environment from MMC... OK
    In: serial@1004b800
    Out: serial@1004b800
    Err: serial@1004b800
    U-boot WDT started!

    Board Info:
    BSP Version : iW-PRHGZ-SC-01-R2.0-REL1.0a-Linux5.10.184
    SOM Version : iW-PRHGZ-AP-01-R2.0

    Net: eth0: ethernet@11c20000 [PRIME]
    Hit any key to stop autoboot: 2 1 0
    switch to partitions #0, OK
    mmc0(part 0) is current device
    17773056 bytes read in 770 ms (22 MiB/s)
    Booting from mmc ...
    28846 bytes read in 14 ms (2 MiB/s)
    Moving Image from 0x48080000 to 0x48200000, end=49360000
    ## Flattened Device Tree blob at 48000000
    Booting using the fdt blob at 0x48000000
    Loading Device Tree to 0000000057ff5000, end 0000000057fff0ad ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
    [ 0.000000] Linux version 5.10.184-cip36-yocto-standard (oe-user@oe-host) (aarch64-poky-linux-gcc (GCC) 8.3.0, GNU ld (GNU Binutils) 2.31.1) #1 SMP PREEMPT Mon May 27 12:25:05 UTC 2024
    [ 0.000000] Machine model: iW-RainboW-G53M-RZG2UL-OSM
    [ 0.000000] earlycon: scif0 at MMIO 0x000000001004b800 (options '115200n8')
    [ 0.000000] printk: bootconsole [scif0] enabled
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000058000000, size 256 MiB
    [ 0.000000] OF: reserved mem: initialized node linux,cma@58000000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000068000000, size 128 MiB
    [ 0.000000] OF: reserved mem: initialized node linux,multimedia, compatible id shared-dma-pool
    [ 0.000000] Zone ranges:
    [ 0.000000] DMA [mem 0x0000000048000000-0x00000000bfffffff]
    [ 0.000000] DMA32 empty
    [ 0.000000] Normal empty
    [ 0.000000] Movable zone start for each node
    [ 0.000000] Early memory node ranges
    [ 0.000000] node 0: [mem 0x0000000048000000-0x00000000bfffffff]
    [ 0.000000] Initmem setup node 0 [mem 0x0000000048000000-0x00000000bfffffff]
    [ 0.000000] psci: probing for conduit method from DT.
    [ 0.000000] psci: PSCIv1.1 detected in firmware.
    [ 0.000000] psci: Using standard PSCI v0.2 function IDs
    [ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
    [ 0.000000] psci: SMC Calling Convention v1.2
    [ 0.000000] percpu: Embedded 23 pages/cpu s55384 r8192 d30632 u94208
    [ 0.000000] Detected VIPT I-cache on CPU0
    [ 0.000000] CPU features: detected: GIC system register CPU interface
    [ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 483840
    [ 0.000000] Kernel command line: console=ttySC0,115200 earlycon root=/dev/mmcblk0p2 rootwait rw wdt_overflow=0
    [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [ 0.000000] Memory: 1515112K/1966080K available (10816K kernel code, 1036K rwdata, 3364K rodata, 2048K init, 387K bss, 57752K reserved, 393216K cma-reserved)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] rcu: Preemptible hierarchical RCU implementation.
    [ 0.000000] rcu: RCU event tracing is enabled.
    [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
    [ 0.000000] Trampoline variant of Tasks RCU enabled.
    [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [ 0.000000] GICv3: 480 SPIs implemented
    [ 0.000000] GICv3: 0 Extended SPIs implemented
    [ 0.000000] GICv3: Distributor has no Range Selector support
    [ 0.000000] GICv3: 16 PPIs implemented
    [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000011940000
    [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
    [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
    [ 0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
    [ 0.008237] Console: colour dummy device 80x25
    [ 0.012736] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
    [ 0.023044] pid_max: default: 32768 minimum: 301
    [ 0.027827] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [ 0.035265] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [ 0.044830] rcu: Hierarchical SRCU implementation.
    [ 0.050334] Detected Renesas RZ/G2UL r9a07g043 Rev 1
    [ 0.055441]
    [ 0.055441] Board Info:
    [ 0.059393] BSP Version : iW-PRHGZ-SC-01-R2.0-REL1.0a-Linux5.10.184
    [ 0.066294] SOM Version : iW-PRHGZ-AP-01-R2.0
    [ 0.066294]
    [ 0.073000] EFI services will not be available.
    [ 0.077752] smp: Bringing up secondary CPUs ...
    [ 0.082319] smp: Brought up 1 node, 1 CPU
    [ 0.086345] SMP: Total of 1 processors activated.
    [ 0.091073] CPU features: detected: Privileged Access Never
    [ 0.096666] CPU features: detected: LSE atomic instructions
    [ 0.102259] CPU features: detected: User Access Override
    [ 0.107591] CPU features: detected: 32-bit EL0 Support
    [ 0.112748] CPU features: detected: Common not Private translations
    [ 0.119039] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
    [ 0.127679] CPU features: detected: CRC32 instructions
    [ 0.132836] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
    [ 0.139826] CPU features: detected: 32-bit EL1 Support
    [ 0.161174] CPU: All CPU(s) started at EL1
    [ 0.165355] alternatives: patching kernel code
    [ 0.172353] devtmpfs: initialized
    [ 0.181184] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [ 0.191042] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
    [ 0.208379] pinctrl core: initialized pinctrl subsystem
    [ 0.214558] DMI not present or invalid.
    [ 0.218982] NET: Registered protocol family 16
    [ 0.225047] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [ 0.232316] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [ 0.240261] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [ 0.248336] audit: initializing netlink subsys (disabled)
    [ 0.254578] thermal_sys: Registered thermal governor 'step_wise'
    [ 0.254909] cpuidle: using governor menu
    [ 0.264922] audit: type=2000 audit(0.172:1): state=initialized audit_enabled=0 res=1
    [ 0.272905] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [ 0.279764] ASID allocator initialised with 65536 entries
    [ 0.308658] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [ 0.315484] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [ 0.322316] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [ 0.329053] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [ 0.337610] cryptd: max_cpu_qlen set to 1000
    [ 0.345801] debugfs: Directory 'fixed-1.8V' with parent 'regulator' already present!
    [ 0.354452] iommu: Default domain type: Translated
    [ 0.360339] vgaarb: loaded
    [ 0.363372] SCSI subsystem initialized
    [ 0.367702] usbcore: registered new interface driver usbfs
    [ 0.373339] usbcore: registered new interface driver hub
    [ 0.378714] usbcore: registered new device driver usb
    [ 0.384496] mc: Linux media interface: v0.10
    [ 0.388820] videodev: Linux video capture interface: v2.00
    [ 0.394403] pps_core: LinuxPPS API ver. 1 registered
    [ 0.399390] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
    [ 0.408572] PTP clock support registered
    [ 0.412536] EDAC MC: Ver: 3.0.0
    [ 0.416934] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.424003] clocksource: Switched to clocksource arch_sys_counter
    [ 0.430451] VFS: Disk quotas dquot_6.6.0
    [ 0.434477] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [ 0.447530] NET: Registered protocol family 2
    [ 0.452219] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [ 0.461133] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
    [ 0.469879] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [ 0.477959] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
    [ 0.485600] TCP: Hash tables configured (established 16384 bind 16384)
    [ 0.492358] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [ 0.499149] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [ 0.506533] NET: Registered protocol family 1
    [ 0.511457] RPC: Registered named UNIX socket transport module.
    [ 0.517467] RPC: Registered udp transport module.
    [ 0.522196] RPC: Registered tcp transport module.
    [ 0.526920] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.533395] PCI: CLS 0 bytes, default 64
    [ 0.538113] kvm [1]: HYP mode not available
    [ 0.544374] workingset: timestamp_bits=46 max_order=19 bucket_order=0
    [ 0.557750] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.564599] NFS: Registering the id_resolver key type
    [ 0.569768] Key type id_resolver registered
    [ 0.573978] Key type id_legacy registered
    [ 0.578106] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [ 0.584840] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [ 0.592292] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    [ 0.599134] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [ 0.606593] io scheduler mq-deadline registered
    [ 0.611147] io scheduler kyber registered
    [ 0.661383] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [ 0.668963] SuperH (H)SCI(F) driver initialized
    [ 0.685718] loop: module loaded
    [ 0.691650] tun: Universal TUN/TAP device driver, 1.6
    [ 0.697056] CAN device driver interface
    [ 0.701388] e1000e: Intel(R) PRO/1000 Network Driver
    [ 0.706412] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [ 0.713089] VFIO - User Level meta-driver version: 0.3
    [ 0.718592] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 0.725209] ehci-pci: EHCI PCI platform driver
    [ 0.729740] ehci-platform: EHCI generic platform driver
    [ 0.735728] ehci-platform 11c70100.usb: EHCI Host Controller
    [ 0.741472] ehci-platform 11c70100.usb: new USB bus registered, assigned bus number 1
    [ 0.749456] ehci-platform 11c70100.usb: irq 94, io mem 0x11c70100
    [ 0.768018] ehci-platform 11c70100.usb: USB 2.0 started, EHCI 1.10
    [ 0.774933] hub 1-0:1.0: USB hub found
    [ 0.778784] hub 1-0:1.0: 1 port detected
    [ 0.783449] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [ 0.789716] ohci-pci: OHCI PCI platform driver
    [ 0.794256] ohci-platform: OHCI generic platform driver
    [ 0.800140] ohci-platform 11c70000.usb: Generic Platform OHCI controller
    [ 0.807120] ohci-platform 11c70000.usb: new USB bus registered, assigned bus number 2
    [ 0.815128] ohci-platform 11c70000.usb: irq 92, io mem 0x11c70000
    [ 0.910684] hub 2-0:1.0: USB hub found
    [ 0.914531] hub 2-0:1.0: 1 port detected
    [ 0.920079] usbcore: registered new interface driver usb-storage
    [ 0.927007] renesas_usbhs 11c60000.usb: host probed
    [ 0.931969] renesas_usbhs 11c60000.usb: no transceiver found
    [ 0.937799] renesas_usbhs 11c60000.usb: gadget probed
    [ 0.943931] usbcore: registered new interface driver usbtouchscreen
    [ 0.950511] i2c /dev entries driver
    [ 0.958683] rzg2l-csi2 10830400.csi2: 2 lanes found
    [ 0.966939] EDAC rzg2l-edac: IO mapped reg addr: 0x11410000
    [ 0.972889] EDAC MC0: Giving out device to module rzg2l-edac controller renesas,r9a07g043-edac: DEV 11410000.edac (INTERRUPT)
    [ 0.986921] ledtrig-cpu: registered to indicate activity on CPUs
    [ 0.993095] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [ 1.000233] clocksource: timer@12801400: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
    [ 1.010214] sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 21474836475ns
    [ 1.018175] /soc/timer@12801400: used for clocksource
    [ 1.023321] usb usb1-port1: over-current condition
    [ 1.028464] /soc/timer@12801800: used for clock events
    [ 1.034689] usbcore: registered new interface driver usbhid
    [ 1.040316] usbhid: USB HID core driver
    [ 1.044752] optee: probing for conduit method.
    [ 1.049238] optee: api uid mismatch
    [ 1.052760] optee: probe of firmware:optee failed with error -22
    [ 1.060941] NET: Registered protocol family 10
    [ 1.066463] Segment Routing with IPv6
    [ 1.070307] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 1.076796] NET: Registered protocol family 17
    [ 1.081295] can: controller area network core
    [ 1.085745] NET: Registered protocol family 29
    [ 1.090271] can: raw protocol
    [ 1.093294] can: broadcast manager protocol
    [ 1.097524] can: netlink gateway - max_hops=1
    [ 1.101992] usb usb2-port1: over-current condition
    [ 1.107038] Key type dns_resolver registered
    [ 1.111921] registered taskstats version 1
    [ 1.123298] thermal emergency: not set value
    [ 1.129576] gpio gpiochip0: (11030000.pinctrl): detected irqchip that is shared with multiple gpiochips: please fix the driver.
    [ 1.141447] pinctrl-rzg2l 11030000.pinctrl: pinctrl-rzg2l support registered
    [ 1.151602] 1004b800.serial: ttySC0 at MMIO 0x1004b800 (irq = 15, base_baud = 0) is a scif
    [ 1.160104] printk: console [ttySC0] enabled
    [ 1.160104] printk: console [ttySC0] enabled
    [ 1.168628] printk: bootconsole [scif0] disabled
    [ 1.168628] printk: bootconsole [scif0] disabled
    [ 1.184969] ravb 11c20000.ethernet eth0: Base address at 0x11c20000, 00:01:02:03:04:05, IRQ 88.
    [ 1.220048] ehci-platform 11c50100.usb: EHCI Host Controller
    [ 1.225741] ehci-platform 11c50100.usb: new USB bus registered, assigned bus number 3
    [ 1.233692] ehci-platform 11c50100.usb: irq 93, io mem 0x11c50100
    [ 1.252011] ehci-platform 11c50100.usb: USB 2.0 started, EHCI 1.10
    [ 1.258878] hub 3-0:1.0: USB hub found
    [ 1.262697] hub 3-0:1.0: 1 port detected
    [ 1.267650] ohci-platform 11c50000.usb: Generic Platform OHCI controller
    [ 1.274436] ohci-platform 11c50000.usb: new USB bus registered, assigned bus number 4
    [ 1.282405] ohci-platform 11c50000.usb: irq 91, io mem 0x11c50000
    [ 1.378715] hub 4-0:1.0: USB hub found
    [ 1.382537] hub 4-0:1.0: 1 port detected
    [ 1.387501] renesas_usbhs 11c60000.usb: host probed
    [ 1.392460] renesas_usbhs 11c60000.usb: no transceiver found
    [ 1.398279] renesas_usbhs 11c60000.usb: gadget probed
    [ 1.403590] renesas_usbhs 11c60000.usb: probed
    [ 1.411191] da9062 0-0058: Device detected (device-ID: 0x62, var-ID: 0x32, DA9062)
    [ 1.424995] da9063-rtc da9062-rtc: DMA mask not set
    [ 1.441087] da9063-rtc da9062-rtc: registered as rtc0
    [ 1.447013] da9063-rtc da9062-rtc: setting system clock to 2000-01-01T00:00:08 UTC (946684808)
    [ 1.456662] da9063-onkey da9062-onkey: DMA mask not set
    [ 1.463558] input: da9062-onkey as /devices/platform/soc/10058000.i2c/i2c-0/0-0058/da9062-onkey/input/input0
    [ 1.474781] i2c-riic 10058000.i2c: registered with 400000Hz bus speed
    [ 1.483051] pca953x 1-0020: supply vcc not found, using dummy regulator
    [ 1.489881] pca953x 1-0020: using no AI
    [ 1.544036] ov5640 1-003c: ov5640_read_reg: error: reg=300a
    [ 1.549612] ov5640 1-003c: ov5640_check_chip_id: failed to read chip identifier
    [ 1.557538] i2c-riic 10058400.i2c: registered with 100000Hz bus speed
    [ 1.567987] renesas_mtu3 10001200.timer: ch3: used for pwm mode 1 output at pin MTIOC3A
    [ 1.577955] renesas_mtu3 10001200.timer: used for pwm controller of mtu3
    [ 1.584767] renesas_mtu3 10001200.timer: ch0: used as clock source
    [ 1.591168] clocksource: 10001200.timer: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 18664368 ns
    [ 1.600126] renesas_mtu3 10001200.timer: ch1: used for clock events
    [ 1.606561] renesas_mtu3 10001200.timer: Renesas MTU3 driver probed
    [ 1.617035] panel-simple rgb_panel: Specify missing connector_type
    [ 1.625617] [drm] Initialized rcar-du 1.0.0 20130110 for 10890000.display on minor 0
    [ 1.633475] [drm] Device 10890000.display probed
    [ 1.638307] renesas_sdhi_internal_dmac 11c00000.mmc: mmc0 base at 0x0000000011c00000, max clock rate 100 MHz
    [ 1.648232] renesas_sdhi_internal_dmac 11c10000.mmc: mmc1 base at 0x0000000011c10000, max clock rate 100 MHz
    [ 1.698027] Console: switching to colour frame buffer device 100x30
    [ 1.720244] rcar-du 10890000.display: [drm] fb0: rcar-dudrmfb frame buffer device
    [ 1.729048] ALSA device list:
    [ 1.732185] No soundcards found.
    [ 1.736469] Waiting for root device /dev/mmcblk0p2...
    [ 1.798925] mmc0: new HS200 MMC card at address 0001
    [ 1.804597] mmcblk0: mmc0:0001 DG4016 14.7 GiB
    [ 1.809332] mmcblk0boot0: mmc0:0001 DG4016 partition 1 4.00 MiB
    [ 1.815411] mmcblk0boot1: mmc0:0001 DG4016 partition 2 4.00 MiB
    [ 1.821563] mmcblk0rpmb: mmc0:0001 DG4016 partition 3 4.00 MiB, chardev (242:0)
    [ 1.830006] mmcblk0: p1 p2
    [ 1.856375] EXT4-fs (mmcblk0p2): recovery complete
    [ 1.861915] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 1.870135] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 1.878678] devtmpfs: mounted
    [ 1.883501] Freeing unused kernel memory: 2048K
    [ 1.888207] Run /sbin/init as init process
    [ 2.061170] systemd[1]: System time before build time, advancing clock.
    [ 2.086925] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [ 2.109175] systemd[1]: Detected architecture arm64.

    Welcome to Poky (Yocto Project Reference Distro) 3.1.26 (dunfell)!

    [ 2.144904] systemd[1]: Set hostname to <iWave-G53M>.
    [ 2.155411] mmc1: new ultra high speed SDR104 SDXC card at address 59b4
    [ 2.169062] mmcblk1: mmc1:59b4 EC1S5 59.7 GiB
    [ 2.180584] mmcblk1: p1 p2
    [ 2.655342] random: systemd: uninitialized urandom read (16 bytes read)
    [ 2.662419] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [ 2.674791] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [ 2.687306] systemd[1]: Created slice system-getty.slice.
    [ OK ] Created slice system-getty.slice.
    [ 2.708251] random: systemd: uninitialized urandom read (16 bytes read)
    [ 2.716542] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [ OK ] Created slice system-serial\x2dgetty.slice.
    [ 2.740527] random: systemd: uninitialized urandom read (16 bytes read)
    [ 2.748744] systemd[1]: Created slice User and Session Slice.
    [ OK ] Created slice User and Session Slice.
    [ 2.768655] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [ OK ] Started Dispatch Password …ts to Console Directory Watch.
    [ 2.796594] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [ OK ] Started Forward Password R…uests to Wall Directory Watch.
    [ 2.820453] systemd[1]: Reached target Host and Network Name Lookups.
    [ OK ] Reached target Host and Network Name Lookups.
    [ 2.844343] systemd[1]: Reached target Paths.
    [ OK ] Reached target Paths.
    [ 2.864337] systemd[1]: Reached target Remote File Systems.
    [ OK ] Reached target Remote File Systems.
    [ 2.884332] systemd[1]: Reached target Slices.
    [ OK ] Reached target Slices.
    [ 2.904353] systemd[1]: Reached target Swap.
    [ OK ] Reached target Swap.
    [ 2.926684] systemd[1]: Listening on RPCbind Server Activation Socket.
    [ OK ] Listening on RPCbind Server Activation Socket.
    [ 2.952357] systemd[1]: Reached target RPC Port Mapper.
    [ OK ] Reached target RPC Port Mapper.
    [ 2.974811] systemd[1]: Listening on Syslog Socket.
    [ OK ] Listening on Syslog Socket.
    [ 2.996755] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [ OK ] Listening on initctl Compatibility Named Pipe.
    [ 3.021190] systemd[1]: Listening on Journal Audit Socket.
    [ OK ] Listening on Journal Audit Socket.
    [ 3.044877] systemd[1]: Listening on Journal Socket (/dev/log).
    [ OK ] Listening on Journal Socket (/dev/log).
    [ 3.068992] systemd[1]: Listening on Journal Socket.
    [ OK ] Listening on Journal Socket.
    [ 3.089178] systemd[1]: Listening on Network Service Netlink Socket.
    [ OK ] Listening on Network Service Netlink Socket.
    [ 3.113033] systemd[1]: Listening on udev Control Socket.
    [ OK ] Listening on udev Control Socket.
    [ 3.132760] systemd[1]: Listening on udev Kernel Socket.
    [ OK ] Listening on udev Kernel Socket.
    [ 3.157436] systemd[1]: Mounting Huge Pages File System...
    Mounting Huge Pages File System...
    [ 3.185355] systemd[1]: Mounting POSIX Message Queue File System...
    Mounting POSIX Message Queue File System...
    [ 3.221236] systemd[1]: Mounting Kernel Debug File System...
    Mounting Kernel Debug File System...
    [ 3.254757] systemd[1]: Mounting Temporary Directory (/tmp)...
    Mounting Temporary Directory (/tmp)...
    [ 3.291289] systemd[1]: Starting Create list of static device nodes for the current kernel...
    Starting Create list of st…odes for the current kernel...
    [ 3.329353] systemd[1]: Starting RPC Bind...
    Starting RPC Bind...
    [ 3.352450] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
    [ 3.376687] systemd[1]: Starting Journal Service...
    Starting Journal Service...
    [ 3.417163] systemd[1]: Starting Load Kernel Modules...
    Starting Load Kernel Modules...
    [ 3.465101] systemd[1]: Starting Remount Root and Kernel File Systems...
    [ 3.494470] mmngr: loading out-of-tree module taints kernel.
    Starting Remount Root and Kernel File Systems...
    [ 3.516764] rgnmm_drv mmngr: assigned reserved memory node linux,multimedia
    [ 3.540747] systemd[1]: Starting udev Coldplug all Devices...
    Starting udev Coldplug all Devices...
    [ 3.617784] systemd[1]: Started RPC Bind.
    [ OK ] Started RPC Bind.
    [ 3.673363] systemd[1]: Mounted Huge Pages File System.
    [ OK ] Mounted Huge Pages File System.
    [ 3.698402] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [ 3.711442] systemd[1]: Mounted POSIX Message Queue File System.
    [ OK ] Mounted POSIX Message Queue File System.
    [ 3.766277] systemd[1]: Mounted Kernel Debug File System.
    [ 3.786761] random: systemd-journal: uninitialized urandom read (16 bytes read)
    [ OK ] Mounted Kernel Debug File System.
    [ 3.817594] random: systemd-journal: uninitialized urandom read (16 bytes read)
    [ 3.826225] systemd[1]: Started Journal Service.
    [ OK ] Started Journal Service.
    [ 3.853473] random: systemd-journal: uninitialized urandom read (16 bytes read)
    [ OK ] Mounted Temporary Directory (/tmp).
    [ OK ] Started Create list of sta… nodes for the current kernel.
    [ OK ] Started Remount Root and Kernel File Systems.
    [ OK ] Started Load Kernel Modules.
    Mounting NFSD configuration filesystem...
    Mounting Kernel Configuration File System...
    Starting Flush Journal to Persistent Storage...
    [ 4.053883] systemd-journald[124]: Received client request to flush runtime journal.
    Starting Apply Kernel Variables...
    Starting Create Static Device Nodes in /dev...
    [FAILED] Failed to mount NFSD configuration filesystem.
    See 'systemctl status proc-fs-nfsd.mount' for details.
    [DEPEND] Dependency failed for NFS server and services.
    [DEPEND] Dependency failed for NFS Mount Daemon.
    [ OK ] Mounted Kernel Configuration File System.
    [ OK ] Started Flush Journal to Persistent Storage.
    [ OK ] Started Apply Kernel Variables.
    [ OK ] Started Create Static Device Nodes in /dev.
    [ OK ] Reached target Local File Systems (Pre).
    Mounting /var/volatile...
    Starting udev Kernel Device Manager...
    [ OK ] Mounted /var/volatile.
    Starting Load/Save Random Seed...
    [ OK ] Reached target Local File Systems.
    Starting Create Volatile Files and Directories...
    [ OK ] Started udev Kernel Device Manager.
    [ OK ] Started Create Volatile Files and Directories.
    Starting Network Time Synchronization...
    Starting Update UTMP about System Boot/Shutdown...
    [ 4.839929] random: systemd: uninitialized urandom read (16 bytes read)
    [ OK ] Started Update UTMP about System Boot/Shutdown.
    [ 5.488089] random: crng init done
    [ 5.491532] random: 60 urandom warning(s) missed due to ratelimiting
    [ OK ] Started Load/Save Random Seed.
    [ OK ] Started Network Time Synchronization.
    [ OK ] Reached target System Time Set.
    [ OK ] Reached target System Time Synchronized.
    [ OK ] Started udev Coldplug all Devices.
    [ OK ] Reached target System Initialization.
    [ OK ] Started Daily Cleanup of Temporary Directories.
    [ OK ] Reached target Timers.
    [ OK ] Listening on D-Bus System Message Bus Socket.
    [ OK ] Listening on dropbear.socket.
    [ OK ] Reached target Sockets.
    [ OK ] Reached target Basic System.
    [ OK ] Started Kernel Logging Service.
    [ OK ] Started System Logging Service.
    [ OK ] Started D-Bus System Message Bus.
    Starting IPv6 Packet Filtering Framework...
    Starting IPv4 Packet Filtering Framework...
    Starting LSB: Kernel NFS server support...
    Starting Telephony service...
    [ OK ] Started optee services.
    Starting Login Service...
    [ OK ] Started VIN initializing setting.
    [ OK ] Started WatchdogTimer.
    [ OK ] Started IPv6 Packet Filtering Framework.
    [ OK ] Started IPv4 Packet Filtering Framework.
    [FAILED] Failed to start LSB: Kernel NFS server support.
    See 'systemctl status nfsserver.service' for details.
    [ OK ] Started Telephony service.
    [ OK ] Reached target Network (Pre).
    Starting Connection service...
    Starting Network Service...
    [ OK ] Created slice system-systemd\x2dbacklight.slice.
    Starting Load/Save Screen … backlight:lvds_backlight@1...
    [ OK ] Started Network Service.
    [ OK ] Started Connection service.
    [ OK ] Reached target Network.
    [ OK ] Started NFS status monitor for NFSv2/3 locking..
    Starting Permit User Sessions...
    Starting Target Communication Framework agent...
    [ 7.682011] ADIN1300 11c20000.ethernet-ffffffff:04: attached PHY driver [ADIN1300] (mii_bus:phy_addr=11c20000.ethernet-ffffffff:04, irq=POLL)
    [ OK ] Started Load/Save Screen B…of backlight:lvds_backlight@1.
    [ OK ] Started Permit User Sessions.
    [ OK ] Started Target Communication Framework agent.
    [ OK ] Started Login Service.
    [ OK ] Started Getty on tty1.
    [ OK ] Started Serial Getty on ttySC0.
    [ OK ] Reached target Login Prompts.
    [ OK ] Reached target Multi-User System.
    Starting Hostname Service...
    Starting Update UTMP about System Runlevel Changes...
    Starting WPA supplicant...
    [ OK ] Started Update UTMP about System Runlevel Changes.
    [ OK ] Started WPA supplicant.
    [ OK ] Started Hostname Service.

    Rootfs Version : iW-PRHGZ-SC-01-R2.0-REL1.0a-Yocto-Dunfell
    Poky (Yocto Project Reference Distro) 3.1.26 iWave-G53M ttySC0

    BSP: RZG2UL/iW-RainboW-G53M-RZG2UL-OSM/3.0.5
    LSI: RZG2UL
    Version: 3.0.5
    iWave-G53M login: [ 10.101167] [HYS] Firmware version = 0x3
    [ 10.138555] input: hy46xx_ts as /devices/virtual/input/input1
    [ 10.255774] Successfully added driver hy46xx_ts
    [ 11.925065] ravb 11c20000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
    [ 11.932897] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    root
    [ 15.350508] audit: type=1006 audit(1717493697.518:2): pid=423 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
    [ 15.856611] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 16.165222] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 16.409794] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    root@iWave-G53M:~#
    root@iWave-G53M:~#
    root@iWave-G53M:~#

  • Hiii,

    Any updates?

    Regards,

    Ashritha S

  • Hi Ashritha,
    Seems an interesting issue. We will have a look on it.
    Kind Regards.

  • Hii,

    Can u update it as soon as possibe?

    Regards

    Ashritha

  • Hi Ashrita,

    Could you try below change?

    From:

    ret = gpiochip_irqchip_add(chip, irq_chip, 0, handle_level_irq,
    IRQ_TYPE_NONE);

    to:

    ret = gpiochip_irqchip_add(chip, &pctrl->irq_chip, 0, handle_level_irq,
    IRQ_TYPE_NONE);

    in drivers/pinctrl/renesas/pinctrl-rzg2l.c

  • Hii,

    I have tried the changes accordingly, but still it is same

    Regards,

    Ashritha

  • Hi Ashrita,

    Could you try below patch?

    From 25540760d07af4d0d99bcf49db6ed3d852a32d21 Mon Sep 17 00:00:00 2001
    From: hienhuynh <[email protected]>
    Date: Tue, 11 Jun 2024 07:42:09 +0700
    Subject: [PATCH] pinctr: renesas: pinctrl-rzg2l: fix support for multiple
     gpiochips
    
    There is a warning when booting to Linux:
    "gpio gpiochip0: (11030000.pinctrl): detected irqchip that is shared
    with multiple gpiochips: please fix the driver."
    
    Refer commit "gpio: dln2: Use irqchip template" to fix this warning.
    <ecb55df8f3a8f30cb188a8bd3c9d0b977eb92e09>
    
    This makes the driver use the irqchip template to assign
    properties to the gpio_irq_chip instead of using the
    explicit calls to gpiochip_irqchip_add(). The irqchip is
    instead added while adding the gpiochip.
    
    Signed-off-by: hienhuynh <[email protected]>
    ---
     drivers/pinctrl/renesas/pinctrl-rzg2l.c | 74 ++++++++++++-------------
     1 file changed, 36 insertions(+), 38 deletions(-)
    
    diff --git a/drivers/pinctrl/renesas/pinctrl-rzg2l.c b/drivers/pinctrl/renesas/pinctrl-rzg2l.c
    index 1f4cc5eebcff..e83d961bf997 100644
    --- a/drivers/pinctrl/renesas/pinctrl-rzg2l.c
    +++ b/drivers/pinctrl/renesas/pinctrl-rzg2l.c
    @@ -2251,8 +2251,7 @@ static struct rzg2l_dedicated_configs rzg3s_dedicated_pins[] = {
     static int rzg2l_gpio_register(struct rzg2l_pinctrl *pctrl)
     {
     	struct device_node *np = pctrl->dev->of_node;
    -	struct gpio_chip *chip = &pctrl->gpio_chip;
    -	struct irq_chip *irq_chip = &pctrl->irq_chip;
    +	struct gpio_irq_chip *girq;
     	const char *name = dev_name(pctrl->dev);
     	struct of_phandle_args of_args;
     	int ret;
    @@ -2269,46 +2268,45 @@ static int rzg2l_gpio_register(struct rzg2l_pinctrl *pctrl)
     		return -EINVAL;
     	}
     
    -	chip->names = pctrl->data->port_pins;
    -	chip->request = rzg2l_gpio_request;
    -	chip->free = rzg2l_gpio_free;
    -	chip->get_direction = rzg2l_gpio_get_direction;
    -	chip->direction_input = rzg2l_gpio_direction_input;
    -	chip->direction_output = rzg2l_gpio_direction_output;
    -	chip->get = rzg2l_gpio_get;
    -	chip->set = rzg2l_gpio_set;
    -	chip->set_config = rzg2l_gpio_set_config;
    -	chip->label = name;
    -	chip->parent = pctrl->dev;
    -	chip->owner = THIS_MODULE;
    -	chip->base = -1;
    -	chip->ngpio = of_args.args[2];
    +	pctrl->gpio_chip.names = pctrl->data->port_pins;
    +	pctrl->gpio_chip.request = rzg2l_gpio_request;
    +	pctrl->gpio_chip.free = rzg2l_gpio_free;
    +	pctrl->gpio_chip.get_direction = rzg2l_gpio_get_direction;
    +	pctrl->gpio_chip.direction_input = rzg2l_gpio_direction_input;
    +	pctrl->gpio_chip.direction_output = rzg2l_gpio_direction_output;
    +	pctrl->gpio_chip.get = rzg2l_gpio_get;
    +	pctrl->gpio_chip.set = rzg2l_gpio_set;
    +	pctrl->gpio_chip.set_config = rzg2l_gpio_set_config;
    +	pctrl->gpio_chip.label = name;
    +	pctrl->gpio_chip.parent = pctrl->dev;
    +	pctrl->gpio_chip.owner = THIS_MODULE;
    +	pctrl->gpio_chip.base = -1;
    +	pctrl->gpio_chip.ngpio = of_args.args[2];
     
     	pctrl->gpio_range.id = 0;
     	pctrl->gpio_range.pin_base = 0;
     	pctrl->gpio_range.base = 0;
    -	pctrl->gpio_range.npins = chip->ngpio;
    -	pctrl->gpio_range.name = chip->label;
    -	pctrl->gpio_range.gc = chip;
    -
    -	irq_chip->name = dev_name(pctrl->dev);
    -	irq_chip->irq_shutdown = rzg2l_gpio_irq_shutdown;
    -	irq_chip->irq_mask = rzg2l_gpio_irq_mask;
    -	irq_chip->irq_unmask = rzg2l_gpio_irq_unmask;
    -	irq_chip->irq_set_type = rzg2l_gpio_irq_set_type;
    -	irq_chip->irq_set_wake = rzg2l_gpio_irq_set_wake;
    -	irq_chip->flags = IRQCHIP_SET_TYPE_MASKED | IRQCHIP_MASK_ON_SUSPEND;
    -
    -	ret = gpiochip_irqchip_add(chip, irq_chip, 0, handle_level_irq,
    -				   IRQ_TYPE_NONE);
    -	if (ret) {
    -		dev_err(pctrl->dev, "cannot add irqchip\n");
    -		return ret;
    -	}
    -
    -	dev_dbg(pctrl->dev, "Registered interrupt controller\n");
    -
    -	ret = devm_gpiochip_add_data(pctrl->dev, chip, pctrl);
    +	pctrl->gpio_range.npins = pctrl->gpio_chip.ngpio;
    +	pctrl->gpio_range.name = pctrl->gpio_chip.label;
    +	pctrl->gpio_range.gc = &pctrl->gpio_chip;
    +
    +	pctrl->irq_chip.name = dev_name(pctrl->dev);
    +	pctrl->irq_chip.irq_shutdown = rzg2l_gpio_irq_shutdown;
    +	pctrl->irq_chip.irq_mask = rzg2l_gpio_irq_mask;
    +	pctrl->irq_chip.irq_unmask = rzg2l_gpio_irq_unmask;
    +	pctrl->irq_chip.irq_set_type = rzg2l_gpio_irq_set_type;
    +	pctrl->irq_chip.irq_set_wake = rzg2l_gpio_irq_set_wake;
    +	pctrl->irq_chip.flags = IRQCHIP_SET_TYPE_MASKED | IRQCHIP_MASK_ON_SUSPEND;
    +
    +	girq = &pctrl->gpio_chip.irq;
    +	girq->chip = &pctrl->irq_chip;
    +	girq->parent_handler = NULL;
    +	girq->num_parents = 0;
    +	girq->parents = NULL;
    +	girq->default_type = IRQ_TYPE_NONE;
    +	girq->handler = handle_level_irq;
    +
    +	ret = devm_gpiochip_add_data(pctrl->dev, &pctrl->gpio_chip, pctrl);
     	if (ret) {
     		dev_err(pctrl->dev, "failed to add GPIO controller\n");
     		return ret;
    -- 
    2.25.1
    
    

  • Hii,

    After doing changes according to the patch i am getting errors during compilation,

    Below is the error,

    CALL scripts/atomic/check-atomics.sh
    CALL scripts/checksyscalls.sh
    CHK include/generated/compile.h
    CC drivers/pinctrl/renesas/pinctrl-rzg2l.o
    drivers/pinctrl/renesas/pinctrl-rzg2l.c: In function 'rzg2l_gpio_register':
    drivers/pinctrl/renesas/pinctrl-rzg2l.c:1724:32: error: 'rzg2l_gpio_set_config' undeclared (first use in this function); did you mean 'rzg2l_gpio_configs'?
    pctrl->gpio_chip.set_config = rzg2l_gpio_set_config;
    ^~~~~~~~~~~~~~~~~~~~~
    rzg2l_gpio_configs
    drivers/pinctrl/renesas/pinctrl-rzg2l.c:1724:32: note: each undeclared identifier is reported only once for each function it appears in
    make[3]: *** [scripts/Makefile.build:286: drivers/pinctrl/renesas/pinctrl-rzg2l.o] Error 1
    make[2]: *** [scripts/Makefile.build:503: drivers/pinctrl/renesas] Error 2
    make[1]: *** [scripts/Makefile.build:503: drivers/pinctrl] Error 2
    make[1]: *** Waiting for unfinished jobs....
    make: *** [Makefile:1832: drivers] Error 2
    make: *** Waiting for unfinished jobs....

    Regards,

    Ashritha

  • Hi Ashritha,

    Sorry, I forgot that you are using 3.0.5 (cip36). I based on cip41 (3.0.6). So, please remove this line 

    pctrl->gpio_chip.set_config = rzg2l_gpio_set_config;

    It is supported in later kernel version.

Reply Children