generated from mmistakes/mm-github-pages-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Logan Blyth
committed
Jun 5, 2024
1 parent
c0ba562
commit 007b120
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
title: "Getting dtbs_check Working" | ||
categories: | ||
- Blog | ||
tags: | ||
- Kernel Builds | ||
- Embedded | ||
- Device Tree | ||
- Cross Compile | ||
--- | ||
# Just a Quick Note for Myself | ||
I have off and on been working on getting a device tree files submitted for a Solid Run board that I own. I would like to have an easier time running OpenWrt on the board. Uptreaming for the win. | ||
|
||
I had a [well short attempt](https://lore.kernel.org/linux-devicetree/[email protected]/) to add the device tree file as it came from Solid Run. So after working out the small naming problems I decided I want to try to use the `dtbs_check` functionality in the kernel makefile. In case I don't get this merged upstream I want to document how to get this check running: | ||
|
||
1. Get the kernel source tree | ||
2. `make CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 KBUILD_OUTPUT=out/ defconfig` | ||
3. `make CHECK_DTBS=y marvell/cn9130-cf-pro.dtb` | ||
|
||
|
||
# Links for later | ||
* [Devicetree names](https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation) | ||
* [Linaro Blog](https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sources-with-the-devicetree-schema/) |