[U-Boot] [PATCH 0/2] Now all the M68K boards can be cleanly built

Masahiro Yamada yamada.m at jp.panasonic.com
Tue Jul 22 03:57:17 CEST 2014


This series consists of two fixes.

With this series and the crosstools distributed on www.kernel.org,
M68K boards can be built without any warnings.

You can download it from:

https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.9.0/
x86_64-gcc-4.9.0-nolibc_m68k-linux.tar.xz

My build log is as follows:

$ m68k-linux-gcc --version
m68k-linux-gcc (GCC) 4.9.0
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ CROSS_COMPILE=m68k-linux- ./MAKEALL -a m68k
Configuring for M52277EVB - Board: M52277EVB, Options: SYS_SPANSION_BOOT,SYS_TEXT_BASE=0x00000000
   text	   data	    bss	    dec	    hex	filename
 115847	  11542	   4096	 131485	  2019d	./u-boot
Configuring for M52277EVB_stmicro - Board: M52277EVB, Options: CF_SBF,SYS_STMICRO_BOOT,SYS_TEXT_BASE=0x43E00000
   text	   data	    bss	    dec	    hex	filename
 115474	  11542	   4100	 131116	  2002c	./u-boot
Configuring for M5235EVB - Board: M5235EVB, Options: SYS_TEXT_BASE=0xFFE00000
   text	   data	    bss	    dec	    hex	filename
 132258	  12240	  21132	 165630	  286fe	./u-boot
Configuring for M5235EVB_Flash32 - Board: M5235EVB, Options: NORFLASH_PS32BIT,SYS_TEXT_BASE=0xFFC00000
   text	   data	    bss	    dec	    hex	filename
 132258	  12240	  21132	 165630	  286fe	./u-boot
Configuring for cobra5272 board...
   text	   data	    bss	    dec	    hex	filename
 112166	   9360	  19880	 141406	  2285e	./u-boot
Configuring for eb_cpu5282 - Board: eb_cpu5282, Options: SYS_TEXT_BASE=0xFF000000,SYS_MONITOR_BASE=0xFF000400
   text	   data	    bss	    dec	    hex	filename
 117802	  12608	  59632	 190042	  2e65a	./u-boot
Configuring for eb_cpu5282_internal - Board: eb_cpu5282, Options: SYS_TEXT_BASE=0xF0000000,SYS_MONITOR_BASE=0xF0000418
   text	   data	    bss	    dec	    hex	filename
 117871	  12612	  59632	 190115	  2e6a3	./u-boot
Configuring for TASREG board...
   text	   data	    bss	    dec	    hex	filename
 173998	  10290	   4784	 189072	  2e290	./u-boot
Configuring for M5208EVBE board...
   text	   data	    bss	    dec	    hex	filename
 125563	  11252	  22852	 159667	  26fb3	./u-boot
Configuring for M5249EVB board...
   text	   data	    bss	    dec	    hex	filename
 107905	   8654	   4224	 120783	  1d7cf	./u-boot
Configuring for M5253DEMO board...
   text	   data	    bss	    dec	    hex	filename
 153476	  11348	 222476	 387300	  5e8e4	./u-boot
Configuring for M5272C3 board...
   text	   data	    bss	    dec	    hex	filename
 126385	  10676	  20588	 157649	  267d1	./u-boot
Configuring for M5275EVB board...
   text	   data	    bss	    dec	    hex	filename
 134047	  12284	  21016	 167347	  28db3	./u-boot
Configuring for M5282EVB board...
   text	   data	    bss	    dec	    hex	filename
 124852	  10544	  21100	 156496	  26350	./u-boot
Configuring for astro_mcf5373l board...
   text	   data	    bss	    dec	    hex	filename
 130047	  12516	  10304	 152867	  25523	./u-boot
Configuring for M53017EVB board...
   text	   data	    bss	    dec	    hex	filename
 151345	  11564	  22268	 185177	  2d359	./u-boot
Configuring for M5329AFEE - Board: M5329EVB, Options: NANDFLASH_SIZE=0
   text	   data	    bss	    dec	    hex	filename
 176789	  28016	  22896	 227701	  37975	./u-boot
Configuring for M5329BFEE - Board: M5329EVB, Options: NANDFLASH_SIZE=16
   text	   data	    bss	    dec	    hex	filename
 176793	  28016	  22896	 227705	  37979	./u-boot
Configuring for M5373EVB - Board: M5373EVB, Options: NANDFLASH_SIZE=16
   text	   data	    bss	    dec	    hex	filename
 176811	  28016	  22896	 227723	  3798b	./u-boot
Configuring for M54418TWR - Board: M54418TWR, Options: CF_SBF,SYS_SERIAL_BOOT,SYS_TEXT_BASE=0x47E00000,SYS_INPUT_CLKSRC=50000000
   text	   data	    bss	    dec	    hex	filename
 110939	  10362	  11620	 132921	  20739	./u-boot
