diff options
author | Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> | 2020-08-18 09:59:11 +0000 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-09-23 23:40:51 -0300 |
commit | 5b58232d3e7b5e66d5bdcfd11a6265b098b2f898 (patch) | |
tree | c88d74543f2fe3170508c26fb5951c2d395336ba /recipes-bsp/u-boot/u-boot-imx/0001-Add-target-to-generate-initial-environment.patch | |
parent | ff402ae4bfb6b80b2312a6fcd6c0638673e2c053 (diff) | |
download | meta-freescale-5b58232d3e7b5e66d5bdcfd11a6265b098b2f898.tar.gz |
u-boot-imx: upgrade to imx_v2020.04_5.4.24_2.1.0
Drop patch appplied upstream, remove additional install step which is
handled by imx-boot recipe.
Update u-boot dtb names in machine description files, upstream U-Boot
from NXP has DTB files renamed.
Upgrade u-boot-imx-tools and u-boot-imx-mfgtool to 2020.04 as well to
match u-boot-imx recipe.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-imx/0001-Add-target-to-generate-initial-environment.patch')
-rw-r--r-- | recipes-bsp/u-boot/u-boot-imx/0001-Add-target-to-generate-initial-environment.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/recipes-bsp/u-boot/u-boot-imx/0001-Add-target-to-generate-initial-environment.patch b/recipes-bsp/u-boot/u-boot-imx/0001-Add-target-to-generate-initial-environment.patch deleted file mode 100644 index c717e029..00000000 --- a/recipes-bsp/u-boot/u-boot-imx/0001-Add-target-to-generate-initial-environment.patch +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | From bdaa73a5b3923257add182b4ab8058dbfa33421b Mon Sep 17 00:00:00 2001 | ||
2 | From: Stefano Babic <sbabic@denx.de> | ||
3 | Date: Wed, 13 Mar 2019 09:46:45 +0100 | ||
4 | Subject: [PATCH] Add target to generate initial environment | ||
5 | |||
6 | The initial environment is linked to the u-boot binary. Modifying the | ||
7 | environment from User Space with the env tools requires that the tools | ||
8 | are always built together with the bootloader to be sure that they | ||
9 | contain the initial environment in case no environment is stored into | ||
10 | persistent storage or when a board boots with just the default | ||
11 | environment. This makes difficult for distros to provide a general | ||
12 | package to access the environment. A simpler way is if the tools are | ||
13 | generic for all boards and a configuration file is given to provide the | ||
14 | initial environment. | ||
15 | |||
16 | The patch just generates the initial environment by extracting it from | ||
17 | the compiled object. This file can then be used for tools in user space | ||
18 | to initialize the environment. | ||
19 | |||
20 | Signed-off-by: Stefano Babic <sbabic@denx.de> | ||
21 | |||
22 | Upstream-Status: Backport [https://github.com/u-boot/u-boot/commit/bdaa73a5b3923257add182b4ab8058dbfa33421b] | ||
23 | |||
24 | Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> | ||
25 | --- | ||
26 | Makefile | 7 +++++++ | ||
27 | 1 file changed, 7 insertions(+) | ||
28 | |||
29 | diff --git a/Makefile b/Makefile | ||
30 | index 66a09ac900..f2c7bb6041 100644 | ||
31 | --- a/Makefile | ||
32 | +++ b/Makefile | ||
33 | @@ -1977,6 +1977,13 @@ endif | ||
34 | $(build)=$(build-dir) $(@:.ko=.o) | ||
35 | $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost | ||
36 | |||
37 | +quiet_cmd_genenv = GENENV $@ | ||
38 | +cmd_genenv = $(OBJCOPY) --dump-section .rodata.default_environment=$@ env/common.o; \ | ||
39 | + sed --in-place -e 's/\x00/\x0A/g' $@ | ||
40 | + | ||
41 | +u-boot-initial-env: u-boot.bin | ||
42 | + $(call if_changed,genenv) | ||
43 | + | ||
44 | # Consistency checks | ||
45 | # --------------------------------------------------------------------------- | ||
46 | |||
47 | -- | ||
48 | 2.17.1 | ||
49 | |||