Project

General

Profile

RE: FPGA PIO interrupt issues with Rocko and kernel 4.9 » kernel_4_9_RT_boot_log.txt

V J, 06/28/2019 10:04 AM

 
U-Boot SPL 2013.01.01 (Apr 04 2019 - 10:37:13)
BOARD : Critical Link MitySOM-5CSx Module
CLOCK: EOSC1 clock 25000 KHz
CLOCK: EOSC2 clock 25000 KHz
CLOCK: F2S_SDR_REF clock 0 KHz
CLOCK: F2S_PER_REF clock 0 KHz
CLOCK: MPU clock 800 MHz
CLOCK: DDR clock 400 MHz
CLOCK: UART clock 100000 KHz
CLOCK: MMC clock 50000 KHz
CLOCK: QSPI clock 400000 KHz
RESET: COLD
INFO : Watchdog enabled
SDRAM: Initializing MMR registers
SDRAM: Calibrating PHY
SEQ.C: Preparing to start memory calibration
SEQ.C: CALIBRATION PASSED
SDRAM: 1024 MiB
SDRAM: Initializing SDRAM ECC
SDRAM: ECC initialized successfully with 1547 ms
SDRAM: ECC Enabled
ALTERA DWMMC: 0


U-Boot 2013.01.01 (Apr 04 2019 - 10:37:31) Critical Link MitySOM-5CSx

