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.

How to set static ip in file system

Other Parts Discussed in Thread: TPS65910, PMP

Hi ,

I want to set static ip to our ti8148evm board.But I'm not sure how to set.

Is it in the \etc\network\interfaces ?

Would you tell me how to do ?

Thank you very much.

BR

Bob

  • Bob,

    You can set the IP (static or dynamic/DHCP) in u-boot:

    http://processors.wiki.ti.com/index.php/Booting_Linux_kernel_using_U-Boot

    Setup the EVM IP address. You have two ways of doing it

    Use DHCP

    U-Boot> setenv autoload no
    U-Boot> dhcp

    Use static IP address

    U-Boot> setenv ipaddr <static ip address>

    http://processors.wiki.ti.com/index.php/DM814x_AM387x_PSP_U-Boot

    In case a static ip is available run the following commands

    TI8148_EVM# setenv ipaddr <your static ip>
    TI8148_EVM# saveenv

    Regards,
    Pavel
  • Hi Pavel,
    I have set it successfully according to the steps above .
    But I find sometimes the ip in linux is not the ip I have set.
    BR
    Bob
  • Bob,

    bob lee said:
    But I find sometimes the ip in linux is not the ip I have set.

    Make sure your boot arguments are not overwriting your static ip setings.

    BR
    Pavel

  • See the below wiki page:

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_User_Guide#Boot_over_Network_.28Ethernet.29_2

    Alternatively, kernel can be made to use the same IP address as assigned to U-Boot instead of doing DHCP request again by setting U-Boot parameters as follows:

    BR
    Pavel
  • Hi Pavel,

    I just want to know if we can set the static ip in arago-base-tisdk-image-dm814x-evm.

    I have set the ipaddr in the uboot,but the ip in linux isn't same as in uboot.

    Is it related to the udhcpc?If so ,how to disable it in arago-base-tisdk-image-dm814x-evm?

    BR

    Bob

  • yes,

    you may try like this,

    vi /etc/network/interfaces

    #Wired or wireless interfaces                                                  

    auto eth0                                                                      

    #iface eth0 inet dhcp                                                          

    #        pre-up /bin/grep -v -e "ip=[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" /proc/cm

    iface eth0 inet static                                                          

           address 192.168.254.184                                                

           netmask 255.255.255.0                                                  

           gateway 192.168.254.1                                                  

    auto eth1                                                                      

    #iface eth1 inet dhcp                                                          

    iface eth1 inet static                                                          

           address 192.168.253.183                                                

           netmask 255.255.255.0                                                  

           gateway 192.168.253.1  

  • Bob,

    bob lee said:

    I just want to know if we can set the static ip in arago-base-tisdk-image-dm814x-evm.

    I have set the ipaddr in the uboot,but the ip in linux isn't same as in uboot.

    Is it related to the udhcpc?If so ,how to disable it in arago-base-tisdk-image-dm814x-evm?

    When I set static ip in u-boot and boot arguments, this static ip is not changed nor in linux kernel neither in root filesystem, and I end up with this static up unchanged.

    TI8148_EVM#setenv ipaddr 172.20.0.127

    TI8148_EVM#setenv bootargs 'console=ttyO0,115200n8 root=/dev/nfs nfsroot=172.20.1.195:/home/users/pbotev/targetfs,nolock rw mem=364M@0x80000000 mem=320M@0x9FC00000 vmalloc=500M notifyk.vpssm3_sva=0xBF900000 ip=172.20.0.127 noinitrd'

    Starting kernel ...

    Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=172.20.1.195:/home/users/pbotev/targetfs,nolock rw mem=364M@0x80000000 mem=320M@0x9FC00000 vmalloc=500M notifyk.vpssm3_sva=0xBF900000 ip=172.20.0.127 noinitrd

    IP-Config: Guessing netmask 255.255.0.0
    IP-Config: Complete:
         device=eth0, addr=172.20.0.127, mask=255.255.0.0, gw=255.255.255.255,
         host=172.20.0.127, domain=, nis-domain=(none),
         bootserver=255.255.255.255, rootserver=172.20.1.195, rootpath=

    dm814x-evm login: root
    root@dm814x-evm:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 90:D7:EB:D5:13:96  
              inet addr:172.20.0.127  Bcast:172.20.255.255  Mask:255.255.0.0
              UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
              RX packets:44373 errors:0 dropped:212 overruns:0 frame:0
              TX packets:25775 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:58319021 (55.6 MiB)  TX bytes:2514040 (2.3 MiB)
              Interrupt:40

    Regards,
    Pavel

  • Hi Pavel,

    I have set static ip in interfaces ,but it always shows the message as below before login linux.

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

    Arago Project http://arago-project.org dm814x-evm ttyO0

    Arago 2011.09 dm814x-evm ttyO0

    dm814x-evm login: PHY: 0:01 - Link is Up - 100/Full
    PHY: 0:02 - Link is Up - 0/Half
    PHY: 0:02 - Link is Down

    Do you tell me how to change the code to disable it  to show the message as below?

    PHY: 0:01 - Link is Up - 100/FullPHY: 0:02 - Link is Up - 0/Half
    PHY: 0:02 - Link is Down

    Thank you

    BR

    Bob

  • Bob,

    bob lee said:

    Do you tell me how to change the code to disable it  to show the message as below?

    PHY: 0:01 - Link is Up - 100/FullPHY: 0:02 - Link is Up - 0/Half
    PHY: 0:02 - Link is Down

    I think these messages come from the linux kernel, not from the root filesystem. Could you please provide me all your steps in u-boot and all the boot log (not just part of it)?

    BR
    Pavel

  • Hi Pavel,

    Here is the boot up message.

    U-Boot 2010.06 (Jun 06 2014 - 11:54:38)

    TI8148-GP rev 3.0

    ARM clk: 600MHz
    DDR clk: 400MHz

    DRAM:  2 GiB
    NAND:  HW ECC BCH8 Selected
    256 MiB
    *** Warning - bad CRC or NAND, using default environment

    The 2nd stage U-Boot will now be auto-loaded
    Please do not interrupt the countdown till TI8148_EVM prompt if 2nd stage is already flashed
    Net:   <ethaddr> not set. Reading from E-fuse
    Detected MACID:84:7e:40:e9:c9:36
    cpsw
    Hit any key to stop autoboot:  0

    NAND read: device 0 offset 0x20000, size 0x40000
     262144 bytes read: OK
    ## Starting application at 0x81000000 ...


    U-Boot 2010.06 (Jun 06 2014 - 11:55:10)

    TI8148-GP rev 3.0

    ARM clk: 600MHz
    DDR clk: 400MHz

    I2C:   ready
    DRAM:  2 GiB
    NAND:  HW ECC BCH8 Selected
    256 MiB
    MMC:   OMAP SD/MMC: 0
                              .:;rrr;;.                  
                        ,5#@@@@#####@@@@@@#2,            
                     ,A@@@hi;;;r5;;;;r;rrSG@@@A,         
                   r@@#i;:;s222hG;rrsrrrrrr;ri#@@r       
                 :@@hr:r;SG3ssrr2r;rrsrsrsrsrr;rh@@:     
                B@H;;rr;3Hs;rrr;sr;;rrsrsrsrsrsr;;H@B    
               @@s:rrs;5#;;rrrr;r#@H:;;rrsrsrsrsrr:s@@   
              @@;;srs&X#9;r;r;;,2@@@rrr:;;rrsrsrsrr;;@@  
             @@;;rrsrrs@MB#@@@@@###@@@@@@#rsrsrsrsrr;;@@ 
            G@r;rrsrsr;#X;SX25Ss#@@#M@#9H9rrsrsrsrsrs;r@G
            @9:srsrsrs;2@;:;;:.X@@@@@H::;rrsrsrsrsrsrr:3@
           X@;rrsrsrsrr;XAi;;:&@@#@Bs:rrsrsrsrsrsrsrsrr;@X
           @#;rsrsrsrsrr;r2ir@@@###::rrsrsrsrsrsrsrsrsr:@@
           @A:rrsrsrsrr;:2@29@@M@@@;:;rrrrsrsrsrsrsrsrs;H@
           @&;rsrsrsrr;A@@@@@@###@@@s::;:;;rrsrsrsrsrsr;G@
           @#:rrsrsrsr;G@5Hr25@@@#@@@#9XG9s:rrrrsrsrsrs:#@
           M@;rsrsrsrs;r@&#;::S@@@@@@@M@@@@Grr:;rsrsrsr;@#
           :@s;rsrsrsrr:M#Msrr;;&#@@@@@@@@@@H@@5;rsrsr;s@,
            @@:rrsrsrsr;S@rrrsr;:;r3MH@@#@M5,S@@irrsrr:@@
             @A:rrsrsrsrrrrrsrsrrr;::;@##@r:;rH@h;srr:H@ 
             ;@9:rrsrsrsrrrsrsrsrsr;,S@Hi@i:;s;MX;rr:h@; 
              r@B:rrrrsrsrsrsrsrr;;sA@#i,i@h;r;S5;r:H@r  
               ,@@r;rrrsrsrsrsrr;2BM3r:;r:G@:rrr;;r@@,   
                 B@Mr;rrrrsrsrsr@@S;;;rrr:5M;rr;rM@H     
                  .@@@i;;rrrrsrs2i;rrrrr;r@M:;i@@@.      
                    .A@@#5r;;;r;;;rrr;r:r#AsM@@H.        
                       ;&@@@@MhXS5i5SX9B@@@@G;           
                           :ihM#@@@@@##hs,               

    Net:   Detected MACID:84:7e:40:e9:c9:36
    cpsw
    Hit any key to stop autoboot:  0

    NAND read: device 0 offset 0x280000, size 0x600000
    Skipping bad block 0x00280000
    Skipping bad block 0x002a0000
    Skipping bad block 0x002c0000
    Skipping bad block 0x002e0000
    Skipping bad block 0x00300000
    Skipping bad block 0x00320000
    Skipping bad block 0x00340000
    Skipping bad block 0x00360000
    Skipping bad block 0x00420000
    Skipping bad block 0x004c0000
    Skipping bad block 0x005a0000
     6291456 bytes read: OK

    NAND read: device 0 offset 0x880000, size 0x1400000
     20971520 bytes read: OK
    ## Booting kernel from Legacy Image at 81000000 ...
       Image Name:   Linux-2.6.37+
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2749100 Bytes = 2.6 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    Linux version 2.6.37+ (boblee@javenshen-desktop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #98 Tue Jan 27 15:09:33 CST 2015
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: ti8148evm
    bootconsole [earlycon0] enabled
    reserved size = 52428800 at 0x0
    FB: Reserving 52428800 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    OMAP chip is TI8148 3.0
    SRAM: Mapped pa 0x402f1000 to va 0xfe400000 size: 0xf000
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 52224
    Kernel command line: mem=256M console=ttyO0,115200n8 earlyprintk root=/dev/ram rw initrd=0x82000000,32MB
    PID hash table entries: 1024 (order: 0, 4096 bytes)
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 206MB = 206MB total
    Memory: 170024k/170024k available, 92120k reserved, 0K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
        vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)
        lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .init : 0xc0008000 - 0xc003c000   ( 208 kB)
          .text : 0xc003c000 - 0xc0532000   (5080 kB)
          .data : 0xc0532000 - 0xc057a7c0   ( 290 kB)
    SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:375
    IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    Total of 128 interrupts on 1 active controller
    GPMC revision 6.0
    Trying to install interrupt handler for IRQ368
    Trying to install interrupt handler for IRQ369
    Trying to install interrupt handler for IRQ370
    Trying to install interrupt handler for IRQ371
    Trying to install interrupt handler for IRQ372
    Trying to install interrupt handler for IRQ373
    Trying to install interrupt handler for IRQ374
    Trying to install type control for IRQ375
    Trying to set irq flags for IRQ375
    OMAP clockevent source: GPTIMER1 at 20000000 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 598.01 BogoMIPS (lpj=2990080)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    devtmpfs: initialized
    omap_voltage_early_init: voltage driver support not added
    regulator: core version 0.5
    regulator: dummy:
    NET: Registered protocol family 16
    omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!
    omap_voltage_add_dev: VDD specified does not exist!
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    omap_mux_init: Add partition: #1: core, flags: 4
    NOR: Can't request GPMC CS
    _omap_mux_get_by_name: Could not find signal gpio1_08_mux1
    _omap_mux_get_by_name: Could not find signal gpio1_10_mux1
    Debugfs: Only enabling/disabling deep sleep and wakeup timer is supported now
    registered ti81xx_vpss device
    registered ti81xx_vidout device
    registered ti81xx_fb device
    registered ti81xx_vin device
    bio: create slab <bio-0> at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    USBSS revision 4ea2080b
    registerd cppi-dma Intr @ IRQ 17
    Cppi41 Init Done
    omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
    tps65910 1-002d: read from reg 3f failed
    tps65910 1-002d: read from reg 1e failed
    set_machine_constraints: failed to enable VRTC
    tps65910 1-002d: failed to register tps65910-pmic regulator
    tps65910-pmic: probe of tps65910-pmic failed with error -121
    tps65910 1-002d: No interrupt support, no core IRQ
    omap_i2c omap_i2c.3: bus 3 rev4.0 at 400 kHz
    omap_i2c omap_i2c.4: bus 4 rev4.0 at 100 kHz
    Advanced Linux Sound Architecture Driver Version 1.0.23.
    Switching to clocksource gp timer
    musb-hdrc: version 6.0, host, debug=0
    musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    MUSB controller-0 revision 4ea20800
    musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    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: MUSB HDRC host driver
    usb usb1: Manufacturer: Linux 2.6.37+ musb-hcd
    usb usb1: SerialNumber: musb-hdrc.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.0: USB Host mode controller at d081e000 using DMA, IRQ 18
    musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    MUSB controller-1 revision 4ea20800
    musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: MUSB HDRC host driver
    usb usb2: Manufacturer: Linux 2.6.37+ musb-hcd
    usb usb2: SerialNumber: musb-hdrc.1
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.1: USB Host mode controller at d0828800 using DMA, IRQ 19
    NET: Registered protocol family 2
    IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 8192 bind 8192)
    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 udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    Trying to unpack rootfs image as initramfs...
    rootfs image is not initramfs (no cpio magic); looks like an initrd
    Freeing initrd memory: 32768K
    NetWinder Floating Point Emulator V0.97 (double precision)
    PMU: registered new PMU device of type 0
    omap-iommu omap-iommu.0: ducati registered
    omap-iommu omap-iommu.1: sys registered
    JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
    msgmni has been set to 396
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
    console [ttyO0] enabled, bootconsole disabled
    console [ttyO0] enabled, bootconsole disabled
    omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    brd: module loaded
    loop: module loaded
    ahci ahci.0: forcing PORTS_IMPL to 0x1
    ahci ahci.0: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc apst
    scsi0 : ahci_platform
    ata1: SATA max UDMA/133 irq_stat 0x00400040, connection status changed irq 16
    omap2-nand driver initializing
    NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung )
    Creating 7 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000020000 : "U-Boot-min"
    0x000000020000-0x000000260000 : "U-Boot"
    0x000000260000-0x000000280000 : "U-Boot Env"
    0x000000280000-0x000000880000 : "Kernel"
    0x000000880000-0x000001c80000 : "ramdisk"
    0x000001c80000-0x000004480000 : "yaffs2"
    0x000004480000-0x000010000000 : "Reserved"
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    davinci_mdio davinci_mdio.0: detected phy mask fffffff9
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver RTL821x Gigabit Ethernet
    davinci_mdio davinci_mdio.0: phy[2]: device 0:02, driver RTL821x Gigabit Ethernet
    CAN device driver interface
    CAN bus driver for Bosch D_CAN controller 1.0
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    usbcore: registered new interface driver cdc_acm
    cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    mice: PS/2 mouse device common for all mice
    qt602240_ts 1-004a: __qt602240_read_reg: i2c transfer failed
    qt602240_ts: probe of 1-004a failed with error -5
    rtc-ds1307 1-0068: rtc core: registered ds3231 as rtc0
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc1
    i2c /dev entries driver
    Linux video capture interface: v2.00
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v1.0.0)
    lm75 1-004f: hwmon0: sensor 'lm75'
    OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    usbcore: registered new interface driver snd-usb-audio
    asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
    asoc: HDMI-DAI-CODEC <-> hdmi-dai mapping ok
    ALSA device list:
      #0: TI81XX EVM
    IPVS: Registered protocols ()
    IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
    IPVS: ipvs loaded.
    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)
    can: broadcast manager protocol (rev 20090105 t)
    Registering the dns_resolver key type
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    omap_voltage_late_init: Voltage driver support not added
    Power Management for TI81XX.
    Detected MACID=84:7e:40:e9:c9:36
    rtc-ds1307 1-0068: setting system clock to 2015-01-27 14:59:09 UTC (1422370749)
    ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata1.15: Port Multiplier 1.2, 0x197b:0x3202 r0, 2 ports, feat 0x5/0xf
    ata1.00: hard resetting link
    ata1.00: SATA link up 1.5 Gbps (SStatus 113 SControl 320)
    ata1.01: hard resetting link
    ata1.01: SATA link down (SStatus 0 SControl 320)
    ata1.00: ATA-8: Shinedisk mSATA 8G, 20130816, max UDMA/133
    ata1.00: 15650208 sectors, multi 0: LBA
    ata1.00: configured for UDMA/133
    ata1: EH complete
    scsi 0:0:0:0: Direct-Access     ATA      Shinedisk mSATA  2013 PQ: 0 ANSI: 5
    sd 0:0:0:0: Attached scsi generic sg0 type 0
    sd 0:0:0:0: [sda] 15650208 512-byte logical blocks: (8.01 GB/7.46 GiB)
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
     sda: sda1
    sd 0:0:0:0: [sda] Attached SCSI disk
    RAMDISK: gzip image found at block 0
    VFS: Mounted root (ext2 filesystem) on device 1:0.
    devtmpfs: mounted
    Freeing init memory: 208K
    INIT: version 2.86 booting
    yaffs: dev is 32505861 name is "mtdblock5" rw
    yaffs: passed flags ""
    yaffs: dev is 32505862 name is "mtdblock6" rw
    yaffs: passed flags ""
    Please wait: booting...
    Error opening /dev/fb0: No such file or directory
    Starting udev
    WARNING: -e needs -E or -F
    udevd (86): /proc/86/oom_adj is deprecated, please use /proc/86/oom_score_adj instead.
    FAT: invalid media value (0xb9)
    VFS: Can't find a valid FAT filesystem on dev sda.
    yaffs: dev is 8388608 name is "sda" rw
    yaffs: passed flags ""
    yaffs: dev is 8388608 name is "sda" rw
    yaffs: passed flags ""
    EXT2-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
    Remounting root file system...
    Caching udev devnodes
    ALSA: Restoring mixer settings...
    No state is present for card EVM
    Found hardware: "" "" "" "" ""
    Hardware is initialized using a generic method
    No state is present for card EVM
    Configuring e2fsprogs.
    update-alternatives: Error: cannot register alternative chattr to /usr/bin/chattr since it is already registered to /bin/chattr
    update-alternatives: Linking //sbin/uuidd to uuidd.util-linux-ng
    Configuring update-modules.
    Configuring dbus.
     Adding system startup for /etc/init.d/dbus-1.
    Configuring network interfaces...
    CPSW phy found : id is : 0x1cc912

    CPSW phy found : id is : 0x1cc912
    ifconfig: SIOCGIFFLAGS: No such device
    ifconfig: SIOCSIFADDR: No such device
    route: SIOCADDRT: No such device
    done.
    Setting up IP spoofing protection: rp_filter.
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.

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

    Arago Project http://arago-project.org dm814x-evm ttyO0

    Arago 2011.09 dm814x-evm ttyO0

    dm814x-evm login: PHY: 0:01 - Link is Up - 100/Full
    PHY: 0:02 - Link is Up - 0/Half
    PHY: 0:02 - Link is Down

     

    BR

    Bob

  • Hi Pavel,

    U-Boot 2010.06 (Jun 06 2014 - 11:54:38)

    TI8148-GP rev 3.0

    ARM clk: 600MHz
    DDR clk: 400MHz

    DRAM:  2 GiB
    NAND:  HW ECC BCH8 Selected
    256 MiB
    *** Warning - bad CRC or NAND, using default environment

    The 2nd stage U-Boot will now be auto-loaded
    Please do not interrupt the countdown till TI8148_EVM prompt if 2nd stage is already flashed
    Net:   <ethaddr> not set. Reading from E-fuse
    Detected MACID:84:7e:40:e9:c9:36
    cpsw
    Hit any key to stop autoboot:  0

    NAND read: device 0 offset 0x20000, size 0x40000
     262144 bytes read: OK
    ## Starting application at 0x81000000 ...


    U-Boot 2010.06 (Jun 06 2014 - 11:55:10)

    TI8148-GP rev 3.0

    ARM clk: 600MHz
    DDR clk: 400MHz

    I2C:   ready
    DRAM:  2 GiB
    NAND:  HW ECC BCH8 Selected
    256 MiB
    MMC:   OMAP SD/MMC: 0
                              .:;rrr;;.                  
                        ,5#@@@@#####@@@@@@#2,            
                     ,A@@@hi;;;r5;;;;r;rrSG@@@A,         
                   r@@#i;:;s222hG;rrsrrrrrr;ri#@@r       
                 :@@hr:r;SG3ssrr2r;rrsrsrsrsrr;rh@@:     
                B@H;;rr;3Hs;rrr;sr;;rrsrsrsrsrsr;;H@B    
               @@s:rrs;5#;;rrrr;r#@H:;;rrsrsrsrsrr:s@@   
              @@;;srs&X#9;r;r;;,2@@@rrr:;;rrsrsrsrr;;@@  
             @@;;rrsrrs@MB#@@@@@###@@@@@@#rsrsrsrsrr;;@@ 
            G@r;rrsrsr;#X;SX25Ss#@@#M@#9H9rrsrsrsrsrs;r@G
            @9:srsrsrs;2@;:;;:.X@@@@@H::;rrsrsrsrsrsrr:3@
           X@;rrsrsrsrr;XAi;;:&@@#@Bs:rrsrsrsrsrsrsrsrr;@X
           @#;rsrsrsrsrr;r2ir@@@###::rrsrsrsrsrsrsrsrsr:@@
           @A:rrsrsrsrr;:2@29@@M@@@;:;rrrrsrsrsrsrsrsrs;H@
           @&;rsrsrsrr;A@@@@@@###@@@s::;:;;rrsrsrsrsrsr;G@
           @#:rrsrsrsr;G@5Hr25@@@#@@@#9XG9s:rrrrsrsrsrs:#@
           M@;rsrsrsrs;r@&#;::S@@@@@@@M@@@@Grr:;rsrsrsr;@#
           :@s;rsrsrsrr:M#Msrr;;&#@@@@@@@@@@H@@5;rsrsr;s@,
            @@:rrsrsrsr;S@rrrsr;:;r3MH@@#@M5,S@@irrsrr:@@
             @A:rrsrsrsrrrrrsrsrrr;::;@##@r:;rH@h;srr:H@ 
             ;@9:rrsrsrsrrrsrsrsrsr;,S@Hi@i:;s;MX;rr:h@; 
              r@B:rrrrsrsrsrsrsrr;;sA@#i,i@h;r;S5;r:H@r  
               ,@@r;rrrsrsrsrsrr;2BM3r:;r:G@:rrr;;r@@,   
                 B@Mr;rrrrsrsrsr@@S;;;rrr:5M;rr;rM@H     
                  .@@@i;;rrrrsrs2i;rrrrr;r@M:;i@@@.      
                    .A@@#5r;;;r;;;rrr;r:r#AsM@@H.        
                       ;&@@@@MhXS5i5SX9B@@@@G;           
                           :ihM#@@@@@##hs,               

    Net:   Detected MACID:84:7e:40:e9:c9:36
    cpsw
    Hit any key to stop autoboot:  0

    NAND read: device 0 offset 0x280000, size 0x600000
    Skipping bad block 0x00280000
    Skipping bad block 0x002a0000
    Skipping bad block 0x002c0000
    Skipping bad block 0x002e0000
    Skipping bad block 0x00300000
    Skipping bad block 0x00320000
    Skipping bad block 0x00340000
    Skipping bad block 0x00360000
    Skipping bad block 0x00420000
    Skipping bad block 0x004c0000
    Skipping bad block 0x005a0000
     6291456 bytes read: OK

    NAND read: device 0 offset 0x880000, size 0x1400000
     20971520 bytes read: OK
    ## Booting kernel from Legacy Image at 81000000 ...
       Image Name:   Linux-2.6.37+
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2749100 Bytes = 2.6 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    Linux version 2.6.37+ (boblee@javenshen-desktop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #98 Tue Jan 27 15:09:33 CST 2015
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: ti8148evm
    bootconsole [earlycon0] enabled
    reserved size = 52428800 at 0x0
    FB: Reserving 52428800 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    OMAP chip is TI8148 3.0
    SRAM: Mapped pa 0x402f1000 to va 0xfe400000 size: 0xf000
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 52224
    Kernel command line: mem=256M console=ttyO0,115200n8 earlyprintk root=/dev/ram rw initrd=0x82000000,32MB
    PID hash table entries: 1024 (order: 0, 4096 bytes)
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 206MB = 206MB total
    Memory: 170024k/170024k available, 92120k reserved, 0K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
        vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)
        lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .init : 0xc0008000 - 0xc003c000   ( 208 kB)
          .text : 0xc003c000 - 0xc0532000   (5080 kB)
          .data : 0xc0532000 - 0xc057a7c0   ( 290 kB)
    SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:375
    IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    Total of 128 interrupts on 1 active controller
    GPMC revision 6.0
    Trying to install interrupt handler for IRQ368
    Trying to install interrupt handler for IRQ369
    Trying to install interrupt handler for IRQ370
    Trying to install interrupt handler for IRQ371
    Trying to install interrupt handler for IRQ372
    Trying to install interrupt handler for IRQ373
    Trying to install interrupt handler for IRQ374
    Trying to install type control for IRQ375
    Trying to set irq flags for IRQ375
    OMAP clockevent source: GPTIMER1 at 20000000 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 598.01 BogoMIPS (lpj=2990080)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    devtmpfs: initialized
    omap_voltage_early_init: voltage driver support not added
    regulator: core version 0.5
    regulator: dummy:
    NET: Registered protocol family 16
    omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!
    omap_voltage_add_dev: VDD specified does not exist!
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    omap_mux_init: Add partition: #1: core, flags: 4
    NOR: Can't request GPMC CS
    _omap_mux_get_by_name: Could not find signal gpio1_08_mux1
    _omap_mux_get_by_name: Could not find signal gpio1_10_mux1
    Debugfs: Only enabling/disabling deep sleep and wakeup timer is supported now
    registered ti81xx_vpss device
    registered ti81xx_vidout device
    registered ti81xx_fb device
    registered ti81xx_vin device
    bio: create slab <bio-0> at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    USBSS revision 4ea2080b
    registerd cppi-dma Intr @ IRQ 17
    Cppi41 Init Done
    omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
    tps65910 1-002d: read from reg 3f failed
    tps65910 1-002d: read from reg 1e failed
    set_machine_constraints: failed to enable VRTC
    tps65910 1-002d: failed to register tps65910-pmic regulator
    tps65910-pmic: probe of tps65910-pmic failed with error -121
    tps65910 1-002d: No interrupt support, no core IRQ
    omap_i2c omap_i2c.3: bus 3 rev4.0 at 400 kHz
    omap_i2c omap_i2c.4: bus 4 rev4.0 at 100 kHz
    Advanced Linux Sound Architecture Driver Version 1.0.23.
    Switching to clocksource gp timer
    musb-hdrc: version 6.0, host, debug=0
    musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    MUSB controller-0 revision 4ea20800
    musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    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: MUSB HDRC host driver
    usb usb1: Manufacturer: Linux 2.6.37+ musb-hcd
    usb usb1: SerialNumber: musb-hdrc.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.0: USB Host mode controller at d081e000 using DMA, IRQ 18
    musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    MUSB controller-1 revision 4ea20800
    musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: MUSB HDRC host driver
    usb usb2: Manufacturer: Linux 2.6.37+ musb-hcd
    usb usb2: SerialNumber: musb-hdrc.1
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.1: USB Host mode controller at d0828800 using DMA, IRQ 19
    NET: Registered protocol family 2
    IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 8192 bind 8192)
    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 udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    Trying to unpack rootfs image as initramfs...
    rootfs image is not initramfs (no cpio magic); looks like an initrd
    Freeing initrd memory: 32768K
    NetWinder Floating Point Emulator V0.97 (double precision)
    PMU: registered new PMU device of type 0
    omap-iommu omap-iommu.0: ducati registered
    omap-iommu omap-iommu.1: sys registered
    JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
    msgmni has been set to 396
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
    console [ttyO0] enabled, bootconsole disabled
    console [ttyO0] enabled, bootconsole disabled
    omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    brd: module loaded
    loop: module loaded
    ahci ahci.0: forcing PORTS_IMPL to 0x1
    ahci ahci.0: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc apst
    scsi0 : ahci_platform
    ata1: SATA max UDMA/133 irq_stat 0x00400040, connection status changed irq 16
    omap2-nand driver initializing
    NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung )
    Creating 7 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000020000 : "U-Boot-min"
    0x000000020000-0x000000260000 : "U-Boot"
    0x000000260000-0x000000280000 : "U-Boot Env"
    0x000000280000-0x000000880000 : "Kernel"
    0x000000880000-0x000001c80000 : "ramdisk"
    0x000001c80000-0x000004480000 : "yaffs2"
    0x000004480000-0x000010000000 : "Reserved"
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    davinci_mdio davinci_mdio.0: detected phy mask fffffff9
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver RTL821x Gigabit Ethernet
    davinci_mdio davinci_mdio.0: phy[2]: device 0:02, driver RTL821x Gigabit Ethernet
    CAN device driver interface
    CAN bus driver for Bosch D_CAN controller 1.0
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    usbcore: registered new interface driver cdc_acm
    cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    mice: PS/2 mouse device common for all mice
    qt602240_ts 1-004a: __qt602240_read_reg: i2c transfer failed
    qt602240_ts: probe of 1-004a failed with error -5
    rtc-ds1307 1-0068: rtc core: registered ds3231 as rtc0
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc1
    i2c /dev entries driver
    Linux video capture interface: v2.00
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v1.0.0)
    lm75 1-004f: hwmon0: sensor 'lm75'
    OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    usbcore: registered new interface driver snd-usb-audio
    asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
    asoc: HDMI-DAI-CODEC <-> hdmi-dai mapping ok
    ALSA device list:
      #0: TI81XX EVM


  • IPVS: Registered protocols ()
    IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
    IPVS: ipvs loaded.
    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)
    can: broadcast manager protocol (rev 20090105 t)
    Registering the dns_resolver key type
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    omap_voltage_late_init: Voltage driver support not added
    Power Management for TI81XX.
    Detected MACID=84:7e:40:e9:c9:36
    rtc-ds1307 1-0068: setting system clock to 2015-01-27 14:59:09 UTC (1422370749)
    ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata1.15: Port Multiplier 1.2, 0x197b:0x3202 r0, 2 ports, feat 0x5/0xf
    ata1.00: hard resetting link
    ata1.00: SATA link up 1.5 Gbps (SStatus 113 SControl 320)
    ata1.01: hard resetting link
    ata1.01: SATA link down (SStatus 0 SControl 320)
    ata1.00: ATA-8: Shinedisk mSATA 8G, 20130816, max UDMA/133
    ata1.00: 15650208 sectors, multi 0: LBA
    ata1.00: configured for UDMA/133
    ata1: EH complete
    scsi 0:0:0:0: Direct-Access     ATA      Shinedisk mSATA  2013 PQ: 0 ANSI: 5
    sd 0:0:0:0: Attached scsi generic sg0 type 0
    sd 0:0:0:0: [sda] 15650208 512-byte logical blocks: (8.01 GB/7.46 GiB)
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
     sda: sda1
    sd 0:0:0:0: [sda] Attached SCSI disk
    RAMDISK: gzip image found at block 0
    VFS: Mounted root (ext2 filesystem) on device 1:0.
    devtmpfs: mounted
    Freeing init memory: 208K
    INIT: version 2.86 booting
    yaffs: dev is 32505861 name is "mtdblock5" rw
    yaffs: passed flags ""
    yaffs: dev is 32505862 name is "mtdblock6" rw
    yaffs: passed flags ""
    Please wait: booting...
    Error opening /dev/fb0: No such file or directory
    Starting udev
    WARNING: -e needs -E or -F
    udevd (86): /proc/86/oom_adj is deprecated, please use /proc/86/oom_score_adj instead.
    FAT: invalid media value (0xb9)
    VFS: Can't find a valid FAT filesystem on dev sda.
    yaffs: dev is 8388608 name is "sda" rw
    yaffs: passed flags ""
    yaffs: dev is 8388608 name is "sda" rw
    yaffs: passed flags ""
    EXT2-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
    Remounting root file system...
    Caching udev devnodes
    ALSA: Restoring mixer settings...
    No state is present for card EVM
    Found hardware: "" "" "" "" ""
    Hardware is initialized using a generic method
    No state is present for card EVM
    Configuring e2fsprogs.
    update-alternatives: Error: cannot register alternative chattr to /usr/bin/chattr since it is already registered to /bin/chattr
    update-alternatives: Linking //sbin/uuidd to uuidd.util-linux-ng
    Configuring update-modules.
    Configuring dbus.
     Adding system startup for /etc/init.d/dbus-1.
    Configuring network interfaces...
    CPSW phy found : id is : 0x1cc912

    CPSW phy found : id is : 0x1cc912
    ifconfig: SIOCGIFFLAGS: No such device
    ifconfig: SIOCSIFADDR: No such device
    route: SIOCADDRT: No such device
    done.
    Setting up IP spoofing protection: rp_filter.
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.

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

    Arago Project http://arago-project.org dm814x-evm ttyO0

    Arago 2011.09 dm814x-evm ttyO0

    dm814x-evm login: PHY: 0:01 - Link is Up - 100/Full
    PHY: 0:02 - Link is Up - 0/Half
    PHY: 0:02 - Link is Down

  • IPVS: Registered protocols ()
    IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
    IPVS: ipvs loaded.
    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)
    can: broadcast manager protocol (rev 20090105 t)
    Registering the dns_resolver key type
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    omap_voltage_late_init: Voltage driver support not added
    Power Management for TI81XX.
    Detected MACID=84:7e:40:e9:c9:36
    rtc-ds1307 1-0068: setting system clock to 2015-01-27 14:59:09 UTC (1422370749)
    ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata1.15: Port Multiplier 1.2, 0x197b:0x3202 r0, 2 ports, feat 0x5/0xf
    ata1.00: hard resetting link
    ata1.00: SATA link up 1.5 Gbps (SStatus 113 SControl 320)
    ata1.01: hard resetting link
    ata1.01: SATA link down (SStatus 0 SControl 320)
    ata1.00: ATA-8: Shinedisk mSATA 8G, 20130816, max UDMA/133
    ata1.00: 15650208 sectors, multi 0: LBA
    ata1.00: configured for UDMA/133
    ata1: EH complete
    scsi 0:0:0:0: Direct-Access ATA Shinedisk mSATA 2013 PQ: 0 ANSI: 5
    sd 0:0:0:0: Attached scsi generic sg0 type 0
    sd 0:0:0:0: [sda] 15650208 512-byte logical blocks: (8.01 GB/7.46 GiB)
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    sda: sda1
    sd 0:0:0:0: [sda] Attached SCSI disk
    RAMDISK: gzip image found at block 0
    VFS: Mounted root (ext2 filesystem) on device 1:0.
    devtmpfs: mounted
    Freeing init memory: 208K
    INIT: version 2.86 booting
    yaffs: dev is 32505861 name is "mtdblock5" rw
    yaffs: passed flags ""
    yaffs: dev is 32505862 name is "mtdblock6" rw
    yaffs: passed flags ""
    Please wait: booting...
    Error opening /dev/fb0: No such file or directory
    Starting udev
    WARNING: -e needs -E or -F
    udevd (86): /proc/86/oom_adj is deprecated, please use /proc/86/oom_score_adj instead.
    FAT: invalid media value (0xb9)
    VFS: Can't find a valid FAT filesystem on dev sda.
    yaffs: dev is 8388608 name is "sda" rw
    yaffs: passed flags ""
    yaffs: dev is 8388608 name is "sda" rw
    yaffs: passed flags ""
    EXT2-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
    Remounting root file system...
    Caching udev devnodes
    ALSA: Restoring mixer settings...
    No state is present for card EVM
    Found hardware: "" "" "" "" ""
    Hardware is initialized using a generic method
    No state is present for card EVM
    Configuring e2fsprogs.
    update-alternatives: Error: cannot register alternative chattr to /usr/bin/chattr since it is already registered to /bin/chattr
    update-alternatives: Linking //sbin/uuidd to uuidd.util-linux-ng
    Configuring update-modules.
    Configuring dbus.
    Adding system startup for /etc/init.d/dbus-1.
    Configuring network interfaces...
    CPSW phy found : id is : 0x1cc912

    CPSW phy found : id is : 0x1cc912
    ifconfig: SIOCGIFFLAGS: No such device
    ifconfig: SIOCSIFADDR: No such device
    route: SIOCADDRT: No such device
    done.
    Setting up IP spoofing protection: rp_filter.
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.

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

    Arago Project http://arago-project.org dm814x-evm ttyO0

    Arago 2011.09 dm814x-evm ttyO0

    dm814x-evm login: PHY: 0:01 - Link is Up - 100/Full
    PHY: 0:02 - Link is Up - 0/Half
    PHY: 0:02 - Link is Down
  • Bob,

    Your log ends here:

    bob lee said:
    asoc: HDMI-DAI-CODEC <-> hdmi-dai mapping ok
    ALSA device list:
      #0: TI81XX EVM

    Is this just part of the boot log or it hangs here?

    bob lee said:
    Kernel command line: mem=256M console=ttyO0,115200n8 earlyprintk root=/dev/ram rw initrd=0x82000000,32MB

    I see you are not using NFS but RAM. You are not using nor static IP neither dynamic IP (DHCP). I think you mess up your boot settings in NAND.

    BR
    Pavel

  • IPVS: Registered protocols ()
    IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
    IPVS: ipvs loaded.
    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)
    can: broadcast manager protocol (rev 20090105 t)
    Registering the dns_resolver key type
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    omap_voltage_late_init: Voltage driver support not added
    Power Management for TI81XX.
    Detected MACID=84:7e:40:e9:c9:36
    rtc-ds1307 1-0068: setting system clock to 2015-01-27 17:56:27 UTC (1422381387)
    ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata1.15: Port Multiplier 1.2, 0x197b:0x3202 r0, 2 ports, feat 0x5/0xf
    ata1.00: hard resetting link
    ata1.00: SATA link up 1.5 Gbps (SStatus 113 SControl 320)
    ata1.01: hard resetting link
    ata1.01: SATA link down (SStatus 0 SControl 320)
    ata1.00: ATA-8: Shinedisk mSATA 8G, 20130816, max UDMA/133
    ata1.00: 15650208 sectors, multi 0: LBA
    ata1.00: configured for UDMA/133
    ata1: EH complete
    scsi 0:0:0:0: Direct-Access     ATA      Shinedisk mSATA  2013 PQ: 0 ANSI: 5
    sd 0:0:0:0: Attached scsi generic sg0 type 0
    sd 0:0:0:0: [sda] 15650208 512-byte logical blocks: (8.01 GB/7.46 GiB)
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
     sda: sda1
    sd 0:0:0:0: [sda] Attached SCSI disk
    RAMDISK: gzip image found at block 0
    VFS: Mounted root (ext2 filesystem) on device 1:0.
    devtmpfs: mounted
    Freeing init memory: 208K
    INIT: version 2.86 booting
    yaffs: dev is 32505861 name is "mtdblock5" rw
    yaffs: passed flags ""
    yaffs: dev is 32505862 name is "mtdblock6" rw
    yaffs: passed flags ""
    Please wait: booting...
    Error opening /dev/fb0: No such file or directory
    Starting udev
    WARNING: -e needs -E or -F
    udevd (86): /proc/86/oom_adj is deprecated, please use /proc/86/oom_score_adj instead.
    FAT: invalid media value (0xb9)
    VFS: Can't find a valid FAT filesystem on dev sda.
    yaffs: dev is 8388608 name is "sda" rw
    yaffs: passed flags ""
    yaffs: dev is 8388608 name is "sda" rw
    yaffs: passed flags ""
    EXT2-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
    Remounting root file system...
    Caching udev devnodes
    ALSA: Restoring mixer settings...
    No state is present for card EVM
    Found hardware: "" "" "" "" ""
    Hardware is initialized using a generic method
    No state is present for card EVM
    Configuring e2fsprogs.
    update-alternatives: Error: cannot register alternative chattr to /usr/bin/chattr since it is already registered to /bin/chattr
    update-alternatives: Linking //sbin/uuidd to uuidd.util-linux-ng
    Configuring update-modules.
    Configuring dbus.
     Adding system startup for /etc/init.d/dbus-1.
    Configuring network interfaces...
    CPSW phy found : id is : 0x1cc912

    CPSW phy found : id is : 0x1cc912
    ifconfig: SIOCGIFFLAGS: No such device
    ifconfig: SIOCSIFADDR: No such device
    route: SIOCADDRT: No such device
    done.
    Setting up IP spoofing protection: rp_filter.
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.

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

    Arago Project http://arago-project.org dm814x-evm ttyO0

    Arago 2011.09 dm814x-evm ttyO0

    dm814x-evm login: PHY: 0:01 - Link is Up - 100/Full
    PHY: 0:02 - Link is Up - 0/Half
    PHY: 0:02 - Link is Down

  • Hi Pavel,
    I write uImage and ramdisk.gz to nand.When boot up,read them to ram to run.
  • IPVS: Registered protocols ()
    IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
    IPVS: ipvs loaded.
    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)
    can: broadcast manager protocol (rev 20090105 t)
    Registering the dns_resolver key type
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    omap_voltage_late_init: Voltage driver support not added
    Power Management for TI81XX.
    Detected MACID=84:7e:40:e9:c9:36
    rtc-ds1307 1-0068: setting system clock to 2015-01-27 18:05:42 UTC (1422381942)
    ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata1.15: Port Multiplier 1.2, 0x197b:0x3202 r0, 2 ports, feat 0x5/0xf
    ata1.00: hard resetting link
    ata1.00: SATA link up 1.5 Gbps (SStatus 113 SControl 320)
    ata1.01: hard resetting link
    ata1.01: SATA link down (SStatus 0 SControl 320)
    ata1.00: ATA-8: Shinedisk mSATA 8G, 20130816, max UDMA/133
    ata1.00: 15650208 sectors, multi 0: LBA
    ata1.00: configured for UDMA/133
    ata1: EH complete
    scsi 0:0:0:0: Direct-Access     ATA      Shinedisk mSATA  2013 PQ: 0 ANSI: 5
    sd 0:0:0:0: Attached scsi generic sg0 type 0
    sd 0:0:0:0: [sda] 15650208 512-byte logical blocks: (8.01 GB/7.46 GiB)
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
     sda: sda1
    sd 0:0:0:0: [sda] Attached SCSI disk
    RAMDISK: gzip image found at block 0
    VFS: Mounted root (ext2 filesystem) on device 1:0.
    devtmpfs: mounted
    Freeing init memory: 208K
    INIT: version 2.86 booting
    yaffs: dev is 32505861 name is "mtdblock5" rw
    yaffs: passed flags ""
    yaffs: dev is 32505862 name is "mtdblock6" rw
    yaffs: passed flags ""
    Please wait: booting...
    Error opening /dev/fb0: No such file or directory
    Starting udev
    WARNING: -e needs -E or -F
    udevd (86): /proc/86/oom_adj is deprecated, please use /proc/86/oom_score_adj instead.
    FAT: invalid media value (0xb9)
    VFS: Can't find a valid FAT filesystem on dev sda.
    yaffs: dev is 8388608 name is "sda" rw
    yaffs: passed flags ""
    yaffs: dev is 8388608 name is "sda" rw
    yaffs: passed flags ""
    EXT2-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
    Remounting root file system...
    Caching udev devnodes
    ALSA: Restoring mixer settings...
    No state is present for card EVM
    Found hardware: "" "" "" "" ""
    Hardware is initialized using a generic method
    No state is present for card EVM
    Configuring e2fsprogs.
    update-alternatives: Error: cannot register alternative chattr to /usr/bin/chattr since it is already registered to /bin/chattr
    update-alternatives: Linking //sbin/uuidd to uuidd.util-linux-ng
    Configuring update-modules.
    Configuring dbus.
     Adding system startup for /etc/init.d/dbus-1.
    Configuring network interfaces...
    CPSW phy found : id is : 0x1cc912

    CPSW phy found : id is : 0x1cc912
    ifconfig: SIOCGIFFLAGS: No such device
    ifconfig: SIOCSIFADDR: No such device
    route: SIOCADDRT: No such device
    done.
    Setting up IP spoofing protection: rp_filter.
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.

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

    Arago Project http://arago-project.org dm814x-evm ttyO0

    Arago 2011.09 dm814x-evm ttyO0

    dm814x-evm login: PHY: 0:01 - Link is Up - 100/Full
    PHY: 0:02 - Link is Up - 0/Half
    PHY: 0:02 - Link is Down

  • Hi Pavel,

    I have pasted the other part message,but it shows as below.

    You have posted to a forum that requires a moderator to approve posts before they are publicly available.

    If the administrator has configured this forum to support email notifications you will receive an email when your post is either approved or denied (if you have emails enabled in your profile).

    Return to the DM814x and AM387x Processors Forum forum

     

    BR

    Bob

  • Bob,

    bob lee said:
    RAMDISK: gzip image found at block 0
    VFS: Mounted root (ext2 filesystem) on device 1:0.
    devtmpfs: mounted
    Freeing init memory: 208K
    INIT: version 2.86 booting
    yaffs: dev is 32505861 name is "mtdblock5" rw
    yaffs: passed flags ""
    yaffs: dev is 32505862 name is "mtdblock6" rw
    yaffs: passed flags ""

    I see you are using yaffs, not NFS with static/dynamic ip. But this e2e thread was opened with question regarding static ip. Could you please provide all your remaining questions regarding static ip usage?

    BR
    Pavel

  • Hi Pavel,

    I only mount two blocks for yaffs.

    I only want to set the ip to static ip in ramdisk.gz.Then I do , but it shows the message as below before login.
     _____                    _____           _         _  
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_| 
                  |___|                    |___|           

    Arago Project http://arago-project.org dm814x-evm ttyO0

    Arago 2011.09 dm814x-evm ttyO0

    dm814x-evm login: PHY: 0:01 - Link is Up - 100/Full
    PHY: 0:02 - Link is Up - 0/Half
    PHY: 0:02 - Link is Down

    But I think it should be as this.

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

    Arago Project http://arago-project.org dm814x-evm ttyO0

    Arago 2011.09 dm814x-evm ttyO0

    dm814x-evm login:

    BR

    Bob

     

  • Bob,

    bob lee said:
    I only want to set the ip to static ip in ramdisk.gz.

    The static ip is set in u-boot and linux kernel. I do not think the static ip can be set in root fs (ramdisk.gz).

    bob lee said:
    dm814x-evm login: PHY: 0:01 - Link is Up - 100/Full
    PHY: 0:02 - Link is Up - 0/Half
    PHY: 0:02 - Link is Down

    I think your ethernet cable connection is not stable, see the blow e2e threads:

    BR
    Pavel