Skip to content

Commit 71c67c3

Browse files
fix: AM335x/AM437x/AM57x: Update Directory Structure and ARM architectural references
Signed-off-by: Telukula Jeevan Kumar Sahu <[email protected]>
1 parent 3105fdb commit 71c67c3

File tree

2 files changed

+79
-25
lines changed

2 files changed

+79
-25
lines changed

source/linux/Foundational_Components/Kernel/_Users_Guide.rst

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -483,10 +483,19 @@ But developers may want to deploy and test new Kernel and DTB without going
483483
through the standard build system. For the specific purpose, board specific
484484
fitImage.its will be present in the prebuilt-images directory.
485485

486-
Pre-requisites ( Already part of SDK installations ):
486+
.. ifconfig:: CONFIG_part_family in ('General_family', 'AM335X_family', 'AM437X_family')
487+
488+
Pre-requisites ( Already part of SDK installations ):
489+
490+
- Uboot build directory for ARMV7
491+
- Linux Image and DTB
492+
493+
.. ifconfig:: CONFIG_part_family not in ('General_family', 'AM335X_family', 'AM437X_family')
487494

488-
- Uboot build directory for ARMV8
489-
- Linux Image and DTB
495+
Pre-requisites ( Already part of SDK installations ):
496+
497+
- Uboot build directory for ARMV8
498+
- Linux Image and DTB
490499

491500
.. note::
492501

@@ -626,9 +635,17 @@ Generating the fitImage
626635
This step will embed the public key in the u-boot.dtb file that was already
627636
built during the initial u-boot build.
628637

629-
.. code-block:: console
638+
.. ifconfig:: CONFIG_part_family in ('General_family', 'AM335X_family', 'AM437X_family')
630639

631-
mkimage -r -f fitImage.its -k $UBOOT_PATH/arch/arm/mach-k3/keys -K $UBOOT_PATH/build/$ARMV8/dts/dt.dtb fitImage
640+
.. code-block:: console
641+
642+
mkimage -r -f fitImage.its -k $UBOOT_PATH/board/ti/keys -K $UBOOT_PATH/build/$ARMV7/dts/dt.dtb fitImage
643+
644+
.. ifconfig:: CONFIG_part_family not in ('General_family', 'AM335X_family', 'AM437X_family')
645+
646+
.. code-block:: console
647+
648+
mkimage -r -f fitImage.its -k $UBOOT_PATH/arch/arm/mach-k3/keys -K $UBOOT_PATH/build/$ARMV8/dts/dt.dtb fitImage
632649
633650
.. note::
634651

@@ -639,8 +656,15 @@ built during the initial u-boot build.
639656
Build uboot again
640657
^^^^^^^^^^^^^^^^^
641658

642-
The updated u-boot.dtb needs to be packed in u-boot.img for authentication
643-
so rebuild uboot ARMV8 without changing any parameters.
659+
.. ifconfig:: CONFIG_part_family in ('General_family', 'AM335X_family', 'AM437X_family')
660+
661+
The updated u-boot.dtb needs to be packed in u-boot.img for authentication
662+
so rebuild uboot ARMV7 without changing any parameters.
663+
664+
.. ifconfig:: CONFIG_part_family not in ('General_family', 'AM335X_family', 'AM437X_family')
665+
666+
The updated u-boot.dtb needs to be packed in u-boot.img for authentication
667+
so rebuild uboot ARMV8 without changing any parameters.
644668

645669
Refer to :ref:`top-level-makefile`
646670

source/linux/Overview/_Processor_SDK_Linux_Directory_Structure.rst

Lines changed: 48 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,41 @@ directories and files
99

1010
.. ifconfig:: CONFIG_sdk in ('SITARA')
1111

12-
.. code-block:: console
12+
.. ifconfig:: CONFIG_part_variant in ('AM335X', 'AM437X', 'AM57X')
1313

14-
./
15-
├── bin/
16-
├── board-support/
17-
├── example-applications/
18-
├── filesystem/
19-
├── k3r5-devkit/
20-
├── licenses/
21-
├── linux-devkit/
22-
├── Makefile
23-
├── makerules/
24-
├── manifest/
25-
├── Rules.make
26-
└── setup.sh*
14+
.. code-block:: console
15+
16+
./
17+
├── bin/
18+
├── board-support/
19+
├── example-applications/
20+
├── external-toolchain-dir/
21+
├── filesystem/
22+
├── licenses/
23+
├── linux-devkit/
24+
├── Makefile
25+
├── makerules/
26+
├── manifest/
27+
├── Rules.make
28+
└── setup.sh*
29+
30+
.. ifconfig:: CONFIG_part_variant not in ('AM335X', 'AM437X', 'AM57X')
31+
32+
.. code-block:: console
33+
34+
./
35+
├── bin/
36+
├── board-support/
37+
├── example-applications/
38+
├── filesystem/
39+
├── k3r5-devkit/
40+
├── licenses/
41+
├── linux-devkit/
42+
├── Makefile
43+
├── makerules/
44+
├── manifest/
45+
├── Rules.make
46+
└── setup.sh*
2747
2848
.. ifconfig:: CONFIG_sdk in ('JACINTO','j7_foundational')
2949

@@ -61,10 +81,20 @@ Processor SDK devices.
6181
- **filesystem** - Contains the reference file systems. These include
6282
the smaller base file system as well as the full-featured SDK file
6383
system.
64-
- **linux-devkit** - Contains the tools and libraries to speed
65-
development for the target device for the ARMV8 architechture
66-
- **k3r5-devkit** - Contains the tools and libraries to speed
67-
development for the target device for the ARMV7 architechture
84+
.. ifconfig:: CONFIG_part_variant in ('AM335X', 'AM437X', 'AM57X')
85+
86+
- **linux-devkit** - Contains the tools and libraries to speed
87+
development for the target device for the ARMV7 architechture
88+
- **external-toolchain-dir** - Contains the external ARM GNU toolchain
89+
to speed development for the target device for the ARMV7 architechture
90+
91+
.. ifconfig:: CONFIG_part_variant not in ('AM335X', 'AM437X', 'AM57X')
92+
93+
- **linux-devkit** - Contains the tools and libraries to speed
94+
development for the target device for the ARMV8 architechture
95+
- **k3r5-devkit** - Contains the tools and libraries to speed
96+
development for the target device for the ARMV7 architechture
97+
6898
- **Makefile** - Provides build targets for many of the SDK components
6999
from the top-level of the SDK.
70100
- **makerules** - Make rules for all the topLevel Makefile build targets

0 commit comments

Comments
 (0)