- Official Post
*** Your GCC is older than 6.0 and is not supported
I think this issue is pretty self-explanatory. If you don't have new enough gcc, you can always download one from linaro page. If you want to use linaro toolchain, just extract it in one folder and execute export CROSS_COMPILE=/path/to/linaro/compiler/arm-linux-gnueabihf- (just replace "/path/to/linaro/compiler" with absolute path where you extracted linaro gcc).
CONFIG_MACH_SUN50I_H6_32=y
CONFIG_DRAM_SUN50I_H6=y /* this was previously not set */
CONFIG_DRAM_SUN50I_H6 is for 64-bit build, while CONFIG_MACH_SUN50I_H6_32 is for 32-bit. Note that libdram is 32-bit library, so it can be linked only with 32-bit SPL, so CONFIG_MACH_SUN50I_H6 should not be set.
CONFIG_NR_DRAM_BANKS=2 /* this was previously 1 - my box has 4GB RAM - what should this be set to???*/
This should be set to 1 for all Allwinner boards on all SoCs. It has nothing to do with amount of RAM, but how many memory regions there are. All Allwinner SoCs have whole DRAM mapped in one continuous region. Actually, there are other dislocated small SRAM regions, but they have special purpose so they don't count.
CONFIG_DEFAULT_DEVICE_TREE="sun50i-h6-tanix-tx6" /* changed the device tree name - should it be changed back???? */
At the end, it will be changed to "sun50i-h6-tanix-tx6", but this file doesn't exist yet and it currently doesn't matter much. Most, if not all, Allwinner boards follow common design, so for very basic functionality almost doesn't matter which DT you use in U-Boot. Linux is however different story, but we are not there yet. Just keep original value for now.