Re: [PATCH v2 5/5] rockchip: rockpro64: Build u-boot-rockchip-spi.bin

2023-06-14 Thread Jonas Karlman
On 2023-06-14 09:46, Peter Robinson wrote: > On Tue, Jun 13, 2023 at 7:48 PM Jonas Karlman wrote: >> >> Hi Peter, >> >> On 2023-06-13 09:58, Peter Robinson wrote: >>> On Mon, Jun 12, 2023 at 11:20 PM Jonas Karlman wrote: Hi Peter, On 2023-06-11 22:22, Peter Robinson wrote:

Re: [PATCH v2 5/5] rockchip: rockpro64: Build u-boot-rockchip-spi.bin

2023-06-14 Thread Peter Robinson
On Tue, Jun 13, 2023 at 7:48 PM Jonas Karlman wrote: > > Hi Peter, > > On 2023-06-13 09:58, Peter Robinson wrote: > > On Mon, Jun 12, 2023 at 11:20 PM Jonas Karlman wrote: > >> > >> Hi Peter, > >> > >> On 2023-06-11 22:22, Peter Robinson wrote: > >>> Hi Jonas, > >>> > >>> This regresses the

Re: [PATCH v2 5/5] rockchip: rockpro64: Build u-boot-rockchip-spi.bin

2023-06-13 Thread Jonas Karlman
Hi Peter, On 2023-06-13 09:58, Peter Robinson wrote: > On Mon, Jun 12, 2023 at 11:20 PM Jonas Karlman wrote: >> >> Hi Peter, >> >> On 2023-06-11 22:22, Peter Robinson wrote: >>> Hi Jonas, >>> >>> This regresses the Rockpro64 build for me when building with gcc 12/13 >>> with the following error,

Re: [PATCH v2 5/5] rockchip: rockpro64: Build u-boot-rockchip-spi.bin

2023-06-13 Thread Peter Robinson
On Mon, Jun 12, 2023 at 11:20 PM Jonas Karlman wrote: > > Hi Peter, > > On 2023-06-11 22:22, Peter Robinson wrote: > > Hi Jonas, > > > > This regresses the Rockpro64 build for me when building with gcc 12/13 > > with the following error, if I remove CONFIG_LTO it builds, but > > overlaps. > > > >

Re: [PATCH v2 5/5] rockchip: rockpro64: Build u-boot-rockchip-spi.bin

2023-06-12 Thread Jonas Karlman
Hi Peter, On 2023-06-11 22:22, Peter Robinson wrote: > Hi Jonas, > > This regresses the Rockpro64 build for me when building with gcc 12/13 > with the following error, if I remove CONFIG_LTO it builds, but > overlaps. > > /usr/bin/aarch64-linux-gnu-ld: >

Re: [PATCH v2 5/5] rockchip: rockpro64: Build u-boot-rockchip-spi.bin

2023-06-11 Thread Peter Robinson
Hi Jonas, This regresses the Rockpro64 build for me when building with gcc 12/13 with the following error, if I remove CONFIG_LTO it builds, but overlaps. /usr/bin/aarch64-linux-gnu-ld: /usr/lib/gcc/aarch64-linux-gnu/13/libgcc.a(lse-init.o): in function `init_have_lse_atomics':

Re: [PATCH v2 5/5] rockchip: rockpro64: Build u-boot-rockchip-spi.bin

2023-05-17 Thread Jonas Karlman
Hi Peter, On 2023-05-17 21:14, Peter Robinson wrote: > On Wed, May 17, 2023 at 7:41 PM Jonas Karlman wrote: >> >> Enable CONFIG_ROCKCHIP_SPI_IMAGE to build u-boot-rockchip-spi.bin. >> Define CONFIG_SYS_SPI_U_BOOT_OFFS to write u-boot.itb at the expected > > None of the other rk33* devices

Re: [PATCH v2 5/5] rockchip: rockpro64: Build u-boot-rockchip-spi.bin

2023-05-17 Thread Peter Robinson
On Wed, May 17, 2023 at 7:41 PM Jonas Karlman wrote: > > Enable CONFIG_ROCKCHIP_SPI_IMAGE to build u-boot-rockchip-spi.bin. > Define CONFIG_SYS_SPI_U_BOOT_OFFS to write u-boot.itb at the expected None of the other rk33* devices enable this offset yet my Pinebook Pro works fine booting from SPI

[PATCH v2 5/5] rockchip: rockpro64: Build u-boot-rockchip-spi.bin

2023-05-17 Thread Jonas Karlman
Enable CONFIG_ROCKCHIP_SPI_IMAGE to build u-boot-rockchip-spi.bin. Define CONFIG_SYS_SPI_U_BOOT_OFFS to write u-boot.itb at the expected offset. Enable CONFIG_LTO to reduce size of SPL so that the mkimage output fit before the 0x6 offset in u-boot-rockchip-spi.bin. => sf probe SF: