Subject: port-arm32/21352: evbarm port fails "make release" due to image size overflow
To: None <gnats-bugs@gnats.netbsd.org>
From: None <he@netbsd.org>
List: netbsd-bugs
Date: 04/29/2003 01:07:54
>Number:         21352
>Category:       port-arm32
>Synopsis:       evbarm port fails "make release" due to image size overflow
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-arm32-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 28 23:08:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Havard Eidnes
>Release:        NetBSD 1.6R Apr 28 2003
>Organization:
	Unorganized, Inc.
>Environment:
System: (host system) NetBSD stegg.urc.uninett.no 1.6P NetBSD 1.6P (STEGG.MP) #1: Fri Mar 14 14:58:00 CET 2003  he@stegg.urc.uninett.no:/sys/arch/i386/compile/STEGG.MP i386
Architecture: arm32
Machine: evbarm
>Description:
	Try to build an evbarm release.  Watch tail of log:

all ===> evbarm/gzboot/gzimg
Populating gzimg_ADI_BRH_sd0_flash_0x00140000
rm -f gzimg_ADI_BRH_sd0_flash_0x00140000.kern.gz
gzip -9c /usr/users/he/src/sys/arch/evbarm/compile/obj.evbarm/ADI_BRH/netbsd-sd0.bin > gzimg_ADI_BRH_sd0_flash_0x00140000.kern.gz
cp /usr/users/he/src/distrib/evbarm/gzboot/gzboot_ADI_BRH_flash_0x00140000/obj.evbarm/gzboot_ADI_BRH_0x00140000.sym gzimg_ADI_BRH_sd0_flash_0x00140000
/usr/tools/bin/arm--netbsdelf-mdsetimage -v -s gzimg_ADI_BRH_sd0_flash_0x00140000 gzimg_ADI_BRH_sd0_flash_0x00140000.kern.gz
got symbols from gzimg_ADI_BRH_sd0_flash_0x00140000
mapped gzimg_ADI_BRH_sd0_flash_0x00140000
copying image gzimg_ADI_BRH_sd0_flash_0x00140000.kern.gz into gzimg_ADI_BRH_sd0_flash_0x00140000
done copying image
setting md_root_size to 1189139
exiting
/usr/tools/bin/arm--netbsdelf-objcopy -O binary gzimg_ADI_BRH_sd0_flash_0x00140000 gzimg_ADI_BRH_sd0_flash_0x00140000
rm -f gzimg_ADI_BRH_sd0_flash_0x00140000.gz
gzip -9c gzimg_ADI_BRH_sd0_flash_0x00140000 > gzimg_ADI_BRH_sd0_flash_0x00140000.gz
Populating gzimg_ADI_BRH_wd0_flash_0x00140000
rm -f gzimg_ADI_BRH_wd0_flash_0x00140000.kern.gz
gzip -9c /usr/users/he/src/sys/arch/evbarm/compile/obj.evbarm/ADI_BRH/netbsd-wd0.bin > gzimg_ADI_BRH_wd0_flash_0x00140000.kern.gz
cp /usr/users/he/src/distrib/evbarm/gzboot/gzboot_ADI_BRH_flash_0x00140000/obj.evbarm/gzboot_ADI_BRH_0x00140000.sym gzimg_ADI_BRH_wd0_flash_0x00140000
/usr/tools/bin/arm--netbsdelf-mdsetimage -v -s gzimg_ADI_BRH_wd0_flash_0x00140000 gzimg_ADI_BRH_wd0_flash_0x00140000.kern.gz
got symbols from gzimg_ADI_BRH_wd0_flash_0x00140000
mapped gzimg_ADI_BRH_wd0_flash_0x00140000
copying image gzimg_ADI_BRH_wd0_flash_0x00140000.kern.gz into gzimg_ADI_BRH_wd0_flash_0x00140000
done copying image
setting md_root_size to 1189140
exiting
/usr/tools/bin/arm--netbsdelf-objcopy -O binary gzimg_ADI_BRH_wd0_flash_0x00140000 gzimg_ADI_BRH_wd0_flash_0x00140000
rm -f gzimg_ADI_BRH_wd0_flash_0x00140000.gz
gzip -9c gzimg_ADI_BRH_wd0_flash_0x00140000 > gzimg_ADI_BRH_wd0_flash_0x00140000.gz
Populating gzimg_IQ80310_sd0_flash_0x00080000
rm -f gzimg_IQ80310_sd0_flash_0x00080000.kern.gz
gzip -9c /usr/users/he/src/sys/arch/evbarm/compile/obj.evbarm/IQ80310/netbsd-sd0.bin > gzimg_IQ80310_sd0_flash_0x00080000.kern.gz
cp /usr/users/he/src/distrib/evbarm/gzboot/gzboot_IQ80310_flash_0x00080000/obj.evbarm/gzboot_IQ80310_0x00080000.sym gzimg_IQ80310_sd0_flash_0x00080000
/usr/tools/bin/arm--netbsdelf-mdsetimage -v -s gzimg_IQ80310_sd0_flash_0x00080000 gzimg_IQ80310_sd0_flash_0x00080000.kern.gz
got symbols from gzimg_IQ80310_sd0_flash_0x00080000
mapped gzimg_IQ80310_sd0_flash_0x00080000
arm--netbsdelf-mdsetimage: fs image (1189935 bytes) too big for buffer (1048576 bytes)
*** Error code 1

Stop.
nbmake: stopped in /usr/users/he/src/distrib/evbarm/gzboot/gzimg
*** Error code 1


>How-To-Repeat:
	See above.

>Fix:
	Don't know quite yet.
>Release-Note:
>Audit-Trail:
>Unformatted: