Jaehoon Chung [Wed, 7 Jun 2023 05:20:32 +0000 (14:20 +0900)]
include: starfive-visionfive2: Add tizen environment into starfive-visionfive2 header
Add tizen environment into starfive-visionfive2 haeder.
Tizen specific environment value will be added in
include/samsung/tizen_visionfvie2.h
Change-Id: I142780cf59f35f909d49f90fcb243420e61750e5
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 7 Jun 2023 05:19:19 +0000 (14:19 +0900)]
configs: tizen_starfive_visionfive2: Change the device-tree path
Change the device-tree path to root dir from starfive dir.
Change-Id: I0548d4910f4cfa7808e2d3a3cb71961e5b8f7d39
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 2 Jun 2023 07:29:36 +0000 (16:29 +0900)]
tizen: bootscript: Add visionfive2 bootscript and env file
Add visionfive2 bootscript and uEnv.txt file.
tizen-boot-vf2-uEnv.txt file will be used when booting from pre-flashed u-boot.
Custom U-boot will not be used tizen-boot-vf2-uEnv.txt file.
Instead, Custom u-boot will be using the generated uboot.env.
Change-Id: Ic4d2542ddd3d7312f0367c733618f8be6926fef3
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 2 Jun 2023 08:27:13 +0000 (17:27 +0900)]
samsung: Add tizen_visionfive2 header
Add tizen_visionfive2 header file to use tizen speicific environments.
Change-Id: Ideb153007d7351ecc5e4ddffade424f1d2f253db
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Łukasz Stelmach [Fri, 26 May 2023 17:44:32 +0000 (19:44 +0200)]
packaging: Add u-boot-qemu-riscv64 spec file
Change-Id: Idf0402efaf70974b09760732a29769afd8b713e7
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Jaehoon Chung [Fri, 2 Jun 2023 04:06:26 +0000 (13:06 +0900)]
include: starfive-vifionfive: fix the prefix from CFG to CONFIG
This is caused by backporting.
Latest U-boot is uinsg CFG_EXTRA_ENV_SETTINGS, but v2022.10 is using
CONFIG_EXTRA_ENV_SETTINGS.
Change-Id: Ia42e9c9402cc1eedd4467cc20069e9a64d90e474
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 2 Jun 2023 03:59:34 +0000 (12:59 +0900)]
configs: tizen_starfive_visionfive2: Enable environment configs
Enable environment configs to use uboot.env file in FAT filesystem.
Change-Id: I9f6877ec810eed31ebfb9b65e71318a868cc31b7
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Tue, 2 May 2023 04:09:13 +0000 (13:09 +0900)]
packaging: Add u-boot-visionfive2 spec file
Add u-boot-visionfive2 spec file.
Change-Id: I2d3f0fb2c3865779299a3ba2a3e03ae626d5e6eb
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 22 May 2023 10:04:26 +0000 (19:04 +0900)]
scripts: tizen: sd_fusing_rpi3/4: update print_logo
To prevent a confusion, update print_logo more clarify.
Change-Id: I85f6f17168b399878d865ed4f491265452aed123
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Tue, 2 May 2023 03:41:58 +0000 (12:41 +0900)]
RISC-V: dts: jh7110: Change from bootph-pre-ram to u-boot,dm-spl
Mainline is using bootph-pre-ram instead of u-boot,dm-spl.
So it needs to use u-boot,dm-spl in current u-boot version.
Otherwise, spl doesn't work fine.
Thia patch is for only v2022.10. In latest version, this patch doesn't
need.
Change-Id: Ib7258f3d1dd8c892581cd568d72a54a4d59d4521
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 28 Apr 2023 06:49:44 +0000 (15:49 +0900)]
scripts: tizen: sf_fusing_vf2: add u-boot.itb to flash u-boot
Mainline u-boot is using u-boot.itb instead ob u-boot.img.
To flash correct u-boot image, add u-boot.itb in table.
Change-Id: I4ffe88d97b151e847475c489a2fe85ea7850bf22
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 28 Apr 2023 04:00:11 +0000 (13:00 +0900)]
RISC-V: fix riscv64 extension isa problem
During building with tizen gcc, the below message is displayed.
[ 33s] arch/riscv/lib/cache.c:12: Error: unrecognized opcode `fence.i', extension `zifencei' required
[ 33s] make[1]: *** [scripts/Makefile.build:257: arch/riscv/lib/cache.o] Error 1
[ 33s] make[1]: *** Waiting for unfinished jobs....
[ 33s] CC common/miiphyutil.o
[ 34s] CC boot/image.o
[ 34s] CC boot/image-board.o
Older gcc doesn't support some isa extensions for riscv.
(Since GCC 11.1, it's supported.)
This patch is refered to below commit of linux-starfive repo.
commit
e6303a1c7cf531457aca1ff35f3d3ee38977eca2
Author: Marek Szulc <m.szulc3@samsung.com>
Date: Fri Aug 19 12:29:48 2022 +0200
riscv: fix riscv64 unrecognized opcode build error
Change-Id: Ib4f52134bad8d9f1971d4d8fb9f757d2fa9cfb1e
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Heinrich Schuchardt [Wed, 12 Oct 2022 12:59:51 +0000 (14:59 +0200)]
riscv: support building double-float modules
The riscv32 toolchain for GCC-12 provided by kernel.org contains libgcc.a
compiled for double-float. To link to it we have to adjust how we build
U-Boot.
As U-Boot actually does not use floating point at all this should not
make a significant difference for the produced binaries.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Rick Chen <rick@andestech.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
(cherry picked from commit
e67f34f778baabd76f2e0e645a409fed14d2d156)
Change-Id: I674fb274fa4c6c650f48c39ce92dde2e3e01d966
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Alexandre Ghiti [Mon, 3 Oct 2022 16:07:54 +0000 (18:07 +0200)]
riscv: Fix build against binutils 2.38
The following description is copied from the equivalent patch for the
Linux Kernel proposed by Aurelien Jarno:
>From version 2.38, binutils default to ISA spec version
20191213. This
means that the csr read/write (csrr*/csrw*) instructions and fence.i
instruction has separated from the `I` extension, become two standalone
extensions: Zicsr and Zifencei. As the kernel uses those instruction,
this causes the following build failure:
arch/riscv/cpu/mtrap.S: Assembler messages:
arch/riscv/cpu/mtrap.S:65: Error: unrecognized opcode `csrr a0,scause'
arch/riscv/cpu/mtrap.S:66: Error: unrecognized opcode `csrr a1,sepc'
arch/riscv/cpu/mtrap.S:67: Error: unrecognized opcode `csrr a2,stval'
arch/riscv/cpu/mtrap.S:70: Error: unrecognized opcode `csrw sepc,a0'
Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Christian Stewart <christian@paral.in>
Reviewed-by: Rick Chen <rick@andestech.com>
(cherry picked from commit
1dde977518f13824b847e23275001191139bc384)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: Ib87e31e43046af92ca986bfd6836a0e712c3b43f
Jaehoon Chung [Fri, 28 Apr 2023 00:50:16 +0000 (09:50 +0900)]
tools: starfive: Add spl_tool of starfive
To build visionfive2 board, it needs to use spl_tool of starfive.
This files are taken from below git repo.
URL: https://github.com/starfive-tech/Tools/tree/master/spl_tool
Refer to doc/board/starfive/visionfive2.rst in u-boot repo.
Change-Id: I8e5d8e11dc5f49d84edb32979372062603f4a13c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Marek Pikuła [Fri, 28 Apr 2023 11:26:42 +0000 (13:26 +0200)]
tizen: rpi4: Fix slot check
Change-Id: I0b1ff3ef5a90ff2d43d54bb3559266c28e95eae4
Signed-off-by: Marek Pikuła <m.pikula@partner.samsung.com>
Jaehoon Chung [Tue, 25 Apr 2023 04:34:31 +0000 (13:34 +0900)]
riscv: jh7110: Fix build error during backporting
Fix build error during backporting baed on latest version.
This patch is for only v2022.10.
Change-Id: I2dd22cdf1672d3c397c16f546d87496a15b7f61d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Tue, 25 Apr 2023 04:31:51 +0000 (13:31 +0900)]
configs: Add tizen_starfive_visionfive2 defconfig
Add tizen_starfive_visionfive2 defconfig file.
It will be used for Tizen. To maintain orignal defconfig, create a
defconfig to use tizen.
Change-Id: I361b79fb1a7c6dd2319d25a62b31ca153e26c666
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Yanhong Wang [Thu, 16 Mar 2023 02:53:32 +0000 (10:53 +0800)]
configs: starfive: add starfive_visionfive2_defconfig
This is the initial basic config for StarFive VisionFive v2 board. It
includes consol, Norflash, sdio, ddr etc.
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
(cherry picked from commit
0eff3bf17631889945c89918ea3b97f7c626aef0)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I100767a2e517dd1044bf63ca037ba29bf075a372
Yanhong Wang [Wed, 29 Mar 2023 03:42:23 +0000 (11:42 +0800)]
riscv: dts: jh7110: Add initial StarFive VisionFive v2 board device tree
Add initial device tree for StarFive VisionFive v2 board.
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
(cherry picked from commit
f2d52446bcce51b41809cd0756f49e555fcdc096)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I048a6026968e8bd3f90229e6dd3c889e8be1ab14
Yanhong Wang [Wed, 29 Mar 2023 03:42:22 +0000 (11:42 +0800)]
riscv: dts: jh7110: Add initial u-boot device tree
Add initial u-boot device tree for the JH7110 RISC-V SoC.
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
(cherry picked from commit
c04dfc7ac12ce1f7d95ef1fab811cee477954f08)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I5a1ef59a1899959c745bda1dfd10705c2e8befee
Yanhong Wang [Wed, 29 Mar 2023 03:42:21 +0000 (11:42 +0800)]
riscv: dts: jh7110: Add initial StarFive JH7110 device tree
Add initial device tree for the JH7110 RISC-V SoC.
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
(cherry picked from commit
9087a6ae79e24ecbb98e3376fe4ef42705f9dd0c)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: Ia9acd00f478e4837dcda647aae9dd972413d77dd
Yanhong Wang [Wed, 29 Mar 2023 03:42:20 +0000 (11:42 +0800)]
board: starfive: Add TARGET_STARFIVE_VISIONFIVE2 to Kconfig
Add board support for StarFive VisionFive v2.
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
(cherry picked from commit
331ad93c1279d0eeb971f4830ae88dc9c8202642)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I813fad89e5cdb4275b5c43e290fc84a2c1d0590e
Yanhong Wang [Wed, 29 Mar 2023 03:42:19 +0000 (11:42 +0800)]
board: starfive: Add Kconfig for StarFive VisionFive v2 Board
Add Kconfig to select the basic functions for StarFive VisionFive v2 Board.
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
(cherry picked from commit
6f902b85b6eeb283199ddcf8214a299ac6cf57be)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I089028e1904025696c8586119c139734a5f9c999
Yanhong Wang [Wed, 29 Mar 2023 03:42:18 +0000 (11:42 +0800)]
riscv: cpu: jh7110: Add Kconfig for StarFive JH7110 SoC
Add Kconfig to select the basic functions for StarFive JH7110 SoC.
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
(cherry picked from commit
2f5fad0b0ddcdab6deeeda94859bcd93605d1784)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I50b180379660daf904b55266f608fd626dfcdf77
Yanhong Wang [Wed, 29 Mar 2023 03:42:17 +0000 (11:42 +0800)]
board: starfive: add StarFive VisionFive v2 board support
Add board support for StarFive VisionFive v2.
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
(cherry picked from commit
5ecf9b0b8a756c7227ef17c67a870295060e2052)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I7ffda616a2e1e8575d458d6aa895aff155f15b43
Yanhong Wang [Wed, 29 Mar 2023 03:42:16 +0000 (11:42 +0800)]
ram: starfive: add ddr driver
Add driver for StarFive JH7110 to support ddr initialization in SPL.
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
(cherry picked from commit
60abbadfc0bb257733bde49658ab86275a269e2b)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I9cf02d4d9bcd80797c9bb6762d495e8d47275b51
Kuan Lim Lee [Wed, 29 Mar 2023 03:42:15 +0000 (11:42 +0800)]
pinctrl: starfive: Add StarFive JH7110 driver
Add pinctrl driver for StarFive JH7110 SoC.
Signed-off-by: Kuan Lim Lee <kuanlim.lee@linux.starfivetech.com>
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
(cherry picked from commit
732f01aabf53ae97aff9acb92a43c6b3838e6c92)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I8d4829142ac4a7ea0df7a9e2765c0350c7d9d368
Jianlong Huang [Wed, 29 Mar 2023 03:42:14 +0000 (11:42 +0800)]
dt-bindings: pinctrl: Add StarFive JH7110 pinctrl definitions
Add pinctrl definitions for StarFive JH7110 SoC.
Signed-off-by: Kuan Lim Lee <kuanlim.lee@linux.starfivetech.com>
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
(cherry picked from commit
d60f38493837d70a66cb9655169459d65dbe5fca)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I08ba8786cbb2de184976fa53ffe90d5c483f2045
Yanhong Wang [Wed, 29 Mar 2023 03:42:13 +0000 (11:42 +0800)]
clk: starfive: Add StarFive JH7110 clock driver
Add a DM clock driver for StarFive JH7110 SoC.
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
(cherry picked from commit
c13fe7c034fa2b616cc0223e20fd365afb36574a)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I5da4b9e6f498266749cf3a974f9be1e9ee797aaf
Yanhong Wang [Wed, 29 Mar 2023 03:42:12 +0000 (11:42 +0800)]
dt-bindings: clock: Add StarFive JH7110 clock definitions
Add all clock outputs for the StarFive JH7110 clock generator.
Change-Id: Ic2cb4c54eee48f7328b477ce4c18a5eddc7f00ed
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Acked-by: Sean Anderson <seanga2@gmail.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Yanhong Wang [Wed, 29 Mar 2023 03:42:11 +0000 (11:42 +0800)]
reset: starfive: jh7110: Add reset driver for StarFive JH7110 SoC
Add a DM reset driver for StarFive JH7110 SoC.
Note that the register base address of reset controller is the
same with the clock controller. Therefore, there is no device
tree node alone for reset driver.It binds device node in
the clock driver
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
(cherry picked from commit
d13de4faafbdb675515c57dcadf4a78205767ace)
Change-Id: I40c31ff4c26ada33b499fc6c1221a5f8c59c780e
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Yanhong Wang [Wed, 29 Mar 2023 03:42:10 +0000 (11:42 +0800)]
dt-bindings: reset: Add StarFive JH7110 reset definitions
Add resets for the StarFive JH7110 system(SYS),system-top-group(STG) and
always-on(AON) reset controller.
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
(cherry picked from commit
c10483045e2de75a16d88aea8cceee42c91056d7)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: Iab53ba1b78d50a9208998b4292599aa5a627fac5
Yanhong Wang [Wed, 29 Mar 2023 03:42:09 +0000 (11:42 +0800)]
cache: starfive: Add StarFive JH7110 support
This adds support for the StarFive JH7110 SoC which also
feature this SiFive cache controller.
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
(cherry picked from commit
22c240273742befbf6791292dfdd6ebe63c2c09a)
Change-Id: Ia99bcd1c9dbdaacbf3a0390e388ef05f6d96db17
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Yanhong Wang [Wed, 29 Mar 2023 03:42:08 +0000 (11:42 +0800)]
riscv: cpu: jh7110: Add support for jh7110 SoC
Add StarFive JH7110 SoC to support RISC-V arch.
Signed-off-by: Yanhong Wang <yanhong.wang@starfivetech.com>
Reviewed-by: Rick Chen <rick@andestech.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
(cherry picked from commit
218534153ec8932a873dcca48a1a2b4aba0e32b5)
Change-Id: Id2377db738c5f419c81564089435a7b3b24519b8
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 6 Apr 2023 07:36:37 +0000 (16:36 +0900)]
scripts: sd_fusing_vf2: Support to flash u-boot and spl image
Support to flash u-boot and spl image with script.
- u-boot + opensbi : u-boot.img
- spl : u-boot-sp.bin.normal.out
It can be changed to other name in future.
If change image names, it will be changed.
Change-Id: Iba4337f9591b339c37a1207848794b92da56542a
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 10 Mar 2023 03:48:19 +0000 (12:48 +0900)]
scripts: tizen: Add a fusing script for Visionfive2
Add a fusing script for visionFive2.
This script is for SD-Card.
Change-Id: If895466dbc8f72b86b77c5807247475c1cb63d1a
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 2 Mar 2023 06:33:18 +0000 (15:33 +0900)]
scripts: sd_fusing_rpi3: Update sd_fusing_rpi3 version
Update sd_fusing_rpi3 version from 2.2.2 to 2.3.0.
Change-Id: I3deb33e134e28e3031c84ef9b41a58bc0eb283c6
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 2 Mar 2023 05:14:01 +0000 (14:14 +0900)]
scripts: sd_fusing_rpi3: support the latest sfdisk version
In Ubunut 22.04, sfdisk version is 2.37.2 by default.
Before applied this patch, script is failed with messsage of "No space
left...".
It seems that It's caused about wrong start offset.
If sfdisk version is upper than 2.37, remove the start offset.
Change-Id: Ic6ecf839e48024cc68b051f1f05e6b4fc56332da
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Marek Pikuła [Wed, 18 Jan 2023 15:57:27 +0000 (16:57 +0100)]
scripts: sd_fusing_rpi4: support formatting loop devices
Change-Id: Ic6384281104ed710552119f9910cfca95ddf9a21
Signed-off-by: Marek Pikuła <m.pikula@partner.samsung.com>
Jaehoon Chung [Fri, 13 Jan 2023 01:50:23 +0000 (10:50 +0900)]
configs: tizen_rpi_4: disable USB_XHCI_PCI config
Disable USB_XHCI_PCI config for usb hub on RPI4.
There is a problem on 8GiB RPi4 with 32bit image.
In future, it will be re-enabled after fixing a problem.
Change-Id: Ibd042fcd8d7a919f0d462cfdc91494413d800cae
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Hoegeun Kwon [Fri, 18 Nov 2022 06:39:46 +0000 (15:39 +0900)]
config: tizen_rpi: Add bootargs for hdmi
Add bootargs required for hdmi operation. Adding this bootargs can
solve the FHD timeout issue with rpi4 hdmi-0.
Change-Id: Ic438198c68fdbb6665b27ce0333f085bec792a1c
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Jaehoon Chung [Fri, 11 Nov 2022 05:38:25 +0000 (14:38 +0900)]
packaging: remove u-boot-rpi3 spec files
Remove u-boot-rpi3 spec files.
Since Tizen-7.0, RPi3 board doesn't support anymore.
Change-Id: I2f085e9a06550e2f4217016a50c6c65b21ad9540
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 11 Nov 2022 05:29:37 +0000 (14:29 +0900)]
scripts: sd_fusing_rpi4: add skip-resize option
Add skip-resize option to test A/B update.
Change-Id: I7cea9f665b3f474987bb710994a639351389f5b4
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Tue, 8 Nov 2022 05:53:00 +0000 (14:53 +0900)]
packaging: move u-boot-tools from rpi3 to rpi4
Move u-boot-tools from rpi3 to rpi4.
RPi3 target was deprecated. To remove u-boot-rpi3 spec file, it needs to
move u-boot-tools package into rpi4.
Change-Id: I308af97d06e72e8809eb0194c001e631f915c416
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 17 Oct 2022 03:19:48 +0000 (12:19 +0900)]
configs: tizen-amlogic: sync orignal defconfig files
Sync orignal defconfig files.
- khadas-vim3/vim3l
- odroid-n2/c4
Change-Id: I513f1cc9afda87557aed712e58bc8bf0ca357dab
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 17 Oct 2022 02:43:34 +0000 (11:43 +0900)]
tizen: amlogic: move CONFIG_TIZEN into Kconfig
Move CONFIG_TIZEN into Kconfig.
When new config is added, it has to be in Kconfig.
Change-Id: Idaef847edc2bb87907d80dfdd16d622a0c5c27b6
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 17 Oct 2022 00:13:18 +0000 (09:13 +0900)]
configs: tizen_rpi: enable CONFIG_SYS_INIT_SP_ADDR
Enable CONFIG_SYS_INIT_SP_ADDR in rpi3/4 configuration.
Change-Id: Id4b4c269631fb58c1e24a431c6588ce9bcca43a2
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 12 Oct 2022 01:25:57 +0000 (10:25 +0900)]
scripts: sd_fusing_rpi4: add initialize_parameter function
Add initialize_parameter function to clear previous values.
When flash the image without format, its value is remaining with
previous value.
Change-Id: I59b684bfa4ba851325902d8f769ce0c2efe67d85
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Łukasz Stelmach [Thu, 29 Sep 2022 21:06:15 +0000 (23:06 +0200)]
scripts: Normalize device name
Make sure the DEVICE holds the the real name of the block device and
not one of symbolic links that can be found in /dev/disk/by-* directories.
Change-Id: I8b3416b5de6471a15ef46748d124dbfbf80df156
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Łukasz Stelmach [Thu, 29 Sep 2022 19:46:44 +0000 (21:46 +0200)]
scripts: Fix broken message
Change-Id: I6e9f42ef3d3147927db99406e9fd4d1fea526d13
Fixes:
267186468d ("scripts: tizen: sd_fusing_rpi4: support A/B partition")
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Jaehoon Chung [Tue, 6 Sep 2022 02:20:16 +0000 (11:20 +0900)]
scripts: sd_fusing_rpi4: update version to 1.0.7
Since 1.0.7, partition-a/b-status.info is supported.
Change-Id: I2cce9a92c88a54d73f62e1e556c85219b90f0071
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 31 Aug 2022 22:53:30 +0000 (07:53 +0900)]
scripts: sd_fusing_rpi4: add the partition-a/b-status.info
Add the partition-a/b-status.info as "ok" by default.
It can be set to "ok", "failed" or "corrupted".
Change-Id: I10e749928ad27c96eb3adaf83d5dc8f636844150
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 17 Aug 2022 03:10:19 +0000 (12:10 +0900)]
scripts: sd_fusing_rpi4: change a value of partition-ab-cloned from 0 to 1
Change a value of partition-ab-cloned from 0 to 1 by default.
Change-Id: I0879b1d9c9b969ec0663439e04f8dd4b8150e77e
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Marek Szyprowski [Tue, 16 Aug 2022 11:44:45 +0000 (13:44 +0200)]
fixup! rpi: use board_early_init_r to init PCI/USB and detect boot device
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Jaehoon Chung [Mon, 1 Aug 2022 03:35:30 +0000 (12:35 +0900)]
configs: amlogic: move CONFIG_SYS_MEM_TOP_HIDE to defconfig
Move CONFIG_SYS_MEM_TOP_HIDE to defconfig.
Change-Id: I99de23e4019d3a2fb5280d155e2c6119d930e9e7
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 29 Jul 2022 01:15:58 +0000 (10:15 +0900)]
configs: vim3/odroid: Update the missed configs about amlogic target
Update the missed configs about amlogic target.
Change-Id: Ibb531da60be971f17e0b56e20f8d476bec88d574
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 29 Jul 2022 01:09:18 +0000 (10:09 +0900)]
configs: tizen_rpi_3/4_defconfig: Update the missed configurations
Update the missed configurations.
After version is updated, some configurations has to be defined in
defconfig.
Change-Id: I992ba76585f6075d3c213c04ebbef1134b200f4c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 29 Jul 2022 00:38:50 +0000 (09:38 +0900)]
packaging: update version from 2021.10 to 2022.10
Update version from 2021.10 to 2022.19.
Change-Id: I2d96f29a32de54a90f66348cf38a558b60447570
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 25 Jul 2022 06:25:54 +0000 (15:25 +0900)]
scripts: sd_fusing_rpi4: remove resize2fs command
Remove resize2fs command about ext4 partitions.
It'll be resized at first booting time.
Change-Id: I6a255ffd847c133183383d4a93e10e437b8f040d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 20 Jul 2022 09:25:55 +0000 (18:25 +0900)]
samsung: tizen_amlogic: increase ramdisk size from 8M to 32M
Increase ramdisk size from 8M to 32M.
Change-Id: Ie36d169d0e815ce6a0a0b671de80a6616b9af73c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 18 Jul 2022 06:53:33 +0000 (15:53 +0900)]
scripts: tizen_rpi: remove unnecessary line change
Remove unnecessary line change.
Change-Id: I91ab784a1e46d0145ff511b4f1012a23eeb5022d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 18 Jul 2022 06:14:15 +0000 (15:14 +0900)]
scripts: tizen_rpi: add the reboot_param_clear
Add the reboot_param_clear to clear the reboot parameter.
If there is no method to clear reboot parameter, it can be enterred to some
mode infinitely.
Change-Id: I6edbe2d4d989e172fa7bc6f032b5e627e540637a
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 14 Jul 2022 02:29:38 +0000 (11:29 +0900)]
scripts: sd_fusing_rpi4: change a name from recovery to ramdisk-recovery
Change a name from recovery_a/b to ramdisk-recovery_a/b.
Change-Id: I36593eccf4e4e33989365a180951434d37599c75
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 13 Jul 2022 09:07:29 +0000 (18:07 +0900)]
scripts: sd_fusing_rpi4: set to norm about reboot-param by default
Set to norm about value of reboot-param.bin by default.
At first booting, the below message is displayed on u-boot side.
- Failed to load 'reboot-param.bin'
Change-Id: I9cbc6f3f3634661e49318d2997b9bf2f82ecd522
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 13 Jul 2022 08:02:15 +0000 (17:02 +0900)]
scripts: sd_fusing_rpi4: add new partition information files
Add new partition information files.
- partition-ab-cloned.info
- upgrade-status.info
- partition-param.bin -> paritition-ab.info
Change-Id: I7ad94d1f30fd01fd4e3e9ee9948e0a266dd8a5aa
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 13 Jul 2022 07:34:44 +0000 (16:34 +0900)]
scripts: sd_fusing_rpi4: change a name from modules_a/b to module_a/b
modules_a/b is typo.
Change a correct name from modules_a/b to module_a/b.
Change-Id: I61a0e461598b48a3c494b569302bf4e8e9b366ac
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 1 Jul 2022 04:48:58 +0000 (13:48 +0900)]
configs: tizen_rpi_4: enable TIZEN_RPI4 config
Enable TIZEN_RPI4 configuration.
If want to add some codes for tizen specific code, use this
configuration.
Change-Id: I33296230b29895f53d3b620f6db5137c7b76c631
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 1 Jul 2022 04:44:17 +0000 (13:44 +0900)]
ARM: bcm283x: Add TIZEN_RPI3/4 config
Add TIZEN_RPI3/4 config to check the tizen specific things.
Change-Id: Ie25b90046cf2bfa3e954b000afa5ae33fa41b775
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 1 Jul 2022 03:41:20 +0000 (12:41 +0900)]
disk: part_efi: skip the verification when partition size is smaller
In tizen, user partition is created as remained disk size.
It's a difficult to fix to constant value.
This patch is help to skip the verification if partition size is smaller than real size.
Change-Id: I7156ddd8b62aec5e931b5fa14a9ad5a262a3a646
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 1 Jul 2022 03:54:46 +0000 (12:54 +0900)]
samsung: tizen_rpi: add update_gpt_part uboot variable
Add update_gpt_part uboot variable.
If wants to change a partition from mbr to gpt, run the below command on
u-boot console.
- run update_gpt_part
NOTE: This is for only RPi4.
Change-Id: Idd46ce313f8c28b9b04f7f8c7190ee1aed51d6f0
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 1 Jul 2022 03:18:54 +0000 (12:18 +0900)]
samsung: tizen_rpi: add a gpt partition list
Add a gpt partition list to verify or write about gpt.
Change-Id: Ie56076ee91316499829fc6be125dd93510e01e0b
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 1 Jul 2022 03:10:08 +0000 (12:10 +0900)]
configs: tizen_rpi_4: enable PARTITION_TYPE_GUID config
Enable PARTITION_TYPE_GUID and RANDOM_UUID configruations.
Gpt partition table needs to use UUID.
If there is not the defined UUID, it has to generate RANDOM UUID.
Otherwise, it will be failed during verifying or writing.
Change-Id: Ie98adc68b2ac7150b81ac47ef49362e46f7349f0
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 30 Jun 2022 04:48:50 +0000 (13:48 +0900)]
configs: tizen_rpi_4: enabled CMD_GPT configuration
Enable CMD_GPT configuration.
Change-Id: I3dbcecfb0fb5e671ed4afce4c209580738bc457c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Seung-Woo Kim [Thu, 30 Jun 2022 03:52:10 +0000 (12:52 +0900)]
scripts: tizen: rpi4: If setting ansi color, clear it always
There is case not clearing ansi color. Clear it always.
Change-Id: I47695a7edc3250ce311aa052f16eb925704976f7
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Jaehoon Chung [Wed, 29 Jun 2022 03:59:58 +0000 (12:59 +0900)]
samsung: tizen_rpi: add a set_to_part_a/b uboot env
Add a set_to_part_a/b uboot env.
If wants to change to part_a or part_b, run the below command on u-boot
console.
e.g) "run set_to_part_a" or "run set_to_part_b"
Change-Id: I639aea2809f08382ade115d6718fa63d3931c35a
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Tue, 28 Jun 2022 01:40:36 +0000 (10:40 +0900)]
scripts: tizen: rpi4: disable metadata_csum feature about inform partition
Disable metadata_csum feature about inform partition.
It needs to disable to use ext4write command.
Change-Id: I0fee6fd08cbb9dc3426842ba0e26bd2fbab6dda1
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 24 Jun 2022 01:24:50 +0000 (10:24 +0900)]
configs: tizen_rpi_4: enable CONFIG_EXT4_WRITE
Enable CONFIG_EXT4_WRITE configuration.
It will be used to control a file under ext4 filesystem.
Change-Id: I72553b6675b8877326e832eda181efc9e0135cfa
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 20 Jun 2022 08:25:02 +0000 (17:25 +0900)]
tizen: build-amlogic: change the config names
Change the config name with tizen as prefix.
Change-Id: Id6a7fcd68e171e12fb2bc0b9130c2b7ead5a0181
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 20 Jun 2022 08:22:07 +0000 (17:22 +0900)]
packaging: amlogic: change the config names
Change the config names with tizen as prefix.
Change-Id: I0c7d2179a8d969ba6abf58bbb5a7be1e75191744
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 20 Jun 2022 07:57:05 +0000 (16:57 +0900)]
configs: amlogic: create the tizen specific config files
Create the tizen specific amlogic config files.
To keep the mainline configs, seperate to other files.
Change-Id: I91179fd562e2d54c1b799d425a47aabbfc137c4a
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 20 Jun 2022 04:53:34 +0000 (13:53 +0900)]
scripts: tizen: rpi4: fix the missing hal_b information
Fix the missing hal_b information.
Change-Id: I0dcac7b578a7852a8e69fcb04d30d5e5dfee6625
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 20 Jun 2022 04:39:46 +0000 (13:39 +0900)]
scripts: tizen: rpi4: create a partition-param.bin file
Create a partition-param.bin file to check the A/B partition.
This file has to be included at format time.
Change-Id: Iad21e3254026b31fa2316c166d908592b40965fc
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 17 Jun 2022 11:12:05 +0000 (20:12 +0900)]
scripts: tizen: rpi4: support to flash only B partiton
If wants to update only B partition, "update" option can be used with b.
e.g) ./sd_fusing_rip4 -d <..> -b <..> --update b
Otherwise, it will be flashed to both partition.
Change-Id: Ic9cec8b506f663b50ace52040f8bccdd4f0315ff
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 16 Jun 2022 07:47:45 +0000 (16:47 +0900)]
tizen: rpi4: support A/B boot on PRi4 target
Support A/B boot on RPi4.
It has to be partition-param.bin file to distinguish with
a/b in inform partition. Then bootscript can be parsing its value.
partition-param.bin can be changed to other name.
But it has to change also slotfile of uboot's environment as same value.
Change-Id: I143b9485117a0f10ed3d427a1f3f15b4a86ffd43
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 16 Jun 2022 04:16:08 +0000 (13:16 +0900)]
packaging: add bc package as BuildRequires
Add bc package as BuildRequires.
Fix the below message during building package.
"/bin/sh: bc: command not found"
Change-Id: I36e3c97e3a58756898e40a1073dfa0779545daa7
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 15 Jun 2022 03:05:07 +0000 (12:05 +0900)]
scripts: tizen: rpi4: add reserved partition
Add reserved partition.
In future, if additional partition will be used, it can be used with
reserved partition.
Change-Id: I587f03011b853cba9c65d15229fd0c8929b8256d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 15 Jun 2022 02:01:13 +0000 (11:01 +0900)]
scripts: tizen: rpi4: add the additional option to flash A/B partition
Add additional option as '-ab'.
If it's used, it will be flashed to both A/B partitions.
Otherwise, it will be flashed to A partition by default.
Actaully, some developers don't need to update B partiton.
Change-Id: I584be9e1be388b9f6bc247d105e406dd66d86ec0
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 13 Jun 2022 08:03:14 +0000 (17:03 +0900)]
scripts: tizen: rpi4: add boot_a/b partition
Add boot_a/b partition
Change-Id: Ifb106926e63ae5641be9251b21828ecedae3ab24
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 13 Jun 2022 06:04:18 +0000 (15:04 +0900)]
scripts: tizen: rpi4: add hal_a/b partition
Add hal_a/b partition and don't support older sfdisk command anymore.
The maintaining older sfdisk command is wasted the cost.
Change-Id: Ic1fa41017cb9fa7d0aaae022509821545c627503
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 10 Jun 2022 09:18:05 +0000 (18:18 +0900)]
scripts: tizen: sd_fusing_rpi4: support gpt label
Support gpt label to use PARTLABEL.
This patch is based on what SRPOL had been shared.
Change-Id: I0d1221493e78d43a38bfe712d96622b7f216edaf
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 9 Jun 2022 04:28:36 +0000 (13:28 +0900)]
scripts: tizen: sd_fusing_rpi4: support A/B partition
Support A/B partition layout.
Change-Id: I06e5999be208b75d049e93c6544e8769a6fc3265
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 9 Jun 2022 04:06:28 +0000 (13:06 +0900)]
scripts: tizen: sd_fusing: separate rpi3 and rpi4
RPi4 will have other partition layout.
It can't be used same fusing scsript about rpi3/4.
Change-Id: Ie16ee56a74612889107214ac19de44548eb7f1ee
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 13 Jun 2022 09:26:05 +0000 (18:26 +0900)]
tizen: rpi: add a partition_ab bootargs
Add a partition_ab bootargs and set to "a" by default.
Change-Id: Ief593f3b35efdda1170f2c35403a340f93dbfaf9
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 13 Jun 2022 01:00:28 +0000 (10:00 +0900)]
tizen: bootscript: rpi4: remove mbr_check
Remove mbr_check to check whether the correct partition layout is used
or not. When A/B partition will be supported, the backward compatibility
will be blocked.
Change-Id: Ie973838c4c0b56c7d910fb15ca1780b985e69663
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 25 May 2022 04:48:46 +0000 (13:48 +0900)]
dfu: add CONFIG_DFU_NAME_MAX_SIZE configuration
Add CONFIG_DFU_NAME_MAX_SIZE to change the proper size.
If name is longer than default size, it can do wrong behavior during updating
image. So it need to change the proper maximum size.
This patch is proviced the solution to change value with configuration.
Change-Id: I5c371eb749954b5cb699c04347d40d31fcf4a7d5
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Łukasz Stelmach [Wed, 9 Mar 2022 12:53:37 +0000 (13:53 +0100)]
scripts: sd_fusing_rpi3: remove unnecessary grep calls
Handle pattern matching with awk instead of grep.
Change-Id: I7377e578987dc77f0f22d0083630acd5888eff66
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Łukasz Stelmach [Mon, 13 Sep 2021 16:46:39 +0000 (18:46 +0200)]
scripts: sd_fusing_rpi3: check file type before writing an image
Sometimes, when sfdisk failure is not handeled properly, sd_fusing_rpi3
may leave a regular file named like a device in the /dev directory. Such
file will exist and prevent images from beeing properly flashed until
the machine is rebooted. The message indicates there is somehting wrong
with the device file so users may check and fix any problems.
Change-Id: Ie7021129b858f0f4f2923ce88ee96f349e869029
Signed-off-by: Łukasz Stelmach <stlman@poczta.fm>
Łukasz Stelmach [Mon, 13 Sep 2021 15:25:54 +0000 (17:25 +0200)]
scripts: sd_fusing_rpi3: do not print new, when asking for a reply
When printing prompt to ask users to confirm formatting of a card do
not print new line character after the message so users type their
response on the same line.
Change-Id: Ic53fcdd3b8ae3b4fe2c4259ab8e199f2fcc1bb2d
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Marek Szyprowski [Mon, 14 Feb 2022 10:35:12 +0000 (11:35 +0100)]
rpi: always set fdt_addr to the correct value
The fdt_addr env have meaning only for the current runtime and it depends
on the dtb size or firmware version. If one save the environment to disk
and the loads it on the latter boot, the fdt_addr might change, what
result in passing incorrect dtb address to the kernel. Fix this by always
setting the fdt_addr env. This fixes system operation after saving the
env to disk and updating i.e. dtb files or firmware.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I8f242e0d92ff7cc8557c0fd4a7459804270d5d6d