于 2018年8月5日 GMT+08:00 上午12:36:14, Jagan Teki <ja...@amarulasolutions.com> 写到: >On Sat, Aug 4, 2018 at 9:36 PM, Icenowy Zheng <icen...@aosc.io> wrote: >> 在 2018-07-31二的 11:30 +0530,Jagan Teki写道: >>> On Sat, Jul 21, 2018 at 1:50 PM, Icenowy Zheng <icen...@aosc.io> >>> wrote: >>> > This patchset trys to add support for Allwinner H6 SoC to U-Boot. >>> > >>> > Allwinner H6 is a quite new Allwinner SoC, with several parts >>> > changed a >>> > lot (memory map, DRAM controller, CCU, so on). The position which >>> > SPL >>> > will be loaded (SRAM A1) also changed to 0x20000. >>> > >>> > The Pine H64 board support comes with this patchset, as this is >the >>> > first H6 board that I can get (being early bird). >>> > >>> > Icenowy Zheng (13): >>> > 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 >>> >>> Replaced with v2.1 [3] >>> >>> > sunxi: add support for Allwinner H6 SoC >>> > sunxi: add support for Pine H64 board >>> >>> Applied to u-boot-sunxi/master >>> >>> [3] https://patchwork.ozlabs.org/patch/947557/ >> >> I tried to build 89a897fc4d ("board: sun50i: h6: Add OrangePi One >Plus >> initial support"), and with GCC 7.3.0 and binutils 2.3.0 I got >"region >> `.sram' overflowed by 56 bytes". > >Yes, with pine_h64 with 7.3 [1] > >aarch64-linux-gnu-ld.bfd: u-boot-spl section `.u_boot_list' will not >fit in region `.sram' >aarch64-linux-gnu-ld.bfd: region `.sram' overflowed by 16 bytes >make[1]: *** [spl/u-boot-spl] Error 1 >make: *** [spl/u-boot-spl] Error 2
With 8.2 from bootlin (glibc variant, 2018.07-3 bleeding edge), I successfully built it for pine h64. > >Any inputs? > >[1] >https://releases.linaro.org/components/toolchain/binaries/latest/aarch64-linux-gnu/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu.tar.xz _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot