Patch Set 16:

(19 comments)

Thank you for your reviews. I add a documentation, deleted cpu/armltd/cortex-a53, and updated files.
I have some things I don't understand yet.

1.
I'm trying to add a payload LinuxBoot by selecting it via 'make menuconfig'.
However, I got the following error:
make LINUXBOOT_CROSS_COMPILE=aarch64-linux-gnu-
...
cp: -r not specified; omitting directory '../../../'
make[2]: *** [targets/linux.mk:112: linuxboot/target.dtb] Error 1
make[1]: *** [Makefile:55: kernel] Error 2
make: *** [payloads/external/Makefile.inc:266: linuxboot] Error 2

I think this error relates to the second question about FDT.

2.
What is an FDT and how can I use it? I looked it up and found an FDT is a flattened device tree which is used especially for ARM system. We can configure peripherals via an FDT dynamically.
How can I pass an FDT when building the image?

When generating the uImage, you must include a DTB.
When you build LinuxBoot, you need to specify a "Compiled devicetree file", that is a DTB. too.

You can gernate one from qemu by runing qemu-system-aarch64 -machine virt-2.9,dumpdtb=file.dtb ...
Please convert the DTB to DTS and store it in the mainboard directory.

View Change

3 comments:

To view, visit change 33387. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id7c0831b1ecf08785b4ec8139d809bad9b3e1eec
Gerrit-Change-Number: 33387
Gerrit-PatchSet: 16
Gerrit-Owner: Asami Doi <d0iasm.pub@gmail.com>
Gerrit-Reviewer: Asami Doi <d0iasm.pub@gmail.com>
Gerrit-Reviewer: Julius Werner <jwerner@chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph@9elements.com>
Gerrit-Reviewer: Raul Rangel <rrangel@chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Patrick Rudolph <siro@das-labor.org>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Comment-Date: Thu, 11 Jul 2019 05:42:45 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Patrick Rudolph <siro@das-labor.org>
Comment-In-Reply-To: Asami Doi <d0iasm.pub@gmail.com>
Gerrit-MessageType: comment