This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/EVMK2H: Auto Login and initialization scripts.

Part Number: EVMK2H

Tool/software: Linux

Hello,

I need to implement auto login over EVMk2H Board, and run a few applications automatically over startup. Any ideas how i might do that?

Best Regards

Sheraz Javaid

  • Hi,

    You need to modify the systemd services. Have a look at this article:
    wiki.archlinux.org/.../getty

    Best Regards,
    Yordan
  • You can try changing:
    ExecStart=-/sbin/agetty -8 -L %I 115200 $TERM
    to
    ExecStart=-/sbin/agetty -8 -L -a root %I 115200 $TERM
    in
    /lib/systemd/system/serial-getty@.service

    Best Regards,
    Yordan
  • Hi Yordon,
    I could not locate the systemd directory, I believe this is because I am using an older version of the SDK, i get this when i type uname -r.

    root@k2hk-evm:~# uname -r
    3.10.72-rt77-gdfe5ac2

    What other options do i have ? My boot log is as follows.


    U-Boot 2013.01 (Sep 30 2015 - 00:58:09)

    I2C: ready
    SPD csum OK; in SPD: 94 9B; computed 00000094 9B
    DDR3A Speed will be configured for 1333 Operation.
    Detected SO-DIMM [VR7PU127298HBDMET ]
    DDR3 speed 1333
    DRAM: 4 GiB (includes reported below)

    Reseting entire DDR3 memory to 0 ...
    DRAM: 2 GiB
    NAND: 512 MiB
    Net: K2HK_EMAC
    Warning: K2HK_EMAC using MAC address from net device
    , K2HK_EMAC1, K2HK_EMAC2, K2HK_EMAC3
    Hit any key to stop autoboot: 0
    Creating 1 MTD partitions on "nand0":
    0x000000180000-0x000020000000 : "mtd=2"
    UBI: attaching mtd1 to ubi0
    UBI: physical eraseblock size: 131072 bytes (128 KiB)
    UBI: logical eraseblock size: 126976 bytes
    UBI: smallest flash I/O unit: 2048
    UBI: VID header offset: 2048 (aligned 2048)
    UBI: data offset: 4096
    UBI: fixable bit-flip detected at PEB 3816
    UBI: attached mtd1 to ubi0
    UBI: MTD device name: "mtd=2"
    UBI: MTD device size: 510 MiB
    UBI: number of good PEBs: 4080
    UBI: number of bad PEBs: 4
    UBI: max. allowed volumes: 128
    UBI: wear-leveling threshold: 4096
    UBI: number of internal volumes: 1
    UBI: number of user volumes: 5
    UBI: available PEBs: 0
    UBI: total number of reserved PEBs: 4080
    UBI: number of PEBs reserved for bad PEB handling: 40
    UBI: max/mean erase counter: 2/0
    UBIFS: mounted UBI device 0, volume 0, name "boot"
    UBIFS: mounted read-only
    UBIFS: file system size: 9269248 bytes (9052 KiB, 8 MiB, 73 LEBs)
    UBIFS: journal size: 1650688 bytes (1612 KiB, 1 MiB, 13 LEBs)
    UBIFS: media format: w4/r0 (latest is w4/r0)
    UBIFS: default compressor: LZO
    UBIFS: reserved for root: 0 bytes (0 KiB)
    Loading file 'securedb.key.bin' to addr 0x0c000000 with size 28 (0x0000001c)...
    Done
    Loading file 'uImage-k2hk-evm.dtb' to addr 0x87000000 with size 55893 (0x0000da55)...
    Done
    Loading file 'skern-k2hk-evm.bin' to addr 0x0c5f0000 with size 45056 (0x0000b000)...
    Done
    Loading file 'uImage-keystone-evm.bin' to addr 0x88000000 with size 3787376 (0x0039ca70)...
    Done
    ## installed monitor, freq [200000000], status 0
    ## Booting kernel from Legacy Image at 88000000 ...
    Image Name: Linux-3.10.72-rt77-gdfe5ac2
    Created: 2015-09-30 10:47:53 UTC
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 3787312 Bytes = 3.6 MiB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    ## Flattened Device Tree blob at 87000000
    Booting using the fdt blob at 0x87000000
    Loading Kernel Image ... OK
    OK
    Using Device Tree in place at 87000000, end 87010a54

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 3.10.72-rt77-gdfe5ac2 (gtbldadm@ubuntu-12) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 SMP PREEMPT RT Wed Sep 30 06:47:41 EDT 2015
    [ 0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c7387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [ 0.000000] Machine: KeyStone2, model: Texas Instruments Keystone 2 SoC
    [ 0.000000] switching to high address space at 0x800000000
    [ 0.000000] cma: CMA: reserved 16 MiB at 1f000000
    [ 0.000000] Memory policy: ECC disabled, Data cache writealloc
    [ 0.000000] PERCPU: Embedded 8 pages/cpu @c279a000 s8384 r8192 d16192 u32768
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 654336
    [ 0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 rootfstype=ubifs root=ubi0:rootfs rootflags=sync rw ubi.mtd=2,2048
    [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
    [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.000000] Memory: 512MB 2048MB = 2560MB total
    [ 0.000000] Memory: 2575900k/2575900k available, 45540k reserved, 2097152K highmem
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    [ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc068dc20 (6680 kB)
    [ 0.000000] .init : 0xc068e000 - 0xc06ca0c0 ( 241 kB)
    [ 0.000000] .data : 0xc06cc000 - 0xc0724a98 ( 355 kB)
    [ 0.000000] .bss : 0xc0724a98 - 0xc075929c ( 211 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] NR_IRQS:16 nr_irqs:16 16
    [ 0.000000] ipc irq: irqchip registered, range 512-539
    [ 0.000000] Main PLL clk (1200000000 Hz), parent (122880000 Hz),postdiv = 2, mult = 624, prediv = 31
    [ 0.000000] Generic PLL clk (1200000000 Hz), parent (125000000 Hz),postdiv = 1, mult = 47, prediv = 4
    [ 0.000000] Generic PLL clk (983040000 Hz), parent (122880000 Hz),postdiv = 2, mult = 15, prediv = 0
    [ 0.000000] Generic PLL clk (333333333 Hz), parent (100000000 Hz),postdiv = 6, mult = 19, prediv = 0
    [ 0.000000] Generic PLL clk (333333333 Hz), parent (100000000 Hz),postdiv = 6, mult = 19, prediv = 0
    [ 0.000000] Architected local timer running at 200.00MHz (phys).
    [ 0.000000] Switching to timer-based delay loop
    [ 0.000000] sched_clock: ARM arch timer >56 bits at 200000kHz, resolution 640/128ns
    [ 0.000000] keystone timer clock @200000000 MHz
    [ 0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
    [ 0.000000] Console: colour dummy device 80x30
    [ 22.568888] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
    [ 22.568890] pid_max: default: 4096 minimum: 301
    [ 22.569016] Mount-cache hash table entries: 512
    [ 22.578752] CPU: Testing write buffer coherency: ok
    [ 22.578913] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 22.578929] psci: probing function IDs from device-tree
    [ 22.578942] Setting up static identity map for 0xc04aa458 - 0xc04aa4b0
    [ 22.703640] CPU1: Booted secondary processor
    [ 22.703668] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [ 22.743682] CPU2: Booted secondary processor
    [ 22.743709] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [ 22.783704] CPU3: Booted secondary processor
    [ 22.783735] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [ 22.783831] Brought up 4 CPUs
    [ 22.783850] SMP: Total of 4 processors activated (1600.00 BogoMIPS).
    [ 22.783855] CPU: All CPU(s) started in SVC mode.
    [ 22.784327] devtmpfs: initialized
    [ 22.797982] NET: Registered protocol family 16
    [ 22.799256] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 22.813372] No ATAGs?
    [ 22.813388] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 22.813395] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 22.824465] bio: create slab <bio-0> at 0
    [ 22.824920] keystone-pcie: keystone_pcie_rc_init - start
    [ 22.824944] keystone2_pcie_serdes_setup for domain 0
    [ 22.827067] keystone2_pcie_serdes_setup done domain 0, en_link_train = 1
    [ 22.827097] keystone-pcie: MEM 0x0000000050000000..0x000000005fffffff -> 0x0000000050000000
    [ 22.827106] keystone-pcie: IO 0x0000000023250000..0x0000000023253fff -> 0x0000000000000000
    [ 22.827140] keystone-pcie: pcie - number of legacy irqs = 4
    [ 22.827187] keystone-pcie: pcie - number of MSI host irqs = 8, msi_irqs = 32
    [ 22.928882] keystone-pcie: Doing PCI Setup...Done
    [ 22.928888] keystone-pcie: Starting PCI scan, nr 0...
    [ 22.929023] PCI host bridge to bus 0000:00
    [ 22.929034] pci_bus 0000:00: root bus resource [mem 0x50000000-0x5fffffff]
    [ 22.929041] pci_bus 0000:00: root bus resource [io 0x0000-0x3fff]
    [ 22.929048] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
    [ 22.929079] PCI: bus0: Fast back to back transfers enabled
    [ 22.929095] keystone-pcie: Ending PCI scan...
    [ 22.929103] keystone-pcie: keystone_pcie_rc_init - end
    [ 22.929396] vgaarb: loaded
    [ 22.929743] SCSI subsystem initialized
    [ 22.930400] usbcore: registered new interface driver usbfs
    [ 22.930488] usbcore: registered new interface driver hub
    [ 22.930597] usbcore: registered new device driver usb
    [ 22.931960] pps_core: LinuxPPS API ver. 1 registered
    [ 22.931966] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 22.932034] PTP clock support registered
    [ 22.932193] keystone-hwqueue hwqueue.36: qmgr start queue 0, number of queues 8192
    [ 22.932275] keystone-hwqueue hwqueue.36: added qmgr start queue 0, num of queues 8192, reg_peek e0840000, reg_status e0806000, reg_config e0808000, reg_region e080a000, reg_push e0880000, reg_pop e08c0000
    [ 22.932284] keystone-hwqueue hwqueue.36: qmgr start queue 8192, number of queues 8192
    [ 22.932360] keystone-hwqueue hwqueue.36: added qmgr start queue 8192, num of queues 8192, reg_peek e0900000, reg_status e080c400, reg_config e080e000, reg_region e081a000, reg_push e0940000, reg_pop e0980000
    [ 22.933140] keystone-hwqueue hwqueue.36: qos: sched port @8096, drop sched @8000
    [ 22.934266] keystone-hwqueue hwqueue.36: qos: sched port @6496, drop sched @6400
    [ 22.935332] keystone-hwqueue hwqueue.36: added pool pool-rio: 128 descriptors of size 256
    [ 22.935342] keystone-hwqueue hwqueue.36: added pool pool-xge: 1024 descriptors of size 128
    [ 22.935351] keystone-hwqueue hwqueue.36: added pool pool-crypto: 1024 descriptors of size 128
    [ 22.935359] keystone-hwqueue hwqueue.36: added pool pool-net: 11264 descriptors of size 128
    [ 22.935367] keystone-hwqueue hwqueue.36: added pool pool-udma: 1920 descriptors of size 256
    [ 22.938375] keystone-hwqueue hwqueue.36: registered queues 0-16383
    [ 22.938685] keystone-hwqueue hwqueue.36: qos version 0x200010b, magic valid
    [ 22.939183] keystone-hwqueue hwqueue.36: qos version 0x200010b, magic valid
    [ 22.946912] keystone-pktdma 2a08000.pktdma: registered 32 logical channels, flows 32, tx chans: 32, rx chans: 32, loopback
    [ 22.950923] keystone-pktdma 2004000.pktdma: registered 33 logical channels, flows 32, tx chans: 9, rx chans: 24
    [ 22.951501] keystone-pktdma 2fa1000.pktdma: registered 4 logical channels, flows 32, tx chans: 16, rx chans: 16
    [ 22.951642] Switching to clocksource arch_sys_counter
    [ 22.961674] NET: Registered protocol family 2
    [ 22.962223] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    [ 22.962296] TCP bind hash table entries: 4096 (order: 4, 114688 bytes)
    [ 22.962399] TCP: Hash tables configured (established 4096 bind 4096)
    [ 22.962443] TCP: reno registered
    [ 22.962452] UDP hash table entries: 256 (order: 2, 16384 bytes)
    [ 22.962475] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
    [ 22.962686] NET: Registered protocol family 1
    [ 22.962876] RPC: Registered named UNIX socket transport module.
    [ 22.962882] RPC: Registered udp transport module.
    [ 22.962887] RPC: Registered tcp transport module.
    [ 22.962892] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 22.963316] hw perfevents: enabled with ARMv7 Cortex-A15 PMU driver, 7 counters available
    [ 23.022565] bounce pool size: 64 pages
    [ 23.030977] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [ 23.031048] NTFS driver 2.1.30 [Flags: R/O].
    [ 23.031316] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    [ 23.031661] msgmni has been set to 967
    [ 23.032620] NET: Registered protocol family 38
    [ 23.032829] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    [ 23.032837] io scheduler noop registered
    [ 23.032842] io scheduler deadline registered
    [ 23.033097] io scheduler cfq registered (default)
    [ 23.034738] keystone-udma udma0.37: registered udma device udma0
    [ 23.096094] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [ 23.097756] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 309) is a 16550A
    [ 23.947351] console [ttyS0] enabled
    [ 23.951560] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 312) is a 16550A
    [ 23.962344] loop: module loaded
    [ 23.965632] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
    [ 23.974234] Generic platform RAM MTD, (c) 2004 Simtec Electronics
    [ 23.981284] ONFI param page 0 valid
    [ 23.984783] ONFI flash detected
    [ 23.987935] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xac (Micron MT29F4G08ABBDAHC), 512MiB, page size: 2048, OOB size: 64
    [ 23.999609] Bad block table found at page 262080, version 0x01
    [ 24.005855] Bad block table found at page 262016, version 0x01
    [ 24.011995] 3 ofpart partitions found on MTD device 30000000.nand
    [ 24.018107] Creating 3 MTD partitions on "30000000.nand":
    [ 24.023524] 0x000000000000-0x000000100000 : "u-boot"
    [ 24.029290] 0x000000100000-0x000000180000 : "params"
    [ 24.035006] 0x000000180000-0x000020000000 : "ubifs"
    [ 24.040771] davinci_nand 30000000.nand: controller rev. 2.5
    [ 24.047018] spi_davinci 21000400.spi: master is unqueued, this is deprecated
    [ 24.054370] m25p80 spi32766.0: found n25q128a11, expected n25q128
    [ 24.060486] m25p80 spi32766.0: n25q128a11 (16384 Kbytes)
    [ 24.065824] 2 ofpart partitions found on MTD device spi32766.0
    [ 24.071675] Creating 2 MTD partitions on "spi32766.0":
    [ 24.076830] 0x000000000000-0x000000080000 : "u-boot-spl"
    [ 24.082874] 0x000000080000-0x000001000000 : "test"
    [ 24.088735] spi_davinci 21000400.spi: Controller at 0xe087a400
    [ 24.094909] spi_davinci 21000600.spi: master is unqueued, this is deprecated
    [ 24.101985] spi_davinci 21000600.spi: Controller at 0xe087c600
    [ 24.108169] spi_davinci 21000800.spi: master is unqueued, this is deprecated
    [ 24.115246] spi_davinci 21000800.spi: Controller at 0xe087e800
    [ 24.122310] tun: Universal TUN/TAP device driver, 1.6
    [ 24.127376] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    [ 24.134160] keystone-netcp 2090000.netcp: number of serdeses 1
    [ 24.140026] keystone-netcp 2090000.netcp: Missing cpts_clock_mult property in the DT.
    [ 24.147886] keystone-netcp 2090000.netcp: Missing cpts_clock_shift property in the DT.
    [ 24.155832] keystone-netcp 2090000.netcp: Missing cpts_clock_div property in the DT.
    [ 24.164575] keystone-netcp 2090000.netcp: cpsw serdes 0 config done lanes(mask) 0x3
    [ 24.173208] keystone-netcp 2090000.netcp: Created interface "eth0"
    [ 24.179413] keystone-netcp 2090000.netcp: dma_chan_name nettx0
    [ 24.186158] keystone-netcp 2090000.netcp: Created interface "eth1"
    [ 24.192365] keystone-netcp 2090000.netcp: dma_chan_name nettx1
    [ 24.199105] keystone-netcp 2090000.netcp: Created interface "eth2"
    [ 24.205312] keystone-netcp 2090000.netcp: dma_chan_name nettx2
    [ 24.212086] keystone-netcp 2090000.netcp: Created interface "eth3"
    [ 24.218292] keystone-netcp 2090000.netcp: dma_chan_name nettx3
    [ 24.224280] keystone-netcp 2090000.netcp: pdsp 0 firmware: keystone/pa_pdsp0_classify1.fw
    [ 24.232488] keystone-netcp 2090000.netcp: pdsp 1 firmware: keystone/pa_pdsp1_classify1.fw
    [ 24.240696] keystone-netcp 2090000.netcp: pdsp 2 firmware: keystone/pa_pdsp2_classify1.fw
    [ 24.248905] keystone-netcp 2090000.netcp: pdsp 3 firmware: keystone/pa_pdsp3_classify2.fw
    [ 24.257113] keystone-netcp 2090000.netcp: pdsp 4 firmware: keystone/pa_pdsp45_pam.fw
    [ 24.264886] keystone-netcp 2090000.netcp: pdsp 5 firmware: keystone/pa_pdsp45_pam.fw
    [ 24.272836] keystone-netcp 2090000.netcp: could not find interface 2 node in device tree
    [ 24.280957] keystone-netcp 2090000.netcp: Attach of module keystone-qos declined with -19
    [ 24.289167] keystone-netcp 2090000.netcp: could not find interface 3 node in device tree
    [ 24.297288] keystone-netcp 2090000.netcp: Attach of module keystone-qos declined with -19
    [ 24.305511] keystone-netcp 2090000.netcp: Attach of module keystone-sa declined with -19
    [ 24.313634] keystone-netcp 2090000.netcp: Attach of module keystone-sa declined with -19
    [ 24.322872] dwc3 2690000.dwc3: no usb2 phy configured
    [ 24.327947] platform 2690000.dwc3: Driver dwc3 requests probe deferral
    [ 24.334982] usbcore: registered new interface driver usb-storage
    [ 24.341480] mousedev: PS/2 mouse device common for all mice
    [ 24.347300] i2c /dev entries driver
    [ 24.351505] watchdog 22f0080.wdt: heartbeat 60 sec
    [ 24.367987] keystone-crypto 20c0000.crypto: crypto accelerator enabled
    [ 24.374876] usbcore: registered new interface driver usbhid
    [ 24.380465] usbhid: USB HID core driver
    [ 24.384717] remoteproc0: 2620040.dsp0 is available
    [ 24.389609] remoteproc0: Note: remoteproc is still under development and considered experimental.
    [ 24.398600] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 24.409015] remoteproc0: no firmware found
    [ 24.413343] rproc-user 2620040.dsp0: registered misc device dsp0
    [ 24.419649] remoteproc1: 2620044.dsp1 is available
    [ 24.424542] remoteproc1: Note: remoteproc is still under development and considered experimental.
    [ 24.433532] remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 24.443944] remoteproc1: no firmware found
    [ 24.448279] rproc-user 2620044.dsp1: registered misc device dsp1
    [ 24.454581] remoteproc2: 2620048.dsp2 is available
    [ 24.459472] remoteproc2: Note: remoteproc is still under development and considered experimental.
    [ 24.468462] remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 24.478874] remoteproc2: no firmware found
    [ 24.483200] rproc-user 2620048.dsp2: registered misc device dsp2
    [ 24.489508] remoteproc3: 262004c.dsp3 is available
    [ 24.494401] remoteproc3: Note: remoteproc is still under development and considered experimental.
    [ 24.503392] remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 24.513804] remoteproc3: no firmware found
    [ 24.518129] rproc-user 262004c.dsp3: registered misc device dsp3
    [ 24.524435] remoteproc4: 2620050.dsp4 is available
    [ 24.529327] remoteproc4: Note: remoteproc is still under development and considered experimental.
    [ 24.538318] remoteproc4: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 24.548735] remoteproc4: no firmware found
    [ 24.553067] rproc-user 2620050.dsp4: registered misc device dsp4
    [ 24.559368] remoteproc5: 2620054.dsp5 is available
    [ 24.564261] remoteproc5: Note: remoteproc is still under development and considered experimental.
    [ 24.573253] remoteproc5: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 24.583664] remoteproc5: no firmware found
    [ 24.587993] rproc-user 2620054.dsp5: registered misc device dsp5
    [ 24.594326] remoteproc6: 2620058.dsp6 is available
    [ 24.599218] remoteproc6: Note: remoteproc is still under development and considered experimental.
    [ 24.608210] remoteproc6: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 24.618622] remoteproc6: no firmware found
    [ 24.622957] rproc-user 2620058.dsp6: registered misc device dsp6
    [ 24.629261] remoteproc7: 262005c.dsp7 is available
    [ 24.634155] remoteproc7: Note: remoteproc is still under development and considered experimental.
    [ 24.643146] remoteproc7: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 24.653558] remoteproc7: no firmware found
    [ 24.657884] rproc-user 262005c.dsp7: registered misc device dsp7
    [ 24.663930] rproc-user dspmem.38: kick gpio
    [ 24.668265] rproc-user dspmem.38: registered misc device dspmem
    [ 24.674412] ipip: IPv4 over IPv4 tunneling driver
    [ 24.679584] gre: GRE over IPv4 demultiplexor driver
    [ 24.684478] ip_gre: GRE over IPv4 tunneling driver
    [ 24.690148] TCP: cubic registered
    [ 24.693471] Initializing XFRM netlink socket
    [ 24.698360] NET: Registered protocol family 10
    [ 24.703532] NET: Registered protocol family 17
    [ 24.708001] NET: Registered protocol family 15
    [ 24.712459] NET: Registered protocol family 41
    [ 24.717044] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [ 24.724747] Registering SWP/SWPB emulation handler
    [ 24.931887] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [ 24.937401] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [ 24.945773] xhci-hcd xhci-hcd.0.auto: irq 425, io mem 0x02690000
    [ 24.951872] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 24.958683] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 24.965930] usb usb1: Product: xHCI Host Controller
    [ 24.970822] usb usb1: Manufacturer: Linux 3.10.72-rt77-gdfe5ac2 xhci-hcd
    [ 24.977546] usb usb1: SerialNumber: xhci-hcd.0.auto
    [ 24.982899] hub 1-0:1.0: USB hub found
    [ 24.986665] hub 1-0:1.0: 1 port detected
    [ 24.990789] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [ 24.996300] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [ 25.004057] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [ 25.010867] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 25.018114] usb usb2: Product: xHCI Host Controller
    [ 25.023008] usb usb2: Manufacturer: Linux 3.10.72-rt77-gdfe5ac2 xhci-hcd
    [ 25.029731] usb usb2: SerialNumber: xhci-hcd.0.auto
    [ 25.035042] hub 2-0:1.0: USB hub found
    [ 25.038807] hub 2-0:1.0: 1 port detected
    [ 25.043174] UBI: attaching mtd2 to ubi0
    [ 25.871851] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
    [ 25.892016] usb 2-1: Parent hub missing LPM exit latency info. Power management will be impacted.
    [ 25.901598] usb 2-1: New USB device found, idVendor=0781, idProduct=5591
    [ 25.908332] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 25.915494] usb 2-1: Product: Ultra USB 3.0
    [ 25.919689] usb 2-1: Manufacturer: SanDisk
    [ 25.923813] usb 2-1: SerialNumber: 4C531001490419119202
    [ 25.930301] usb-storage 2-1:1.0: USB Mass Storage device detected
    [ 25.936698] scsi0 : usb-storage 2-1:1.0
    [ 26.660468] UBI: scanning is finished
    [ 26.671218] UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 40, need 76
    [ 26.683933] UBI: attached mtd2 (name "ubifs", size 510 MiB) to ubi0
    [ 26.690221] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
    [ 26.697032] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
    [ 26.703756] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
    [ 26.710652] UBI: good PEBs: 4080, bad PEBs: 4, corrupted PEBs: 0
    [ 26.716678] UBI: user volume: 5, internal volumes: 1, max. volumes count: 128
    [ 26.723838] UBI: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 406925177
    [ 26.732828] UBI: available PEBs: 0, total reserved PEBs: 4080, PEBs reserved for bad PEB handling: 40
    [ 26.742088] UBI: background thread "ubi_bgt0d" started, PID 1373
    [ 26.748819] UBIFS: parse sync
    [ 26.752302] UBIFS: background thread "ubifs_bgt0_2" started, PID 1377
    [ 26.776769] UBIFS: recovery needed
    [ 26.853314] UBIFS: recovery completed
    [ 26.857060] UBIFS: mounted UBI device 0, volume 2, name "rootfs"
    [ 26.863088] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [ 26.872254] UBIFS: FS size: 468795392 bytes (447 MiB, 3692 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
    [ 26.882204] UBIFS: reserved for root: 0 bytes (0 KiB)
    [ 26.887273] UBIFS: media format: w4/r0 (latest is w4/r0), UUID C2A09440-5091-4FB5-B26B-2B5F69B72D77, small LPT model
    [ 26.898297] VFS: Mounted root (ubifs filesystem) on device 0:12.
    [ 26.905372] devtmpfs: mounted
    [ 26.908477] Freeing unused kernel memory: 240K (c068e000 - c06ca000)
    [ 26.932994] scsi 0:0:0:0: Direct-Access SanDisk Ultra USB 3.0 1.00 PQ: 0 ANSI: 6
    [ 26.942704] sd 0:0:0:0: [sda] 60062500 512-byte logical blocks: (30.7 GB/28.6 GiB)
    [ 26.950383] sd 0:0:0:0: Attached scsi generic sg0 type 0
    [ 26.951178] sd 0:0:0:0: [sda] Write Protect is off
    [ 26.951758] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [ 26.964050] sda: sda1
    [ 26.966397] sd 0:0:0:0: [sda] Attached SCSI removable disk
    INIT: version 2.88 booting
    [ 27.290836] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    Starting udev
    [ 27.582327] udevd[1418]: starting version 182
    [ 27.898945] temperature_kmodule: Unknown symbol hwmon_device_register (err 0)
    [ 27.906162] temperature_kmodule: Unknown symbol hwmon_device_unregister (err 0)
    [ 27.964358] CMEMK module: built on Sep 30 2015 at 05:09:19
    [ 27.969867] Reference Linux version 3.10.72
    [ 27.976548] no physical memory specified
    [ 27.980516] cmemk initialized
    [ 28.087743] temperature_kmodule: Unknown symbol hwmon_device_register (err 0)
    [ 28.094957] temperature_kmodule: Unknown symbol hwmon_device_unregister (err 0)
    [ 28.134026] uio_module_drv mpax.4: registered misc device mpax
    [ 28.159667] uio_module_drv edma3.5: registered misc device edma3
    [ 28.173955] uio_module_drv secmgr.6: registered misc device secmgr
    [ 28.184808] uio_module_drv qmss.7: registered misc device qmss
    Starting Bootlog daemon: [ 28.285263] uio_module_drv hyperlink0.41: registered misc device hyperlink0
    bootlogd.
    [ 28.300985] uio_module_drv hyperlink1.42: registered misc device hyperlink1
    [ 28.321420] uio_module_drv srio.43: registered misc device srio
    net.ipv4.conf.default.rp_filter = 1
    net.ipv4.conf.all.rp_filter = 1
    Wed Sep 30 13:33:00 UTC 2015
    INIT: Entering runlevel: 5
    Configuring network interfaces... [ 28.946948] keystone-netcp 2090000.netcp: initializing cpsw version 1.3 (1) SGMII identification value 0x4ed1
    [ 28.957082] keystone-netcp 2090000.netcp: Created a cpsw ale engine
    [ 29.123032] pps pps0: new PPS source ptp0
    [ 29.127075] cpts rftclk rate(600000000 HZ),mult(5120),shift(10),div(3)
    [ 29.168676] keystone-netcp 2090000.netcp: Using Packet Accelerator Firmware version 0x03000105
    [ 29.177327] keystone-netcp 2090000.netcp: pa_clk_rate(163840000 HZ),mult(25000),shift(12)
    [ 29.452171] net eth0: netcp device eth0 opened
    udhcpc (v1.22.1) started
    Sending discover...
    Sending select for 192.168.0.100...
    Lease of 192.168.0.100 obtained, lease time 30
    /etc/udhcpc.d/50default: Adding DNS 192.168.0.1
    done.
    Starting system message bus: dbus.
    Removing existing CMEMK module[ 30.927396] cmemk unregistered
    Inserting CMEMK module[ 30.934286] CMEMK module: built on Sep 30 2015 at 05:09:19
    [ 30.939791] Reference Linux version 3.10.72
    [ 30.944276] allocated heap buffer 0xc100000 of size 0x480000
    [ 30.949966] allocated heap buffer 0x822000000 of size 0x7000000
    [ 30.955918] cmemk initialized
    .
    Starting Dropbear SSH server: dropbear.
    cppi library link established for device : k2hk
    hyplnk library link established for device : k2hk
    PA library link established for device : k2hk
    qmss library link established for device : k2hk
    Starting mpmsrv daemon.
    Starting rmsrv daemonStarting /usr/bin/rmServer.out
    Daemon returned 0 as return value.
    .
    platform: k2hk-evm
    Starting softhsm daemon.
    Starting telnet daemon.
    Starting tiipclad daemon
    GateMP is not supported for this device

    Opened log file: lad.txt

    numProcessors = 9 id = 0 baseId = 0

    Spawned daemon: /usr/bin/lad_tci6638

    .
    UDEV trigger to register devices opened before udev came up
    [ 32.499545] temperature_kmodule: Unknown symbol hwmon_device_register (err 0)
    [ 32.506846] temperature_kmodule: Unknown symbol hwmon_device_unregister (err 0)
    Starting rpcbind daemon...done.
    creating NFS state directory: done
    starting statd: done
    Enabling Hyperlink Tx[ 33.067619] uio_module_drv qmss.7: mmap offset 0x21400000 is outside the allowed range
    [ 33.075590] uio_module_drv qmss.7: mmap offset 0x40000000 is outside the allowed range
    transport arm-remote-hyplnk-0 failed (error: -114) retval -1001
    Starting thttpd.
    Starting Lighttpd Web Server: lighttpd.
    2015-09-30 13:33:04: (/home/gtbldadm/yocto/mcsdk-3_01_04_07/oe-layersetup-mcsdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15t2hf-vfp-neon-linux-gnueabi/lighttpd/1.4.33-r1/lighttpd-1.4.33/src/log.c.166) server started
    * starting FTP Server: vsftpd... done.


    #>>>>> LCD 12
    IP Address:
    192.168.0.100
    Enabling thermal zones...
    /etc/rc5.d/S98thermal-zone-init: line 7: /sys/class/thermal/thermal_zone*/mode: No such file or directory
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    autoconf
    binutils-dev
    binutils
    bison-dev
    bison
    coreutils-dev
    coreutils
    cpp-symlinks
    cpp
    g++-symlinks
    g++
    gawk-common
    gawk-dev
    gawk
    gcc-symlinks
    gcc
    gdb
    gdbc6x
    gdbserver
    libgmp-dev
    libgmp10
    libgmpxx4
    libmpc3
    libmpfr4
    make

    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution. This can be done using
    the opkg remove command. i.e.:
    opkg remove <package>
    Where <package> is the name printed in the list above

    NOTE: If the package is a dependency of another package you
    will be notified of the dependent packages. You should
    use the --force-removal-of-dependent-packages option to
    also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    Stopping Bootlog daemon: bootlogd.

    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org k2hk-evm /dev/ttyS0

    Arago 2015.05 k2hk-evm /dev/ttyS0

    k2hk-evm login: root

    Best Regards
    Sheraz Javaid
  • Hi,

    I see. In this release there are init scripts in /etc/init.d. You have to modify the profile configuration.

    Best Regards,
    Yordan
  • What script exactly do i need to modify?

    Best Regards
    Sheraz Javaid
  • Hi,

    I don't have this old sdk installed so I cannot verify, but it should be something like:
    www.linuxquestions.org/.../
    or try this:
    wiki.gumstix.com/.../AutoLogin

    Best Regards,
    Yordan