
U-Boot SPL 2013.01.01 (Apr 23 2014 - 11:57:02)
BOARD : Critical Link MitySOM-5CSX Module
INFO : Watchdog enabled
SDRAM: Initializing MMR registers
SDRAM: Calibrating PHY
SEQ.C: Preparing to start memory calibration
SEQ.C: CALIBRATION PASSED
SDRAM: ECC Enabled
ALTERA DWMMC: 0


U-Boot 2013.01.01 (Apr 23 2014 - 11:57:17) 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

preboot reading MMC uBoot ENV data

20 bytes read in 134 ms (0 Bytes/s)
14 bytes read in 133 ms (0 Bytes/s)
...done
Hit any key to stop autoboot:  0
MityARM-5CSX # boot
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
** Can't read partition table on 0:0 **
** Invalid partition 2 **
altera_load: Failed with error code -4
## Starting application at 0x3FF7F330 ...
## Application terminated, rc = 0xA
3663536 bytes read in 1314 ms (2.7 MiB/s)
20209 bytes read in 71 ms (277.3 KiB/s)
## Booting kernel from Legacy Image at 00007fc0 ...
   Image Name:   Linux-3.16.0-g1d15155
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3663472 Bytes = 3.5 MiB
   Load Address: 00008000
   Entry Point:  00008000
## Flattened Device Tree blob at 00000100
   Booting using the fdt blob at 0x00000100
   XIP Kernel Image ... OK
OK
   Loading Device Tree to 03ff8000, end 03fffef0 ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpuset
