xref: /OK3568_Linux_fs/buildroot/board/synopsys/vdk/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSynopsys VDK Software Development Platform
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunIntro
4*4882a593Smuzhiyun=====
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunThe Virtualizer Development Kit (VDK) Family for ARM Cortex Products
7*4882a593Smuzhiyunconsists of a set of virtual prototypes that provide a virtualizer for
8*4882a593Smuzhiyunthe ARM core variants. The VDK is a standalone package that runs on an
9*4882a593Smuzhiyunhost computer.
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunBuildroot will generate the kernel image and a minimal root filesystem.
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunHow to build it
14*4882a593Smuzhiyun===============
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunConfigure Buildroot
17*4882a593Smuzhiyun-------------------
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunConfiguring Buildroot is pretty simple, just execute:
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun  $ make snps_aarch64_vdk_defconfig
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunBuild the rootfs and kernel
24*4882a593Smuzhiyun---------------------------
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunNote: you will need to have access to the network, since Buildroot will
27*4882a593Smuzhiyundownload the packages' sources.
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunYou may now build your rootfs with:
30*4882a593Smuzhiyun
31*4882a593Smuzhiyun  $ make
32*4882a593Smuzhiyun
33*4882a593Smuzhiyun(This may take a while)
34*4882a593Smuzhiyun
35*4882a593SmuzhiyunResult of the build
36*4882a593Smuzhiyun-------------------
37*4882a593Smuzhiyun
38*4882a593SmuzhiyunAfter building, you should obtain this tree:
39*4882a593Smuzhiyun
40*4882a593Smuzhiyun    output/images/
41*4882a593Smuzhiyun    -- rootfs.ext2
42*4882a593Smuzhiyun    -- Image
43*4882a593Smuzhiyun
44*4882a593SmuzhiyunInstalling your rootfs and Image
45*4882a593Smuzhiyun================================
46*4882a593Smuzhiyun
47*4882a593SmuzhiyunNow copy the content of the output/images folder to the VDK' skins
48*4882a593Smuzhiyunfolder:
49*4882a593Smuzhiyun
50*4882a593Smuzhiyun   $ cp rootfs.ext2 Image <vdk_installation_path>/skins/Vanilla-Cortex/ARMv8
51*4882a593Smuzhiyun
52*4882a593Smuzhiyun
53*4882a593SmuzhiyunStarting the VDK
54*4882a593Smuzhiyun================================
55*4882a593Smuzhiyun
56*4882a593SmuzhiyunGo the VDK' installation root and execute the 'start' script:
57*4882a593Smuzhiyun
58*4882a593Smuzhiyun   $ cd <vdk_installation_path>
59*4882a593Smuzhiyun   $ ./start.sh
60*4882a593Smuzhiyun
61*4882a593SmuzhiyunThe VP Explorer application will be executed, starting the simulation
62*4882a593Smuzhiyunautomatically.
63*4882a593Smuzhiyun
64*4882a593SmuzhiyunFor more information about Synopsys' VDK please check:
65*4882a593Smuzhiyunhttp://www.synopsys.com/Prototyping/VirtualPrototyping/Pages/default.aspx
66