Configuring for M54418TWR_nand_mii - Board: M54418TWR, Options: SYS_NAND_BOOT,SYS_TEXT_BASE=0x47E00000,SYS_INPUT_CLKSRC=25000000
   text	   data	    bss	    dec	    hex	filename
 109786	  10226	  11620	 131632	  20230	./u-boot
Configuring for M54418TWR_nand_rmii - Board: M54418TWR, Options: SYS_NAND_BOOT,SYS_TEXT_BASE=0x47E00000,SYS_INPUT_CLKSRC=50000000
   text	   data	    bss	    dec	    hex	filename
 109786	  10226	  11620	 131632	  20230	./u-boot
Configuring for M54418TWR_nand_rmii_lowfreq - Board: M54418TWR, Options: SYS_NAND_BOOT,LOW_MCFCLK,SYS_TEXT_BASE=0x47E00000,SYS_INPUT_CLKSRC=50000000
   text	   data	    bss	    dec	    hex	filename
 109830	  10226	  11620	 131676	  2025c	./u-boot
Configuring for M54418TWR_serial_mii - Board: M54418TWR, Options: CF_SBF,SYS_SERIAL_BOOT,SYS_TEXT_BASE=0x47E00000,SYS_INPUT_CLKSRC=25000000
   text	   data	    bss	    dec	    hex	filename
 110939	  10362	  11620	 132921	  20739	./u-boot
Configuring for M54418TWR_serial_rmii - Board: M54418TWR, Options: CF_SBF,SYS_SERIAL_BOOT,SYS_TEXT_BASE=0x47E00000,SYS_INPUT_CLKSRC=50000000
   text	   data	    bss	    dec	    hex	filename
 110939	  10362	  11620	 132921	  20739	./u-boot
Configuring for M54451EVB - Board: M54451EVB, Options: SYS_TEXT_BASE=0x00000000,SYS_INPUT_CLKSRC=24000000
   text	   data	    bss	    dec	    hex	filename
 124083	  11792	  21220	 157095	  265a7	./u-boot
Configuring for M54451EVB_stmicro - Board: M54451EVB, Options: CF_SBF,SYS_STMICRO_BOOT,SYS_TEXT_BASE=0x47e00000,SYS_INPUT_CLKSRC=24000000
   text	   data	    bss	    dec	    hex	filename
 123716	  11784	  21224	 156724	  26434	./u-boot
Configuring for M54455EVB - Board: M54455EVB, Options: SYS_ATMEL_BOOT,SYS_TEXT_BASE=0x04000000,SYS_INPUT_CLKSRC=33333333
   text	   data	    bss	    dec	    hex	filename
 167701	  13486	 221212	 402399	  623df	./u-boot
Configuring for M54455EVB_a66 - Board: M54455EVB, Options: SYS_ATMEL_BOOT,SYS_TEXT_BASE=0x04000000,SYS_INPUT_CLKSRC=66666666
   text	   data	    bss	    dec	    hex	filename
 167701	  13486	 221212	 402399	  623df	./u-boot
Configuring for M54455EVB_i66 - Board: M54455EVB, Options: SYS_INTEL_BOOT,SYS_TEXT_BASE=0x00000000,SYS_INPUT_CLKSRC=66666666
   text	   data	    bss	    dec	    hex	filename
 167663	  13486	 221212	 402361	  623b9	./u-boot
Configuring for M54455EVB_intel - Board: M54455EVB, Options: SYS_INTEL_BOOT,SYS_TEXT_BASE=0x00000000,SYS_INPUT_CLKSRC=33333333
   text	   data	    bss	    dec	    hex	filename
 167663	  13486	 221212	 402361	  623b9	./u-boot
Configuring for M54455EVB_stm33 - Board: M54455EVB, Options: SYS_STMICRO_BOOT,CF_SBF,SYS_TEXT_BASE=0x4FE00000,SYS_INPUT_CLKSRC=33333333
   text	   data	    bss	    dec	    hex	filename
 167504	  13486	 221212	 402202	  6231a	./u-boot
Configuring for M5475AFE - Board: M5475EVB, Options: SYS_BUSCLK=133333333,SYS_BOOTSZ=2,SYS_DRAMSZ=64
   text	   data	    bss	    dec	    hex	filename
 165234	  17308	 151404	 333946	  5187a	./u-boot
Configuring for M5475BFE - Board: M5475EVB, Options: SYS_BUSCLK=133333333,SYS_BOOTSZ=2,SYS_DRAMSZ=64,SYS_NOR1SZ=16
   text	   data	    bss	    dec	    hex	filename
 165802	  17308	 152172	 335282	  51db2	./u-boot
Configuring for M5475CFE - Board: M5475EVB, Options: SYS_BUSCLK=133333333,SYS_BOOTSZ=2,SYS_DRAMSZ=64,SYS_NOR1SZ=16,SYS_VIDEO,SYS_USBCTRL
   text	   data	    bss	    dec	    hex	filename
 165802	  17308	 152172	 335282	  51db2	./u-boot