Linux version 3.16.0-g1d15155 (user@MitySOM-Dev) (gcc version 4.8.1 (GCC) ) #1 SMP Thu Apr 2 10:24:03 BST 2015
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: MitySOM-5CSX Altera SOCFPGA Cyclone V
Memory policy: Data cache writealloc
PERCPU: Embedded 8 pages/cpu @9fbd5000 s11008 r8192 d13568 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait mem=512M
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 511736K/524288K available (5516K kernel code, 277K rwdata, 1540K rodata, 382K init, 125K bss, 12552K reserved)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
    vmalloc : 0xa0800000 - 0xff000000   (1512 MB)
    lowmem  : 0x80000000 - 0xa0000000   ( 512 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x806ec300   (7057 kB)
      .init : 0x806ed000 - 0x8074cb00   ( 383 kB)
      .data : 0x8074e000 - 0x807937e8   ( 278 kB)
       .bss : 0x807937e8 - 0x807b2e1c   ( 126 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:16 nr_irqs:16 16
L2C: platform modifies aux control register: 0x02060000 -> 0x32460000
L2C: platform provided aux values permit register corruption.
L2C: DT/platform modifies aux control register: 0x02060000 -> 0x32460000
L2C-310 erratum 769419 enabled
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 ID prefetch enabled, offset 1 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 8 ways, 512 kB
L2C-310: CACHE_ID 0x410030c9, AUX_CTRL 0x76460001
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949672950ns
Console: colour dummy device 80x30
Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
ftrace: allocating 18739 entries in 55 pages
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x4fa588 - 0x4fa5e0
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated.
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
NET: Registered protocol family 16
fpga bridge driver
DMA: preallocated 256 KiB pool for atomic coherent allocations
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
altera_hps2fpga_bridge soc:fpgabridge@0: fpga bridge [hps2fpga] registered as device hps2fpga
altera_hps2fpga_bridge soc:fpgabridge@0: init-val not specified
altera_hps2fpga_bridge soc:fpgabridge@1: fpga bridge [lshps2fpga] registered as device lwhps2fpga
altera_hps2fpga_bridge soc:fpgabridge@1: init-val not specified
altera_hps2fpga_bridge soc:fpgabridge@2: fpga bridge [fpga2hps] registered as device fpga2hps
altera_hps2fpga_bridge soc:fpgabridge@2: init-val not specified
FPGA Mangager framework driver
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
Switched to clocksource timer1
NET: Registered protocol family 2
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP: reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
arm-pmu arm-pmu: PMU:CTI successfully enabled for 2 cores
futex hash table entries: 512 (order: 3, 32768 bytes)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
ntfs: driver 2.1.30 [Flags: R/W].
jffs2: version 2.2. (NAND)  2001-2006 Red Hat, Inc.
msgmni has been set to 999
io scheduler noop registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
console [ttyS0] disabled
ffc02000.serial0: ttyS0 at MMIO 0xffc02000 (irq = 194, base_baud = 6250000) is a 16550A
console [ttyS0] enabled
ffc03000.serial1: ttyS1 at MMIO 0xffc03000 (irq = 195, base_baud = 6250000) is a 16550A
altera_fpga_manager ff706000.fpgamgr: fpga manager [Altera FPGA Manager] registered as minor 0
brd: module loaded
at24 0-0050: 2048 byte 24c16 EEPROM, writable, 1 bytes/write
CAN device driver interface
/soc/ethernet@ff702000: could not get #reset-cells for /soc/rstmgr@ffd05000
stmmaceth ff702000.ethernet: no reset control found
stmmac - user ID: 0x10, Synopsys ID: 0x37
 Ring mode enabled
 DMA HW capability register supported
 Enhanced/Alternate descriptors
        Enabled extended descriptors
 RX Checksum Offload Engine supported (type 2)
 TX Checksum insertion supported
 Enable RX Mitigation via HW Watchdog Timer
libphy: stmmac: probed
eth0: PHY ID 00221622 at 3 IRQ POLL (stmmac-1:03) active
dwc2 ffb40000.usb: EPs: 15, dedicated fifos, 8064 entries in SPRAM
dwc2 ffb40000.usb: DWC OTG Controller
dwc2 ffb40000.usb: new USB bus registered, assigned bus number 1
dwc2 ffb40000.usb: irq 160, io mem 0x00000000
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: DWC OTG Controller
usb usb1: Manufacturer: Linux 3.16.0-g1d15155 dwc2_hsotg
usb usb1: SerialNumber: ffb40000.usb
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
rtc-ab18xx 0-0069: rtc core: registered ab1803 as rtc0
rtc-ab18xx 0-0069: 192 bytes nvram
i2c /dev entries driver
Synopsys Designware Multimedia Card Interface Driver
dw_mmc ff704000.dwmmc0: no vmmc regulator found: -19
dw_mmc ff704000.dwmmc0: Using internal DMA controller.
dw_mmc ff704000.dwmmc0: Version ID is 240a
dw_mmc ff704000.dwmmc0: DW MMC controller at irq 171, 32 bit host data width, 1024 deep fifo
dw_mmc ff704000.dwmmc0: 1 slots initialized
lp5562 0-0030: internal clock used
ledtrig-cpu: registered to indicate activity on CPUs
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
oprofile: using arm/armv7-ca9
TCP: cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
ThumbEE CPU extension supported.
Registering SWP/SWPB emulation handler
Waiting for root device /dev/mmcblk0p2...
mmc0: problem reading SD Status register.
mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
mmc0: new high speed SDHC card at address 1234
mmcblk0: mmc0:1234 SA04G 3.63 GiB
 mmcblk0: p1 p2 p3
random: nonblocking pool is initialized
kjournald starting.  Commit interval 5 seconds
EXT3-fs (mmcblk0p2): using internal journal
EXT3-fs (mmcblk0p2): recovery complete
EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
VFS: Mounted root (ext3 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 380K (806ed000 - 8074c000)
INIT: version 2.88 booting
Error opening /dev/fb0: No such file or directory
Starting udev
udevd[76]: starting version 182

udevadm settle - timeout of 3 seconds reached, the event queue contains:
  /sys/devices/soc/ff704000.dwmmc0/mmc_host/mmc0/mmc0:1234/block/mmcblk0 (560)
  /sys/devices/soc/ff704000.dwmmc0/mmc_host/mmc0/mmc0:1234/block/mmcblk0/mmcblk0p1 (561)
  /sys/devices/soc/ff704000.dwmmc0/mmc_host/mmc0/mmc0:1234/block/mmcblk0/mmcblk0p2 (562)
  /sys/devices/soc/ff704000.dwmmc0/mmc_host/mmc0/mmc0:1234/block/mmcblk0/mmcblk0p3 (563)
Starting Bootlog daemon: bootlogd.
Configuring network interfaces... eth0: device MAC address 70:b3:d5:ef:98:38
udhcpc (v1.21.1) started
Sending discover...
Sending select for 10.154.50.212...
Lease of 10.154.50.212 obtained, lease time 604800
/etc/udhcpc.d/50default: Adding DNS 10.154.1.2
/etc/udhcpc.d/50default: Adding DNS 10.147.1.13
/etc/udhcpc.d/50default: Adding DNS 10.1.1.6
done.
Starting rpcbind daemon...stmmaceth ff702000.ethernet eth0: Link is Up - 10Mbps/Half - flow control off
NET: Registered protocol family 10
done.
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
Starting atd: OK
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting OpenBSD Secure Shell server: sshd
done.
creating NFS state directory: done
NFS daemon support not enabled in kernel
Starting system log daemon...0
Starting kernel log daemon...0
Starting Lighttpd Web Server: lighttpd.
Starting crond: OK
Starting Network Interface Plugging Daemon: eth0.
Stopping Bootlog daemon: bootlogd.

Poky (Yocto Project Reference Distro) 1.5.4 mitysom-5csx /dev/ttyS0

mitysom-5csx login: root
root@mitysom-5csx:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 70:b3:d5:ef:98:38
          inet addr:10.154.50.212  Bcast:0.0.0.0  Mask:255.255.0.0
          inet6 addr: fe80::72b3:d5ff:feef:9838/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:63 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5103 (4.9 KiB)  TX bytes:1314 (1.2 KiB)
          Interrupt:152 Base address:0x4000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

