xref: /OK3568_Linux_fs/buildroot/board/andes/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunIntro
2*4882a593Smuzhiyun=====
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunAndestech(nds32) AE3XX Platform
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunThe AE3XX prototype demonstrates the AE3XX example platform on the FPGA.
7*4882a593SmuzhiyunIt is composed of one Andestech(nds32) processor and AE3XX.
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunHow to build it
10*4882a593Smuzhiyun===============
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunConfigure Buildroot
13*4882a593Smuzhiyun-------------------
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunThe andes_ae3xx_defconfig configuration is a sample configuration with
16*4882a593Smuzhiyunall that is required to bring the FPGA Development Board:
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun  $ make andes_ae3xx_defconfig
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunBuild everything
21*4882a593Smuzhiyun----------------
22*4882a593SmuzhiyunNote: you will need to have access to the network, since Buildroot will
23*4882a593Smuzhiyundownload the packages' sources.
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun  $ make
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunResult of the build
28*4882a593Smuzhiyun-------------------
29*4882a593Smuzhiyun
30*4882a593SmuzhiyunAfter building, you should obtain this tree:
31*4882a593Smuzhiyun
32*4882a593Smuzhiyunoutput/images/
33*4882a593Smuzhiyun    +-- vmlinux
34*4882a593Smuzhiyun    +-- rootfs.cpio
35*4882a593Smuzhiyun    +-- rootfs.tar
36*4882a593Smuzhiyun
37*4882a593SmuzhiyunHow to run it
38*4882a593Smuzhiyun=============
39*4882a593Smuzhiyun
40*4882a593SmuzhiyunRun
41*4882a593Smuzhiyun---
42*4882a593Smuzhiyun
43*4882a593Smuzhiyun  Setup the Console with the rate 38400/8-N-1.
44*4882a593Smuzhiyun
45*4882a593Smuzhiyun  $ cd output/images
46*4882a593Smuzhiyun  $ ../host/bin/nds32le-linux-gdb vmlinux
47*4882a593Smuzhiyun  $ target remote [your host]
48*4882a593Smuzhiyun  $ lo
49*4882a593Smuzhiyun  $ c
50