xref: /OK3568_Linux_fs/buildroot/board/sheevaplug/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSheevaplug
2*4882a593Smuzhiyun==========
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunOnce the build process is finished you will have the following files
5*4882a593Smuzhiyunin the output/images/ directory:
6*4882a593Smuzhiyun
7*4882a593Smuzhiyun- u-boot.kwb
8*4882a593Smuzhiyun- uImage.kirkwood-sheevaplug
9*4882a593Smuzhiyun- rootfs.jffs2
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunCopy these to a TFTP server, connect ethernet and mini-USB cable and
12*4882a593Smuzhiyunpower up the board. Stop the board in U-Boot and update U-Boot by
13*4882a593Smuzhiyunexecuting:
14*4882a593Smuzhiyun
15*4882a593Smuzhiyunsetenv serverip <ipaddress-of-tftp-server>
16*4882a593Smuzhiyunsetenv bootfile <path/to/u-boot.kwb>
17*4882a593Smuzhiyunbootp
18*4882a593Smuzhiyunnand erase 0x0 0x80000
19*4882a593Smuzhiyunnand write $fileaddr 0x0 0x80000
20*4882a593Smuzhiyunreset
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunOnce the new U-Boot boots up, stop it again and update Linux kernel
23*4882a593Smuzhiyunand rootfs by:
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunsetenv serverip <ipaddress-of-tftp-server>
26*4882a593Smuzhiyunsetenv bootfile <path/to/uImage.kirkwood-sheevaplug>
27*4882a593Smuzhiyunbootp
28*4882a593Smuzhiyunnand erase.part kernel
29*4882a593Smuzhiyunnand write $fileaddr kernel 0x400000
30*4882a593Smuzhiyun
31*4882a593Smuzhiyunsetenv bootfile <path/to/rootfs.jffs2>
32*4882a593Smuzhiyunbootp
33*4882a593Smuzhiyunnand erase.part rootfs
34*4882a593Smuzhiyunnand write $fileaddr rootfs $filesize
35*4882a593Smuzhiyun
36*4882a593Smuzhiyunreset
37