Skip to content

Commit f2ac645

Browse files
author
elge@alpha15
committed
fix(risc): check for device tree
1 parent c73aa6e commit f2ac645

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

bare-metal/elastic-metal/reference-content/elastic-metal-rv1-guidelines.mdx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ Linux kernel.
7070
4. Build the Linux kernel.
7171
```bash
7272
cd linux/
73+
74+
# Make sure the device required device tree is available in the default branch
75+
ls -lhF arch/riscv/boot/dts/thead/th1520-lichee-cluster-4a-16g.dts
76+
# Otherwise switch to another branch that has it
77+
#git branch -a
78+
#git switch ...
79+
7380
make revyos_defconfig
7481
# This can take several hours.
7582
make -j4
@@ -86,12 +93,6 @@ Linux kernel.
8693
```bash
8794
cd em-rv1/fit/
8895

89-
# Fix path to board device tree
90-
ls -lF ../../linux/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a-16g.dts
91-
vi em-rv1-c4m16s128-a.dts
92-
93-
#include "th1520-lichee-pi-4a-16g.dts"
94-
9596
# Build the device tree
9697
cpp \
9798
-nostdinc \

0 commit comments

Comments
 (0)