omapl138EVM 启动过程详细描述

来源:互联网 发布:excel多个表格数据求和 编辑:程序博客网 时间:2024/04/28 14:43

前一年,探索了一阵OMAPL137,现在决定转到OMAPL138上来,其原因颇多不多述。

安装最新的DVSDK,其版本号为,ti-dvsdk-omapl13-evm-04-03-00-06

按照其setup.sh脚步运行,效果不张,不就那点事吗?决定从头来过:

1.配置tftp

2.配置nfs

3.安装minicom---某家留存文档放到此处

-------------------------------------------------------------------------------

用tftpd-hpa 及tftp-hpa
0)3G天意的应用,网络可得;
1)用新立得清空所有原来的tftp,tftpd,或tftpd-hpa,tftp-hpa等;
2)建立/tftpboot目录,设置为可读可写,用户属性设置为nobody
3)sudo emacs /etc/default/tftpd-hpa如下:
# /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/tftpboot"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="-l-s-c"
4)注意网络之无线网络的设置不用,设置好IPV4 ,172.28....;
5)重启
6)test 方法:
   a)设置两台计算机,其tftpd-hpa及tftp-hpa如同以上步骤;
   b)按上述步骤操作完成后,设置
test:

cd /tftpboot

host@ echo  "i love s.. & linux">> testfile.txt

--@home/../tftp 172....

put 

get

test ok!

--------------------------------------

http://blog.mcuol.com/User/xiaoxiaopig/article/37324_1.htm,网址ok!!!
1)安装NFS服务器程序
使用Synaptic(新立得)软件包管理器安装,搜索“nfs”,选择软件包"nfs-kernel-server"项进行安装
可以使用netstat命令检查nfs端口是否已经打开:
netstat-tl

2)启动和停止nfs服务

   虽然完成nfs安装后会自动启动nfs,但要调整共享资源还得重新启动nfs服务,以使配置生效。

   命令方式手动启动和停止nfs服务

     启动nfs服务:
     sudo /etc/init.d/nfs-kernel-server start
     停止nfs 服务
     sudo /etc/init.d/nfs-kernel-server stop
     重启nfs服务
     sudo /etc/init.d/nfs-kernel-server restart
     查看nfs服务当前状态
     sudo /etc/init.d/nfs-kernel-server status

 3)  nfs服务器配置
建立共享文件夹/nfs,改属性、所有 777,nobody.
    sudo emacs /etc/exports
 #
 /nfs *(rw,no_root_squash,sync)
4)重启,注意网络连接,去掉3G
5)掛载共享资源 -from pc to notebook
   sudo mount 172.....3:/nfs /tftpboot

-------------------------------------------------------------------------------

1)新立德 minicom
2)sudo minicom -s
3)setup 选择, 串口驱动为 : /dev/ttyUSB0 或 /dev/ttyUSB3(看一下)

----------------------------------------------------------------------------

4.取得uImage 内核文件将其放到/tftpboot里

