atmel板子調試

來源:互聯網
上載者:User

rm -rf embeded
scp -r zhangwei@192.168.90.123:/home/zhangwei/embeded ./

setenv bootcmd cp.b 0xC0042000 0x22200000 0x00160600; bootm 0x22200000
注意cp.b不要複製錯誤
注意嘗試${filesize}

bootargs=mem=64M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2

bootargs=root=/dev/nfs rw nfsroot=192.168.90.133:/opt/9260-bootstrap ip=192.168.90.225:192.168.90.133:::::off

## Booting kernel from Legacy Image at 22200000 ...
   Image Name:   Linux-2.6.24
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1444720 Bytes =  1.4 MB
   Load Address: 20008000
   Entry Point:  20008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

其中0x4b46a的計算式為0x12d1a4/4+1

U-Boot> cp.b
Unknown command 'cp.b' - try 'help'
U-Boot> cp.b
Usage:

U-Boot>
U-Boot> print
bootdelay=3
baudrate=115200
ethact=macb0
ethaddr=11:22:11:11:22:22
netmask=255.255.255.0
bootcmd=tftp 21400000 uImage;bootm 21400000
ipaddr=192.168.90.100
=bootargs root=/dev/nfs rw nfsroot=192.168.90.157:/work/nfs/at91sam9260ek.172 ip=192.168.90.221:192.168.90.157:::::off
bootargs=root=/dev/nfs rw nfsroot=192.168.90.133:/opt/9260-bootstrap ip=192.168.90.225:192.168.90.133:::::off
serverip=192.168.90.133
stdin=serial
stdout=serial
stderr=serial

Environment size: 450/16892 bytes

echo 0 > /proc/sys/kernel/printk

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.