[U-Boot] Pull request: u-boot-sunxi/master

Hi Tom,
Please pull this PR.
thanks, Jagan.
The following changes since commit 5a0007d481c0fcd2d422dd48b2a129dd8e8a272a:
Prepare v2017.09-rc1 (2018-07-30 21:47:29 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-sunxi.git master
for you to fetch changes up to 89a897fc4d78e31332e5899e977d8bf3c82abafa:
board: sun50i: h6: Add OrangePi One Plus initial support (2018-07-31 20:50:01 +0530)
---------------------------------------------------------------- Icenowy Zheng (14): sunxi: change SUNXI_HIGH_SRAM option to SUNXI_SRAM_ADDRESS sunxi: add basic memory map definitions of H6 SoC sunxi: change RMR64's RVBAR address for H6 sunxi: change ATF position for H6 sunxi: add config for SPL at 0x20000 on H6 sunxi: change GIC address on H6 sunxi: add clock code for H6 sunxi: use sun6i-style watchdog for H6 sunxi: add UART0 setup for H6 sunxi: add MMC support for H6 sunxi: add DRAM support to H6 sunxi: add support for Allwinner H6 SoC sunxi: add support for Pine H64 board video: sunxi: de2: fix SimpleFB node creation when DE2 not probed
Jagan Teki (5): phy: sun4i-usb: Call phy_passby even for PHY#0 phy: sun4i-usb: Remove usb_clk_cfg set in probe phy: sun4i-usb: Update PHY#3 rst_mask only for H3_H5 configs: sunxi: Drop CONFIG_SUNXI_USB_PHYS board: sun50i: h6: Add OrangePi One Plus initial support
Mylène Josserand (2): mtd: nand: nand_base: Convert EINVAL into ENOTSUPP mtd: nand: sunxi: Return on set_feature only when not ENOTSUPP
Simon Baatz (1): sunxi: enable SATA on Banana Pi M2 Berry
arch/arm/dts/Makefile | 3 + arch/arm/dts/sun50i-h6-orangepi-one-plus.dts | 150 +++++ arch/arm/dts/sun50i-h6-pine-h64.dts | 185 ++++++ arch/arm/dts/sun50i-h6.dtsi | 288 +++++++++ arch/arm/include/asm/arch-sunxi/boot0.h | 4 + arch/arm/include/asm/arch-sunxi/clock.h | 2 + arch/arm/include/asm/arch-sunxi/clock_sun50i_h6.h | 320 +++++++++ arch/arm/include/asm/arch-sunxi/cpu.h | 2 + arch/arm/include/asm/arch-sunxi/cpu_sun50i_h6.h | 73 +++ arch/arm/include/asm/arch-sunxi/dram.h | 2 + arch/arm/include/asm/arch-sunxi/dram_sun50i_h6.h | 297 +++++++++ arch/arm/include/asm/arch-sunxi/gpio.h | 1 + arch/arm/include/asm/arch-sunxi/mmc.h | 2 +- arch/arm/include/asm/arch-sunxi/spl.h | 6 +- arch/arm/include/asm/arch-sunxi/timer.h | 2 +- arch/arm/mach-sunxi/Kconfig | 37 +- arch/arm/mach-sunxi/Makefile | 2 + arch/arm/mach-sunxi/board.c | 6 +- arch/arm/mach-sunxi/clock_sun50i_h6.c | 94 +++ arch/arm/mach-sunxi/cpu_info.c | 2 + arch/arm/mach-sunxi/dram_sun50i_h6.c | 755 ++++++++++++++++++++++ arch/arm/mach-sunxi/rmr_switch.S | 6 + board/sunxi/MAINTAINERS | 10 + board/sunxi/board.c | 7 + board/sunxi/mksunxi_fit_atf.sh | 10 +- common/spl/Kconfig | 2 +- configs/bananapi_m2_berry_defconfig | 3 + configs/orangepi_one_plus_defconfig | 14 + configs/pine_h64_defconfig | 15 + drivers/mmc/sunxi_mmc.c | 13 +- drivers/mtd/nand/nand_base.c | 4 +- drivers/mtd/nand/sunxi_nand.c | 2 +- drivers/phy/allwinner/phy-sun4i-usb.c | 10 +- drivers/video/sunxi/sunxi_de2.c | 3 + include/configs/sun4i.h | 2 - include/configs/sun50i.h | 7 +- include/configs/sun5i.h | 2 - include/configs/sun6i.h | 2 - include/configs/sun7i.h | 2 - include/configs/sun8i.h | 10 - include/configs/sunxi-common.h | 24 +- include/dt-bindings/clock/sun50i-h6-ccu.h | 125 ++++ include/dt-bindings/clock/sun50i-h6-r-ccu.h | 24 + include/dt-bindings/reset/sun50i-h6-ccu.h | 73 +++ include/dt-bindings/reset/sun50i-h6-r-ccu.h | 17 + scripts/config_whitelist.txt | 1 - 46 files changed, 2560 insertions(+), 61 deletions(-) create mode 100644 arch/arm/dts/sun50i-h6-orangepi-one-plus.dts create mode 100644 arch/arm/dts/sun50i-h6-pine-h64.dts create mode 100644 arch/arm/dts/sun50i-h6.dtsi create mode 100644 arch/arm/include/asm/arch-sunxi/clock_sun50i_h6.h create mode 100644 arch/arm/include/asm/arch-sunxi/cpu_sun50i_h6.h create mode 100644 arch/arm/include/asm/arch-sunxi/dram_sun50i_h6.h create mode 100644 arch/arm/mach-sunxi/clock_sun50i_h6.c create mode 100644 arch/arm/mach-sunxi/dram_sun50i_h6.c create mode 100644 configs/orangepi_one_plus_defconfig create mode 100644 configs/pine_h64_defconfig create mode 100644 include/dt-bindings/clock/sun50i-h6-ccu.h create mode 100644 include/dt-bindings/clock/sun50i-h6-r-ccu.h create mode 100644 include/dt-bindings/reset/sun50i-h6-ccu.h create mode 100644 include/dt-bindings/reset/sun50i-h6-r-ccu.h

On Tue, Jul 31, 2018 at 11:41:50PM +0530, Jagan Teki wrote:
Hi Tom,
Please pull this PR.
thanks, Jagan.
The following changes since commit 5a0007d481c0fcd2d422dd48b2a129dd8e8a272a:
Prepare v2017.09-rc1 (2018-07-30 21:47:29 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-sunxi.git master
for you to fetch changes up to 89a897fc4d78e31332e5899e977d8bf3c82abafa:
board: sun50i: h6: Add OrangePi One Plus initial support (2018-07-31 20:50:01 +0530)
For the moment, on hold. pine_h64 doesn't link (see https://travis-ci.org/trini/u-boot/jobs/410579615) but I bet Andre's changes to save some space on aarch64 will get it to fit in, and I need to see if I'm ready to apply them.

On Wed, Aug 1, 2018 at 4:43 PM, Tom Rini trini@konsulko.com wrote:
On Tue, Jul 31, 2018 at 11:41:50PM +0530, Jagan Teki wrote:
Hi Tom,
Please pull this PR.
thanks, Jagan.
The following changes since commit 5a0007d481c0fcd2d422dd48b2a129dd8e8a272a:
Prepare v2017.09-rc1 (2018-07-30 21:47:29 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-sunxi.git master
for you to fetch changes up to 89a897fc4d78e31332e5899e977d8bf3c82abafa:
board: sun50i: h6: Add OrangePi One Plus initial support (2018-07-31 20:50:01 +0530)
For the moment, on hold. pine_h64 doesn't link (see https://travis-ci.org/trini/u-boot/jobs/410579615) but I bet Andre's changes to save some space on aarch64 will get it to fit in, and I need to see if I'm ready to apply them.
I though of inform the same, but for h6 atf need to use it from mainline here all a64 boards seems failing. I didn't reproduce this manually.
+WARNING: BL31 file bl31.bin NOT found, resulting binary is non-functional

On Wed, Aug 1, 2018 at 7:47 PM, Jagan Teki jagan@amarulasolutions.com wrote:
On Wed, Aug 1, 2018 at 4:43 PM, Tom Rini trini@konsulko.com wrote:
On Tue, Jul 31, 2018 at 11:41:50PM +0530, Jagan Teki wrote:
Hi Tom,
Please pull this PR.
thanks, Jagan.
The following changes since commit 5a0007d481c0fcd2d422dd48b2a129dd8e8a272a:
Prepare v2017.09-rc1 (2018-07-30 21:47:29 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-sunxi.git master
for you to fetch changes up to 89a897fc4d78e31332e5899e977d8bf3c82abafa:
board: sun50i: h6: Add OrangePi One Plus initial support (2018-07-31 20:50:01 +0530)
For the moment, on hold. pine_h64 doesn't link (see https://travis-ci.org/trini/u-boot/jobs/410579615) but I bet Andre's changes to save some space on aarch64 will get it to fit in, and I need to see if I'm ready to apply them.
I though of inform the same, but for h6 atf need to use it from mainline here all a64 boards seems failing. I didn't reproduce this manually.
+WARNING: BL31 file bl31.bin NOT found, resulting binary is non-functional
The cause is obvious. The ATF blob is missing from the environment. If TravisCI is only used to test building, maybe we could just put an empty bl31.bin there to make it happy.
ChenYu

On Wed, Aug 01, 2018 at 08:43:17PM +0800, Chen-Yu Tsai wrote:
On Wed, Aug 1, 2018 at 7:47 PM, Jagan Teki jagan@amarulasolutions.com wrote:
On Wed, Aug 1, 2018 at 4:43 PM, Tom Rini trini@konsulko.com wrote:
On Tue, Jul 31, 2018 at 11:41:50PM +0530, Jagan Teki wrote:
Hi Tom,
Please pull this PR.
thanks, Jagan.
The following changes since commit 5a0007d481c0fcd2d422dd48b2a129dd8e8a272a:
Prepare v2017.09-rc1 (2018-07-30 21:47:29 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-sunxi.git master
for you to fetch changes up to 89a897fc4d78e31332e5899e977d8bf3c82abafa:
board: sun50i: h6: Add OrangePi One Plus initial support (2018-07-31 20:50:01 +0530)
For the moment, on hold. pine_h64 doesn't link (see https://travis-ci.org/trini/u-boot/jobs/410579615) but I bet Andre's changes to save some space on aarch64 will get it to fit in, and I need to see if I'm ready to apply them.
I though of inform the same, but for h6 atf need to use it from mainline here all a64 boards seems failing. I didn't reproduce this manually.
+WARNING: BL31 file bl31.bin NOT found, resulting binary is non-functional
The cause is obvious. The ATF blob is missing from the environment. If TravisCI is only used to test building, maybe we could just put an empty bl31.bin there to make it happy.
Please note that the above is NOT the problem. That's the non-fatal warning that your resulting binary won't work as there's no bl31.bin. The problem is: +aarch64-linux-ld.bfd: u-boot-spl section `.u_boot_list' will not fit in region `.sram' +aarch64-linux-ld.bfd: region `.sram' overflowed by 48 bytes +make[2]: *** [spl/u-boot-spl] Error 1 +make[1]: *** [spl/u-boot-spl] Error 2 +make: *** [sub-make] Error 2

On Wed, Aug 1, 2018 at 8:55 PM, Tom Rini trini@konsulko.com wrote:
On Wed, Aug 01, 2018 at 08:43:17PM +0800, Chen-Yu Tsai wrote:
On Wed, Aug 1, 2018 at 7:47 PM, Jagan Teki jagan@amarulasolutions.com wrote:
On Wed, Aug 1, 2018 at 4:43 PM, Tom Rini trini@konsulko.com wrote:
On Tue, Jul 31, 2018 at 11:41:50PM +0530, Jagan Teki wrote:
Hi Tom,
Please pull this PR.
thanks, Jagan.
The following changes since commit 5a0007d481c0fcd2d422dd48b2a129dd8e8a272a:
Prepare v2017.09-rc1 (2018-07-30 21:47:29 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-sunxi.git master
for you to fetch changes up to 89a897fc4d78e31332e5899e977d8bf3c82abafa:
board: sun50i: h6: Add OrangePi One Plus initial support (2018-07-31 20:50:01 +0530)
For the moment, on hold. pine_h64 doesn't link (see https://travis-ci.org/trini/u-boot/jobs/410579615) but I bet Andre's changes to save some space on aarch64 will get it to fit in, and I need to see if I'm ready to apply them.
I though of inform the same, but for h6 atf need to use it from mainline here all a64 boards seems failing. I didn't reproduce this manually.
+WARNING: BL31 file bl31.bin NOT found, resulting binary is non-functional
The cause is obvious. The ATF blob is missing from the environment. If TravisCI is only used to test building, maybe we could just put an empty bl31.bin there to make it happy.
Please note that the above is NOT the problem. That's the non-fatal warning that your resulting binary won't work as there's no bl31.bin. The problem is: +aarch64-linux-ld.bfd: u-boot-spl section `.u_boot_list' will not fit in region `.sram' +aarch64-linux-ld.bfd: region `.sram' overflowed by 48 bytes +make[2]: *** [spl/u-boot-spl] Error 1 +make[1]: *** [spl/u-boot-spl] Error 2 +make: *** [sub-make] Error 2
Yeah I noticed. Just pointing out if we want to get rid of the ATF noise.
Thanks

On Wed, Aug 01, 2018 at 08:58:10PM +0800, Chen-Yu Tsai wrote:
On Wed, Aug 1, 2018 at 8:55 PM, Tom Rini trini@konsulko.com wrote:
On Wed, Aug 01, 2018 at 08:43:17PM +0800, Chen-Yu Tsai wrote:
On Wed, Aug 1, 2018 at 7:47 PM, Jagan Teki jagan@amarulasolutions.com wrote:
On Wed, Aug 1, 2018 at 4:43 PM, Tom Rini trini@konsulko.com wrote:
On Tue, Jul 31, 2018 at 11:41:50PM +0530, Jagan Teki wrote:
Hi Tom,
Please pull this PR.
thanks, Jagan.
The following changes since commit 5a0007d481c0fcd2d422dd48b2a129dd8e8a272a:
Prepare v2017.09-rc1 (2018-07-30 21:47:29 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-sunxi.git master
for you to fetch changes up to 89a897fc4d78e31332e5899e977d8bf3c82abafa:
board: sun50i: h6: Add OrangePi One Plus initial support (2018-07-31 20:50:01 +0530)
For the moment, on hold. pine_h64 doesn't link (see https://travis-ci.org/trini/u-boot/jobs/410579615) but I bet Andre's changes to save some space on aarch64 will get it to fit in, and I need to see if I'm ready to apply them.
I though of inform the same, but for h6 atf need to use it from mainline here all a64 boards seems failing. I didn't reproduce this manually.
+WARNING: BL31 file bl31.bin NOT found, resulting binary is non-functional
The cause is obvious. The ATF blob is missing from the environment. If TravisCI is only used to test building, maybe we could just put an empty bl31.bin there to make it happy.
Please note that the above is NOT the problem. That's the non-fatal warning that your resulting binary won't work as there's no bl31.bin. The problem is: +aarch64-linux-ld.bfd: u-boot-spl section `.u_boot_list' will not fit in region `.sram' +aarch64-linux-ld.bfd: region `.sram' overflowed by 48 bytes +make[2]: *** [spl/u-boot-spl] Error 1 +make[1]: *** [spl/u-boot-spl] Error 2 +make: *** [sub-make] Error 2
Yeah I noticed. Just pointing out if we want to get rid of the ATF noise.
Ah, no. The noise is very intentional so that it's clear to humans that what they made won't boot.

On Wed, Aug 1, 2018 at 6:25 PM, Tom Rini trini@konsulko.com wrote:
On Wed, Aug 01, 2018 at 08:43:17PM +0800, Chen-Yu Tsai wrote:
On Wed, Aug 1, 2018 at 7:47 PM, Jagan Teki jagan@amarulasolutions.com wrote:
On Wed, Aug 1, 2018 at 4:43 PM, Tom Rini trini@konsulko.com wrote:
On Tue, Jul 31, 2018 at 11:41:50PM +0530, Jagan Teki wrote:
Hi Tom,
Please pull this PR.
thanks, Jagan.
The following changes since commit 5a0007d481c0fcd2d422dd48b2a129dd8e8a272a:
Prepare v2017.09-rc1 (2018-07-30 21:47:29 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-sunxi.git master
for you to fetch changes up to 89a897fc4d78e31332e5899e977d8bf3c82abafa:
board: sun50i: h6: Add OrangePi One Plus initial support (2018-07-31 20:50:01 +0530)
For the moment, on hold. pine_h64 doesn't link (see https://travis-ci.org/trini/u-boot/jobs/410579615) but I bet Andre's changes to save some space on aarch64 will get it to fit in, and I need to see if I'm ready to apply them.
I though of inform the same, but for h6 atf need to use it from mainline here all a64 boards seems failing. I didn't reproduce this manually.
+WARNING: BL31 file bl31.bin NOT found, resulting binary is non-functional
The cause is obvious. The ATF blob is missing from the environment. If TravisCI is only used to test building, maybe we could just put an empty bl31.bin there to make it happy.
Please note that the above is NOT the problem. That's the non-fatal warning that your resulting binary won't work as there's no bl31.bin. The problem is: +aarch64-linux-ld.bfd: u-boot-spl section `.u_boot_list' will not fit in region `.sram' +aarch64-linux-ld.bfd: region `.sram' overflowed by 48 bytes +make[2]: *** [spl/u-boot-spl] Error 1 +make[1]: *** [spl/u-boot-spl] Error 2 +make: *** [sub-make] Error 2
ie what, I'm able to built manually pine_h64 with gcc-6.3.1

On Thu, Aug 02, 2018 at 02:57:01PM +0530, Jagan Teki wrote:
On Wed, Aug 1, 2018 at 6:25 PM, Tom Rini trini@konsulko.com wrote:
On Wed, Aug 01, 2018 at 08:43:17PM +0800, Chen-Yu Tsai wrote:
On Wed, Aug 1, 2018 at 7:47 PM, Jagan Teki jagan@amarulasolutions.com wrote:
On Wed, Aug 1, 2018 at 4:43 PM, Tom Rini trini@konsulko.com wrote:
On Tue, Jul 31, 2018 at 11:41:50PM +0530, Jagan Teki wrote:
Hi Tom,
Please pull this PR.
thanks, Jagan.
The following changes since commit 5a0007d481c0fcd2d422dd48b2a129dd8e8a272a:
Prepare v2017.09-rc1 (2018-07-30 21:47:29 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-sunxi.git master
for you to fetch changes up to 89a897fc4d78e31332e5899e977d8bf3c82abafa:
board: sun50i: h6: Add OrangePi One Plus initial support (2018-07-31 20:50:01 +0530)
For the moment, on hold. pine_h64 doesn't link (see https://travis-ci.org/trini/u-boot/jobs/410579615) but I bet Andre's changes to save some space on aarch64 will get it to fit in, and I need to see if I'm ready to apply them.
I though of inform the same, but for h6 atf need to use it from mainline here all a64 boards seems failing. I didn't reproduce this manually.
+WARNING: BL31 file bl31.bin NOT found, resulting binary is non-functional
The cause is obvious. The ATF blob is missing from the environment. If TravisCI is only used to test building, maybe we could just put an empty bl31.bin there to make it happy.
Please note that the above is NOT the problem. That's the non-fatal warning that your resulting binary won't work as there's no bl31.bin. The problem is: +aarch64-linux-ld.bfd: u-boot-spl section `.u_boot_list' will not fit in region `.sram' +aarch64-linux-ld.bfd: region `.sram' overflowed by 48 bytes +make[2]: *** [spl/u-boot-spl] Error 1 +make[1]: *** [spl/u-boot-spl] Error 2 +make: *** [sub-make] Error 2
ie what, I'm able to built manually pine_h64 with gcc-6.3.1
Travis-CI uses gcc-7.3 from kernel.org.

On Thu, Aug 2, 2018 at 4:43 PM, Tom Rini trini@konsulko.com wrote:
On Thu, Aug 02, 2018 at 02:57:01PM +0530, Jagan Teki wrote:
On Wed, Aug 1, 2018 at 6:25 PM, Tom Rini trini@konsulko.com wrote:
On Wed, Aug 01, 2018 at 08:43:17PM +0800, Chen-Yu Tsai wrote:
On Wed, Aug 1, 2018 at 7:47 PM, Jagan Teki jagan@amarulasolutions.com wrote:
On Wed, Aug 1, 2018 at 4:43 PM, Tom Rini trini@konsulko.com wrote:
On Tue, Jul 31, 2018 at 11:41:50PM +0530, Jagan Teki wrote:
> Hi Tom, > > Please pull this PR. > > thanks, > Jagan. > > The following changes since commit 5a0007d481c0fcd2d422dd48b2a129dd8e8a272a: > > Prepare v2017.09-rc1 (2018-07-30 21:47:29 -0400) > > are available in the Git repository at: > > git://git.denx.de/u-boot-sunxi.git master > > for you to fetch changes up to 89a897fc4d78e31332e5899e977d8bf3c82abafa: > > board: sun50i: h6: Add OrangePi One Plus initial support (2018-07-31 20:50:01 +0530) >
For the moment, on hold. pine_h64 doesn't link (see https://travis-ci.org/trini/u-boot/jobs/410579615) but I bet Andre's changes to save some space on aarch64 will get it to fit in, and I need to see if I'm ready to apply them.
I though of inform the same, but for h6 atf need to use it from mainline here all a64 boards seems failing. I didn't reproduce this manually.
+WARNING: BL31 file bl31.bin NOT found, resulting binary is non-functional
The cause is obvious. The ATF blob is missing from the environment. If TravisCI is only used to test building, maybe we could just put an empty bl31.bin there to make it happy.
Please note that the above is NOT the problem. That's the non-fatal warning that your resulting binary won't work as there's no bl31.bin. The problem is: +aarch64-linux-ld.bfd: u-boot-spl section `.u_boot_list' will not fit in region `.sram' +aarch64-linux-ld.bfd: region `.sram' overflowed by 48 bytes +make[2]: *** [spl/u-boot-spl] Error 1 +make[1]: *** [spl/u-boot-spl] Error 2 +make: *** [sub-make] Error 2
ie what, I'm able to built manually pine_h64 with gcc-6.3.1
Travis-CI uses gcc-7.3 from kernel.org.
Look like we have size issues wrt gcc versions, Icenowy tried glibc variant, 2018.07-3 bleeding edge and it work it seems. can't we upgrade Travis-CI to use the same or if not specific for h6?

于 2018年8月5日 GMT+08:00 上午1:48:43, Jagan Teki jagan@amarulasolutions.com 写到:
On Thu, Aug 2, 2018 at 4:43 PM, Tom Rini trini@konsulko.com wrote:
On Thu, Aug 02, 2018 at 02:57:01PM +0530, Jagan Teki wrote:
On Wed, Aug 1, 2018 at 6:25 PM, Tom Rini trini@konsulko.com wrote:
On Wed, Aug 01, 2018 at 08:43:17PM +0800, Chen-Yu Tsai wrote:
On Wed, Aug 1, 2018 at 7:47 PM, Jagan Teki
jagan@amarulasolutions.com wrote:
On Wed, Aug 1, 2018 at 4:43 PM, Tom Rini trini@konsulko.com
wrote:
> On Tue, Jul 31, 2018 at 11:41:50PM +0530, Jagan Teki wrote: > >> Hi Tom, >> >> Please pull this PR. >> >> thanks, >> Jagan. >> >> The following changes since commit
5a0007d481c0fcd2d422dd48b2a129dd8e8a272a:
>> >> Prepare v2017.09-rc1 (2018-07-30 21:47:29 -0400) >> >> are available in the Git repository at: >> >> git://git.denx.de/u-boot-sunxi.git master >> >> for you to fetch changes up to
89a897fc4d78e31332e5899e977d8bf3c82abafa:
>> >> board: sun50i: h6: Add OrangePi One Plus initial support
(2018-07-31 20:50:01 +0530)
>> > > For the moment, on hold. pine_h64 doesn't link (see > https://travis-ci.org/trini/u-boot/jobs/410579615) but I bet
Andre's
> changes to save some space on aarch64 will get it to fit in,
and I need
> to see if I'm ready to apply them.
I though of inform the same, but for h6 atf need to use it from mainline here all a64 boards seems failing. I didn't reproduce
this
manually.
+WARNING: BL31 file bl31.bin NOT found, resulting binary is
non-functional
The cause is obvious. The ATF blob is missing from the
environment.
If TravisCI is only used to test building, maybe we could just
put an
empty bl31.bin there to make it happy.
Please note that the above is NOT the problem. That's the
non-fatal
warning that your resulting binary won't work as there's no
bl31.bin.
The problem is: +aarch64-linux-ld.bfd: u-boot-spl section `.u_boot_list' will not
fit in region `.sram'
+aarch64-linux-ld.bfd: region `.sram' overflowed by 48 bytes +make[2]: *** [spl/u-boot-spl] Error 1 +make[1]: *** [spl/u-boot-spl] Error 2 +make: *** [sub-make] Error 2
ie what, I'm able to built manually pine_h64 with gcc-6.3.1
Travis-CI uses gcc-7.3 from kernel.org.
Look like we have size issues wrt gcc versions, Icenowy tried glibc variant, 2018.07-3 bleeding edge and it work it seems. can't we upgrade Travis-CI to use the same or if not specific for h6?
I have a commit from Vasily that can reduce ~100B of SPL.
It can be applied to workaround this, but I don't want to use it so early.

于 2018年8月5日 GMT+08:00 上午1:48:43, Jagan Teki jagan@amarulasolutions.com 写到:
On Thu, Aug 2, 2018 at 4:43 PM, Tom Rini trini@konsulko.com wrote:
On Thu, Aug 02, 2018 at 02:57:01PM +0530, Jagan Teki wrote:
On Wed, Aug 1, 2018 at 6:25 PM, Tom Rini trini@konsulko.com wrote:
On Wed, Aug 01, 2018 at 08:43:17PM +0800, Chen-Yu Tsai wrote:
On Wed, Aug 1, 2018 at 7:47 PM, Jagan Teki
jagan@amarulasolutions.com wrote:
On Wed, Aug 1, 2018 at 4:43 PM, Tom Rini trini@konsulko.com
wrote:
> On Tue, Jul 31, 2018 at 11:41:50PM +0530, Jagan Teki wrote: > >> Hi Tom, >> >> Please pull this PR. >> >> thanks, >> Jagan. >> >> The following changes since commit
5a0007d481c0fcd2d422dd48b2a129dd8e8a272a:
>> >> Prepare v2017.09-rc1 (2018-07-30 21:47:29 -0400) >> >> are available in the Git repository at: >> >> git://git.denx.de/u-boot-sunxi.git master >> >> for you to fetch changes up to
89a897fc4d78e31332e5899e977d8bf3c82abafa:
>> >> board: sun50i: h6: Add OrangePi One Plus initial support
(2018-07-31 20:50:01 +0530)
>> > > For the moment, on hold. pine_h64 doesn't link (see > https://travis-ci.org/trini/u-boot/jobs/410579615) but I bet
Andre's
> changes to save some space on aarch64 will get it to fit in,
and I need
> to see if I'm ready to apply them.
I though of inform the same, but for h6 atf need to use it from mainline here all a64 boards seems failing. I didn't reproduce
this
manually.
+WARNING: BL31 file bl31.bin NOT found, resulting binary is
non-functional
The cause is obvious. The ATF blob is missing from the
environment.
If TravisCI is only used to test building, maybe we could just
put an
empty bl31.bin there to make it happy.
Please note that the above is NOT the problem. That's the
non-fatal
warning that your resulting binary won't work as there's no
bl31.bin.
The problem is: +aarch64-linux-ld.bfd: u-boot-spl section `.u_boot_list' will not
fit in region `.sram'
+aarch64-linux-ld.bfd: region `.sram' overflowed by 48 bytes +make[2]: *** [spl/u-boot-spl] Error 1 +make[1]: *** [spl/u-boot-spl] Error 2 +make: *** [sub-make] Error 2
ie what, I'm able to built manually pine_h64 with gcc-6.3.1
Travis-CI uses gcc-7.3 from kernel.org.
Look like we have size issues wrt gcc versions, Icenowy tried glibc variant, 2018.07-3 bleeding edge and it work it seems. can't we upgrade Travis-CI to use the same or if not specific for h6?
I will soon push a patch that disables Pine A64 plus/non-plus detection code on non-A64 SoCs (clearly these code doesn't apply to H5/H6, as there's no Pine A64/Pine A64+ with H5/H6 :-) )

On Sat, Aug 04, 2018 at 11:18:43PM +0530, Jagan Teki wrote:
On Thu, Aug 2, 2018 at 4:43 PM, Tom Rini trini@konsulko.com wrote:
On Thu, Aug 02, 2018 at 02:57:01PM +0530, Jagan Teki wrote:
On Wed, Aug 1, 2018 at 6:25 PM, Tom Rini trini@konsulko.com wrote:
On Wed, Aug 01, 2018 at 08:43:17PM +0800, Chen-Yu Tsai wrote:
On Wed, Aug 1, 2018 at 7:47 PM, Jagan Teki jagan@amarulasolutions.com wrote:
On Wed, Aug 1, 2018 at 4:43 PM, Tom Rini trini@konsulko.com wrote: > On Tue, Jul 31, 2018 at 11:41:50PM +0530, Jagan Teki wrote: > >> Hi Tom, >> >> Please pull this PR. >> >> thanks, >> Jagan. >> >> The following changes since commit 5a0007d481c0fcd2d422dd48b2a129dd8e8a272a: >> >> Prepare v2017.09-rc1 (2018-07-30 21:47:29 -0400) >> >> are available in the Git repository at: >> >> git://git.denx.de/u-boot-sunxi.git master >> >> for you to fetch changes up to 89a897fc4d78e31332e5899e977d8bf3c82abafa: >> >> board: sun50i: h6: Add OrangePi One Plus initial support (2018-07-31 20:50:01 +0530) >> > > For the moment, on hold. pine_h64 doesn't link (see > https://travis-ci.org/trini/u-boot/jobs/410579615) but I bet Andre's > changes to save some space on aarch64 will get it to fit in, and I need > to see if I'm ready to apply them.
I though of inform the same, but for h6 atf need to use it from mainline here all a64 boards seems failing. I didn't reproduce this manually.
+WARNING: BL31 file bl31.bin NOT found, resulting binary is non-functional
The cause is obvious. The ATF blob is missing from the environment. If TravisCI is only used to test building, maybe we could just put an empty bl31.bin there to make it happy.
Please note that the above is NOT the problem. That's the non-fatal warning that your resulting binary won't work as there's no bl31.bin. The problem is: +aarch64-linux-ld.bfd: u-boot-spl section `.u_boot_list' will not fit in region `.sram' +aarch64-linux-ld.bfd: region `.sram' overflowed by 48 bytes +make[2]: *** [spl/u-boot-spl] Error 1 +make[1]: *** [spl/u-boot-spl] Error 2 +make: *** [sub-make] Error 2
ie what, I'm able to built manually pine_h64 with gcc-6.3.1
Travis-CI uses gcc-7.3 from kernel.org.
Look like we have size issues wrt gcc versions, Icenowy tried glibc variant, 2018.07-3 bleeding edge and it work it seems. can't we upgrade Travis-CI to use the same or if not specific for h6?
I'm testing Andre's series currently and that should resolve this problem. But no, Travis-CI is using the toolchains that buildman fetches and those are the must-work toolchains. It's the kernel.org ones that Arnd sets up and are as vendor-neutral as we're going to get.

于 2018年8月5日 GMT+08:00 上午2:51:43, Tom Rini trini@konsulko.com 写到:
On Sat, Aug 04, 2018 at 11:18:43PM +0530, Jagan Teki wrote:
On Thu, Aug 2, 2018 at 4:43 PM, Tom Rini trini@konsulko.com wrote:
On Thu, Aug 02, 2018 at 02:57:01PM +0530, Jagan Teki wrote:
On Wed, Aug 1, 2018 at 6:25 PM, Tom Rini trini@konsulko.com
wrote:
On Wed, Aug 01, 2018 at 08:43:17PM +0800, Chen-Yu Tsai wrote:
On Wed, Aug 1, 2018 at 7:47 PM, Jagan Teki
jagan@amarulasolutions.com wrote:
> On Wed, Aug 1, 2018 at 4:43 PM, Tom Rini trini@konsulko.com
wrote:
>> On Tue, Jul 31, 2018 at 11:41:50PM +0530, Jagan Teki wrote: >> >>> Hi Tom, >>> >>> Please pull this PR. >>> >>> thanks, >>> Jagan. >>> >>> The following changes since commit
5a0007d481c0fcd2d422dd48b2a129dd8e8a272a:
>>> >>> Prepare v2017.09-rc1 (2018-07-30 21:47:29 -0400) >>> >>> are available in the Git repository at: >>> >>> git://git.denx.de/u-boot-sunxi.git master >>> >>> for you to fetch changes up to
89a897fc4d78e31332e5899e977d8bf3c82abafa:
>>> >>> board: sun50i: h6: Add OrangePi One Plus initial support
(2018-07-31 20:50:01 +0530)
>>> >> >> For the moment, on hold. pine_h64 doesn't link (see >> https://travis-ci.org/trini/u-boot/jobs/410579615) but I bet
Andre's
>> changes to save some space on aarch64 will get it to fit in,
and I need
>> to see if I'm ready to apply them. > > I though of inform the same, but for h6 atf need to use it
from
> mainline here all a64 boards seems failing. I didn't
reproduce this
> manually. > > +WARNING: BL31 file bl31.bin NOT found, resulting binary is
non-functional
The cause is obvious. The ATF blob is missing from the
environment.
If TravisCI is only used to test building, maybe we could just
put an
empty bl31.bin there to make it happy.
Please note that the above is NOT the problem. That's the
non-fatal
warning that your resulting binary won't work as there's no
bl31.bin.
The problem is: +aarch64-linux-ld.bfd: u-boot-spl section `.u_boot_list' will
not fit in region `.sram'
+aarch64-linux-ld.bfd: region `.sram' overflowed by 48 bytes +make[2]: *** [spl/u-boot-spl] Error 1 +make[1]: *** [spl/u-boot-spl] Error 2 +make: *** [sub-make] Error 2
ie what, I'm able to built manually pine_h64 with gcc-6.3.1
Travis-CI uses gcc-7.3 from kernel.org.
Look like we have size issues wrt gcc versions, Icenowy tried glibc variant, 2018.07-3 bleeding edge and it work it seems. can't we upgrade Travis-CI to use the same or if not specific for h6?
I'm testing Andre's series currently and that should resolve this
BTW where's this series?
problem. But no, Travis-CI is using the toolchains that buildman fetches and those are the must-work toolchains. It's the kernel.org ones that Arnd sets up and are as vendor-neutral as we're going to get.

于 2018年8月5日 GMT+08:00 上午2:51:43, Tom Rini trini@konsulko.com 写到:
On Sat, Aug 04, 2018 at 11:18:43PM +0530, Jagan Teki wrote:
On Thu, Aug 2, 2018 at 4:43 PM, Tom Rini trini@konsulko.com wrote:
On Thu, Aug 02, 2018 at 02:57:01PM +0530, Jagan Teki wrote:
On Wed, Aug 1, 2018 at 6:25 PM, Tom Rini trini@konsulko.com
wrote:
On Wed, Aug 01, 2018 at 08:43:17PM +0800, Chen-Yu Tsai wrote:
On Wed, Aug 1, 2018 at 7:47 PM, Jagan Teki
jagan@amarulasolutions.com wrote:
> On Wed, Aug 1, 2018 at 4:43 PM, Tom Rini trini@konsulko.com
wrote:
>> On Tue, Jul 31, 2018 at 11:41:50PM +0530, Jagan Teki wrote: >> >>> Hi Tom, >>> >>> Please pull this PR. >>> >>> thanks, >>> Jagan. >>> >>> The following changes since commit
5a0007d481c0fcd2d422dd48b2a129dd8e8a272a:
>>> >>> Prepare v2017.09-rc1 (2018-07-30 21:47:29 -0400) >>> >>> are available in the Git repository at: >>> >>> git://git.denx.de/u-boot-sunxi.git master >>> >>> for you to fetch changes up to
89a897fc4d78e31332e5899e977d8bf3c82abafa:
>>> >>> board: sun50i: h6: Add OrangePi One Plus initial support
(2018-07-31 20:50:01 +0530)
>>> >> >> For the moment, on hold. pine_h64 doesn't link (see >> https://travis-ci.org/trini/u-boot/jobs/410579615) but I bet
Andre's
>> changes to save some space on aarch64 will get it to fit in,
and I need
>> to see if I'm ready to apply them. > > I though of inform the same, but for h6 atf need to use it
from
> mainline here all a64 boards seems failing. I didn't
reproduce this
> manually. > > +WARNING: BL31 file bl31.bin NOT found, resulting binary is
non-functional
The cause is obvious. The ATF blob is missing from the
environment.
If TravisCI is only used to test building, maybe we could just
put an
empty bl31.bin there to make it happy.
Please note that the above is NOT the problem. That's the
non-fatal
warning that your resulting binary won't work as there's no
bl31.bin.
The problem is: +aarch64-linux-ld.bfd: u-boot-spl section `.u_boot_list' will
not fit in region `.sram'
+aarch64-linux-ld.bfd: region `.sram' overflowed by 48 bytes +make[2]: *** [spl/u-boot-spl] Error 1 +make[1]: *** [spl/u-boot-spl] Error 2 +make: *** [sub-make] Error 2
ie what, I'm able to built manually pine_h64 with gcc-6.3.1
Travis-CI uses gcc-7.3 from kernel.org.
Look like we have size issues wrt gcc versions, Icenowy tried glibc variant, 2018.07-3 bleeding edge and it work it seems. can't we upgrade Travis-CI to use the same or if not specific for h6?
I'm testing Andre's series currently and that should resolve this
Do you mention the exception handling series?
BTW I made a patch to save ~200B, purely in sunxi codepath, simple, easier to review, and may solve the problem more quickly.
I have sent the patch, it's named "sunxi: disable Pine A64 model detection code on non-A64 SoCs".
problem. But no, Travis-CI is using the toolchains that buildman fetches and those are the must-work toolchains. It's the kernel.org ones that Arnd sets up and are as vendor-neutral as we're going to get.

On Sun, Aug 05, 2018 at 02:58:46AM +0800, Icenowy Zheng wrote:
于 2018年8月5日 GMT+08:00 上午2:51:43, Tom Rini trini@konsulko.com 写到:
On Sat, Aug 04, 2018 at 11:18:43PM +0530, Jagan Teki wrote:
On Thu, Aug 2, 2018 at 4:43 PM, Tom Rini trini@konsulko.com wrote:
On Thu, Aug 02, 2018 at 02:57:01PM +0530, Jagan Teki wrote:
On Wed, Aug 1, 2018 at 6:25 PM, Tom Rini trini@konsulko.com
wrote:
On Wed, Aug 01, 2018 at 08:43:17PM +0800, Chen-Yu Tsai wrote: > On Wed, Aug 1, 2018 at 7:47 PM, Jagan Teki
jagan@amarulasolutions.com wrote:
> > On Wed, Aug 1, 2018 at 4:43 PM, Tom Rini trini@konsulko.com
wrote:
> >> On Tue, Jul 31, 2018 at 11:41:50PM +0530, Jagan Teki wrote: > >> > >>> Hi Tom, > >>> > >>> Please pull this PR. > >>> > >>> thanks, > >>> Jagan. > >>> > >>> The following changes since commit
5a0007d481c0fcd2d422dd48b2a129dd8e8a272a:
> >>> > >>> Prepare v2017.09-rc1 (2018-07-30 21:47:29 -0400) > >>> > >>> are available in the Git repository at: > >>> > >>> git://git.denx.de/u-boot-sunxi.git master > >>> > >>> for you to fetch changes up to
89a897fc4d78e31332e5899e977d8bf3c82abafa:
> >>> > >>> board: sun50i: h6: Add OrangePi One Plus initial support
(2018-07-31 20:50:01 +0530)
> >>> > >> > >> For the moment, on hold. pine_h64 doesn't link (see > >> https://travis-ci.org/trini/u-boot/jobs/410579615) but I bet
Andre's
> >> changes to save some space on aarch64 will get it to fit in,
and I need
> >> to see if I'm ready to apply them. > > > > I though of inform the same, but for h6 atf need to use it
from
> > mainline here all a64 boards seems failing. I didn't
reproduce this
> > manually. > > > > +WARNING: BL31 file bl31.bin NOT found, resulting binary is
non-functional
> > The cause is obvious. The ATF blob is missing from the
environment.
> If TravisCI is only used to test building, maybe we could just
put an
> empty bl31.bin there to make it happy.
Please note that the above is NOT the problem. That's the
non-fatal
warning that your resulting binary won't work as there's no
bl31.bin.
The problem is: +aarch64-linux-ld.bfd: u-boot-spl section `.u_boot_list' will
not fit in region `.sram'
+aarch64-linux-ld.bfd: region `.sram' overflowed by 48 bytes +make[2]: *** [spl/u-boot-spl] Error 1 +make[1]: *** [spl/u-boot-spl] Error 2 +make: *** [sub-make] Error 2
ie what, I'm able to built manually pine_h64 with gcc-6.3.1
Travis-CI uses gcc-7.3 from kernel.org.
Look like we have size issues wrt gcc versions, Icenowy tried glibc variant, 2018.07-3 bleeding edge and it work it seems. can't we upgrade Travis-CI to use the same or if not specific for h6?
I'm testing Andre's series currently and that should resolve this
Do you mention the exception handling series?
Yes.

On Tue, Jul 31, 2018 at 11:41:50PM +0530, Jagan Teki wrote:
Hi Tom,
Please pull this PR.
thanks, Jagan.
The following changes since commit 5a0007d481c0fcd2d422dd48b2a129dd8e8a272a:
Prepare v2017.09-rc1 (2018-07-30 21:47:29 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-sunxi.git master
for you to fetch changes up to 89a897fc4d78e31332e5899e977d8bf3c82abafa:
board: sun50i: h6: Add OrangePi One Plus initial support (2018-07-31 20:50:01 +0530)
Applied to u-boot/master, thanks!
participants (4)
-
Chen-Yu Tsai
-
Icenowy Zheng
-
Jagan Teki
-
Tom Rini