从DVSDK包里取得,在/tftpboot 目录里有文件uImage-da850-omapl138-evm.bin(按脚步装后有的文件,在ti-dvsdk-omap.../psp/prebuilt-images

中有,注意,应将其更名为uImage ,mv ...bin uImage

5.取得nfs文件系统,并将其移动到/nfs

解压,tar -zxvf  dvsdk-da850-omapl138-evm-rootfs.tar.gz

6.启动 omapl138evm 板

>uboot 参数设置及启动结果记录

In:    serial
Out:   serial
Err:   serial
ARM Clock : 300000000 Hz
DDR Clock : 150000000 Hz
Net:   Ethernet PHY: GENERIC @ 0x00

Hit any key to stop autoboot:  0 
U-Boot > setenv serverip 172.22.-.-
U-Boot > setenv ipaddr 172.22.-.-
U-Boot > bootdelay=3
ERROR: There is a global environment variable with the same name.
U-Boot > setenv bootfile uImage
U-Boot > setenv netmask 255.255.255.0
U-Boot > setenv bootcmd 'tftp 0xc0700000 uImage;bootm'
U-Boot > setenv bootargs console=ttyS2,115200n8 noinitrd rw ip=172.-.-.2:172.-.-.1:255.255.255.0 root=/dev/nfs nfsroot=172.-.-.2:/nfs nolock mem=32M
U-Boot > boot
Using  device
TFTP from server 172.-..2; our IP address is 172.-..
Filename 'uImage'.
Load address: 0xc0700000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###############################################################
done
Bytes transferred = 2315152 (235390 hex)
## Booting kernel from Legacy Image at c0700000 ...
   Image Name:   Arago/2.6.37-psp03.21.00.04.sdk/
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2315088 Bytes =  2.2 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 2.6.37 (a0876316@bangdvsdkdev01) (gcc version 4.3.3 (GCC) ) #1 PREEMPT Fri Dec 23 11:12:57 IST 2011
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DA850/OMAP-L138/AM18x EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci da850/omap-l138 variant 0x0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: console=ttyS2,115200n8 noinitrd rw ip=172.22.-.--:172.22.-.-:255.255.255.0 root=/dev/nfs nfsroot=172.22.-.-:/nfs nolock mem=32M
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 27540k/27540k available, 5228k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xff000000 - 0xffe00000   (  14 MB)
    vmalloc : 0xc2800000 - 0xfea00000   ( 962 MB)
    lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0032000   ( 168 kB)
      .text : 0xc0032000 - 0xc047e000   (4400 kB)
      .data : 0xc047e000 - 0xc04a8980   ( 171 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptable hierarchical RCU implementation.
        RCU-based detection of stalled CPUs is disabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 144 gpio irqs
regulator: core version 0.5
regulator: dummy: 
NET: Registered protocol family 16
WARNING: both McASP and McBSP are enabled, but they share pins.
        Only McASP will work. If you want McBSP support, disable McASP.
WARNING: both McASP and UART1_AFE are enabled, but they share pins.
        Disable one of them.
da850_evm_init: eHRPWM module 0 cannot be used since it is being used by MII interface
da850_evm_init: eHRPWM module1 outputA cannot be used since it is being used by LCD
da850_evm_init: eHRPWM module1 outputB cannot be used since it is being used by spi1
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
pca953x 1-0020: failed reading register
pca953x 1-0021: interrupt support not compiled in
regulator: VDCDC1: 3200 <--> 3300 mV at 3300 mV 
regulator: VDCDC2: 1750 <--> 3300 mV at 3300 mV 
regulator: VDCDC3: 950 <--> 1350 mV at 1200 mV 
regulator: LDO1: 1800 mV 
regulator: LDO2: 1150 <--> 1300 mV at 1200 mV 
i2c-gpio i2c-gpio.1: using pins 20 (SDA) and 21 (SCL)
Advanced Linux Sound Architecture Driver Version 1.0.23.
Bluetooth: Core ver 2.15
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Switching to clocksource timer0_1
musb-hdrc: version 6.0, host, debug=0
musb-hdrc musb-hdrc: dma type: dma-cppi41
Waiting for USB PHY clock good...
musb-hdrc musb-hdrc: MUSB HDRC host driver
musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
musb-hdrc musb-hdrc: USB Host mode controller at fee00000 using DMA, IRQ 58
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
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.
EMAC: MII PHY configured, RMII PHY will not be functional
McBSP:Probed McBSP1
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
msgmni has been set to 53
io scheduler noop registered (default)
da8xx_lcdc da8xx_lcdc.0: GLCD: Found Sharp_LK043T1DG01 panel
Console: switching to colour frame buffer device 60x34
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a AR7
serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a AR7
serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a AR7
console [ttyS2] enabled
brd: module loaded
at24 1-0050: 32768 byte 24c256 EEPROM (writable)
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
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 (8192 Kbytes)
Creating 6 MTD partitions on "m25p80":
0x000000000000-0x000000010000 : "UBL"
0x000000010000-0x000000090000 : "U-Boot"
0x000000090000-0x0000000a0000 : "U-Boot-Env"
0x0000000a0000-0x000000320000 : "Kernel"
0x000000320000-0x000000720000 : "Filesystem"
0x0000007f0000-0x000000800000 : "MAC-Address"
Read MAC addr from SPI Flash: 00:08:ee:03:d0:8f
spi_davinci spi_davinci.1: Controller at 0xfef0e000
davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
davinci_mdio davinci_mdio.0: detected phy mask fffffffe
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver SMSC LAN8710/LAN8720
console [netcon0] enabled
netconsole: network logging started
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 2
Waiting for USB PHY clock good...
ohci ohci.0: irq 59, io mem 0x01e25000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
input: gpio-keys-polled as /devices/platform/gpio-keys-polled.1/input/input0
input: TPS6507x Touchscreen as /devices/platform/i2c-gpio.1/i2c-1/1-0048/input/input1
ata1: SATA link down (SStatus 0 SControl 300)
omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
omap_rtc: RTC power up reset detected
i2c /dev entries driver
watchdog watchdog: heartbeat 60 sec
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCILL protocol initialized
cpuidle: using governor ladder
cpuidle: using governor menu
davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
davinci_mmc davinci_mmc.1: Using DMA, 4-bit mode
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
1-0018 supply IOVDD not found, using dummy regulator
1-0018 supply DVDD not found, using dummy regulator
1-0018 supply AVDD not found, using dummy regulator
1-0018 supply DRVDD not found, using dummy regulator
asoc: tlv320aic3x-hifi <-> davinci-mcasp.0 mapping ok
ALSA device list:
  #0: DA850/OMAP-L138 EVM
nf_conntrack version 0.5.0 (430 buckets, 1720 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 17
Bluetooth: L2CAP ver 2.15
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.6
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
regulator_init_complete: incomplete constraints, leaving LDO2 on
regulator_init_complete: incomplete constraints, leaving LDO1 on
regulator_init_complete: incomplete constraints, leaving VDCDC3 on
regulator_init_complete: incomplete constraints, leaving VDCDC2 on
regulator_init_complete: incomplete constraints, leaving VDCDC1 on
omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
davinci_mdio davinci_mdio.0: resetting idled controller
net eth0: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=0:00, id=7c0f1)
IP-Config: Guessing netmask 255.255.0.0
IP-Config: Gateway not on directly connected network.
PHY: 0:00 - Link is Up - 100/Full
VFS: Mounted root (nfs filesystem) on device 0:13.
Freeing init memory: 168K
INIT: version 2.86 booting
Please wait: booting...
Starting udev
WARNING: -e needs -E or -F
udevd (599): /proc/599/oom_adj is deprecated, please use /proc/599/oom_score_adj instead.
Root filesystem already rw, not remounting
Caching udev devnodes
Populating dev cachemv: cannot rename '/tmp/devices': No such file or directory
logger: mount: mount point /proc/bus/usb does not exist
ALSA: Restoring mixer settings...
Found hardware: "" "" "" "" ""
Hardware is initialized using a generic method
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #3 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #4 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #5 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #6 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #7 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #8 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #9 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #11 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #12 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #13 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #15 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #16 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #17 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #18 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #19 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #21 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #22 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #23 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #24 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #29 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #30 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #31 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #32 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #33 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #34 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #35 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #36 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #37 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #38 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #39 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #40 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #41 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #42 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #43 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #44 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #45 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #46 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #47 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #48 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #49 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #50 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #51 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #52 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #70 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #71 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #72 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #73 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #74 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #77 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #78 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #79 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #80 (No such file or directory)
/usr/sbin/alsactl: set_control:1267: failed to obtain info for control #81 (No such file or directory)
Configuring update-modules.
Configuring dbus.
 Adding system startup for /etc/init.d/dbus-1.
Configuring wl1271-bluetooth.
Configuring ti-cmem-module.
Configuring ti-dsplink-module.
Configuring kernel-module-uio-pru.
Configuring kernel-module-crc-ccitt.
Configuring kernel-module-crc-t10dif.
Configuring kernel-module-autofs4.
Configuring kernel-module-minix.
Configuring kernel-module-nls-utf8.
Configuring kernel-module-nls-ascii.
Configuring kernel-module-exportfs.
Configuring kernel-module-nfsd.
Configuring kernel-module-xfrm6-mode-beet.
Configuring kernel-module-xfrm6-mode-transport.
Configuring kernel-module-xfrm6-mode-tunnel.
Configuring kernel-module-tunnel4.
Configuring kernel-module-sit.
Configuring kernel-module-scsi-wait-scan.
Configuring kernel-module-loop.
Configuring kernel-module-rng-core.
Configuring kernel-module-atkbd.
Configuring kernel-module-xtkbd.
Configuring ti-dm365mm-module.
Configuring ti-dmai-apps.
Configuring wpa-supplicant.
Configuring kernel-image-2.6.37.
Configuring ti-compat-wireless-wl12xx.
NET: Registered protocol family 10
NOT configuring network interfaces: / is an NFS mount
Fri Dec 23 12:42:00 UTC 2011
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Creating Dropbear SSH server RSA host key.
Will output 1024 bit rsa secret key to '/etc/dropbear/dropbear_rsa_host_key'
Generating key, this may take a while...
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgwCXSjp+tVAFD8ZhxltVd6EI77VLVKHV4Is+QhOhFD21Y+nqRdhUxK7HGru4/qWoPr/m0yMZJacKExgvXjpHQYyowOTgzJc4y/F5iD/+b9vy9eaY6ERuZTAQo
Fingerprint: md5 ee:13:d0:52:cc:25:46:27:b6:db:a2:42:8e:cb:e6:ca
Starting Dropbear SSH server: dropbear.
Starting telnet daemon.
Starting network benchmark server: netserver.
Starting syslogd/klogd: done
Starting thttpd.
CMEMK module: built on Dec 23 2011 at 12:04:44
  Reference Linux version 2.6.37
  File /datalocal/DVSDK43_HPDL380G7/arago-tmp/work/da850-omapl138-evm-arago-linux-gnueabi/ti-linuxutils-1_2_26_02_05-r57d/linuxutils_2_26_02_05/packages/ti/c
allocated heap buffer 0xc3000000 of size 0x1200000
heap fallback enabled - will try heap if pool buffer is not available
cmemk initialized
DSPLINK Module (1.65.01.05_eng) created on Date: Dec 23 2011 Time: 12:07:46


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


Arago Project http://arago-project.org arago ttyS2


Arago 2011.06 arago ttyS2


arago login: root
root@arago:~# ls
root@arago:~# cd ..
root@arago:/home# ls
root
root@arago:/home# ls     
root
root@arago:/home# cd ..
root@arago:/# ls
IloveSy.org
bin
boot
dev
dvsdk-da850-omapl138-evm-rootfs.tar.gz
etc
home
lib
linuxrc
media
mnt
opt
proc
sbin
srv
sys
tmp
usr
var
root@arago:/# cd ls -lha
-sh: cd: can't cd to ls
root@arago:/# ls
IloveSy.org
bin
boot
dev
dvsdk-da850-omapl138-evm-rootfs.tar.gz
etc
home
lib
linuxrc
media
mnt
opt
proc
sbin
srv
sys
tmp
usr
var
root@arago:/# cd bin
root@arago:/bin# ls
addgroup              gzip                  ping6
adduser               hostname              ps
ash                   ip                    pwd
busybox               kill                  rm
cat                   kill.util-linux-ng    rmdir
chattr                ln                    run-parts
chgrp                 login                 sed
chmod                 login.util-linux-ng   sh
chown                 ls                    sleep
cp                    lsmod                 stty
cpio                  lsmod.26              su
date                  mkdir                 sync
dd                    mknod                 tar
delgroup              mktemp                tinylogin
deluser               more                  touch
df                    more.util-linux-ng    true
dmesg                 mount                 umount
dmesg.util-linux-ng   mount.util-linux-ng   umount.util-linux-ng
dumpkmap              mountpoint            uname
echo                  mountpoint.sysvinit   usb-devices
egrep                 mv                    usleep
false                 netstat               vi
fgrep                 nice                  watch
getopt                pidof                 zcat
grep                  pidof.sysvinit
gunzip                ping
root@arago:/bin# cd boot
-sh: cd: can't cd to boot
root@arago:/bin# ls 
addgroup              gzip                  ping6
adduser               hostname              ps
ash                   ip                    pwd
busybox               kill                  rm
cat                   kill.util-linux-ng    rmdir
chattr                ln                    run-parts
chgrp                 login                 sed
chmod                 login.util-linux-ng   sh
chown                 ls                    sleep
cp                    lsmod                 stty
cpio                  lsmod.26              su
date                  mkdir                 sync
dd                    mknod                 tar
delgroup              mktemp                tinylogin
deluser               more                  touch
df                    more.util-linux-ng    true
dmesg                 mount                 umount
dmesg.util-linux-ng   mount.util-linux-ng   umount.util-linux-ng
dumpkmap              mountpoint            uname
echo                  mountpoint.sysvinit   usb-devices
egrep                 mv                    usleep
false                 netstat               vi
fgrep                 nice                  watch
getopt                pidof                 zcat
grep                  pidof.sysvinit
gunzip                ping
root@arago:/bin# cd ..
root@arago:/# ls
IloveShyy.org
bin
boot
dev
dvsdk-da850-omapl138-evm-rootfs.tar.gz
etc
home
lib
linuxrc
media
mnt
opt
proc
sbin
srv
sys
tmp
usr
var
root@arago:/# cd etc
root@arago:/etc# ls
angstrom-version     inputrc              rc2.d
asound.conf          ipkg                 rc3.d
asound.state         iproute2             rc4.d
bluetooth            issue                rc5.d
busybox.links        issue.net            rc6.d
dbus-1               libnl                rcS.d
default              mke2fs.conf          resolv.conf
dev.tar              modules              rpc
device_table         modules.conf         scsi_id.config
device_table-opkg    modutils             security
dropbear             motd                 services
environment          mtab                 skel
fb.modes             network              terminfo
filesystems          nsswitch.conf        timestamp
fstab                opkg                 tinylogin.links
group                pam.d                ts.conf
host.conf            passwd               udev
hostapd.conf         profile              udhcpc.d
hostname             profile.d            udhcpd.conf
hosts                protocols            version
init.d               rc0.d                volatile.cache
inittab              rc1.d                wpa_supplicant.conf
root@arago:/etc# cd ..
root@arago:/# ls 
IloveShyy.org
bin
boot
dev
dvsdk-da850-omapl138-evm-rootfs.tar.gz
etc
home
lib
linuxrc
media
mnt
opt
proc
sbin
srv
sys
tmp
usr
var
root@arago:/# 
 CTRL-A Z for help |115200 8N1 | NOR | Minicom 2.4    | VT102 |      O

##########################################################################################333333

May 2013

U-Boot 2009.01 (Sep 17 2009 - 17:41:56)


I2C:   ready
DRAM:  64 MB
*** Warning - bad CRC, using default environment


In:    serial
Out:   serial
Err:   serial
ARM Clock : 300000000 Hz
DDR Clock : 150000000 Hz
Net:   Ethernet PHY: GENERIC @ 0x00


Hit any key to stop autoboot:  0 
U-Boot > setenv serverip 172.22.83.3
U-Boot > setenv ipaddr 172.22.83.241
U-Boot > setenv bootfile uImage
U-Boot > setenv netmask 255.255.255.0
U-Boot > setenv bootcmd 'tftp 0xc0700000 uImage;bootm'
U-Boot > setenv bootargs console=ttyS2,115200n8 noinitrd rw ip=172.22.83.241:172.22.83.1:255.255.255.0 root=/dev/nfs nfsroot=172.22.83.3:/nfs nolock mem=32M
U-Boot > boot
Using  device
TFTP from server 172.22.83.3; our IP address is 172.22.83.241
Filename 'uImage'.
Load address: 0xc0700000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###############################################################
done
Bytes transferred = 2315152 (235390 hex)
## Booting kernel from Legacy Image at c0700000 ...
   Image Name:   Arago/2.6.37-psp03.21.00.04.sdk/
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2315088 Bytes =  2.2 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 2.6.37 (a0876316@bangdvsdkdev01) (gcc version 4.3.3 (GCC) ) #1 PREEMPT Fri Dec 23 11:12:57 IST 2011
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DA850/OMAP-L138/AM18x EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci da850/omap-l138 variant 0x0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: console=ttyS2,115200n8 noinitrd rw ip=172.22.83.241:172.22.83.1:255.255.255.0 root=/dev/nfs nfsroot=172.22.83.3:/nfs nolock mem=32M
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 27540k/27540k available, 5228k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xff000000 - 0xffe00000   (  14 MB)
    vmalloc : 0xc2800000 - 0xfea00000   ( 962 MB)
    lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0032000   ( 168 kB)
      .text : 0xc0032000 - 0xc047e000   (4400 kB)
      .data : 0xc047e000 - 0xc04a8980   ( 171 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptable hierarchical RCU implementation.
        RCU-based detection of stalled CPUs is disabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 144 gpio irqs
regulator: core version 0.5
regulator: dummy: 
NET: Registered protocol family 16
WARNING: both McASP and McBSP are enabled, but they share pins.
        Only McASP will work. If you want McBSP support, disable McASP.
WARNING: both McASP and UART1_AFE are enabled, but they share pins.
        Disable one of them.
da850_evm_init: eHRPWM module 0 cannot be used since it is being used by MII interface
da850_evm_init: eHRPWM module1 outputA cannot be used since it is being used by LCD
da850_evm_init: eHRPWM module1 outputB cannot be used since it is being used by spi1
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
pca953x 1-0020: failed reading register
pca953x 1-0021: interrupt support not compiled in
regulator: VDCDC1: 3200 <--> 3300 mV at 3300 mV 
regulator: VDCDC2: 1750 <--> 3300 mV at 3300 mV 
regulator: VDCDC3: 950 <--> 1350 mV at 1200 mV 
regulator: LDO1: 1800 mV 
regulator: LDO2: 1150 <--> 1300 mV at 1200 mV 
i2c-gpio i2c-gpio.1: using pins 20 (SDA) and 21 (SCL)
Advanced Linux Sound Architecture Driver Version 1.0.23.
Bluetooth: Core ver 2.15
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Switching to clocksource timer0_1
musb-hdrc: version 6.0, host, debug=0
musb-hdrc musb-hdrc: dma type: dma-cppi41
Waiting for USB PHY clock good...
musb-hdrc musb-hdrc: MUSB HDRC host driver
musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
musb-hdrc musb-hdrc: USB Host mode controller at fee00000 using DMA, IRQ 58
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
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.
EMAC: MII PHY configured, RMII PHY will not be functional
McBSP:Probed McBSP1
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
msgmni has been set to 53
io scheduler noop registered (default)
da8xx_lcdc da8xx_lcdc.0: GLCD: Found Sharp_LK043T1DG01 panel
Console: switching to colour frame buffer device 60x34
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a AR7
serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a AR7
serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a AR7
console [ttyS2] enabled
brd: module loaded
at24 1-0050: 32768 byte 24c256 EEPROM (writable)
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
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 (8192 Kbytes)
Creating 6 MTD partitions on "m25p80":
0x000000000000-0x000000010000 : "UBL"
0x000000010000-0x000000090000 : "U-Boot"
0x000000090000-0x0000000a0000 : "U-Boot-Env"
0x0000000a0000-0x000000320000 : "Kernel"
0x000000320000-0x000000720000 : "Filesystem"
0x0000007f0000-0x000000800000 : "MAC-Address"
Read MAC addr from SPI Flash: 00:08:ee:03:d0:8f
spi_davinci spi_davinci.1: Controller at 0xfef0e000
davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
davinci_mdio davinci_mdio.0: detected phy mask fffffffe
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver SMSC LAN8710/LAN8720
console [netcon0] enabled
netconsole: network logging started
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 2
Waiting for USB PHY clock good...
ohci ohci.0: irq 59, io mem 0x01e25000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
input: gpio-keys-polled as /devices/platform/gpio-keys-polled.1/input/input0
input: TPS6507x Touchscreen as /devices/platform/i2c-gpio.1/i2c-1/1-0048/input/input1
ata1: SATA link down (SStatus 0 SControl 300)
omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
omap_rtc: RTC power up reset detected
i2c /dev entries driver
watchdog watchdog: heartbeat 60 sec
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCILL protocol initialized
cpuidle: using governor ladder
cpuidle: using governor menu
davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
davinci_mmc davinci_mmc.1: Using DMA, 4-bit mode
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
1-0018 supply IOVDD not found, using dummy regulator
1-0018 supply DVDD not found, using dummy regulator
1-0018 supply AVDD not found, using dummy regulator
1-0018 supply DRVDD not found, using dummy regulator
asoc: tlv320aic3x-hifi <-> davinci-mcasp.0 mapping ok
ALSA device list:
  #0: DA850/OMAP-L138 EVM
nf_conntrack version 0.5.0 (430 buckets, 1720 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 17
Bluetooth: L2CAP ver 2.15
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.6
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
regulator_init_complete: incomplete constraints, leaving LDO2 on
regulator_init_complete: incomplete constraints, leaving LDO1 on
regulator_init_complete: incomplete constraints, leaving VDCDC3 on
regulator_init_complete: incomplete constraints, leaving VDCDC2 on
regulator_init_complete: incomplete constraints, leaving VDCDC1 on
omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
davinci_mdio davinci_mdio.0: resetting idled controller
net eth0: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=0:00, id=7c0f1)
IP-Config: Guessing netmask 255.255.0.0
IP-Config: Gateway not on directly connected network.
PHY: 0:00 - Link is Up - 100/Full
VFS: Mounted root (nfs filesystem) on device 0:13.
Freeing init memory: 168K
udevd (594): /proc/594/oom_adj is deprecated, please use /proc/594/oom_score_adj instead.
NET: Registered protocol family 10
CMEMK module: built on Dec 23 2011 at 12:04:44
  Reference Linux version 2.6.37
  File /datalocal/DVSDK43_HPDL380G7/arago-tmp/work/da850-omapl138-evm-arago-linux-gnueabi/ti-linuxutils-1_2_26_02_05-r57d/linuxutils_2_26_02_05/packages/ti/c
allocated heap buffer 0xc3000000 of size 0x1200000
heap fallback enabled - will try heap if pool buffer is not available
cmemk initialized
DSPLINK Module (1.65.01.05_eng) created on Date: Dec 23 2011 Time: 12:07:46


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


Arago Project http://arago-project.org arago ttyS2


Arago 2011.06 arago ttyS2


arago login: root
root@arago:~# ls
root@arago:~# cd ..
root@arago:/home# ls
root
root@arago:/home# ls
root
root@arago:/home# cd root
root@arago:~# ls
root@arago:~# mkdir iloveshyyandchongchong
root@arago:~# ls
iloveshyyandchongchong
root@arago:~# 

基于omapl138的linux内核移植 


-------http://blog.chinaunix.net/uid-26498888-id-3370112.html

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


原创粉丝点击