Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Florian Mayer
u-boot
Commits
32d2b63e
Commit
32d2b63e
authored
3 years ago
by
Florian Mayer
Browse files
Options
Downloads
Patches
Plain Diff
Change environments for secure boot
parent
45093ce8
No related branches found
No related tags found
No related merge requests found
Pipeline
#6285
canceled
3 years ago
Stage: testsuites
Stage: test.py
Stage: world build
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/configs/kontron_common.h
+2
-1
2 additions, 1 deletion
include/configs/kontron_common.h
include/configs/kontron_mx6ul.h
+21
-0
21 additions, 0 deletions
include/configs/kontron_mx6ul.h
include/configs/kontron_mx8mm.h
+5
-0
5 additions, 0 deletions
include/configs/kontron_mx8mm.h
with
28 additions
and
1 deletion
include/configs/kontron_common.h
+
2
−
1
View file @
32d2b63e
...
...
@@ -102,7 +102,7 @@
"pxefile_addr_r=" KONTRON_ENV_PXE_ADDR "\0" \
"scriptaddr=" KONTRON_ENV_PXE_ADDR "\0" \
"bootdir=\0" \
"bootdelay=
3
\0" \
"bootdelay=
" KONTRON_BOOTDELAY "
\0" \
"ipaddr=192.168.1.11\0" \
"serverip=192.168.1.10\0" \
"gatewayip=192.168.1.10\0" \
...
...
@@ -111,6 +111,7 @@
"hostname=" CONFIG_HOSTNAME "\0" \
"bootubipart=spi-nand0\0" \
"bootubivol=boot\0" \
KONTRON_SECURE_BOOT \
BOOTENV
#endif
/* __KONTRON_COMMON_CONFIG_H */
This diff is collapsed.
Click to expand it.
include/configs/kontron_mx6ul.h
+
21
−
0
View file @
32d2b63e
...
...
@@ -14,6 +14,8 @@
#define KONTRON_ENV_KERNEL_CONSOLE ""
#define KONTRON_ENV_KERNEL_MTDPARTS "mtdparts=spi1.0:128k(spl),832k(u-boot),64k(env);spi4.0:192m(rootfs),-(user)"
#define KONTRON_ENV_KERNEL_ADDR "0x82000000"
#define KONTRON_ENV_FDT_ADDR "0x83000000"
#define KONTRON_ENV_PXE_ADDR "0x83100000"
...
...
@@ -35,6 +37,25 @@
#else
#define BOOTENV
#endif
/*Secure boot options*/
#ifdef CONFIG_IMX_HAB
#define KONTRON_SECURE_BOOT \
"secure_bootcmd="\
"if fatload mmc 0:1 ${loadaddr} zImage_signed.bin;" \
"then " \
"fatload mmc 0:1 ${fdt_addr_r} baseboard.dtb;"\
"if hab_auth_img ${loadaddr} 007d9960 7d8000;" \
"then " \
"setenv bootargs root=/dev/mmcblk0p2 rootwait console=ttymxc3,115200;" \
"bootz ${loadaddr} - ${fdt_addr_r};" \
"else reset;" \
"fi;" \
"fi\0"
#define KONTRON_BOOTDELAY "0"
#else
#define KONTRON_SECURE_BOOT
#define KONTRON_BOOTDELAY "3"
#endif
/* MMC Configs */
#ifdef CONFIG_FSL_USDHC
...
...
This diff is collapsed.
Click to expand it.
include/configs/kontron_mx8mm.h
+
5
−
0
View file @
32d2b63e
...
...
@@ -26,6 +26,11 @@
/* Common options for Kontron Electronics boards */
#include
"kontron_common.h"
/*Secure boot options*/
#define KONTRON_SECURE_BOOT "secure_bootcmd=echo secure boot not enable\0"
#define KONTRON_BOOTDELAY "3"
#ifndef CONFIG_SPL_BUILD
#define BOOT_TARGET_DEVICES(func) \
func(MMC, mmc, 1) \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment