Skip to contentSkip to conversation

Now all the M68K boards can be cleanly built

PATCH New Masahiro Yamada 2 participants 6 messages Jul 22, 2014 m68k architecture

lore
Share & tools
lore
#0 lore raw

cover Now all the M68K boards can be cleanly built

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(-)
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/2 m68k: fix an undefined behavior warning of M5253DEMO board

The latest GCC is so clever that it reports more warnings than old ones did:

------------------------------>8------------------------------

  board/freescale/m5253demo/flash.c: In function 'flash_get_offsets':
  board/freescale/m5253demo/flash.c:65:23: warning: iteration 2047u
  invokes undefined behavior [-Waggressive-loop-optimizations]
      info->start[k + 1] = info->start[k] + CONFIG_SYS_SST_SECTSZ;
                         ^
  board/freescale/m5253demo/flash.c:64:3: note: containing loop
     for (k = 0, j = 0; j < CONFIG_SYS_SST_SECT; j++, k++) {
     ^

------------------------------8<------------------------------

The cause of the warning is like this:

The for statement iterates 2048 times in flash_get_offsets() func. (Notice CONFIG_SYS_SST_SECT is defined as 2048)

The last iteration does
info->start[2048] = info->start[2047] + CONFIG_SYS_SST_SECTSZ;
causing an undefined behavior.

(Please note the array size of info->start is 2048. CONFIG_SYS_MAX_FLASH_SECT is defined as 2048 for this board.)

This commit fixes that so as not to overrun the info->start array.

---

 board/freescale/m5253demo/flash.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
board/freescale/m5253demo/flash.c +6 -4
index 16bba59..071701d 100644
@@ -56,14 +56,16 @@ ulong flash_init(void)
 
 int flash_get_offsets(ulong base, flash_info_t * info)
 {
-	int j, k;
+	int i;
 
 	if ((info->flash_id & FLASH_VENDMASK) == FLASH_MAN_SST) {
 
 		info->start[0] = base;
-		for (k = 0, j = 0; j < CONFIG_SYS_SST_SECT; j++, k++) {
-			info->start[k + 1] = info->start[k] + CONFIG_SYS_SST_SECTSZ;
-			info->protect[k] = 0;
+		info->protect[0] = 0;
+		for (i = 1; i < CONFIG_SYS_SST_SECT; i++) {
+			info->start[i] = info->start[i - 1]
+						+ CONFIG_SYS_SST_SECTSZ;
+			info->protect[i] = 0;
 		}
 	}
 
Signature · 1 line
1.9.1
#2 lore raw

PATCH 1/2 m68k: fix an undefined behavior warning of M5253DEMO board

Quoted 25 lines · Masahiro Yamada

The latest GCC is so clever that it reports more warnings than old ones did:

------------------------------>8------------------------------

  board/freescale/m5253demo/flash.c: In function 'flash_get_offsets':
  board/freescale/m5253demo/flash.c:65:23: warning: iteration 2047u
  invokes undefined behavior [-Waggressive-loop-optimizations]
      info->start[k + 1] = info->start[k] + CONFIG_SYS_SST_SECTSZ;
                         ^
  board/freescale/m5253demo/flash.c:64:3: note: containing loop
     for (k = 0, j = 0; j < CONFIG_SYS_SST_SECT; j++, k++) {
     ^

------------------------------8<------------------------------

The cause of the warning is like this:

The for statement iterates 2048 times in flash_get_offsets() func. (Notice CONFIG_SYS_SST_SECT is defined as 2048)

The last iteration does
info->start[2048] = info->start[2047] + CONFIG_SYS_SST_SECTSZ;
causing an undefined behavior.

Quoted 7 lines

(Please note the array size of info->start is 2048. CONFIG_SYS_MAX_FLASH_SECT is defined as 2048 for this board.)

This commit fixes that so as not to overrun the info->start array.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140722/84f4f2f0/attachment.pgp>
#3 lore raw

PATCH 2/2 m68k: define __kernel_size_t as unsinged int again

In reply to Masahiro Yamada

Commit ddc94378d changed the definition of __kernel_size_t from unsigned int to unsigned long.

It is true that it fixed warnings on some crosstools but it increased warnings on the others.

The problem is that we cannot see consistency in terms of the typedef of __kernel_size_t on M68K architecture.

However, I'd like to suggest to have __kernel_size_t to be unsigned int again.

Rationale:

[1] Linux Kernel defines __kernel_size_t on M68K as unsigned int. Let's stick to the Linux's way.

[2] We want to build boards with popular pre-built toolchains, not the one locally-built by indivisuals.
I think m68-linux-gcc which can be downloaded from www.kernel.org is the candidate for our _recommended_ toolchains.

With this patch, all the m68k boards can be built without any warnings.

Give it a try with the following crosstools:

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

or

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

(The latter is newer.)

---

 arch/m68k/include/asm/posix_types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/m68k/include/asm/posix_types.h +1 -1
index b97d267..4fbc040 100644
@@ -15,7 +15,7 @@ typedef long		__kernel_off_t;
 typedef int		__kernel_pid_t;
 typedef unsigned int	__kernel_uid_t;
 typedef unsigned int	__kernel_gid_t;
-typedef unsigned long	__kernel_size_t;
+typedef unsigned int	__kernel_size_t;
 typedef int		__kernel_ssize_t;
 typedef long		__kernel_ptrdiff_t;
 typedef long		__kernel_time_t;
Signature · 1 line
1.9.1
#4 lore raw

PATCH 2/2 m68k: define __kernel_size_t as unsinged int again

Quoted 31 lines · Masahiro Yamada

Commit ddc94378d changed the definition of __kernel_size_t from unsigned int to unsigned long.

It is true that it fixed warnings on some crosstools but it increased warnings on the others.

The problem is that we cannot see consistency in terms of the typedef of __kernel_size_t on M68K architecture.

However, I'd like to suggest to have __kernel_size_t to be unsigned int again.

Rationale:

[1] Linux Kernel defines __kernel_size_t on M68K as unsigned int. Let's stick to the Linux's way.

[2] We want to build boards with popular pre-built toolchains, not the one locally-built by indivisuals.
I think m68-linux-gcc which can be downloaded from www.kernel.org is the candidate for our _recommended_ toolchains.

With this patch, all the m68k boards can be built without any warnings.

Give it a try with the following crosstools:

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

or

Quoted 8 lines

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

(The latter is newer.)

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140722/200b095f/attachment.pgp>
#5 lore raw

cover Now all the M68K boards can be cleanly built

In reply to Masahiro Yamada
Quoted 171 lines · Masahiro Yamada

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
----------------------------------------------------------

Quoted 7 lines

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(-)

Yaaay, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140722/d7924e06/attachment.pgp>