All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] m68k: 3 boards are broken
@ 2015-03-27  7:05 Masahiro Yamada
  2015-03-28  8:38 ` Angelo Dureghello
  2015-03-28 10:16 ` Angelo Dureghello
  0 siblings, 2 replies; 3+ messages in thread
From: Masahiro Yamada @ 2015-03-27  7:05 UTC (permalink / raw)
  To: u-boot

Hi Alison, Angelo


I found 3 m68k boards are broken:
eb_cpu5282_defconfig
eb_cpu5282_internal_defconfig
M53017EVB_defconfig


  LD      u-boot
common/built-in.o: In function `reserve_video':
/home/yamada/workspace/u-boot/common/board_f.c:501: undefined
reference to `video_setmem'
make: *** [u-boot] Error 1



Can you figure it out, please?

-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] m68k: 3 boards are broken
  2015-03-27  7:05 [U-Boot] m68k: 3 boards are broken Masahiro Yamada
@ 2015-03-28  8:38 ` Angelo Dureghello
  2015-03-28 10:16 ` Angelo Dureghello
  1 sibling, 0 replies; 3+ messages in thread
From: Angelo Dureghello @ 2015-03-28  8:38 UTC (permalink / raw)
  To: u-boot

Dear Masahiro,

On 27/03/2015 08:05, Masahiro Yamada wrote:
> Hi Alison, Angelo
>
>
> I found 3 m68k boards are broken:
> eb_cpu5282_defconfig
> eb_cpu5282_internal_defconfig
> M53017EVB_defconfig
>
>
>    LD      u-boot
> common/built-in.o: In function `reserve_video':
> /home/yamada/workspace/u-boot/common/board_f.c:501: undefined
> reference to `video_setmem'
> make: *** [u-boot] Error 1
>
>

>
> Can you figure it out, please?
>


Fixed the first 2 boards, there is no reserve_video needed
for m68k.
The third (M53017EVB) is a relocation issue.

arch/m68k/cpu/mcf532x/start.o: In function `_start':
/home/angelo/sysam/u-boot/arch/m68k/cpu/mcf532x/start.S:159:(.text+0x462): 
relocation truncated to fit: R_68K_PC16 against symbol `board_init_f' 
defined in .text.board_init_f section in common/built-in.o
Makefile:1094: set di istruzioni per l'obiettivo "u-boot" non riuscito
make: *** [u-boot] Errore 1

For some reason this board have a different text section
in the linker script, and this cause the error. Also
board.c in m68k/lib is no more built-in.


SECTIONS
{
   /* Read-only sections, merged into text segment: */
   .text      :
   {
     arch/m68k/cpu/mcf532x/start.o	(.text*)
     arch/m68k/cpu/mcf532x/built-in.o	(.text*)
     arch/m68k/lib/built-in.o		(.text*)

     . = DEFINED(env_offset) ? env_offset : .;
     common/env_embedded.o	(.text*)

     *(.text*)
   }
   _etext = .;

Studying on this last issue.
Hope to post the full patch later.

Regards
Angelo

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] m68k: 3 boards are broken
  2015-03-27  7:05 [U-Boot] m68k: 3 boards are broken Masahiro Yamada
  2015-03-28  8:38 ` Angelo Dureghello
@ 2015-03-28 10:16 ` Angelo Dureghello
  1 sibling, 0 replies; 3+ messages in thread
From: Angelo Dureghello @ 2015-03-28 10:16 UTC (permalink / raw)
  To: u-boot



On 27/03/2015 08:05, Masahiro Yamada wrote:
> Hi Alison, Angelo
>
>
> I found 3 m68k boards are broken:
> eb_cpu5282_defconfig
> eb_cpu5282_internal_defconfig
> M53017EVB_defconfig
>
>
>    LD      u-boot
> common/built-in.o: In function `reserve_video':
> /home/yamada/workspace/u-boot/common/board_f.c:501: undefined
> reference to `video_setmem'
> make: *** [u-boot] Error 1
>
>
>
> Can you figure it out, please?

Hi,

about M53017EVB_defconfig, i moved embedded env in 3rd sector
(should be third as Spansion layout) exactly as M52277 do with
similar os same flash.

Alison, feel free to change / block this if doesn't suit the board needs.


Regards,
Angelo Dureghello

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-28 10:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-27  7:05 [U-Boot] m68k: 3 boards are broken Masahiro Yamada
2015-03-28  8:38 ` Angelo Dureghello
2015-03-28 10:16 ` Angelo Dureghello

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.