Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Kontron Electronics GmbH Yocto BSP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
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
KED Software Projects
KED
Kontron Electronics GmbH Yocto BSP
Commits
ff97297b
Commit
ff97297b
authored
1 year ago
by
Frieder Schrempf
Browse files
Options
Downloads
Patches
Plain Diff
meta-ked-imx: u-boot-ktn: Use YAML for fw_env.config and specify all possible devices
parent
239c8f62
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!40
Dynamic selection of i.MX8MM U-Boot environment config in Linux userspace
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
layers/meta-ked-imx/recipes-bsp/u-boot/u-boot-ktn/ked-mx8mm/fw_env.config
+30
-11
30 additions, 11 deletions
...imx/recipes-bsp/u-boot/u-boot-ktn/ked-mx8mm/fw_env.config
with
30 additions
and
11 deletions
layers/meta-ked-imx/recipes-bsp/u-boot/u-boot-ktn/ked-mx8mm/fw_env.config
+
30
−
11
View file @
ff97297b
# Configuration file for fw_(printenv/setenv) utility.
# Up to two entries are valid, in this case the redundant
# environment sector is assumed present.
# Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash.
# Futhermore, if the Flash sector size is omitted, this value is assumed to
# be the same as the Environment size, which is valid for NOR and SPI-dataflash
# Device offset must be prefixed with 0x to be parsed as a hexadecimal value.
spi
-
nor
:
size
:
0
x10000
lockfile
: /
var
/
lock
/
fw_printenv
.
lock
devices
:
-
path
: /
dev
/
mtd1
offset
:
0
x0
sectorsize
:
0
x4000
-
path
: /
dev
/
mtd2
offset
:
0
x0
sectorsize
:
0
x4000
# NOR example
# MTD device name Device offset Env. size Flash sector size Number of sectors
sd
-
card
:
size
:
0
x10000
lockfile
: /
var
/
lock
/
fw_printenv
.
lock
devices
:
-
path
: /
dev
/
mmcblk1
offset
:
0
x1E0000
sectorsize
:
0
x4000
-
path
: /
dev
/
mmcblk1
offset
:
0
x1F0000
sectorsize
:
0
x4000
/
dev
/
mtd1
0
x0000
0
x10000
0
x4000
/
dev
/
mtd2
0
x0000
0
x10000
0
x4000
emmc
:
size
:
0
x10000
lockfile
: /
var
/
lock
/
fw_printenv
.
lock
devices
:
-
path
: /
dev
/
mmcblk0boot0
offset
: -
0
x20000
sectorsize
:
0
x4000
-
path
: /
dev
/
mmcblk0boot0
offset
: -
0
x10000
sectorsize
:
0
x4000
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