CPU : Altera SOCFPGA Platform
BOARD : Critical Link MitySOM-5CSx Module
I2C: ready
DRAM: 1 GiB
MMC: ALTERA DWMMC: 0
In: serial
Out: serial
Err: serial
Net: mii0
gpio: pin 28 (bank/mask = 0/0x10000000)
gpio: pin 28 (gpio 28) value is 0
gpio: pin 28 (bank/mask = 0/0x10000000)
gpio: pin 28 (gpio 28) value is 1
gpio: pin 0 (bank/mask = 0/0x00000001)
gpio: pin 0 (gpio 0) value is 1
gpio: pin 9 (bank/mask = 0/0x00000200)
gpio: pin 9 (gpio 9) value is 0
gpio: pin 9 (bank/mask = 0/0x00000200)
gpio: pin 9 (gpio 9) value is 1
Hit any key to stop autoboot: 0
4433232 bytes read in 237 ms (17.8 MiB/s)
33363 bytes read in 48 ms (678.7 KiB/s)
7007204 bytes read in 352 ms (19 MiB/s)
## Starting application at 0x3FF77598 ...
## Application terminated, rc = 0x0
## Starting application at 0x3FF77598 ...
## Application terminated, rc = 0x0
## Flattened Device Tree blob at 00000100
Booting using the fdt blob at 0x00000100
reserving fdt memory region: addr=0 size=1000
Loading Device Tree to 03ff4000, end 03fff252 ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.76-rt61-ltsi-07020-g8b1e2f3 (xyz@localhost.localdomain) (gcc version 4.8.3 20 140401 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.04 - Linaro GCC 4.8-2014.04) ) #4 SMP PREEMPT RT Wed Jun 26 11:51:56 CEST 2019
[ 0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt:Machine model: Terasic SoCkit
[ 0.000000] cma: Reserved 16 MiB at 0x2f000000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] percpu: Embedded 14 pages/cpu @ee9b9000 s28480 r8192 d20672 u57344
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 195072
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait mem=768M
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 751320K/786432K available (7168K kernel code, 484K rwdata, 1448K rodata, 1024K init, 21 8K bss, 18728K reserved, 16384K 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 : 0xf0800000 - 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0800000 (8160 kB)
[ 0.000000] .init : 0xc0a00000 - 0xc0b00000 (1024 kB)
[ 0.000000] .data : 0xc0b00000 - 0xc0b790f4 ( 485 kB)
[ 0.000000] .bss : 0xc0b790f4 - 0xc0bafcd0 ( 219 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU kthread priority: 1.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] L2C: DT/platform modifies aux control register: 0x02060000 -> 0x02460000
[ 0.000000] L2C-310 erratum 769419 enabled
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[ 0.000000] L2C-310 ID prefetch enabled, offset 1 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB
[ 0.000000] L2C-310: CACHE_ID 0x410030c9, AUX_CTRL 0x76460001
[ 0.000000] GIC: PPI13 is secure or misconfigured
[ 0.000000] GIC: PPI13 is secure or misconfigured
[ 0.000000] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[ 0.000006] sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 21474836475ns
[ 0.000013] Switching to timer-based delay loop, resolution 10ns
[ 0.000386] Console: colour dummy device 80x30
[ 0.000529] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj =1000000)
[ 0.000534] pid_max: default: 32768 minimum: 301
[ 0.000643] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000651] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001395] CPU: Testing write buffer coherency: ok
[ 0.001401] ftrace: allocating 23117 entries in 68 pages
[ 0.048075] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.048309] Setting up static identity map for 0x100000 - 0x100058
[ 0.280097] GIC: PPI13 is secure or misconfigured
[ 0.280109] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.280271] Brought up 2 CPUs
[ 0.280295] SMP: Total of 2 processors activated (400.00 BogoMIPS).
[ 0.280302] CPU: All CPU(s) started in SVC mode.
[ 0.281178] devtmpfs: initialized
[ 0.292580] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.293090] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 n s
[ 0.293117] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.295470] NET: Registered protocol family 16
[ 0.298273] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.314233] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.314251] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.348439] vgaarb: loaded
[ 0.349020] SCSI subsystem initialized
[ 0.349867] usbcore: registered new interface driver usbfs
[ 0.350033] usbcore: registered new interface driver hub
[ 0.350206] usbcore: registered new device driver usb
[ 0.350383] soc:usbphy@0 supply vcc not found, using dummy regulator
[ 0.353457] pps_core: LinuxPPS API ver. 1 registered
[ 0.353472] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.353566] PTP clock support registered
[ 0.354186] FPGA manager framework
[ 0.354716] fpga-region soc:base-fpga-region: FPGA Region probed
[ 0.356181] clocksource: Switched to clocksource timer1
[ 0.414380] NET: Registered protocol family 2
[ 0.415091] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.415201] TCP bind hash table entries: 8192 (order: 5, 229376 bytes)
[ 0.415701] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.415805] UDP hash table entries: 512 (order: 3, 32768 bytes)
[ 0.415892] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes)
[ 0.416362] NET: Registered protocol family 1
[ 0.426888] RPC: Registered named UNIX socket transport module.
[ 0.426903] RPC: Registered udp transport module.
[ 0.426912] RPC: Registered tcp transport module.
[ 0.426920] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.430183] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[ 0.446384] NFS: Registering the id_resolver key type
[ 0.446421] Key type id_resolver registered
[ 0.446431] Key type id_legacy registered
[ 0.446452] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 0.448000] ntfs: driver 2.1.32 [Flags: R/W].
[ 0.448550] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.450417] io scheduler noop registered (default)
[ 0.458844] dma-pl330 ffe01000.pdma: Loaded driver for PL330 DMAC-341330
[ 0.458865] dma-pl330 ffe01000.pdma: DBUFF-512x8bytes Num_Chans-8 Num_Peri-32 Num_Events-8
[ 0.466574] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.468530] console [ttyS0] disabled
[ 0.468597] ffc02000.serial0: ttyS0 at MMIO 0xffc02000 (irq = 37, base_baud = 6250000) is a 16550A
[ 1.068107] console [ttyS0] enabled
[ 1.072579] ffc03000.serial1: ttyS1 at MMIO 0xffc03000 (irq = 38, base_baud = 6250000) is a 16550A
[ 1.084290] brd: module loaded
[ 1.089245] at24 0-0050: 2048 byte 24c16 EEPROM, writable, 1 bytes/write
[ 1.099860] libphy: Fixed MDIO Bus: probed
[ 1.106845] CAN device driver interface
[ 1.111393] stmmac - user ID: 0x10, Synopsys ID: 0x37
[ 1.116429] Ring mode enabled
[ 1.119474] DMA HW capability register supported[ 1.123986] Enhanced/Alternate descriptors
[ 1.128155] Enabled extended descriptors
[ 1.132149] RX Checksum Offload Engine supported
[ 1.136836] COE Type 2
[ 1.139274] TX Checksum insertion supported
[ 1.143526] Enable RX Mitigation via HW Watchdog Timer
[ 1.154541] libphy: stmmac: probed
[ 1.157943] eth%d: PHY ID 00221622 at 3 IRQ POLL (stmmac-0:03) active
[ 1.166006] ffb40000.usb supply vusb_d not found, using dummy regulator
[ 1.172693] ffb40000.usb supply vusb_a not found, using dummy regulator
[ 1.179648] dwc2 ffb40000.usb: EPs: 16, dedicated fifos, 8064 entries in SPRAM
[ 1.187508] dwc2 ffb40000.usb: DWC OTG Controller
[ 1.192227] dwc2 ffb40000.usb: new USB bus registered, assigned bus number 1
[ 1.199386] dwc2 ffb40000.usb: irq 39, io mem 0x00000000
[ 1.205876] hub 1-0:1.0: USB hub found
[ 1.209667] hub 1-0:1.0: 1 port detected
[ 1.214730] usbcore: registered new interface driver usb-storage
[ 1.224391] mousedev: PS/2 mouse device common for all mice
[ 1.230624] i2c /dev entries driver
[ 1.236730] Synopsys Designware Multimedia Card Interface Driver
[ 1.243110] dw_mmc ff704000.dwmmc0: IDMAC supports 32-bit address mode.
[ 1.249814] dw_mmc ff704000.dwmmc0: Using internal DMA controller.
[ 1.255980] dw_mmc ff704000.dwmmc0: Version ID is 240a
[ 1.261258] dw_mmc ff704000.dwmmc0: DW MMC controller at irq 31,32 bit host data width,1024 deep fifo
[ 1.296244] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
[ 1.326357] dw_mmc ff704000.dwmmc0: 1 slots initialized
[ 1.333486] usbcore: registered new interface driver usbhid
[ 1.341052] usbhid: USB HID core driver
[ 1.345399] fpga_manager fpga0: Altera SOCFPGA FPGA Manager registered
[ 1.352834] altera_hps2fpga_bridge ff400000.fpga_bridge: fpga bridge [lwhps2fpga] registered
[ 1.364679] altera_hps2fpga_bridge ff500000.fpga_bridge: fpga bridge [hps2fpga] registered
[ 1.374904] NET: Registered protocol family 10
[ 1.380753] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.387673] NET: Registered protocol family 17
[ 1.392133] NET: Registered protocol family 15
[ 1.396565] can: controller area network core (rev 20120528 abi 9)
[ 1.402832] NET: Registered protocol family 29
[ 1.407265] can: raw protocol (rev 20120528)
[ 1.411522] can: broadcast manager protocol (rev 20161123 t)
[ 1.417170] can: netlink gateway (rev 20130117) max_hops=1
[ 1.423015] 8021q: 802.1Q VLAN Support v1.8
[ 1.427252] Key type dns_resolver registered
[ 1.431603] ThumbEE CPU extension supported.
[ 1.435870] Registering SWP/SWPB emulation handler
[ 1.445502] hctosys: unable to open rtc device (rtc0)
[ 1.450548] of_cfs_init
[ 1.453094] of_cfs_init: OK
[ 1.456789] ttyS0 - failed to request DMA
[ 1.461026] Waiting for root device /dev/mmcblk0p2...
[ 1.478970] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[ 1.488772] mmc0: new high speed SDHC card at address aaaa
[ 1.494922] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[ 1.504426] mmcblk0: p1 p2 p3
[ 1.579833] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem
[ 1.601713] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.609824] VFS: Mounted root (ext3 filesystem) on device 179:2.
[ 1.626531] devtmpfs: mounted
[ 1.630876] Freeing unused kernel memory: 1024K
[ 1.734273] random: fast init done
INIT: version 2.88 booting
Starting udev
[ 2.285847] udevd[774]: starting version 3.2.2
[ 2.342156] udevd[775]: starting eudev-3.2.2
[ 2.777989] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
hwclock: can't open '/dev/misc/rtc': No such file or directory
Fri May 17 09:55:50 UTC 2019
hwclock: can't open '/dev/misc/rtc': No such file or directory
INIT: Entering runlevel: 5
Configuring network interfaces... [ 3.790616] socfpga-dwmac ff702000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[ 3.799475] socfpga-dwmac ff702000.ethernet eth0: registered PTP clock
[ 3.806830] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
done.
Starting system message bus: dbus.
Starting OpenBSD Secure Shell server: sshd
done.
Starting rpcbind daemon...done.
starting statd: done
Starting atd: OK
hwclock: can't open '/dev/misc/rtc': No such file or directory
exportfs: can't open /etc/exports for reading
starting 8 nfsd kernel threads: [ 4.664432] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[ 4.676272] NFSD: starting 90-second grace period (net c0b66bc0)
done
starting mountd: done
loading RTC calibration values from /etc/abrtc.cal ...
Starting system log daemon...0
Starting kernel log daemon...0
Starting crond: OK
Starting Network Interface Plugging Daemon: eth0.
Starting tcf-agent: OK

Poky (Yocto Project Reference Distro) 2.4.4 mitysom-c5 /dev/ttyS0

mitysom-c5 login: [ 11.056892] socfpga-dwmac ff702000.ethernet eth0: Link is Up - 100Mbps/Full - flow contro l rx/tx
[ 11.066905] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 99.882775] random: crng init done

Poky (Yocto Project Reference Distro) 2.4.4 mitysom-c5 /dev/ttyS0

mitysom-c5 login:
(1-1/2)