[U-Boot] Some powerpc cfgs fail to build on v2014.04

Masahiro Yamada yamada.m at jp.panasonic.com
Mon May 26 13:28:55 CEST 2014


Hi Vasili,

On Mon, 26 May 2014 13:51:52 +0300
Vasili Galka <vvv444 at gmail.com> wrote:

> Hi,
> 
> Are all boards supposed to build fine in v2014.04 release?
> I'm running "./MAKEALL -a powerpc" and get build failure for 9 boards:
> 
> Boards with errors: 9 ( ep8248 MPC8572DS MPC8572DS_36BIT PMC440
> dlvision-10g io iocon neo ep8248 )
> 
> ep8248
> ------
> /home/lab/dev/uboot/Makefile:501: *** "System not configured - see README".
>  Stop.
> make: *** [sub-make] Error 2

I've posted a patch to fix ep8248.
Check
http://patchwork.ozlabs.org/patch/352483/


BTW, I fixed it by commit  8ad5d45e.
But now it is broken again.

I am wondering how many times I have to post the same patch
to fix this board.



> MPC8572DS
> ---------
> powerpc-none-eabi-ld.bfd: section .bootpg loaded at
> [00000000effff000,00000000effff4d3] overlaps section .u_boot_list loaded at
> [00000000efffee98,00000000effff737]
> powerpc-none-eabi-ld.bfd: u-boot: section .bootpg lma 0xeffff000 adjusted
> to 0xeffff738
> make[1]: *** [u-boot] Error 1
> make: *** [sub-make] Error 2
> 
> MPC8572DS_36BIT
> ---------------
> powerpc-none-eabi-ld.bfd: section .bootpg loaded at
> [00000000effff000,00000000effff4d3] overlaps section .data loaded at
> [00000000efff74e0,00000000effff7ab]
> powerpc-none-eabi-ld.bfd: section .resetvec loaded at
> [00000000effffffc,00000000efffffff] overlaps section .u_boot_list loaded at
> [00000000effff7ac,00000000f000004b]
> powerpc-none-eabi-ld.bfd: u-boot: section .bootpg lma 0xeffff000 adjusted
> to 0xeffff7ac
> powerpc-none-eabi-ld.bfd: u-boot: section .u_boot_list lma 0xeffff7ac
> adjusted to 0xeffffc80
> powerpc-none-eabi-ld.bfd: u-boot: section .resetvec lma 0xeffffffc adjusted
> to 0xf0000520
> make[1]: *** [u-boot] Error 1
> make: *** [sub-make] Error 2
> 
> PMC440
> ------
> /usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/nof/libgcc.a(eabi.o):
> In function `__eabi':
> /home/lab/dev/gcc/build-powerpc-none-eabi/gcc-4.8.1/powerpc-none-eabi/nof/libgcc/../../../../../sources/gcc-4.8.1/libgcc/config/rs6000/eabi.S:221:
> undefined reference to `__init'
> /usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/nof/libgcc.a(eabi.o):(.got2+0x8):
> undefined reference to `__SDATA_START__'
> /usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/nof/libgcc.a(eabi.o):(.got2+0xc):
> undefined reference to `__SBSS_END__'
> /usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/nof/libgcc.a(eabi.o):(.got2+0x14):
> undefined reference to `__SDATA2_START__'
> /usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/nof/libgcc.a(eabi.o):(.got2+0x18):
> undefined reference to `__SBSS2_END__'
> /usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/nof/libgcc.a(eabi.o):(.got2+0x1c):
> undefined reference to `__GOT_START__'
> /usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/nof/libgcc.a(eabi.o):(.got2+0x28):
> undefined reference to `__GOT_END__'
> /usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/nof/libgcc.a(eabi.o):(.got2+0x2c):
> undefined reference to `__GOT2_START__'
> /usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/nof/libgcc.a(eabi.o):(.got2+0x30):
> undefined reference to `__GOT2_END__'
> /usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/nof/libgcc.a(eabi.o):(.got2+0x34):
> undefined reference to `__FIXUP_START__'
> /usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/nof/libgcc.a(eabi.o):(.got2+0x38):
> undefined reference to `__FIXUP_END__'
> /usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/nof/libgcc.a(eabi.o):(.got2+0x3c):
> undefined reference to `__CTOR_LIST__'
> /usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/nof/libgcc.a(eabi.o):(.got2+0x40):
> undefined reference to `__CTOR_END__'
> /usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/nof/libgcc.a(eabi.o):(.got2+0x44):
> undefined reference to `__DTOR_LIST__'
> /usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/nof/libgcc.a(eabi.o):(.got2+0x48):
> undefined reference to `__DTOR_END__'
> /usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/nof/libgcc.a(eabi.o):(.got2+0x4c):
> undefined reference to `__EXCEPT_START__'
> /usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/nof/libgcc.a(eabi.o):(.got2+0x50):
> undefined reference to `__EXCEPT_END__'
> make[3]: *** [examples/api/demo] Error 1
> make[2]: *** [examples/api] Error 2
> make[1]: *** [examples] Error 2
> make: *** [sub-make] Error 2
> 
> dlvision-10g
> ------------
> powerpc-none-eabi-ld.bfd: section .resetvec loaded at
> [00000000fffffffc,00000000ffffffff] overlaps section .data loaded at
> [00000000ffffdf18,000000010000047b]
> powerpc-none-eabi-ld.bfd: u-boot: section .resetvec lma 0xfffffffc adjusted
> to 0x10000047c
> powerpc-none-eabi-ld.bfd: u-boot: section .u_boot_list lma 0x10000047c
> adjusted to 0x100000480
> make[1]: *** [u-boot] Error 1
> make: *** [sub-make] Error 2
> 
> io
> --
> powerpc-none-eabi-ld.bfd: section .resetvec loaded at
> [00000000fffffffc,00000000ffffffff] overlaps section .u_boot_list loaded at
> [00000000fffffa4c,000000010000024f]
> powerpc-none-eabi-ld.bfd: u-boot: section .resetvec lma 0xfffffffc adjusted
> to 0x100000250
> make[1]: *** [u-boot] Error 1
> make: *** [sub-make] Error 2
> 
> iocon
> -----
> powerpc-none-eabi-ld.bfd: section .resetvec loaded at
> [00000000fffffffc,00000000ffffffff] overlaps section .data loaded at
> [00000000ffffef24,00000001000016db]
> powerpc-none-eabi-ld.bfd: u-boot: section .resetvec lma 0xfffffffc adjusted
> to 0x1000016dc
> powerpc-none-eabi-ld.bfd: u-boot: section .u_boot_list lma 0x1000016dc
> adjusted to 0x1000016e0
> make[1]: *** [u-boot] Error 1
> make: *** [sub-make] Error 2
> 
> neo
> ---
> powerpc-none-eabi-ld.bfd: section .resetvec loaded at
> [00000000fffffffc,00000000ffffffff] overlaps section .u_boot_list loaded at
> [00000000fffff974,0000000100000193]
> powerpc-none-eabi-ld.bfd: u-boot: section .resetvec lma 0xfffffffc adjusted
> to 0x100000194
> make[1]: *** [u-boot] Error 1
> make: *** [sub-make] Error 2



I reported these broken boards a month ago.

See
http://lists.denx.de/pipermail/u-boot/2014-April/177928.html
http://lists.denx.de/pipermail/u-boot/2014-April/178183.html


But nobody has taken an action about it.

Accoding to U-Boot rule, broken boards would be removed sometime.




Best Regards
Masahiro Yamada



More information about the U-Boot mailing list