Skip to content

Commit

Permalink
Merge pull request #24 from johnnylinwiwynn/readme-edits
Browse files Browse the repository at this point in the history
Update README.md for OCP TiogaPass
  • Loading branch information
Zaolin committed Jul 3, 2019
2 parents f0dc650 + 50ebd45 commit f7ca284
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions case_studies/TiogaPass/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# OCP TiogaPass Case Study

Points of contact: [Jonathan Zhang](https://github.com/jonzhang-fb), [Andrea Barberio](https://github.com/insomniacslk), [David Hendricks](https://github.com/dhendrix), Adi
Points of contact: [Jonathan Zhang](https://github.com/jonzhang-fb), [Andrea Barberio](https://github.com/insomniacslk), [David Hendricks](https://github.com/dhendrix), [Adi](https://github.com/agangidi53), [Morgan Jang](https://github.com/morganjangwiwynn), [Johnny Lin](https://github.com/johnnylinwiwynn)

This case study describes information for firmware development community to use [OCP](https://www.opencompute.org/) platform TiogaPass, made by [Wiwynn Corporation](http://www.wiwynn.com/english).

Expand All @@ -18,7 +18,7 @@ It contains following sections:
## Quick Start

* [Order the hardware](http://www.wiwynn.com/english) if you have not done so.
* Download or build the firmware binary. The binary can be downloaded from **TBD location**.
* Download or build the firmware binary. The current solution is to boot embedded Linux kernel and initramfs as UEFI payload. Please contact Wiwynn to get a UEFI binary after ordering.
* Flash the firmware.
* Copy the downloaded firmware to OpenBMC.
* From OpenBMC
Expand All @@ -34,11 +34,27 @@ It contains following sections:

## Details
### How to build
Follow **TBD section** for details on how to get the source code, and how to build.
Follow [Build Details](#Build-Details) for details on how to get the source code, and how to build.

Boot flow of the current firmware solution is: Power on --> minimized UEFI --> Linuxboot --> target OS.

In near feature, the boot flow will be: power on --> Coreboot --> Linuxboot --> target OS.
#### Build Details
* Download the code from [linuxboot github](https://github.com/linuxboot/linuxboot)
```
git clone https://github.com/linuxboot/linuxboot.git
```
* Build the kernel bzImage (has embeded initramfs) for linuxboot, please follow the
**TBD guide** for how to build the bzImage.
* Place the tioga.rom into linuxboot/boards/tioga which is provided from Wiwynn after ordering, and also put your bzImage
to the root folder of linuxboot, and then make
```
cp path/to/tioga.rom linuxboot/boards/tioga
cp path/to/bzImage linuxboot
cd linuxboot
BOARD=tioga make
```
* You should see the built image at build/tioga/linuxboot.rom.

### How to operate
Follow **TBD section** for details on:
Expand Down

0 comments on commit f7ca284

Please sign in to comment.