Configuring for M5475DFE - Board: M5475EVB, Options: SYS_BUSCLK=133333333,SYS_BOOTSZ=2,SYS_DRAMSZ=64,SYS_USBCTRL
   text	   data	    bss	    dec	    hex	filename
 165234	  17308	 151404	 333946	  5187a	./u-boot
Configuring for M5475EFE - Board: M5475EVB, Options: SYS_BUSCLK=133333333,SYS_BOOTSZ=2,SYS_DRAMSZ=64,SYS_VIDEO,SYS_USBCTRL
   text	   data	    bss	    dec	    hex	filename
 165234	  17308	 151404	 333946	  5187a	./u-boot
Configuring for M5475FFE - Board: M5475EVB, Options: SYS_BUSCLK=133333333,SYS_BOOTSZ=2,SYS_DRAMSZ=64,SYS_NOR1SZ=32,SYS_VIDEO,SYS_USBCTRL,SYS_DRAMSZ1=64
   text	   data	    bss	    dec	    hex	filename
 165838	  17308	 152172	 335318	  51dd6	./u-boot
Configuring for M5475GFE - Board: M5475EVB, Options: SYS_BUSCLK=133333333,SYS_BOOTSZ=4,SYS_DRAMSZ=64
   text	   data	    bss	    dec	    hex	filename
 165234	  17308	 151404	 333946	  5187a	./u-boot
Configuring for M5485AFE - Board: M5485EVB, Options: SYS_BUSCLK=100000000,SYS_BOOTSZ=2,SYS_DRAMSZ=64
   text	   data	    bss	    dec	    hex	filename
 164704	  17264	 151404	 333372	  5163c	./u-boot
Configuring for M5485BFE - Board: M5485EVB, Options: SYS_BUSCLK=100000000,SYS_BOOTSZ=2,SYS_DRAMSZ=64,SYS_NOR1SZ=16
   text	   data	    bss	    dec	    hex	filename
 165272	  17264	 152172	 334708	  51b74	./u-boot
Configuring for M5485CFE - Board: M5485EVB, Options: SYS_BUSCLK=100000000,SYS_BOOTSZ=2,SYS_DRAMSZ=64,SYS_NOR1SZ=16,SYS_VIDEO,SYS_USBCTRL
   text	   data	    bss	    dec	    hex	filename
 165272	  17264	 152172	 334708	  51b74	./u-boot
Configuring for M5485DFE - Board: M5485EVB, Options: SYS_BUSCLK=100000000,SYS_BOOTSZ=2,SYS_DRAMSZ=64,SYS_USBCTRL
   text	   data	    bss	    dec	    hex	filename
 164704	  17264	 151404	 333372	  5163c	./u-boot
Configuring for M5485EFE - Board: M5485EVB, Options: SYS_BUSCLK=100000000,SYS_BOOTSZ=2,SYS_DRAMSZ=64,SYS_VIDEO,SYS_USBCTRL
   text	   data	    bss	    dec	    hex	filename
 164704	  17264	 151404	 333372	  5163c	./u-boot
Configuring for M5485FFE - Board: M5485EVB, Options: SYS_BUSCLK=100000000,SYS_BOOTSZ=2,SYS_DRAMSZ=64,SYS_NOR1SZ=32,SYS_VIDEO,SYS_USBCTRL,SYS_DRAMSZ1=64
   text	   data	    bss	    dec	    hex	filename
 165308	  17264	 152172	 334744	  51b98	./u-boot
Configuring for M5485GFE - Board: M5485EVB, Options: SYS_BUSCLK=100000000,SYS_BOOTSZ=4,SYS_DRAMSZ=64
   text	   data	    bss	    dec	    hex	filename
 164704	  17264	 151404	 333372	  5163c	./u-boot
Configuring for M5485HFE - Board: M5485EVB, Options: SYS_BUSCLK=100000000,SYS_BOOTSZ=2,SYS_DRAMSZ=64,SYS_NOR1SZ=16,SYS_VIDEO
   text	   data	    bss	    dec	    hex	filename
 165272	  17264	 152172	 334708	  51b74	./u-boot
Configuring for M5253EVBE board...
   text	   data	    bss	    dec	    hex	filename
 135677	   9760	 200128	 345565	  545dd	./u-boot

--------------------- SUMMARY ----------------------------
Boards compiled: 48
----------------------------------------------------------



Masahiro Yamada (2):
  m68k: fix an undefined behavior warning of M5253DEMO board
  m68k: define __kernel_size_t as unsinged int again

 arch/m68k/include/asm/posix_types.h |  2 +-
 board/freescale/m5253demo/flash.c   | 10 ++++++----
 2 files changed, 7 insertions(+), 5 deletions(-)

-- 
1.9.1



More information about the U-Boot mailing list