Skip to content

Commit eef056a

Browse files
committed
fix(dtb): paths were changed in 9.0
SDK 9.0 changed where dtbs are located for both legacy and non-legacy devices (even if there wasn't an official release for non-legacy devices before 9.1). Some paths were updated but these instances were missed. Fixes #326 Signed-off-by: Randolph Sapp <[email protected]>
1 parent d2c388d commit eef056a

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

source/linux/Foundational_Components/Kernel/_Users_Guide.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ Installing the Kernel Image and Device Tree Binaries
650650
651651
cd <kernel sources dir>
652652
sudo cp arch/arm/boot/zImage <rootfs path>/boot
653-
sudo cp arch/arm/boot/dts/<dt file>.dtb <rootfs path>/boot
653+
sudo cp arch/arm/boot/dts/<dt file>.dtb <rootfs path>/boot/dtb
654654
655655
For example, if you wanted to copy the kernel image and BeagleBone
656656
Black device tree file to the rootfs partition of a SD card you would
@@ -670,7 +670,7 @@ Installing the Kernel Image and Device Tree Binaries
670670
671671
cd <kernel sources dir>
672672
sudo cp arch/arm64/boot/Image <rootfs path>/boot
673-
sudo cp arch/arm64/boot/dts/ti/<dt file>.dtb <rootfs path>/boot
673+
sudo cp arch/arm64/boot/dts/ti/<dt file>.dtb <rootfs path>/boot/dtb/ti
674674
675675
For example, if you wanted to copy the kernel image and AM64x EVM
676676
device tree file to the rootfs partition of a SD card you would
@@ -680,7 +680,7 @@ Installing the Kernel Image and Device Tree Binaries
680680
681681
cd <kernel sources dir>
682682
sudo cp arch/arm64/boot/Image /media/rootfs/boot
683-
sudo cp arch/arm64/boot/dts/ti/k3-am642-evm.dtb /media/rootfs/boot
683+
sudo cp arch/arm64/boot/dts/ti/k3-am642-evm.dtb /media/rootfs/boot/dtb/ti
684684
685685
Starting with U-boot 2013.10, the kernel and device tree binaries are read from
686686
the root file system's boot directory when booting from MMC/EMMC. (NOT from the

source/linux/Foundational_Components/PRU-ICSS/RPMsg_Quick_Start_Guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ the previous section. Let's do that now.
247247

248248
#. Copy the new device tree binary to the SD card
249249

250-
- sudo cp arch/arm/boot/dts/am335x-boneblack.dtb /media/user/rootfs/boot/
250+
- sudo cp arch/arm/boot/dts/am335x-boneblack.dtb /media/user/rootfs/boot/dtb/
251251

252252
**Once again the example .dtb given above is for the BeagleBone
253253
Black. Check

source/linux/Industrial_Protocols/_SORTE.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,11 @@ as master and at least two EVMs running as slave (slave1/slave2).
105105
Prior to running the applications, connect master Port0 to slave1 Port0,
106106
and slave1 Port1 to slave2 Port0.
107107

108-
On the filesystem under /boot directory, link <platfrom>-pru-excl-uio.dtb
109-
as the default dtb file, and then reboot the EVM. For AM571x IDK, ensure
110-
that Jumper J51 is not placed. That selects between LCD
111-
function (J51 placed) and ICSS1 Ethernet (J51 removed). This also
112-
indicates that ICSS-EMAC unit test cannot run with LCD connected on the
113-
AM571x IDK board.
108+
On the filesystem under :file:`/boot/dtb/` directory, link
109+
:file:`<platfrom>-pru-excl-uio.dtb` as the default dtb file, and then reboot the
110+
EVM. For AM571x IDK, ensure that Jumper J51 is not placed. That selects between
111+
LCD function (J51 placed) and ICSS1 Ethernet (J51 removed). This also indicates
112+
that ICSS-EMAC unit test cannot run with LCD connected on the AM571x IDK board.
114113

115114
After the EVMs are rebooted with the PRU UIO dtb files, run slave2 first,
116115
then slave1, and lastly master. Note that the master device will wait until

0 commit comments

Comments
 (0)