RE: [PATCH 4/4] mmc: sdhi: use maximum width for the sdbuf register

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am having issues with this patch(commitid:-785b215250310c690142abb1bdbb0767b8487c49)
on iWave RZ/G1M board which is identical to R-Car M2.

Getting below SDHI1 errors during boot. The issue is fixed by reverting this patch.

[   11.846211] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD51)
[   11.906243] mmc2: error -110 whilst initialising SD card
[   17.046328] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD5)
[   22.166212] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD5)
[   27.286205] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD5)
[   32.406204] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD5)
   37.526209] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD55)
[   42.646206] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD55)
[   47.766203] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD55)
[   52.886204] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD55)
[   58.086208] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD52)
[   63.206204] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD5)
[   68.326205] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD5)
[   73.446204] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD5)

I am attaching the logs here with.

Regards,
Biju




> -----Original Message-----
> From: linux-mmc-owner@xxxxxxxxxxxxxxx [mailto:linux-mmc-
> owner@xxxxxxxxxxxxxxx] On Behalf Of Wolfram Sang
> Sent: 30 June 2017 11:57
> To: linux-mmc@xxxxxxxxxxxxxxx
> Cc: linux-renesas-soc@xxxxxxxxxxxxxxx; Simon Horman <horms@xxxxxxxxxxxx>;
> Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>; Wolfram Sang
> <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
> Subject: [PATCH 4/4] mmc: sdhi: use maximum width for the sdbuf register
>
> We can derive the sd_buf width from the bus_shift parameter which tells us
> how far registers are apart. Remove the obvious comment, too.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
> ---
>  drivers/mmc/host/renesas_sdhi_core.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/mmc/host/renesas_sdhi_core.c
> b/drivers/mmc/host/renesas_sdhi_core.c
> index dd215723fa4312..48da28dfef6465 100644
> --- a/drivers/mmc/host/renesas_sdhi_core.c
> +++ b/drivers/mmc/host/renesas_sdhi_core.c
> @@ -461,8 +461,7 @@ static void renesas_sdhi_enable_dma(struct
> tmio_mmc_host *host, bool enable)  {
>  sd_ctrl_write16(host, CTL_DMA_ENABLE, enable ?
> DMA_ENABLE_DMASDRW : 0);
>
> -/* enable 32bit access if DMA mode if possibile */
> -renesas_sdhi_sdbuf_width(host, enable ? 32 : 16);
> +renesas_sdhi_sdbuf_width(host, enable ? (16 << host->bus_shift) : 16);
>  }
>
>  int renesas_sdhi_probe(struct platform_device *pdev,
> --
> 2.11.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body
> of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at
> http://vger.kernel.org/majordomo-info.html



Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.
iW-RainboW-G20M SPI_LOADER(DDR3) V0.20 2015.07.16
 DEVICE SST25VF016B


U-Boot 2013.01.01 (Nov 04 2016 - 22:21:05)

CPU: Renesas Electronics R8A7743 rev 3.0
CPU: Temperature 40 C
Board: RZ/G1M iW-RainboW-G20M-Q7

DRAM:  1 GiB
MMC:   sh-sdhi: 0, sh-sdhi: 1, sh_mmcif: 2
SF: Detected SST25VF016B with page size 4 KiB, total 2 MiB
In:    serial
Out:   serial
Err:   serial

Board Info:
        BSP Version     : iW-PREWZ-SC-01-R3.0-REL2.0-Linux3.10.31
        SOM Version     : iW-PREWZ-AP-01-R3.0

Net:   ether_avb
Hit any key to stop autoboot:  0
Could not get PHY for ether_avb:0
Could not get PHY for ether_avb:1
Could not get PHY for ether_avb:2
PHY detected at addr 3
ether_avb Waiting for PHY auto negotiation to complete. done
ether_avb: 1000Base /Full
Using ether_avb device
TFTP from server 192.168.1.30; our IP address is 192.168.1.32
Filename '/RZ-G1M/boot/uImage'.
Load address: 0x40007fc0
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##################################
         2.9 MiB/s
done
Bytes transferred = 4164712 (3f8c68 hex)
Could not get PHY for ether_avb:0
Could not get PHY for ether_avb:1
Could not get PHY for ether_avb:2
ether_avb:3 is connected to ether_avb.  Reconnecting to ether_avb
PHY detected at addr 3
ether_avb Waiting for PHY auto negotiation to complete.. done
ether_avb: 1000Base /Full
Using ether_avb device
TFTP from server 192.168.1.30; our IP address is 192.168.1.32
Filename '/RZ-G1M/boot/dtb'.
Load address: 0x40f00000
Loading: T ####
         3.9 KiB/s
done
Bytes transferred = 20292 (4f44 hex)
## Booting kernel from Legacy Image at 40007fc0 ...
   Image Name:   Linux-4.13.0-rc2-next-20170727-0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4164648 Bytes = 4 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 40f00000
   Booting using the fdt blob at 0x40f00000
   XIP Kernel Image ... OK
OK
   Loading Device Tree to 410f8000, end 410fff43 ... OK
Unable to update property <NULL>:mac-address, err=FDT_ERR_BADPATH
Unable to update property <NULL>:local-mac-address, err=FDT_ERR_BADPATH
Unable to update property /iwg20m_q7_common:vin2-ov5640, err=FDT_ERR_NOTFOUND

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.0-rc2-next-20170727-00035-g8b0f274 (biju@be1yocto) (gcc version 5.2.1 20151005 (Linaro GCC 5.2-2015.11-2)) #13 SMP Wed Aug 2 15:15:12 BST 2017
[    0.000000] CPU: ARMv7 Processor [413fc0f2] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: iWave Systems RainboW-G20D-Qseven board based on RZ/G1M
[    0.000000] OF: fdt: Ignoring memory block 0x200000000 - 0x220000000
[    0.000000] debug: ignoring loglevel setting.
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 256 MiB at 0x50000000
[    0.000000] cma: Reserved 64 MiB at 0x4c000000
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c0b73e40, node_mem_map cbb59000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] percpu: Embedded 15 pages/cpu @cbb2d000 s38272 r0 d23168 u61440
[    0.000000] pcpu-alloc: s38272 r0 d23168 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttySC0,115200n8 ignore_loglevel vmalloc=384M /dev/nfs rw nfsroot=192.168.1.30:/tftpboot/RZ-G1M ip=192.168.1.32
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 180184K/524288K available (7168K kernel code, 488K rwdata, 1752K rodata, 1024K init, 297K bss, 16424K reserved, 327680K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0800000   (8160 kB)
[    0.000000]       .init : 0xc0a00000 - 0xc0b00000   (1024 kB)
[    0.000000]       .data : 0xc0b00000 - 0xc0b7a018   ( 489 kB)
[    0.000000]        .bss : 0xc0b804f4 - 0xc0bcab44   ( 298 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 10.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[    0.000004] sched_clock: 56 bits at 10MHz, resolution 100ns, wraps every 4398046511100ns
[    0.000013] Switching to timer-based delay loop, resolution 100ns
[    0.000367] Console: colour dummy device 80x30
[    0.000386] Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=100000)
[    0.000399] pid_max: default: 32768 minimum: 301
[    0.000483] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000492] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000934] CPU: Testing write buffer coherency: ok
[    0.001111] CPU0: update cpu_capacity 1024
[    0.001119] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001754] Setting up static identity map for 0x40100000 - 0x40100060
[    0.001829] Hierarchical SRCU implementation.
[    0.002029] Detected Renesas RZ/G r8a7743 ES3.0
[    0.002241] smp: Bringing up secondary CPUs ...
[    0.003350] CPU1: update cpu_capacity 1024
[    0.003357] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.003468] smp: Brought up 1 node, 2 CPUs
[    0.003482] SMP: Total of 2 processors activated (40.00 BogoMIPS).
[    0.003489] CPU: All CPU(s) started in SVC mode.
[    0.004323] devtmpfs: initialized
[    0.007196] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.007393] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.007406] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.011726] pinctrl core: initialized pinctrl subsystem
[    0.012448] random: get_random_u32 called from bucket_table_alloc+0x1cc/0x22c with crng_init=0
[    0.012513] NET: Registered protocol family 16
[    0.012527] random: fast init done
[    0.013485] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.014347] No ATAGs?
[    0.014437] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.014447] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.017602] sh-pfc e6060000.pin-controller: r8a77430_pfc support registered
[    0.032829] vgaarb: loaded
[    0.033086] SCSI subsystem initialized
[    0.033384] libata version 3.00 loaded.
[    0.033543] usbcore: registered new interface driver usbfs
[    0.033579] usbcore: registered new interface driver hub
[    0.033625] usbcore: registered new device driver usb
[    0.033965] media: Linux media interface: v0.10
[    0.033997] Linux video capture interface: v2.00
[    0.034029] pps_core: LinuxPPS API ver. 1 registered
[    0.034035] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@xxxxxxxx>
[    0.034053] PTP clock support registered
[    0.034510] Advanced Linux Sound Architecture Driver Initialized.
[    0.036207] clocksource: Switched to clocksource arch_sys_counter
[    0.074429] NET: Registered protocol family 2
[    0.074818] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.074845] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.074891] TCP: Hash tables configured (established 4096 bind 4096)
[    0.074941] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.074957] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.075051] NET: Registered protocol family 1
[    0.075333] RPC: Registered named UNIX socket transport module.
[    0.075341] RPC: Registered udp transport module.
[    0.075347] RPC: Registered tcp transport module.
[    0.075352] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.075363] PCI: CLS 0 bytes, default 64
[    0.076755] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.077121] NFS: Registering the id_resolver key type
[    0.077143] Key type id_resolver registered
[    0.077149] Key type id_legacy registered
[    0.077164] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.077172] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.078621] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.078633] io scheduler noop registered
[    0.078639] io scheduler deadline registered
[    0.078662] io scheduler cfq registered (default)
[    0.078669] io scheduler mq-deadline registered
[    0.078676] io scheduler kyber registered
[    0.080030] gpio_rcar e6050000.gpio: driving 32 GPIOs
[    0.080934] gpio_rcar e6051000.gpio: driving 26 GPIOs
[    0.081884] gpio_rcar e6052000.gpio: driving 32 GPIOs
[    0.082847] gpio_rcar e6053000.gpio: driving 32 GPIOs
[    0.083838] gpio_rcar e6054000.gpio: driving 32 GPIOs
[    0.084882] gpio_rcar e6055000.gpio: driving 32 GPIOs
[    0.085825] gpio_rcar e6055400.gpio: driving 32 GPIOs
[    0.086753] gpio_rcar e6055800.gpio: driving 26 GPIOs
[    0.093124] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.094076] SuperH (H)SCI(F) driver initialized
[    0.094541] e6e60000.serial: ttySC0 at MMIO 0xe6e60000 (irq = 72, base_baud = 0) is a scif
[    0.803069] console [ttySC0] enabled
[    0.808391] libphy: Fixed MDIO Bus: probed
[    0.812873] CAN device driver interface
[    0.818230] ravb e6800000.ethernet: no valid MAC address supplied, using a random one
[    0.826154] libphy: ravb_mii: probed
[    0.830721] ravb e6800000.ethernet eth0: Base address at 0xe6800000, 9e:3d:3e:3b:51:c5, IRQ 73.
[    0.839601] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.846124] ehci-pci: EHCI PCI platform driver
[    0.850610] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.856811] ohci-pci: OHCI PCI platform driver
[    0.861746] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers
[    0.870911] i2c /dev entries driver
[    0.876010] bq32k 2-0068: rtc core: registered bq32k as rtc0
[    0.881749] i2c-rcar e6530000.i2c: probed
[    0.888176] sh_mobile_sdhi ee100000.sd: Got CD GPIO
[    1.006391] sh_mobile_sdhi ee100000.sd: mmc0 base at 0xee100000 max clock rate 195 MHz
[    1.014788] sh_mobile_sdhi ee140000.sd: Got CD GPIO
[    1.019704] sh_mobile_sdhi ee140000.sd: Got WP GPIO
[    1.076233] sh_mmcif ee200000.mmc: Chip version 0x0003, clock rate 12MHz
[    1.083187] usbcore: registered new interface driver usbhid
[    1.088775] usbhid: USB HID core driver
[    1.093750] NET: Registered protocol family 10
[    1.098838] Segment Routing with IPv6
[    1.102543] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.108980] NET: Registered protocol family 17
[    1.113425] can: controller area network core (rev 20170425 abi 9)
[    1.119642] NET: Registered protocol family 29
[    1.124082] can: raw protocol (rev 20170425)
[    1.128355] can: broadcast manager protocol (rev 20170425 t)
[    1.134014] can: netlink gateway (rev 20170425) max_hops=1
[    1.139561] Key type dns_resolver registered
[    1.143946] Registering SWP/SWPB emulation handler
[    1.155210] renesas_irqc e61c0000.interrupt-controller: driving 10 irqs
[    1.163130] sh_mobile_sdhi ee140000.sd: Got CD GPIO
[    1.168052] sh_mobile_sdhi ee140000.sd: Got WP GPIO
[    1.286384] sh_mobile_sdhi ee140000.sd: mmc2 base at 0xee140000 max clock rate 97 MHz
[    1.294949] bq32k 2-0068: setting system clock to 2017-08-18 14:29:17 UTC (1503066557)
[    1.297337] mmc0: new high speed SDHC card at address aaaa
[    1.297708] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[    1.299858]  mmcblk0: p1 p2
[    1.420085] Micrel KSZ9031 Gigabit PHY e6800000.ethernet-ffffffff:03: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=e6800000.ethernet-ffffffff:03, irq=-1)
[    1.435796] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    1.605404] mmc1: new high speed MMC card at address 0001
[    1.611114] mmcblk1: mmc1:0001 MMC04G 3.52 GiB
[    1.615740] mmcblk1boot0: mmc1:0001 MMC04G partition 1 16.0 MiB
[    1.621770] mmcblk1boot1: mmc1:0001 MMC04G partition 2 16.0 MiB
[    1.629522]  mmcblk1: p1 p2
[    4.567723] ravb e6800000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    4.586223] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    4.616255] IP-Config: Guessing netmask 255.255.255.0
[    4.621302] IP-Config: Complete:
[    4.624527]      device=eth0, hwaddr=9e:3d:3e:3b:51:c5, ipaddr=192.168.1.32, mask=255.255.255.0, gw=255.255.255.255
[    4.634971]      host=192.168.1.32, domain=, nis-domain=(none)
[    4.640807]      bootserver=255.255.255.255, rootserver=192.168.1.30, rootpath=
[    4.648391] ALSA device list:
[    4.651354]   No soundcards found.
[    4.659960] VFS: Mounted root (nfs filesystem) on device 0:14.
[    4.666090] devtmpfs: mounted
[    4.669711] Freeing unused kernel memory: 1024K
INIT: version 2.88 booting
Error opening /dev/fb0: No such file or directory
Starting udev
udev: Not using udev cache because of changes detected in the following files:
udev:     /proc/version /proc/cmdline /proc/devices
udev:     lib/udev/rules.d/* etc/udev/rules.d/*
udev: The udev cache will be regenerated. To identify the detected changes,
udev: compare the cached sysconf at   /etc/udev/cache.data
udev: against the current sysconf at  /dev/shm/udev.cache
[    5.133490] udevd[763]: starting version 182
[    5.921180] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    5.931967] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
bootlogd: cannot allocate pseudo tty: No such file or directory
Populating dev cache
ALSA: Restoring mixer settings...
/usr/sbin/alsactl: load_state:1735: No soundcards found...
INIT: Entering runlevel: 5
Configuring network interfaces... [    6.646390] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD51)
[    6.706477] mmc2: error -110 whilst initialising SD card
ifup skipped for nfsroot interface eth0
run-parts: /etc/network/if-pre-up.d/nfsroot exited with code 1
Starting Xserver
Starting system message bus: fbset: can't open '/dev/fb0': No such file or directory
Unknown username "xuser" in message bus configuration file
dbus.
Starting Connection Manager
[    7.091757] random: crng init done
PVRSRVKM_PARAMS=
Module pvrsrvkm failed to load. Retrying.
Running /sbin/depmod
depmod: ERROR: could not open directory /lib/modules/4.13.0-rc2-next-20170727-00035-g8b0f274: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
Starting Dropbear SSH server: dropbear.
Starting rpcbind daemon...done.
Starting advanced power management daemon: No APM support in kernel
(failed.)
Starting syslogd/klogd: done
 * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon                       [ ok ]
Starting Telephony daemon
Starting Linux NFC daemon

Poky (Yocto Project Reference Distro) 2.0.1 iwave-g20m /dev/ttySC0

iwave-g20m login: root
root@iwave-g20m:~# [   11.846211] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD51)
[   11.906243] mmc2: error -110 whilst initialising SD card
[   17.046328] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD5)
[   22.166212] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD5)
[   27.286205] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD5)
[   32.406204] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD5)
   37.526209] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD55)
[   42.646206] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD55)
[   47.766203] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD55)
[   52.886204] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD55)
[   58.086208] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD52)
[   63.206204] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD5)
[   68.326205] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD5)
[   73.446204] sh_mobile_sdhi ee140000.sd: timeout waiting for hardware interrupt (CMD5)
iW-RainboW-G20M SPI_LOADER(DDR3) V0.20 2015.07.16
 DEVICE SST25VF016B


U-Boot 2013.01.01 (Nov 04 2016 - 22:21:05)

CPU: Renesas Electronics R8A7743 rev 3.0
CPU: Temperature 50 C
Board: RZ/G1M iW-RainboW-G20M-Q7

DRAM:  1 GiB
MMC:   sh-sdhi: 0, sh-sdhi: 1, sh_mmcif: 2
SF: Detected SST25VF016B with page size 4 KiB, total 2 MiB
In:    serial
Out:   serial
Err:   serial

Board Info:
        BSP Version     : iW-PREWZ-SC-01-R3.0-REL2.0-Linux3.10.31
        SOM Version     : iW-PREWZ-AP-01-R3.0

Net:   ether_avb
Hit any key to stop autoboot:  0
Could not get PHY for ether_avb:0
Could not get PHY for ether_avb:1
Could not get PHY for ether_avb:2
PHY detected at addr 3
ether_avb Waiting for PHY auto negotiation to complete... done
ether_avb: 1000Base /Full
Using ether_avb device
TFTP from server 192.168.1.30; our IP address is 192.168.1.32
Filename '/RZ-G1M/boot/uImage'.
Load address: 0x40007fc0
Loading: T #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##################################
         646.5 KiB/s
done
Bytes transferred = 4164744 (3f8c88 hex)
Could not get PHY for ether_avb:0
Could not get PHY for ether_avb:1
Could not get PHY for ether_avb:2
ether_avb:3 is connected to ether_avb.  Reconnecting to ether_avb
PHY detected at addr 3
ether_avb Waiting for PHY auto negotiation to complete.. done
ether_avb: 1000Base /Full
Using ether_avb device
TFTP from server 192.168.1.30; our IP address is 192.168.1.32
Filename '/RZ-G1M/boot/dtb'.
Load address: 0x40f00000
Loading: T ####
         3.9 KiB/s
done
Bytes transferred = 20292 (4f44 hex)
## Booting kernel from Legacy Image at 40007fc0 ...
   Image Name:   Linux-4.13.0-rc2-next-20170727-0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4164680 Bytes = 4 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 40f00000
   Booting using the fdt blob at 0x40f00000
   XIP Kernel Image ... OK
OK
   Loading Device Tree to 410f8000, end 410fff43 ... OK
Unable to update property <NULL>:mac-address, err=FDT_ERR_BADPATH
Unable to update property <NULL>:local-mac-address, err=FDT_ERR_BADPATH
Unable to update property /iwg20m_q7_common:vin2-ov5640, err=FDT_ERR_NOTFOUND

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.0-rc2-next-20170727-00036-g92e95b03 (biju@be1yocto) (gcc version 5.2.1 20151005 (Linaro GCC 5.2-2015.11-2)) #14 SMP Wed Aug 2 15:18:42 BST 2017
[    0.000000] CPU: ARMv7 Processor [413fc0f2] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: iWave Systems RainboW-G20D-Qseven board based on RZ/G1M
[    0.000000] OF: fdt: Ignoring memory block 0x200000000 - 0x220000000
[    0.000000] debug: ignoring loglevel setting.
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 256 MiB at 0x50000000
[    0.000000] cma: Reserved 64 MiB at 0x4c000000
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c0b73e40, node_mem_map cbb59000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] percpu: Embedded 15 pages/cpu @cbb2d000 s38272 r0 d23168 u61440
[    0.000000] pcpu-alloc: s38272 r0 d23168 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttySC0,115200n8 ignore_loglevel vmalloc=384M /dev/nfs rw nfsroot=192.168.1.30:/tftpboot/RZ-G1M ip=192.168.1.32
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 180184K/524288K available (7168K kernel code, 488K rwdata, 1752K rodata, 1024K init, 297K bss, 16424K reserved, 327680K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0800000   (8160 kB)
[    0.000000]       .init : 0xc0a00000 - 0xc0b00000   (1024 kB)
[    0.000000]       .data : 0xc0b00000 - 0xc0b7a018   ( 489 kB)
[    0.000000]        .bss : 0xc0b804f4 - 0xc0bcab44   ( 298 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 10.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[    0.000004] sched_clock: 56 bits at 10MHz, resolution 100ns, wraps every 4398046511100ns
[    0.000013] Switching to timer-based delay loop, resolution 100ns
[    0.000368] Console: colour dummy device 80x30
[    0.000389] Calibrating delay loop (skipped), value calculated using timer frequency.. 20.00 BogoMIPS (lpj=100000)
[    0.000401] pid_max: default: 32768 minimum: 301
[    0.000484] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000493] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000937] CPU: Testing write buffer coherency: ok
[    0.001116] CPU0: update cpu_capacity 1024
[    0.001124] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001761] Setting up static identity map for 0x40100000 - 0x40100060
[    0.001835] Hierarchical SRCU implementation.
[    0.002033] Detected Renesas RZ/G r8a7743 ES3.0
[    0.002250] smp: Bringing up secondary CPUs ...
[    0.003359] CPU1: update cpu_capacity 1024
[    0.003365] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.003478] smp: Brought up 1 node, 2 CPUs
[    0.003491] SMP: Total of 2 processors activated (40.00 BogoMIPS).
[    0.003498] CPU: All CPU(s) started in SVC mode.
[    0.004330] devtmpfs: initialized
[    0.007206] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.007405] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.007419] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.011724] pinctrl core: initialized pinctrl subsystem
[    0.012447] random: get_random_u32 called from bucket_table_alloc+0x1cc/0x22c with crng_init=0
[    0.012510] NET: Registered protocol family 16
[    0.012520] random: fast init done
[    0.013487] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.014339] No ATAGs?
[    0.014426] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.014435] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.017582] sh-pfc e6060000.pin-controller: r8a77430_pfc support registered
[    0.032749] vgaarb: loaded
[    0.032994] SCSI subsystem initialized
[    0.033301] libata version 3.00 loaded.
[    0.033464] usbcore: registered new interface driver usbfs
[    0.033501] usbcore: registered new interface driver hub
[    0.033546] usbcore: registered new device driver usb
[    0.033883] media: Linux media interface: v0.10
[    0.033916] Linux video capture interface: v2.00
[    0.033948] pps_core: LinuxPPS API ver. 1 registered
[    0.033954] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@xxxxxxxx>
[    0.033972] PTP clock support registered
[    0.034427] Advanced Linux Sound Architecture Driver Initialized.
[    0.036094] clocksource: Switched to clocksource arch_sys_counter
[    0.074132] NET: Registered protocol family 2
[    0.074516] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.074544] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.074590] TCP: Hash tables configured (established 4096 bind 4096)
[    0.074640] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.074656] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.074754] NET: Registered protocol family 1
[    0.075075] RPC: Registered named UNIX socket transport module.
[    0.075083] RPC: Registered udp transport module.
[    0.075089] RPC: Registered tcp transport module.
[    0.075095] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.075106] PCI: CLS 0 bytes, default 64
[    0.076552] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.076884] NFS: Registering the id_resolver key type
[    0.076904] Key type id_resolver registered
[    0.076911] Key type id_legacy registered
[    0.076926] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.076934] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.078390] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.078400] io scheduler noop registered
[    0.078407] io scheduler deadline registered
[    0.078431] io scheduler cfq registered (default)
[    0.078439] io scheduler mq-deadline registered
[    0.078446] io scheduler kyber registered
[    0.079792] gpio_rcar e6050000.gpio: driving 32 GPIOs
[    0.080675] gpio_rcar e6051000.gpio: driving 26 GPIOs
[    0.081629] gpio_rcar e6052000.gpio: driving 32 GPIOs
[    0.082600] gpio_rcar e6053000.gpio: driving 32 GPIOs
[    0.083589] gpio_rcar e6054000.gpio: driving 32 GPIOs
[    0.084628] gpio_rcar e6055000.gpio: driving 32 GPIOs
[    0.085574] gpio_rcar e6055400.gpio: driving 32 GPIOs
[    0.086482] gpio_rcar e6055800.gpio: driving 26 GPIOs
[    0.092923] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.093874] SuperH (H)SCI(F) driver initialized
[    0.094328] e6e60000.serial: ttySC0 at MMIO 0xe6e60000 (irq = 72, base_baud = 0) is a scif
[    0.803785] console [ttySC0] enabled
[    0.809097] libphy: Fixed MDIO Bus: probed
[    0.813586] CAN device driver interface
[    0.818939] ravb e6800000.ethernet: no valid MAC address supplied, using a random one
[    0.826879] libphy: ravb_mii: probed
[    0.831425] ravb e6800000.ethernet eth0: Base address at 0xe6800000, fa:5f:62:02:ee:07, IRQ 73.
[    0.840305] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.846840] ehci-pci: EHCI PCI platform driver
[    0.851314] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.857515] ohci-pci: OHCI PCI platform driver
[    0.862434] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers
[    0.871603] i2c /dev entries driver
[    0.876743] bq32k 2-0068: rtc core: registered bq32k as rtc0
[    0.882454] i2c-rcar e6530000.i2c: probed
[    0.888876] sh_mobile_sdhi ee100000.sd: Got CD GPIO
[    1.006280] sh_mobile_sdhi ee100000.sd: mmc0 base at 0xee100000 max clock rate 195 MHz
[    1.014674] sh_mobile_sdhi ee140000.sd: Got CD GPIO
[    1.019586] sh_mobile_sdhi ee140000.sd: Got WP GPIO
[    1.076123] sh_mmcif ee200000.mmc: Chip version 0x0003, clock rate 12MHz
[    1.083081] usbcore: registered new interface driver usbhid
[    1.088668] usbhid: USB HID core driver
[    1.093644] NET: Registered protocol family 10
[    1.098818] Segment Routing with IPv6
[    1.102524] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.108963] NET: Registered protocol family 17
[    1.113409] can: controller area network core (rev 20170425 abi 9)
[    1.119627] NET: Registered protocol family 29
[    1.124068] can: raw protocol (rev 20170425)
[    1.128341] can: broadcast manager protocol (rev 20170425 t)
[    1.133999] can: netlink gateway (rev 20170425) max_hops=1
[    1.139550] Key type dns_resolver registered
[    1.143942] Registering SWP/SWPB emulation handler
[    1.155076] renesas_irqc e61c0000.interrupt-controller: driving 10 irqs
[    1.163034] sh_mobile_sdhi ee140000.sd: Got CD GPIO
[    1.167953] sh_mobile_sdhi ee140000.sd: Got WP GPIO
[    1.280708] mmc0: new high speed SDHC card at address aaaa
[    1.286305] sh_mobile_sdhi ee140000.sd: mmc2 base at 0xee140000 max clock rate 97 MHz
[    1.286573] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[    1.299374] bq32k 2-0068: setting system clock to 2017-08-18 14:37:12 UTC (1503067032)
[    1.308291]  mmcblk0: p1 p2
[    1.409957] Micrel KSZ9031 Gigabit PHY e6800000.ethernet-ffffffff:03: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=e6800000.ethernet-ffffffff:03, irq=-1)
[    1.425675] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    1.565649] mmc1: new high speed MMC card at address 0001
[    1.571349] mmcblk1: mmc1:0001 MMC04G 3.52 GiB
[    1.575965] mmcblk1boot0: mmc1:0001 MMC04G partition 1 16.0 MiB
[    1.583140] mmcblk1boot1: mmc1:0001 MMC04G partition 2 16.0 MiB
[    1.590894]  mmcblk1: p1 p2
[    1.602789] mmc2: new ultra high speed SDR50 SDHC card at address aaaa
[    1.609585] mmcblk2: mmc2:aaaa SL32G 29.7 GiB
[    1.619300]  mmcblk2: p1
[    6.647618] ravb e6800000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    6.666117] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.696099] IP-Config: Guessing netmask 255.255.255.0
[    6.701168] IP-Config: Complete:
[    6.704395]      device=eth0, hwaddr=fa:5f:62:02:ee:07, ipaddr=192.168.1.32, mask=255.255.255.0, gw=255.255.255.255
[    6.714835]      host=192.168.1.32, domain=, nis-domain=(none)
[    6.720671]      bootserver=255.255.255.255, rootserver=192.168.1.30, rootpath=
[    6.728255] ALSA device list:
[    6.731219]   No soundcards found.
[    6.740364] VFS: Mounted root (nfs filesystem) on device 0:14.
[    6.746533] devtmpfs: mounted
[    6.750132] Freeing unused kernel memory: 1024K
INIT: version 2.88 booting
Error opening /dev/fb0: No such file or directory
Starting udev
udev: Not using udev cache because of changes detected in the following files:
udev:     /proc/version /proc/cmdline /proc/devices
udev:     lib/udev/rules.d/* etc/udev/rules.d/*
udev: The udev cache will be regenerated. To identify the detected changes,
udev: compare the cached sysconf at   /etc/udev/cache.data
udev: against the current sysconf at  /dev/shm/udev.cache
[    7.204386] udevd[768]: starting version 182
[    8.039434] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    8.059181] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
bootlogd: cannot allocate pseudo tty: No such file or directory
Populating dev cache
ALSA: Restoring mixer settings...
/usr/sbin/alsactl: load_state:1735: No soundcards found...
INIT: Entering runlevel: 5
Configuring network interfaces... ifup skipped for nfsroot interface eth0
run-parts: /etc/network/if-pre-up.d/nfsroot exited with code 1
Starting Xserver
Starting system message bus: fbset: can't open '/dev/fb0': No such file or directory
Unknown username "xuser" in message bus configuration file
dbus.
Starting Connection Manager
[    9.141554] random: crng init done
PVRSRVKM_PARAMS=
Module pvrsrvkm failed to load. Retrying.
Running /sbin/depmod
depmod: ERROR: could not open directory /lib/modules/4.13.0-rc2-next-20170727-00036-g92e95b03: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
Starting Dropbear SSH server: dropbear.
Starting rpcbind daemon...done.
Starting advanced power management daemon: No APM support in kernel
(failed.)
Starting syslogd/klogd: done
 * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon                       [ ok ]
Starting Telephony daemon
Starting Linux NFC daemon

Poky (Yocto Project Reference Distro) 2.0.1 iwave-g20m /dev/ttySC0

iwave-g20m login: root
root@iwave-g20m:~#

[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux