Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
Neha Malcom Francis | 4a9266c | 2024-04-26 03:36:58 +0530 | [diff] [blame] | 3 | * Copyright (C) 2022-2024 Texas Instruments Incorporated - https://www.ti.com/ |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #include "k3-binman.dtsi" |
| 7 | |
| 8 | #ifdef CONFIG_TARGET_J721E_R5_EVM |
| 9 | |
| 10 | &binman { |
| 11 | tiboot3-j721e_sr1_1-hs-evm.bin { |
| 12 | filename = "tiboot3-j721e_sr1_1-hs-evm.bin"; |
| 13 | ti-secure-rom { |
| 14 | content = <&u_boot_spl>; |
| 15 | core = "public"; |
| 16 | load = <CONFIG_SPL_TEXT_BASE>; |
| 17 | keyfile = "custMpk.pem"; |
| 18 | }; |
| 19 | u_boot_spl: u-boot-spl { |
| 20 | no-expanded; |
| 21 | }; |
| 22 | }; |
Neha Malcom Francis | 20b1597 | 2023-12-20 17:04:33 +0530 | [diff] [blame] | 23 | |
| 24 | tiboot3-j721e_sr2-hs-evm.bin { |
| 25 | filename = "tiboot3-j721e_sr2-hs-evm.bin"; |
| 26 | ti-secure-rom { |
| 27 | content = <&u_boot_spl_sr2>; |
| 28 | core = "public"; |
| 29 | load = <CONFIG_SPL_TEXT_BASE>; |
| 30 | keyfile = "custMpk.pem"; |
| 31 | }; |
| 32 | u_boot_spl_sr2: u-boot-spl { |
| 33 | no-expanded; |
| 34 | }; |
| 35 | }; |
| 36 | |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 37 | sysfw { |
| 38 | filename = "sysfw.bin"; |
| 39 | ti-secure-rom { |
| 40 | content = <&ti_fs_cert>; |
| 41 | core = "secure"; |
| 42 | load = <0x40000>; |
| 43 | keyfile = "custMpk.pem"; |
| 44 | countersign; |
| 45 | }; |
| 46 | ti_fs_cert: ti-fs-cert.bin { |
| 47 | filename = "ti-sysfw/ti-fs-firmware-j721e_sr1_1-hs-cert.bin"; |
| 48 | type = "blob-ext"; |
| 49 | optional; |
| 50 | }; |
| 51 | ti-fs-firmware-j721e_sr1_1-hs-enc.bin { |
| 52 | filename = "ti-sysfw/ti-fs-firmware-j721e_sr1_1-hs-enc.bin"; |
| 53 | type = "blob-ext"; |
| 54 | optional; |
| 55 | }; |
| 56 | }; |
Neha Malcom Francis | 20b1597 | 2023-12-20 17:04:33 +0530 | [diff] [blame] | 57 | |
| 58 | sysfw_sr2 { |
| 59 | filename = "sysfw.bin_sr2"; |
| 60 | ti-secure-rom { |
| 61 | content = <&ti_fs_cert_sr2>; |
| 62 | core = "secure"; |
| 63 | load = <0x40000>; |
| 64 | keyfile = "custMpk.pem"; |
| 65 | countersign; |
| 66 | }; |
| 67 | ti_fs_cert_sr2: ti-fs-cert.bin { |
| 68 | filename = "ti-sysfw/ti-fs-firmware-j721e_sr2-hs-cert.bin"; |
| 69 | type = "blob-ext"; |
| 70 | optional; |
| 71 | }; |
| 72 | ti-fs-firmware-j721e_sr2-hs-enc.bin { |
| 73 | filename = "ti-sysfw/ti-fs-firmware-j721e_sr2-hs-enc.bin"; |
| 74 | type = "blob-ext"; |
| 75 | optional; |
| 76 | }; |
| 77 | }; |
| 78 | |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 79 | itb { |
| 80 | filename = "sysfw-j721e_sr1_1-hs-evm.itb"; |
Neha Malcom Francis | 806b6f8 | 2023-11-15 15:40:24 +0530 | [diff] [blame] | 81 | insert-template = <&itb_template>; |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 82 | }; |
Neha Malcom Francis | 20b1597 | 2023-12-20 17:04:33 +0530 | [diff] [blame] | 83 | |
| 84 | itb_sr2 { |
| 85 | filename = "sysfw-j721e_sr2-hs-evm.itb"; |
| 86 | insert-template = <&itb_template>; |
| 87 | fit { |
| 88 | images { |
| 89 | sysfw.bin { |
| 90 | blob-ext { |
| 91 | filename = "sysfw.bin_sr2"; |
| 92 | }; |
| 93 | }; |
| 94 | board-cfg.bin { |
| 95 | ti-secure { |
| 96 | content = <&board_cfg_sr2>; |
| 97 | }; |
| 98 | board_cfg_sr2: board-cfg { |
| 99 | filename = "board-cfg.bin"; |
| 100 | }; |
| 101 | }; |
| 102 | pm-cfg.bin { |
| 103 | ti-secure { |
| 104 | content = <&pm_cfg_sr2>; |
| 105 | }; |
| 106 | pm_cfg_sr2: pm-cfg { |
| 107 | filename = "pm-cfg.bin"; |
| 108 | }; |
| 109 | }; |
| 110 | rm-cfg.bin { |
| 111 | ti-secure { |
| 112 | content = <&rm_cfg_sr2>; |
| 113 | }; |
| 114 | rm_cfg_sr2: rm-cfg { |
| 115 | filename = "rm-cfg.bin"; |
| 116 | }; |
| 117 | }; |
| 118 | sec-cfg.bin { |
| 119 | ti-secure { |
| 120 | content = <&sec_cfg_sr2>; |
| 121 | }; |
| 122 | sec_cfg_sr2: sec-cfg { |
| 123 | filename = "sec-cfg.bin"; |
| 124 | }; |
| 125 | }; |
| 126 | |
| 127 | }; |
| 128 | }; |
| 129 | }; |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 130 | }; |
| 131 | |
| 132 | &binman { |
Neha Malcom Francis | 4a9266c | 2024-04-26 03:36:58 +0530 | [diff] [blame] | 133 | tiboot3-j721e_sr1_1-hs-fs-evm.bin { |
| 134 | filename = "tiboot3-j721e_sr1_1-hs-fs-evm.bin"; |
| 135 | ti-secure-rom { |
| 136 | content = <&u_boot_spl_fs_sr1_1>; |
| 137 | core = "public"; |
| 138 | core-opts = <2>; |
| 139 | load = <CONFIG_SPL_TEXT_BASE>; |
| 140 | keyfile = "custMpk.pem"; |
| 141 | }; |
| 142 | u_boot_spl_fs_sr1_1: u-boot-spl { |
| 143 | no-expanded; |
| 144 | }; |
| 145 | }; |
| 146 | sysfw_fs_sr1_1 { |
| 147 | filename = "sysfw.bin_fs_sr1_1"; |
| 148 | ti-fs-cert-fs.bin { |
| 149 | filename = "ti-sysfw/ti-fs-firmware-j721e_sr1_1-hs-fs-cert.bin"; |
| 150 | type = "blob-ext"; |
| 151 | optional; |
| 152 | }; |
| 153 | ti-fs-firmware-j721e-hs-fs-enc.bin { |
| 154 | filename = "ti-sysfw/ti-fs-firmware-j721e_sr1_1-hs-fs-enc.bin"; |
| 155 | type = "blob-ext"; |
| 156 | optional; |
| 157 | }; |
| 158 | }; |
| 159 | itb_fs_sr1_1 { |
| 160 | filename = "sysfw-j721e_sr1_1-hs-fs-evm.itb"; |
| 161 | fit { |
| 162 | description = "SYSFW and Config fragments"; |
| 163 | #address-cells = <1>; |
| 164 | images { |
| 165 | sysfw.bin { |
| 166 | description = "sysfw"; |
| 167 | type = "firmware"; |
| 168 | arch = "arm"; |
| 169 | compression = "none"; |
| 170 | blob-ext { |
| 171 | filename = "sysfw.bin_fs_sr1_1"; |
| 172 | }; |
| 173 | }; |
| 174 | board-cfg.bin { |
| 175 | description = "board-cfg"; |
| 176 | type = "firmware"; |
| 177 | arch = "arm"; |
| 178 | compression = "none"; |
| 179 | board-cfg { |
| 180 | filename = "board-cfg.bin"; |
| 181 | type = "blob-ext"; |
| 182 | }; |
| 183 | |
| 184 | }; |
| 185 | pm-cfg.bin { |
| 186 | description = "pm-cfg"; |
| 187 | type = "firmware"; |
| 188 | arch = "arm"; |
| 189 | compression = "none"; |
| 190 | pm-cfg { |
| 191 | filename = "pm-cfg.bin"; |
| 192 | type = "blob-ext"; |
| 193 | }; |
| 194 | }; |
| 195 | rm-cfg.bin { |
| 196 | description = "rm-cfg"; |
| 197 | type = "firmware"; |
| 198 | arch = "arm"; |
| 199 | compression = "none"; |
| 200 | rm-cfg { |
| 201 | filename = "rm-cfg.bin"; |
| 202 | type = "blob-ext"; |
| 203 | }; |
| 204 | }; |
| 205 | sec-cfg.bin { |
| 206 | description = "sec-cfg"; |
| 207 | type = "firmware"; |
| 208 | arch = "arm"; |
| 209 | compression = "none"; |
| 210 | sec-cfg { |
| 211 | filename = "sec-cfg.bin"; |
| 212 | type = "blob-ext"; |
| 213 | }; |
| 214 | }; |
| 215 | }; |
| 216 | }; |
| 217 | }; |
| 218 | }; |
| 219 | |
| 220 | &binman { |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 221 | tiboot3-j721e_sr2-hs-fs-evm.bin { |
| 222 | filename = "tiboot3-j721e_sr2-hs-fs-evm.bin"; |
| 223 | ti-secure-rom { |
| 224 | content = <&u_boot_spl_fs>; |
| 225 | core = "public"; |
| 226 | load = <CONFIG_SPL_TEXT_BASE>; |
| 227 | keyfile = "custMpk.pem"; |
| 228 | }; |
| 229 | u_boot_spl_fs: u-boot-spl { |
| 230 | no-expanded; |
| 231 | }; |
| 232 | }; |
| 233 | sysfw_fs { |
| 234 | filename = "sysfw.bin_fs"; |
| 235 | ti-fs-cert-fs.bin { |
| 236 | filename = "ti-sysfw/ti-fs-firmware-j721e_sr2-hs-fs-cert.bin"; |
| 237 | type = "blob-ext"; |
| 238 | optional; |
| 239 | }; |
| 240 | ti-fs-firmware-j721e-hs-fs-enc.bin { |
| 241 | filename = "ti-sysfw/ti-fs-firmware-j721e_sr2-hs-fs-enc.bin"; |
| 242 | type = "blob-ext"; |
| 243 | optional; |
| 244 | }; |
| 245 | }; |
| 246 | itb_fs { |
| 247 | filename = "sysfw-j721e_sr2-hs-fs-evm.itb"; |
Neha Malcom Francis | 806b6f8 | 2023-11-15 15:40:24 +0530 | [diff] [blame] | 248 | insert-template = <&itb_unsigned_template>; |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 249 | }; |
| 250 | }; |
| 251 | |
| 252 | &binman { |
| 253 | tiboot3-j721e-gp-evm.bin { |
| 254 | filename = "tiboot3-j721e-gp-evm.bin"; |
| 255 | symlink = "tiboot3.bin"; |
| 256 | ti-secure-rom { |
| 257 | content = <&u_boot_spl_unsigned>; |
| 258 | core = "public"; |
| 259 | load = <CONFIG_SPL_TEXT_BASE>; |
| 260 | sw-rev = <CONFIG_K3_X509_SWRV>; |
| 261 | keyfile = "ti-degenerate-key.pem"; |
| 262 | }; |
| 263 | u_boot_spl_unsigned: u-boot-spl { |
| 264 | no-expanded; |
| 265 | }; |
| 266 | }; |
| 267 | sysfw_gp { |
| 268 | filename = "sysfw.bin_gp"; |
| 269 | ti-secure-rom { |
| 270 | content = <&ti_fs>; |
| 271 | core = "secure"; |
| 272 | load = <0x40000>; |
| 273 | sw-rev = <CONFIG_K3_X509_SWRV>; |
| 274 | keyfile = "ti-degenerate-key.pem"; |
| 275 | }; |
| 276 | ti_fs: ti-fs.bin { |
| 277 | filename = "ti-sysfw/ti-fs-firmware-j721e-gp.bin"; |
| 278 | type = "blob-ext"; |
| 279 | optional; |
| 280 | }; |
| 281 | }; |
| 282 | itb_gp { |
| 283 | filename = "sysfw-j721e-gp-evm.itb"; |
| 284 | symlink = "sysfw.itb"; |
Neha Malcom Francis | 806b6f8 | 2023-11-15 15:40:24 +0530 | [diff] [blame] | 285 | insert-template = <&itb_unsigned_template>; |
| 286 | |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 287 | fit { |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 288 | images { |
| 289 | sysfw.bin { |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 290 | blob-ext { |
| 291 | filename = "sysfw.bin_gp"; |
| 292 | }; |
| 293 | }; |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 294 | }; |
| 295 | }; |
| 296 | }; |
| 297 | }; |
| 298 | #endif |
| 299 | |
| 300 | #ifdef CONFIG_TARGET_J721E_A72_EVM |
| 301 | |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 302 | #define SPL_J721E_EVM_DTB "spl/dts/k3-j721e-common-proc-board.dtb" |
| 303 | #define SPL_J721E_SK_DTB "spl/dts/k3-j721e-sk.dtb" |
| 304 | |
Manorit Chawdhry | 64ebddb | 2023-07-14 11:22:38 +0530 | [diff] [blame] | 305 | #define J721E_EVM_DTB "u-boot.dtb" |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 306 | #define J721E_SK_DTB "arch/arm/dts/k3-j721e-sk.dtb" |
| 307 | |
| 308 | &binman { |
| 309 | ti-dm { |
| 310 | filename = "ti-dm.bin"; |
| 311 | blob-ext { |
| 312 | filename = "ti-dm/j721e/ipc_echo_testb_mcu1_0_release_strip.xer5f"; |
| 313 | }; |
| 314 | }; |
| 315 | ti-spl { |
Neha Malcom Francis | 806b6f8 | 2023-11-15 15:40:24 +0530 | [diff] [blame] | 316 | insert-template = <&ti_spl_template>; |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 317 | |
| 318 | fit { |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 319 | images { |
Manorit Chawdhry | 5fa5cd4 | 2023-12-29 16:16:29 +0530 | [diff] [blame] | 320 | atf { |
| 321 | ti-secure { |
| 322 | auth-in-place = <0xa02>; |
| 323 | |
| 324 | firewall-257-0 { |
| 325 | /* cpu_0_cpu_0_msmc Background Firewall */ |
| 326 | insert-template = <&firewall_bg_1>; |
| 327 | id = <257>; |
| 328 | region = <0>; |
| 329 | }; |
| 330 | |
| 331 | firewall-257-1 { |
| 332 | /* cpu_0_cpu_0_msmc Foreground Firewall */ |
| 333 | insert-template = <&firewall_armv8_atf_fg>; |
| 334 | id = <257>; |
| 335 | region = <1>; |
| 336 | }; |
| 337 | |
| 338 | firewall-284-0 { |
| 339 | /* dru_0_msmc Background Firewall */ |
| 340 | insert-template = <&firewall_bg_3>; |
| 341 | id = <284>; |
| 342 | region = <0>; |
| 343 | }; |
| 344 | |
| 345 | firewall-284-1 { |
| 346 | /* dru_0_msmc Foreground Firewall */ |
| 347 | insert-template = <&firewall_armv8_atf_fg>; |
| 348 | id = <284>; |
| 349 | region = <1>; |
| 350 | }; |
| 351 | |
| 352 | /* firewall-4760-0 { |
| 353 | * nb_slv0__mem0 Background Firewall |
| 354 | * Already configured by the secure entity |
| 355 | * }; |
| 356 | */ |
| 357 | |
| 358 | firewall-4760-1 { |
| 359 | /* nb_slv0__mem0 Foreground Firewall */ |
| 360 | insert-template = <&firewall_armv8_atf_fg>; |
| 361 | id = <4760>; |
| 362 | region = <1>; |
| 363 | }; |
| 364 | |
| 365 | /* firewall-4761-0 { |
| 366 | * nb_slv1__mem0 Background Firewall |
| 367 | * Already configured by the secure entity |
| 368 | * }; |
| 369 | */ |
| 370 | |
| 371 | firewall-4761-1 { |
| 372 | /* nb_slv1__mem0 Foreground Firewall */ |
| 373 | insert-template = <&firewall_armv8_atf_fg>; |
| 374 | id = <4761>; |
| 375 | region = <1>; |
| 376 | }; |
| 377 | |
| 378 | }; |
| 379 | }; |
| 380 | |
| 381 | tee { |
| 382 | ti-secure { |
| 383 | auth-in-place = <0xa02>; |
| 384 | |
| 385 | /* cpu_0_cpu_0_msmc region 0 and 1 configured |
| 386 | * during ATF Firewalling |
| 387 | */ |
| 388 | |
| 389 | firewall-257-2 { |
| 390 | /* cpu_0_cpu_0_msmc Foreground Firewall */ |
| 391 | insert-template = <&firewall_armv8_optee_fg>; |
| 392 | id = <257>; |
| 393 | region = <2>; |
| 394 | }; |
| 395 | |
| 396 | /* dru_0_msmc region 0 and 1 configured |
| 397 | * during ATF Firewalling |
| 398 | */ |
| 399 | |
| 400 | firewall-284-2 { |
| 401 | /* dru_0_msmc Foreground Firewall */ |
| 402 | insert-template = <&firewall_armv8_optee_fg>; |
| 403 | id = <284>; |
| 404 | region = <2>; |
| 405 | }; |
| 406 | |
| 407 | firewall-4762-0 { |
| 408 | /* nb_slv2__mem0 Background Firewall */ |
| 409 | insert-template = <&firewall_bg_3>; |
| 410 | id = <4762>; |
| 411 | region = <0>; |
| 412 | }; |
| 413 | |
| 414 | firewall-4762-1 { |
| 415 | /* nb_slv2__mem0 Foreground Firewall */ |
| 416 | insert-template = <&firewall_armv8_optee_fg>; |
| 417 | id = <4762>; |
| 418 | region = <1>; |
| 419 | }; |
| 420 | |
| 421 | firewall-4763-0 { |
| 422 | /* nb_slv3__mem0 Background Firewall */ |
| 423 | insert-template = <&firewall_bg_3>; |
| 424 | id = <4763>; |
| 425 | region = <0>; |
| 426 | }; |
| 427 | |
| 428 | firewall-4763-1 { |
| 429 | /* nb_slv3__mem0 Foreground Firewall */ |
| 430 | insert-template = <&firewall_armv8_optee_fg>; |
| 431 | id = <4763>; |
| 432 | region = <1>; |
| 433 | }; |
| 434 | }; |
| 435 | }; |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 436 | dm { |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 437 | ti-secure { |
| 438 | content = <&dm>; |
| 439 | keyfile = "custMpk.pem"; |
| 440 | }; |
Neha Malcom Francis | 8237821 | 2023-12-05 15:12:19 +0530 | [diff] [blame] | 441 | dm: ti-dm { |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 442 | filename = "ti-dm.bin"; |
| 443 | }; |
| 444 | }; |
| 445 | |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 446 | fdt-0 { |
| 447 | description = "k3-j721e-common-proc-board"; |
| 448 | type = "flat_dt"; |
| 449 | arch = "arm"; |
| 450 | compression = "none"; |
| 451 | ti-secure { |
| 452 | content = <&spl_j721e_evm_dtb>; |
| 453 | keyfile = "custMpk.pem"; |
| 454 | }; |
| 455 | spl_j721e_evm_dtb: blob-ext { |
| 456 | filename = SPL_J721E_EVM_DTB; |
| 457 | }; |
| 458 | }; |
| 459 | |
| 460 | fdt-1 { |
| 461 | description = "k3-j721e-sk"; |
| 462 | type = "flat_dt"; |
| 463 | arch = "arm"; |
| 464 | compression = "none"; |
| 465 | ti-secure { |
| 466 | content = <&spl_j721e_sk_dtb>; |
| 467 | keyfile = "custMpk.pem"; |
| 468 | |
| 469 | }; |
| 470 | spl_j721e_sk_dtb: blob-ext { |
| 471 | filename = SPL_J721E_SK_DTB; |
| 472 | }; |
| 473 | }; |
| 474 | }; |
| 475 | |
| 476 | configurations { |
| 477 | default = "conf-0"; |
| 478 | |
| 479 | conf-0 { |
| 480 | description = "k3-j721e-common-proc-board"; |
| 481 | firmware = "atf"; |
| 482 | loadables = "tee", "dm", "spl"; |
| 483 | fdt = "fdt-0"; |
| 484 | }; |
| 485 | |
| 486 | conf-1 { |
| 487 | description = "k3-j721e-sk"; |
| 488 | firmware = "atf"; |
| 489 | loadables = "tee", "dm", "spl"; |
| 490 | fdt = "fdt-1"; |
| 491 | }; |
| 492 | }; |
| 493 | }; |
| 494 | }; |
| 495 | }; |
| 496 | |
| 497 | &binman { |
| 498 | u-boot { |
Neha Malcom Francis | 806b6f8 | 2023-11-15 15:40:24 +0530 | [diff] [blame] | 499 | insert-template = <&u_boot_template>; |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 500 | fit { |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 501 | |
| 502 | images { |
| 503 | uboot { |
Neha Malcom Francis | 806b6f8 | 2023-11-15 15:40:24 +0530 | [diff] [blame] | 504 | description = "U-Boot for J721E Board"; |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 505 | }; |
| 506 | |
| 507 | fdt-0 { |
| 508 | description = "k3-j721e-common-proc-board"; |
| 509 | type = "flat_dt"; |
| 510 | arch = "arm"; |
| 511 | compression = "none"; |
| 512 | ti-secure { |
| 513 | content = <&j721e_evm_dtb>; |
| 514 | keyfile = "custMpk.pem"; |
| 515 | |
| 516 | }; |
| 517 | j721e_evm_dtb: blob-ext { |
| 518 | filename = J721E_EVM_DTB; |
| 519 | }; |
| 520 | hash { |
| 521 | algo = "crc32"; |
| 522 | }; |
| 523 | }; |
| 524 | |
| 525 | fdt-1 { |
| 526 | description = "k3-j721e-sk"; |
| 527 | type = "flat_dt"; |
| 528 | arch = "arm"; |
| 529 | compression = "none"; |
| 530 | ti-secure { |
| 531 | content = <&j721e_sk_dtb>; |
| 532 | keyfile = "custMpk.pem"; |
| 533 | |
| 534 | }; |
| 535 | j721e_sk_dtb: blob-ext { |
| 536 | filename = J721E_SK_DTB; |
| 537 | }; |
| 538 | hash { |
| 539 | algo = "crc32"; |
| 540 | }; |
| 541 | }; |
| 542 | }; |
| 543 | |
| 544 | configurations { |
| 545 | default = "conf-0"; |
| 546 | |
| 547 | conf-0 { |
| 548 | description = "k3-j721e-common-proc-board"; |
| 549 | firmware = "uboot"; |
| 550 | loadables = "uboot"; |
| 551 | fdt = "fdt-0"; |
| 552 | }; |
| 553 | |
| 554 | conf-1 { |
| 555 | description = "k3-j721e-sk"; |
| 556 | firmware = "uboot"; |
| 557 | loadables = "uboot"; |
| 558 | fdt = "fdt-1"; |
| 559 | }; |
| 560 | }; |
| 561 | }; |
| 562 | }; |
| 563 | }; |
| 564 | |
| 565 | &binman { |
| 566 | ti-spl_unsigned { |
Neha Malcom Francis | 806b6f8 | 2023-11-15 15:40:24 +0530 | [diff] [blame] | 567 | insert-template = <&ti_spl_unsigned_template>; |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 568 | |
| 569 | fit { |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 570 | images { |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 571 | dm { |
Neha Malcom Francis | 8237821 | 2023-12-05 15:12:19 +0530 | [diff] [blame] | 572 | ti-dm { |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 573 | filename = "ti-dm.bin"; |
| 574 | }; |
| 575 | }; |
| 576 | |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 577 | fdt-0 { |
| 578 | description = "k3-j721e-common-proc-board"; |
| 579 | type = "flat_dt"; |
| 580 | arch = "arm"; |
| 581 | compression = "none"; |
| 582 | blob { |
| 583 | filename = SPL_J721E_EVM_DTB; |
| 584 | }; |
| 585 | }; |
| 586 | |
| 587 | fdt-1 { |
| 588 | description = "k3-j721e-sk"; |
| 589 | type = "flat_dt"; |
| 590 | arch = "arm"; |
| 591 | compression = "none"; |
| 592 | blob { |
| 593 | filename = SPL_J721E_SK_DTB; |
| 594 | }; |
| 595 | }; |
| 596 | }; |
| 597 | |
| 598 | configurations { |
| 599 | default = "conf-0"; |
| 600 | |
| 601 | conf-0 { |
| 602 | description = "k3-j721e-common-proc-board"; |
| 603 | firmware = "atf"; |
| 604 | loadables = "tee", "dm", "spl"; |
| 605 | fdt = "fdt-0"; |
| 606 | }; |
| 607 | |
| 608 | conf-1 { |
| 609 | description = "k3-j721e-sk"; |
| 610 | firmware = "atf"; |
| 611 | loadables = "tee", "dm", "spl"; |
| 612 | fdt = "fdt-1"; |
| 613 | }; |
| 614 | }; |
| 615 | }; |
| 616 | }; |
| 617 | }; |
| 618 | |
| 619 | &binman { |
| 620 | u-boot_unsigned { |
Neha Malcom Francis | 806b6f8 | 2023-11-15 15:40:24 +0530 | [diff] [blame] | 621 | insert-template = <&u_boot_unsigned_template>; |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 622 | |
| 623 | fit { |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 624 | images { |
| 625 | uboot { |
Neha Malcom Francis | 806b6f8 | 2023-11-15 15:40:24 +0530 | [diff] [blame] | 626 | description = "U-Boot for J721E Board"; |
Neha Malcom Francis | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 627 | }; |
| 628 | |
| 629 | fdt-0 { |
| 630 | description = "k3-j721e-common-proc-board"; |
| 631 | type = "flat_dt"; |
| 632 | arch = "arm"; |
| 633 | compression = "none"; |
| 634 | blob { |
| 635 | filename = J721E_EVM_DTB; |
| 636 | }; |
| 637 | hash { |
| 638 | algo = "crc32"; |
| 639 | }; |
| 640 | }; |
| 641 | |
| 642 | fdt-1 { |
| 643 | description = "k3-j721e-sk"; |
| 644 | type = "flat_dt"; |
| 645 | arch = "arm"; |
| 646 | compression = "none"; |
| 647 | blob { |
| 648 | filename = J721E_SK_DTB; |
| 649 | }; |
| 650 | hash { |
| 651 | algo = "crc32"; |
| 652 | }; |
| 653 | }; |
| 654 | }; |
| 655 | |
| 656 | configurations { |
| 657 | default = "conf-0"; |
| 658 | |
| 659 | conf-0 { |
| 660 | description = "k3-j721e-common-proc-board"; |
| 661 | firmware = "uboot"; |
| 662 | loadables = "uboot"; |
| 663 | fdt = "fdt-0"; |
| 664 | }; |
| 665 | |
| 666 | conf-1 { |
| 667 | description = "k3-j721e-sk"; |
| 668 | firmware = "uboot"; |
| 669 | loadables = "uboot"; |
| 670 | fdt = "fdt-1"; |
| 671 | }; |
| 672 | }; |
| 673 | }; |
| 674 | }; |
| 675 | }; |
| 676 | #endif |