OMAP-L138/AM-1808/AM-1810 initialization passed! Configuring 128MB mDDR Booting TI User Boot Loader UBL Version: 1.65:2.28.1 BuiltJul 11 2011 12:49:53 UBL Flashtype: SPI Starting SPI Memory Copy... Valid magicnum, 0x55424CBB, found at offset 0x00010000. DONE Jumping to entry point at 0xC1080000. U-Boot 2009.11-00002-gc6adda5 (May 01 2015 - 11:42:37) I2C: ready DRAM: 128 MB NAND: 256 MiB MMC: davinci: 0 In: serial Out: serial Err: serial ARM Clock : 300000000 Hz DDR Clock : 150000000 Hz EMIFA CLock : 100000000 Hz DSP Clock : 300000000 Hz ASYNC3 Clock : 150000000 Hz Enet config : 2 MMC 0 Enable : 1 Resetting ethernet phy Net: No ETH PHY detected!!! U-Boot > config set Ethernet Config : 0 UART - 0 Configuration --- Enable UART : 0 UART - 1 Configuration --- Enable UART : 1 Baud : 115200 HW Flow Control : 0 Is Console : 1 UART - 2 Configuration --- Enable UART : 0 SPI - 0 Configuration --- Enable SPI : 0 SPI - 1 Configuration --- Enable SPI : 1 CLK is Output : 1 Chip Select [0] Enable : 01 Chip Select [1] Enable : 00 Chip Select [2] Enable : 00 Chip Select [3] Enable : 00 Chip Select [4] Enable : 00 Chip Select [5] Enable : 00 Chip Select [6] Enable : 00 Chip Select [7] Enable : 00 ENA ENable : 0 CLK Rate : 30000000 LCD Configuration LCD Enable : 0 MMC 0 Configuration MMC 0 Enable : 1 Write Protect Pin bank : 4 Write Protect Pin bank offset : 1 Card Detect Pin bank : 4 Card Detect Pin bank offset : 0 U-Boot > config save Configuration Saved U-Boot > OMAP-L138/AM-1808/AM-1810 initialization passed! Configuring 128MB mDDR Booting TI User Boot Loader UBL Version: 1.65:2.28.1 BuiltJul 11 2011 12:49:53 UBL Flashtype: SPI Starting SPI Memory Copy... Valid magicnum, 0x55424CBB, found at offset 0x00010000. DONE Jumping to entry point at 0xC1080000. U-Boot 2009.11-00002-gc6adda5 (May 01 2015 - 11:42:37) I2C: ready DRAM: 128 MB NAND: 256 MiB MMC: davinci: 0 In: serial Out: serial Err: serial ARM Clock : 300000000 Hz DDR Clock : 150000000 Hz EMIFA CLock : 100000000 Hz DSP Clock : 300000000 Hz ASYNC3 Clock : 150000000 Hz Enet config : 2 MMC 0 Enable : 1 Resetting ethernet phy Net: No ETH PHY detected!!! U-Boot > mmcinfo Device: davinci Manufacturer ID: 3 OEM: 5344 Name: SD04G Tran Speed: 25000000 Rd Block Len: 512 SD version 2.0 High Capacity: Yes Capacity: 3965190144 Bus Width: 4-bit U-Boot > setenv bootargs mem=96M console=ttyS1,115200n8 mtdparts=nand:128M(rootfs),-(userfs) root=/dev/mmcblk0p1 rw rootwait ip=off U-Boot > ext2load mmc 0:1 c0700000 /boot/uImage Loading file "/boot/uImage" from mmc device 0:1 (xxa1) 2530232 bytes read U-Boot > bootm ## Booting kernel from Legacy Image at c0700000 ... Image Name: Linux-3.2.0 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2530168 Bytes = 2.4 MB Load Address: c0008000 Entry Point: c0008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Linux version 3.2.0 (root@mitydsp) (gcc version 4.5.4 20120305 (prerelease) (GCC) ) #1 PREEMPT Mon Jan 13 11:06:16 EST 2014 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 CPU: VIVT data cache, VIVT instruction cache Machine: MityDSP-L138/MityARM-1808 Ignoring unrecognised tag 0x42000101 Memory policy: ECC disabled, Data cache writethrough DaVinci da850/omap-l138/am18x variant 0x1 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 24384 Kernel command line: mem=96M console=ttyS1,115200n8 mtdparts=nand:128M(rootfs),-(userfs) root=/dev/mmcblk0p1 rw rootwait ip=off PID hash table entries: 512 (order: -1, 2048 bytes) Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 96MB = 96MB total Memory: 91368k/91368k available, 6936k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xc6800000 - 0xfea00000 ( 898 MB) lowmem : 0xc0000000 - 0xc6000000 ( 96 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .text : 0xc0008000 - 0xc052c598 (5266 kB) .init : 0xc052d000 - 0xc0555000 ( 160 kB) .data : 0xc0556000 - 0xc05b5a80 ( 383 kB) .bss : 0xc05b5aa4 - 0xc05e2490 ( 179 kB) NR_IRQS:245 Console: colour dummy device 80x30 Calibrating delay loop... 148.88 BogoMIPS (lpj=744448) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok devtmpfs: initialized DaVinci: 144 gpio irqs print_constraints: dummy: NET: Registered protocol family 16 baseboard_pre_init: Entered mityomapl138_setup_nand: using 8 bit data baseboard_init [IndustrialIO]... bio: create slab at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb print_constraints: VDCDC1: 1150 <--> 1350 mV at 1200 mV print_constraints: VDCDC2: 1800 mV print_constraints: VDCDC3: 1200 mV print_constraints: LDO1: 1800 mV print_constraints: LDO2: 2500 <--> 3300 mV at 3300 mV Advanced Linux Sound Architecture Driver Version 1.0.24. Switching to clocksource timer0_1 musb-hdrc: version 6.0, ?dma?, otg (peripheral+host) Waiting for USB PHY clock good... musb-hdrc musb-hdrc: USB OTG mode controller at fee00000 using PIO, IRQ 58 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 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. JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. msgmni has been set to 178 io scheduler noop registered (default) start plist test end plist test Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A console [ttyS1] enabled serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A brd: module loaded at24 1-0050: 256 byte 24c02 EEPROM, read-only, 0 bytes/write MityOMAPL138: Found MAC = 40:d8:55:17:c8:1c MityOMAPL138: Part Number = L138-FG-225-RC ahci ahci: forcing PORTS_IMPL to 0x1 ahci ahci: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode ahci ahci: flags: ncq sntf pm led clo only pmp pio slum part ccc scsi0 : ahci_platform ata1: SATA max UDMA/133 mmio [mem 0x01e18000-0x01e19fff] port 0x100 irq 67 ONFI flash detected ONFI param page 0 valid NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP) Bad block table found at page 131008, version 0x01 Bad block table found at page 130944, version 0x01 Creating 2 MTD partitions on "davinci_nand.1": 0x000000000000-0x000008000000 : "rootfs" 0x000008000000-0x000010000000 : "homefs" davinci_nand davinci_nand.1: controller rev. 2.5 spi_davinci spi_davinci.1: DMA: supported spi_davinci spi_davinci.1: DMA: RX channel: 18, TX channel: 19, event queue: 0 m25p80 spi1.0: m25p64-nonjedec (8192 Kbytes) Creating 8 MTD partitions on "m25p80": 0x000000000000-0x000000010000 : "ubl" 0x000000010000-0x000000090000 : "u-boot" 0x000000090000-0x0000000a0000 : "u-boot-env" 0x0000000a0000-0x0000000b0000 : "periph-config" No LCD configured MII PHY configured 0x0000000b0000-0x000000100000 : "reserved" 0x000000100000-0x000000400000 : "kernel" 0x000000400000-0x000000600000 : "fpga" 0x000000600000-0x000000800000 : "spare" spi_davinci spi_davinci.1: Controller at 0xfef0e000 CAN device driver interface ata1: SATA link down (SStatus 0 SControl 300) mcp251x spi1.1: MCP251x didn't enter in conf mode after reset mcp251x spi1.1: Probe failed mcp251x spi1.1: probe failed davinci_mdio davinci_mdio.0: davinci mdio revision 1.5 davinci_mdio davinci_mdio.0: no live phy, scanning all davinci_mdio: probe of davinci_mdio.0 failed with error -5 ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ohci ohci.0: DA8xx OHCI ohci ohci.0: new USB bus registered, assigned bus number 1 Waiting for USB PHY clock good... ohci ohci.0: irq 59, io mem 0x01e25000 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. mousedev: PS/2 mouse device common for all mice omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0 omap_rtc: RTC power up reset detected i2c /dev entries driver cpuidle: using governor ladder cpuidle: using governor menu davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode usbcore: registered new interface driver usbhid usbhid: USB HID core driver mmc0: new SDHC card at address 8eeb mmcblk0: mmc0:8eeb SD04G 3.69 GiB mmcblk0: p1 dsd1791 spi1.2: Failed to add route LLOUT->Line Out asoc: dsd1791 <-> davinci-mcasp.0 mapping ok ALSA device list: #0: MityDSP-L138 INDIO TCP cubic registered NET: Registered protocol family 17 can: controller area network core (rev 20090105 abi 8) NET: Registered protocol family 29 can: raw protocol (rev 20090105) regulator_init_complete: LDO2: incomplete constraints, leaving on regulator_init_complete: LDO1: incomplete constraints, leaving on regulator_init_complete: VDCDC3: incomplete constraints, leaving on regulator_init_complete: VDCDC2: incomplete constraints, leaving on regulator_init_complete: VDCDC1: incomplete constraints, leaving on console [netcon0] enabled netconsole: network logging started omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800) kjournald starting. Commit interval 5 seconds EXT3-fs (mmcblk0p1): using internal journal EXT3-fs (mmcblk0p1): mounted filesystem with writeback data mode VFS: Mounted root (ext3 filesystem) on device 179:1. devtmpfs: mounted Freeing init memory: 160K Failed to mount /sys/kernel/security: No such file or directory Welcome to The Ångström Distribution! NET: Registered protocol family 10 Starting LSB: The RPC portmapper... Starting udev Coldplug all Devices... Starting Remount API VFS... Starting Temporary Directory... Starting Journal Service... Started Journal Service [ OK ] Starting POSIX Message Queue File System... Starting Apply Kernel Variables... Starting Debug File System... Started Set Up Additional Binary Formats [ OK ] Started Huge Pages File System [ OK ] Starting Load Kernel Modules... Starting File System Check on Root Device... Starting udev Kernel Device Manager... Started LSB: The RPC portmapper [ OK ] Started Remount API VFS [ OK ] Started Temporary Directory [ OK ] Started POSIX Message Queue File System [ OK ] Started Apply Kernel Variables [ OK ] Started Debug File System [ OK ] udevd[1097]: starting version 182 Started File System Check on Root Device [ OK ] Started udev Kernel Device Manager [ OK ] Started Load Kernel Modules [ OK ] Started Configuration File System [ OK ] Started FUSE Control File System [ OK ] Starting Remount Root FS... Started Remount Root FS [ OK ] Started Machine ID first boot configure [ OK ] Starting Load Random Seed... Starting Recreate Volatile Files and Directories... Started Run pending postinsts [ OK ] Started Load Random Seed [ OK ] Started Recreate Volatile Files and Directories [ OK ] Starting Restore Sound Card State... Starting Timestamping service... Started Timestamping service [ OK ] Started SSH Key Generation [ OK ] Starting Permit User Sessions... portmap[1077]: Starting portmap daemon... Started Permit User Sessions [ OK ] Started Restore Sound Card State [ OK ] Starting Serial Getty on ttyS1... Started Serial Getty on ttyS1 [ OK ] .---O---. | | .-. o o | | |-----.-----.-----.| | .----..-----.-----. | | | __ | ---'| '--.| .-'| | | | | | | | |--- || --'| | | ' | | | | '---'---'--'--'--. |-----''----''--' '-----'-'-'-' -' | '---' The Angstrom Distribution mityomapl138 ttyS1 Angstrom v2012.05 - Kernel 3.2.0 mityomapl138 login: Started udev Coldplug all Devices [ OK ] Starting Networking... PHY 0:03 not found net eth0: could not connect to phy 0:03 ADDRCONF(NETDEV_UP): eth0: link is not ready Started Networking [ OK ] Starting DropBear SSH Server... Started DropBear SSH Server [ OK ] Starting Getty on tty1... Started Getty on tty1 [ OK ] .---O---. | | .-. o o | | |-----.-----.-----.| | .----..-----.-----. | | | __ | ---'| '--.| .-'| | | | | | | | |--- || --'| | | ' | | | | '---'---'--'--'--. |-----''----''--' '-----'-'-'-' -' | '---' The Angstrom Distribution mityomapl138 ttyS1 Angstrom v2012.05 - Kernel 3.2.0 mityomapl138 login: root Last login: Sat Jan 1 00:12:53 UTC 2000 on ttyS1 root@mityomapl138:~# mount rootfs on / type rootfs (rw) /dev/root on / type ext3 (rw,relatime,errors=continue,user_xattr,barrier=1,data=writeback) devtmpfs on /dev type devtmpfs (rw,relatime,size=45684k,nr_inodes=11421,mode=755) proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime) devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620) tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755) tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755) cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd) tmpfs on /tmp type tmpfs (rw,relatime) mqueue on /dev/mqueue type mqueue (rw,relatime) debugfs on /sys/kernel/debug type debugfs (rw,relatime) /dev/mmcblk0p1 on /media/mmcblk0p1 type ext3 (rw,relatime,errors=continue,user_xattr,barrier=1,data=writeback) root@mityomapl138:~# cp /media/mmcblk0p1/home/root/TestuPPLBARM /tmp/ root@mityomapl138:~# cp /media/mmcblk0p1/home/root/TestuPPLBDSP.out /tmp/ root@mityomapl138:~# insmod /lib/modules/$(uname -r)/extra/dsplinkk.ko Disabling lock debugging due to kernel taint DSPLINK Module (1.65.00.03) created on Date: Jan 13 2014 Time: 16:10:29 root@mityomapl138:~# ./TestuPPLBARM TestuPPLBDSP.out can't set spi mode: Bad file descriptor Aborted root@mityomapl138:~# ./TestuPPLBARM TestuPPLBDSP.out can't set spi mode: Bad file descriptor Aborted root@mityomapl138:~#