rockchip: make_fit_atf.py: fix loadables property set error
Subsystems (3)
PATCH 1/1 rockchip: make_fit_atf.py: fix loadables property set error
Commit b238e4b00ced ("rockchip: Cleanup of make_fit_atf.py.") set firmware = "atf_1";
loadables = "uboot","atf_1","atf_2";
Actually it should be:
firmware = "atf_1";
loadables = "uboot","atf_2","atf_3";
---
arch/arm/mach-rockchip/make_fit_atf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-rockchip/make_fit_atf.py +1 -1
@@ -94,7 +94,7 @@ def append_conf_section(file, cnt, dtname, segments): if segments != 0: file.write(',') for i in range(1, segments): - file.write('"atf_%d"' % (i)) + file.write('"atf_%d"' % (i + 1)) if i != (segments - 1): file.write(',') else:
Signature · 1 line
2.17.1
PATCH 1/1 rockchip: make_fit_atf.py: fix loadables property set error
Hi Christoph,
Could you check this issue on your side?
This is pretty important for rk3399, this will break the support for ATF
for rk3399 boards other than puma.
Quoted 9 lines · Andy Yan
Commit
b238e4b00ced("rockchip: Cleanup ofmake_fit_atf.py.") set firmware = "atf_1";
loadables = "uboot","atf_1","atf_2";Actually it should be:
firmware = "atf_1";
loadables = "uboot","atf_2","atf_3";Signed-off-by Andy Yan <[email protected]>
Thanks,
- Kever
Quoted 18 lines
---
arch/arm/mach-rockchip/make_fit_atf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-rockchip/make_fit_atf.py +1
-1@@ -94,7 +94,7 @@ def append_conf_section(file, cnt, dtname, segments): if segments != 0: file.write(',') for i in range(1, segments): - file.write('"atf_%d"' % (i)) + file.write('"atf_%d"' % (i + 1)) if i != (segments - 1): file.write(',') else:
PATCH 1/1 rockchip: make_fit_atf.py: fix loadables property set error
In reply to Andy YanQuoted 7 lines · Andy Yan
Commit
b238e4b00ced("rockchip: Cleanup ofmake_fit_atf.py.") set firmware = "atf_1";
loadables = "uboot","atf_1","atf_2";Actually it should be:
firmware = "atf_1";
loadables = "uboot","atf_2","atf_3";
Does "atf_1" not need to be among loadables as well? My version of the script produces:
loadables = "uboot","atf_1","atf_2","atf_3";
And with that I was able to boot mainline ATF.
Quoted 21 lines
Signed-off-by Andy Yan <[email protected]>---
arch/arm/mach-rockchip/make_fit_atf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-rockchip/make_fit_atf.py +1
-1@@ -94,7 +94,7 @@ def append_conf_section(file, cnt, dtname, segments): if segments != 0: file.write(',') for i in range(1, segments): - file.write('"atf_%d"' % (i)) + file.write('"atf_%d"' % (i + 1)) if i != (segments - 1): file.write(',') else:
PATCH 1/1 rockchip: make_fit_atf.py: fix loadables property set error
Hi Christoph:
Quoted 6 lines · Christoph Müllner
Quoted 4 lines · Andy Yan
Commit
b238e4b00ced("rockchip: Cleanup ofmake_fit_atf.py.") set firmware = "atf_1";
loadables = "uboot","atf_1","atf_2";
Quoted 7 lines
Quoted 3 lines
Actually it should be:
firmware = "atf_1";
loadables = "uboot","atf_2","atf_3";Does "
atf_1" not need to be among loadables as well? My version of the script produces:loadables = "uboot","atf_1","atf_2","atf_3";
Will you please provide your ble31.elf ?
The current u-boot mainline(your version) produces :
loadables = "uboot","atf_1","atf_2";
from [0] [0]https://github.com/rockchip-linux/rkbin/blob/master/bin/rk33/rk3399_bl31_v1.28.elf
Quoted 25 lines
And with that I was able to boot mainline ATF.
Quoted 20 lines
Signed-off-by Andy Yan <[email protected]>---
arch/arm/mach-rockchip/make_fit_atf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-rockchip/make_fit_atf.py +1
-1@@ -94,7 +94,7 @@ def append_conf_section(file, cnt, dtname, segments): if segments != 0: file.write(',') for i in range(1, segments): - file.write('"atf_%d"' % (i)) + file.write('"atf_%d"' % (i + 1)) if i != (segments - 1): file.write(',') else:
PATCH 1/1 rockchip: make_fit_atf.py: fix loadables property set error
Hi Andy,
Quoted 12 lines · Andy Yan
Hi Christoph:
Quoted 9 lines · Christoph Müllner
Quoted 7 lines · Andy Yan
Commit
b238e4b00ced("rockchip: Cleanup ofmake_fit_atf.py.") set firmware = "atf_1";
loadables = "uboot","atf_1","atf_2";Actually it should be:
firmware = "atf_1";
loadables = "uboot","atf_2","atf_3";
Quoted 6 lines
Quoted 4 lines
Does "
atf_1" not need to be among loadables as well? My version of the script produces:loadables = "uboot","atf_1","atf_2","atf_3";
Will you please provide your ble31.elf ?
I use mainline ATF (https://github.com/ARM-software/arm-trusted-firmware)
without any additional changes.
The bl31.elf/ATF can be built with the following instructions:
make CROSS_COMPILE=aarch64-linux-gnu- PLAT=rk3399 bl31
Last time I used commit 8917380a for testing:
https://github.com/ARM-software/arm-trusted-firmware/commit/8917380a
I will provide a download link for the ELF file
in a follow-up off-list email to you.
Thanks,
Christoph
Quoted 35 lines
The current u-boot mainline(your version) produces :
loadables = "uboot","atf_1","atf_2";
from [0] [0]https://github.com/rockchip-linux/rkbin/blob/master/bin/rk33/rk3399_bl31_v1.28.elf
Quoted 25 lines
And with that I was able to boot mainline ATF.
Quoted 20 lines
Signed-off-by Andy Yan <[email protected]>---
arch/arm/mach-rockchip/make_fit_atf.py| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-rockchip/make_fit_atf.py +0
-0@@ -94,7 +94,7 @@ def append_conf_section(file, cnt, dtname, segments):if segments != 0:
file.write(',')
for i inrange(1, segments):
-file.write('"atf_%d"' % (i))
+file.write('"atf_%d"' % (i + 1))
if i != (segments - 1):
file.write(',')
else:
PATCH 1/1 rockchip: make_fit_atf.py: fix loadables property set error
In reply to Christoph MüllnerHi Christoph,
Quoted 10 lines · Christoph Müllner
Quoted 7 lines · Andy Yan
Commit
b238e4b00ced("rockchip: Cleanup ofmake_fit_atf.py.") set firmware = "atf_1";
loadables = "uboot","atf_1","atf_2";Actually it should be:
firmware = "atf_1";
loadables = "uboot","atf_2","atf_3";Does "
atf_1" not need to be among loadables as well?
The "atf_1" not need to be among loadables, or else it will be loaded twice. The loadables suppose to be those firmware not have a entry but need to load by SPL.
Quoted 5 lines
My version of the script produces:
loadables = "uboot","atf_1","atf_2","atf_3";
And with that I was able to boot mainline ATF.
The mainline ATF now have 4 segments instead of 3, I don't know why there is a stand alone 'GNU_STACK' section, so it's able to boot there is one extra segment help, it loads all atf_1, atf_2 and atf_3. Rockchip elf and older mainline ATF do not have the extra 'GNU_STACK' section, and the last atf_3 is not loaded, which lead to the ATF not able to run. Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flags Align LOAD 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000014058 0x0000000000044000 RWE 10000 LOAD 0x0000000000020000 0x00000000ff3b0000 0x00000000ff3b0000 0x0000000000001f58 0x0000000000001f58 RWE 10000 LOAD 0x0000000000030000 0x00000000ff8c0000 0x00000000ff8c0000 0x0000000000002000 0x0000000000003000 RWE 10000 GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000 RW 10
I will apply this patch as a fix.
Thanks,
- Kever
Quoted 21 lines
Quoted 21 lines
Signed-off-by Andy Yan <[email protected]>---
arch/arm/mach-rockchip/make_fit_atf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-rockchip/make_fit_atf.py +1
-1@@ -94,7 +94,7 @@ def append_conf_section(file, cnt, dtname, segments): if segments != 0: file.write(',') for i in range(1, segments): - file.write('"atf_%d"' % (i)) + file.write('"atf_%d"' % (i + 1)) if i != (segments - 1): file.write(',') else:
PATCH 1/1 rockchip: make_fit_atf.py: fix loadables property set error
Quoted 44 lines
From: Kever Yang <[email protected]>
Date: Fri, 5 Jul 2019 19:38:42 +0800Hi Christoph,
Quoted 10 lines · Christoph Müllner
Quoted 7 lines · Andy Yan
Commit
b238e4b00ced("rockchip: Cleanup ofmake_fit_atf.py.") set firmware = "atf_1";
loadables = "uboot","atf_1","atf_2";Actually it should be:
firmware = "atf_1";
loadables = "uboot","atf_2","atf_3";Does "
atf_1" not need to be among loadables as well?The "
atf_1" not need to be among loadables, or else it will be loaded twice. The loadables suppose to be those firmware not have a entry but need to load by SPL.Quoted 5 lines
My version of the script produces:
loadables = "uboot","atf_1","atf_2","atf_3";
And with that I was able to boot mainline ATF.
The mainline ATF now have 4 segments instead of 3, I don't know why there is a stand alone '
GNU_STACK' section, so it's able to boot there is one extra segment help, it loads allatf_1,atf_2andatf_3. Rockchip elf and older mainline ATF do not have the extra 'GNU_STACK' section, and the lastatf_3is not loaded, which lead to the ATF not able to run. Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flags Align LOAD0x00000000000000000x00000000000000000x00000000000000000x00000000000140580x0000000000044000 RWE 10000 LOAD0x00000000000200000x00000000ff3b00000x00000000ff3b00000x0000000000001f580x0000000000001f58 RWE 10000 LOAD0x00000000000300000x00000000ff8c00000x00000000ff8c00000x00000000000020000x0000000000003000 RWE 10000 GNU_STACK0x00000000000000000x00000000000000000x00000000000000000x00000000000000000x0000000000000000 RW 10
Quoted 1 line
I will apply this patch as a fix.
That GNU_STACK segment is produced by your toolchain. It doesn't really make sense to have it for standalone binaries like ATF, and there is no reason to load it. Not all toolchains produce a GNU_STACK section.
But the make_fit_atf.py script already checks that the segment type is PT_LOAD, so I don't understand what you're trying to fix here. For me things seem to work fine with mainline u-boot and ATF 2.1 on both the rock64e and rockpro64.
Quoted 27 lines
Quoted 6 lines
Quoted 6 lines
Signed-off-by Andy Yan <[email protected]>---
arch/arm/mach-rockchip/make_fit_atf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 14 lines
Quoted 6 lines
arch/arm/mach-rockchip/make_fit_atf.py +0
-0arch/arm/mach-rockchip/make_fit_atf.py def append_conf_section(file, cnt, dtname, segments): · line 100
Quoted 8 lines
arch/arm/mach-rockchip/make_fit_atf.py +1
-1@@ -94,7 +94,7 @@ def append_conf_section(file, cnt, dtname, segments): if segments != 0: file.write(',') for i in range(1, segments): - file.write('"atf_%d"' % (i)) + file.write('"atf_%d"' % (i + 1)) if i != (segments - 1): file.write(',') else:_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://lists.denx.de/listinfo/u-boot
PATCH 1/1 rockchip: make_fit_atf.py: fix loadables property set error【请注意,邮件由[email protected]代发】
Hi Mark,
Quoted 47 lines · Mark Kettenis
Quoted 41 lines
From: Kever Yang <[email protected]>
Date: Fri, 5 Jul 2019 19:38:42 +0800Hi Christoph,
Quoted 9 lines · Christoph Müllner
Quoted 7 lines · Andy Yan
Commit
b238e4b00ced("rockchip: Cleanup ofmake_fit_atf.py.") set firmware = "atf_1";
loadables = "uboot","atf_1","atf_2";Actually it should be:
firmware = "atf_1";
loadables = "uboot","atf_2","atf_3";Does "
atf_1" not need to be among loadables as well?The "
atf_1" not need to be among loadables, or else it will be loaded twice. The loadables suppose to be those firmware not have a entry but need to load by SPL.Quoted 5 lines
My version of the script produces:
loadables = "uboot","atf_1","atf_2","atf_3";
And with that I was able to boot mainline ATF.
The mainline ATF now have 4 segments instead of 3, I don't know why there is a stand alone '
GNU_STACK' section, so it's able to boot there is one extra segment help, it loads allatf_1,atf_2andatf_3. Rockchip elf and older mainline ATF do not have the extra 'GNU_STACK' section, and the lastatf_3is not loaded, which lead to the ATF not able to run. Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flags Align LOAD0x00000000000000000x00000000000000000x00000000000000000x00000000000140580x0000000000044000 RWE 10000 LOAD0x00000000000200000x00000000ff3b00000x00000000ff3b00000x0000000000001f580x0000000000001f58 RWE 10000 LOAD0x00000000000300000x00000000ff8c00000x00000000ff8c00000x00000000000020000x0000000000003000 RWE 10000 GNU_STACK0x00000000000000000x00000000000000000x00000000000000000x00000000000000000x0000000000000000 RW 10Quoted 1 line
I will apply this patch as a fix.
That
GNU_STACKsegment is produced by your toolchain. It doesn't really make sense to have it for standalone binaries like ATF, and there is no reason to load it. Not all toolchains produce aGNU_STACKsection.
Quoted 4 lines
But the
make_fit_atf.pyscript already checks that the segment type isPT_LOAD, so I don't understand what you're trying to fix here. For me things seem to work fine with mainline u-boot and ATF 2.1 on both the rock64e and rockpro64.
Looks work fine does not means every thing is correct.
The ATF2.1 works find because of the extra GNU_STACK, but the logical is not correct.
For mainline ATF 2.1, there are for segments, and SPL loads:
- atf_1 as firmware;
- atf_1, atf_2, atf_3 as loadables;atf_1 load twice loads twice which is not correct.
For other ATF which not have extra GNU_STACK, eg, rockchip vendor atf at [0],
the SPL loads:
- atf_1 as firmware;
- atf_1 and atf_2 as loadables;atf_1 load twice and atf_3 is missing which the ATF is not able to boot.
This patch fix this logic.
Thanks,
- Kever
[0]https://github.com/rockchip-linux/rkbin/blob/master/bin/rk33/rk3399_bl31_v1.28.elf
Quoted 27 lines
Quoted 27 lines
Quoted 7 lines
Quoted 7 lines
Signed-off-by Andy Yan <[email protected]>---
arch/arm/mach-rockchip/make_fit_atf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 14 lines
Quoted 6 lines
arch/arm/mach-rockchip/make_fit_atf.py +0
-0arch/arm/mach-rockchip/make_fit_atf.py def append_conf_section(file, cnt, dtname, segments): · line 100
Quoted 8 lines
arch/arm/mach-rockchip/make_fit_atf.py +1
-1@@ -94,7 +94,7 @@ def append_conf_section(file, cnt, dtname, segments): if segments != 0: file.write(',') for i in range(1, segments): - file.write('"atf_%d"' % (i)) + file.write('"atf_%d"' % (i + 1)) if i != (segments - 1): file.write(',') else:_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://lists.denx.de/listinfo/u-boot
PATCH 1/1 rockchip: make_fit_atf.py: fix loadables property set error【请注意,邮件由[email protected]代发】
Quoted 65 lines · Kever Yang
Hi Mark,
Quoted 47 lines · Mark Kettenis
Quoted 41 lines
From: Kever Yang <[email protected]>
Date: Fri, 5 Jul 2019 19:38:42 +0800Hi Christoph,
Quoted 9 lines · Christoph Müllner
Quoted 7 lines · Andy Yan
Commit
b238e4b00ced("rockchip: Cleanup ofmake_fit_atf.py.") set firmware = "atf_1";
loadables = "uboot","atf_1","atf_2";Actually it should be:
firmware = "atf_1";
loadables = "uboot","atf_2","atf_3";Does "
atf_1" not need to be among loadables as well?The "
atf_1" not need to be among loadables, or else it will be loaded twice. The loadables suppose to be those firmware not have a entry but need to load by SPL.Quoted 5 lines
My version of the script produces:
loadables = "uboot","atf_1","atf_2","atf_3";
And with that I was able to boot mainline ATF.
The mainline ATF now have 4 segments instead of 3, I don't know why there is a stand alone '
GNU_STACK' section, so it's able to boot there is one extra segment help, it loads allatf_1,atf_2andatf_3. Rockchip elf and older mainline ATF do not have the extra 'GNU_STACK' section, and the lastatf_3is not loaded, which lead to the ATF not able to run. Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flags Align LOAD0x00000000000000000x00000000000000000x00000000000000000x00000000000140580x0000000000044000 RWE 10000 LOAD0x00000000000200000x00000000ff3b00000x00000000ff3b00000x0000000000001f580x0000000000001f58 RWE 10000 LOAD0x00000000000300000x00000000ff8c00000x00000000ff8c00000x00000000000020000x0000000000003000 RWE 10000 GNU_STACK0x00000000000000000x00000000000000000x00000000000000000x00000000000000000x0000000000000000 RW 10Quoted 1 line
I will apply this patch as a fix.
That
GNU_STACKsegment is produced by your toolchain. It doesn't really make sense to have it for standalone binaries like ATF, and there is no reason to load it. Not all toolchains produce aGNU_STACKsection.Quoted 4 lines
But the
make_fit_atf.pyscript already checks that the segment type isPT_LOAD, so I don't understand what you're trying to fix here. For me things seem to work fine with mainline u-boot and ATF 2.1 on both the rock64e and rockpro64.Looks work fine does not means every thing is correct.
The ATF2.1 works find because of the extra
GNU_STACK, but the logical is not correct.
For mainline ATF 2.1, there are for segments, and SPL loads:
-atf_1as firmware;
-atf_1,atf_2,atf_3as loadables;atf_1load twice loads twice which is not correct.
Quoted 6 lines
For other ATF which not have extra
GNU_STACK, eg, rockchip vendor atf at [0],
the SPL loads:
-atf_1as firmware;
-atf_1andatf_2as loadables;atf_1load twice andatf_3is missing which the ATF is not able to boot.
So with this patch applied, we require the GNU_STACK section to be present in the mainline ATF ELF?
In other words:
If I use a toolchain, which does not create the GNU_STACK section, or if I have this information stripped away, then the Python script does not work correctly anymore?
Is this summary correct?
Thanks,
Christoph
Quoted 38 lines
This patch fix this logic.
Thanks,
- Kever
[0]https://github.com/rockchip-linux/rkbin/blob/master/bin/rk33/rk3399_bl31_v1.28.elfQuoted 27 lines
Quoted 27 lines
Quoted 7 lines
Quoted 7 lines
Signed-off-by Andy Yan <[email protected]>---
arch/arm/mach-rockchip/make_fit_atf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 14 lines
Quoted 6 lines
arch/arm/mach-rockchip/make_fit_atf.py +0
-0arch/arm/mach-rockchip/make_fit_atf.py def append_conf_section(file, cnt, dtname, segments): · line 100
Quoted 8 lines
arch/arm/mach-rockchip/make_fit_atf.py +1
-1@@ -94,7 +94,7 @@ def append_conf_section(file, cnt, dtname, segments): if segments != 0: file.write(',') for i in range(1, segments): - file.write('"atf_%d"' % (i)) + file.write('"atf_%d"' % (i + 1)) if i != (segments - 1): file.write(',') else:_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://lists.denx.de/listinfo/u-boot
PATCH 1/1 rockchip: make_fit_atf.py: fix loadables property set error【请注意,邮件由[email protected]代发】
Hi Christoph:
Quoted 74 lines · Christoph Müllner
Quoted 64 lines · Kever Yang
Hi Mark,
Quoted 47 lines · Mark Kettenis
Quoted 41 lines
From: Kever Yang<[email protected]>
Date: Fri, 5 Jul 2019 19:38:42 +0800Hi Christoph,
Quoted 9 lines · Christoph Müllner
Quoted 7 lines · Andy Yan
Commit
b238e4b00ced("rockchip: Cleanup ofmake_fit_atf.py.") set firmware = "atf_1";
loadables = "uboot","atf_1","atf_2";Actually it should be:
firmware = "atf_1";
loadables = "uboot","atf_2","atf_3";Does "
atf_1" not need to be among loadables as well?The "
atf_1" not need to be among loadables, or else it will be loaded twice. The loadables suppose to be those firmware not have a entry but need to load by SPL.Quoted 5 lines
My version of the script produces:
loadables = "uboot","atf_1","atf_2","atf_3";
And with that I was able to boot mainline ATF.
The mainline ATF now have 4 segments instead of 3, I don't know why there is a stand alone '
GNU_STACK' section, so it's able to boot there is one extra segment help, it loads allatf_1,atf_2andatf_3. Rockchip elf and older mainline ATF do not have the extra 'GNU_STACK' section, and the lastatf_3is not loaded, which lead to the ATF not able to run. Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flags Align LOAD0x00000000000000000x00000000000000000x00000000000000000x00000000000140580x0000000000044000 RWE 10000 LOAD0x00000000000200000x00000000ff3b00000x00000000ff3b00000x0000000000001f580x0000000000001f58 RWE 10000 LOAD0x00000000000300000x00000000ff8c00000x00000000ff8c00000x00000000000020000x0000000000003000 RWE 10000 GNU_STACK0x00000000000000000x00000000000000000x00000000000000000x00000000000000000x0000000000000000 RW 10Quoted 1 line
I will apply this patch as a fix.
That
GNU_STACKsegment is produced by your toolchain. It doesn't really make sense to have it for standalone binaries like ATF, and there is no reason to load it. Not all toolchains produce aGNU_STACKsection.Quoted 4 lines
But the
make_fit_atf.pyscript already checks that the segment type isPT_LOAD, so I don't understand what you're trying to fix here. For me things seem to work fine with mainline u-boot and ATF 2.1 on both the rock64e and rockpro64.Looks work fine does not means every thing is correct.
The ATF2.1 works find because of the extra
GNU_STACK, but the logical is not correct.
For mainline ATF 2.1, there are for segments, and SPL loads:
-atf_1as firmware;
-atf_1,atf_2,atf_3as loadables;atf_1load twice loads twice which is not correct.Quoted 6 lines
For other ATF which not have extra
GNU_STACK, eg, rockchip vendor atf at [0],
the SPL loads:
-atf_1as firmware;
-atf_1andatf_2as loadables;atf_1load twice andatf_3is missing which the ATF is not able to boot.So with this patch applied, we require the
GNU_STACKsection to be present in the mainline ATF ELF?
Quoted 6 lines
In other words:
If I use a toolchain, which does not create theGNU_STACKsection, or if I have this information stripped away, then the Python script does not work correctly anymore?Is this summary correct?
No. This is the situation with your patch(b238e4b00ced): After your patch applied, the script won't work correctly when there is no extra GNU_STACK segment.
When my fix applied, the script can work well with or without the extra GNU_STACK segment again.
Quoted 36 lines
Thanks,
ChristophQuoted 32 lines
This patch fix this logic.
Thanks,
- Kever[0]https://github.com/rockchip-linux/rkbin/blob/master/bin/rk33/rk3399_bl31_v1.28.elf
Quoted 24 lines
Quoted 24 lines
Quoted 6 lines
Quoted 6 lines
Signed-off-by Andy Yan<[email protected]>---
arch/arm/mach-rockchip/make_fit_atf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 14 lines
Quoted 6 lines
arch/arm/mach-rockchip/make_fit_atf.py +0
-0arch/arm/mach-rockchip/make_fit_atf.py def append_conf_section(file, cnt, dtname, segments): · line 100
Quoted 8 lines
arch/arm/mach-rockchip/make_fit_atf.py +1
-1@@ -94,7 +94,7 @@ def append_conf_section(file, cnt, dtname, segments): if segments != 0: file.write(',') for i in range(1, segments): - file.write('"atf_%d"' % (i)) + file.write('"atf_%d"' % (i + 1)) if i != (segments - 1): file.write(',') else:_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
https://lists.denx.de/listinfo/u-boot