Vishal Bhoj | 82c8071 | 2015-12-15 21:13:33 +0530 | [diff] [blame^] | 1 |
|
| 2 | === D01Board OVERVIEW ===
|
| 3 |
|
| 4 | The project aims to support UEFI for D01 Board using the edk2
|
| 5 | code base.
|
| 6 |
|
| 7 | === STATUS ===
|
| 8 |
|
| 9 | Current 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 |
|
| 19 | Pre-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 |
|
| 25 | Build the D01BoardPkg by running from the Workspace
|
| 26 | If you are using armcc as your compiler, you can build the project:
|
| 27 | build -D BIOS_L1 -p HisiPkg/D01BoardPkg/D01BoardPkg.dsc -b DEBUG
|
| 28 | If you are using gcc as your compiler, you can build the project:
|
| 29 | ./uefi-build.sh -b DEBUG d01
|
| 30 |
|
| 31 | Following the edk2 build process, you will find the D01 binaries
|
| 32 | under the $WORKSPACE/Build/*/*/FV directory. You can find the below
|
| 33 | mentioned binary image.
|
| 34 | D01.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:
|
| 39 | D01 >ifconfig -s eth0 192.168.10.50 255.255.255.0 192.168.10.1
|
| 40 | D01 >provision 192.168.10.100 -u admin -p admin -f norflash_header
|
| 41 | D01 >writefiletonor 0 norflash_header
|
| 42 | D01 >provision 192.168.10.100 -u admin -p admin -f D01.fd
|
| 43 | D01 >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.
|