blob: d4e8517d5981f7360db29a95809ace478a7c9182 [file] [log] [blame]
Vishal Bhoj82c80712015-12-15 21:13:33 +05301
2=== D01Board OVERVIEW ===
3
4The project aims to support UEFI for D01 Board using the edk2
5code base.
6
7=== STATUS ===
8
9Current capabilities:
10* Uefi Boot from NORFLASH
11
12=== FUTURE PLANS ===
13
14* Support for PXE, SATA, ACPI, USB
15 - KeyBoard, Mouse and MassStorage
16
17=== BUILDING D01 Board ===
18
19Pre-requisites:
20* Build environment capable of build the edk2 MdeModulePkg.
21* A properly configured ASL compiler:
22 - Intel ASL compiler: Available from http://www.acpica.org
23 - Microsoft ASL compiler: Available from http://www.acpi.info
24
25Build the D01BoardPkg by running from the Workspace
26If you are using armcc as your compiler, you can build the project:
27build -D BIOS_L1 -p HisiPkg/D01BoardPkg/D01BoardPkg.dsc -b DEBUG
28If you are using gcc as your compiler, you can build the project:
29 ./uefi-build.sh -b DEBUG d01
30
31Following the edk2 build process, you will find the D01 binaries
32under the $WORKSPACE/Build/*/*/FV directory. You can find the below
33mentioned binary image.
34D01.fd
35
36=== RUNNING D01BoardPkg on the D01 board ===
37* If you can enter into the shell, connet the network cable from the D01 device to the PC terminal
38* Write BIOS to NORFLASH by using comands as follows:
39D01 >ifconfig -s eth0 192.168.10.50 255.255.255.0 192.168.10.1
40D01 >provision 192.168.10.100 -u admin -p admin -f norflash_header
41D01 >writefiletonor 0 norflash_header
42D01 >provision 192.168.10.100 -u admin -p admin -f D01.fd
43D01 >updateL1 D01.fd
44* If the NORFLASH in your board have nothing, you should adopt other method such as JTAG
45* Now the booting device is ready to be used.
46* Connect the Uart cable from the D01 device to the PC terminal.
47* Power ON the Device.
48* The boot message should be visible on the termial.
49* Finally, it should give boot options.