[U-Boot] AP94 u-boot network failure

dontz dony74 at gmail.com
Sat Apr 12 01:04:56 CEST 2014


Compilation has some warning below

In file included from
/home/dony71/Project/VIZIO_1.01.02/boot/u-boot-1.1.4/include/common.h:102,
                 from bzlib.c:2:
/home/dony71/Project/VIZIO_1.01.02/boot/u-boot-1.1.4/include/image.h:129:1:
warning: "CONFIG_LZMA" redefined
<command line>:5:1: warning: this is the location of the previous definition
In file included from
/home/dony71/Project/VIZIO_1.01.02/boot/u-boot-1.1.4/include/common.h:102,
                 from bzlib_decompress.c:2:
/home/dony71/Project/VIZIO_1.01.02/boot/u-boot-1.1.4/include/image.h:129:1:
warning: "CONFIG_LZMA" redefined
<command line>:5:1: warning: this is the location of the previous definition
In file included from
/home/dony71/Project/VIZIO_1.01.02/boot/u-boot-1.1.4/include/common.h:102,
                 from crc32.c:12:
/home/dony71/Project/VIZIO_1.01.02/boot/u-boot-1.1.4/include/image.h:129:1:
warning: "CONFIG_LZMA" redefined
<command line>:5:1: warning: this is the location of the previous definition
In file included from
/home/dony71/Project/VIZIO_1.01.02/boot/u-boot-1.1.4/include/common.h:102,
                 from display_options.c:24:
/home/dony71/Project/VIZIO_1.01.02/boot/u-boot-1.1.4/include/image.h:129:1:
warning: "CONFIG_LZMA" redefined
<command line>:5:1: warning: this is the location of the previous definition
In file included from
/home/dony71/Project/VIZIO_1.01.02/boot/u-boot-1.1.4/include/common.h:102,
                 from vsprintf.c:17:
/home/dony71/Project/VIZIO_1.01.02/boot/u-boot-1.1.4/include/image.h:129:1:
warning: "CONFIG_LZMA" redefined
<command line>:5:1: warning: this is the location of the previous definition
LzmaDecode.c: In function `LzmaDecodeProperties':
LzmaDecode.c:127: warning: implicit declaration of function `printf'
In file included from
/home/dony71/Project/VIZIO_1.01.02/boot/u-boot-1.1.4/include/common.h:102,
                 from LzmaWrapper.c:32:
/home/dony71/Project/VIZIO_1.01.02/boot/u-boot-1.1.4/include/image.h:129:1:
warning: "CONFIG_LZMA" redefined
<command line>:5:1: warning: this is the location of the previous definition
LzmaWrapper.c: In function `lzma_inflate':
LzmaWrapper.c:149: warning: comparison between pointer and integer
LzmaWrapper.c: At top level:
LzmaWrapper.c:46: warning: 'dpos' defined but not used
LzmaTools.c: In function `lzma_inflate':
LzmaTools.c:149: warning: comparison between pointer and integer
LzmaTools.c: At top level:
LzmaTools.c:46: warning: 'dpos' defined but not used
mips-linux-ar: creating lib_lzma.a
cmd_boot.c: In function `do_go':
cmd_boot.c:63: warning: passing arg 1 of pointer to function makes integer
from pointer without a cast
cmd_bootm.c:157:1: warning: "CONFIG_LZMA" redefined
In file included from
/home/dony71/Project/VIZIO_1.01.02/boot/u-boot-1.1.4/include/common.h:102,
                 from cmd_bootm.c:27:
/home/dony71/Project/VIZIO_1.01.02/boot/u-boot-1.1.4/include/image.h:129:1:
warning: this is the location of the previous definition
cmd_bootm.c: In function `do_bootm':
cmd_bootm.c:327: warning: implicit declaration of function
`mips_cache_flush'
xyzModem.c: In function `zm_flush':
xyzModem.c:266: warning: unused variable `p'
xyzModem.c: In function `xyzModem_stream_open':
xyzModem.c:455: warning: unused variable `console_chan'
ap94.c: In function `ar7100_mem_config':
ap94.c:46: warning: implicit declaration of function `ar7100_ddr_find_size'
../common/ar7100_flash.c:28:1: warning: "display" redefined
In file included from ../common/ar7100_flash.c:21:
../common/ar7100_flash.h:41:1: warning: this is the location of the previous
definition
../common/ar7100_flash.c:39: warning: function declaration isn't a prototype
../common/ar7100_flash.c:43: warning: function declaration isn't a prototype
../common/ar7100_flash.c:53: warning: function declaration isn't a prototype
../common/ar7100_flash.c: In function `flash_init':
../common/ar7100_flash.c:86: warning: passing arg 1 of `flash_get_geom' from
incompatible pointer type
../common/ar7100_flash.c:70: warning: unused variable `i'
../common/ar7100_flash.c:71: warning: unused variable `rd'
ap94_pci.c: In function `plat_dev_init':
ap94_pci.c:92: warning: implicit declaration of function
`ar7100_pci_write_config'
ap94_pci.c: At top level:
ap94_pci.c:310: warning: static declaration of 'ar7100_pci_write_config'
follows non-static declaration
ap94_pci.c:92: warning: previous implicit declaration of
'ar7100_pci_write_config' was here
ap94_pci.c: In function `pci_init_board':
ap94_pci.c:429: warning: `return' with a value, in function returning void
ap94_pci.c:362: warning: unused variable `val'
cpu.c: In function `flush_cache':
cpu.c:74: warning: implicit declaration of function `dcache_flush_range'
cpu.c:68: warning: unused variable `i'
ag7100.c:54: warning: return type defaults to `int'
ag7100.c: In function `ag7100_check_link':
ag7100.c:289: warning: unused variable `fdx'
ag7100.c:289: warning: unused variable `i'
ag7100.c: In function `ag7100_mac_addr_loc':
ag7100.c:513: warning: unused variable `flash_info'
ag7100.c: In function `pkt_push':
ag7100.c:60: warning: control reaches end of non-void function
ag7100.c: At top level:
ag7100.c:249: warning: 'is_setup_done' defined but not used
meminit.c: In function `ar7100_ddr_tap_config':
meminit.c:93: warning: initialization makes pointer from integer without a
cast
meminit.c:93: warning: initialization makes pointer from integer without a
cast
meminit.c:117: warning: passing arg 1 of `flush_cache' makes integer from
pointer without a cast
meminit.c:137: warning: passing arg 1 of `flush_cache' makes integer from
pointer without a cast
meminit.c:91: warning: unused variable `prev'
meminit.c: In function `ar7100_ddr_get_width':
meminit.c:161: warning: initialization makes pointer from integer without a
cast
meminit.c:161: warning: initialization makes pointer from integer without a
cast
meminit.c: In function `sanity_mem_check':
meminit.c:197: warning: initialization makes pointer from integer without a
cast
meminit.c: In function `ar7100_ddr_find_size':
meminit.c:220: warning: initialization makes pointer from integer without a
cast
meminit.c:221: warning: unused variable `incr'
meminit.c: In function `ar7100_ddr_tap_config':
meminit.c:92: warning: 'floor' might be used uninitialized in this function
meminit.c:92: warning: 'ceiling' might be used uninitialized in this
function
net.c: In function `NetLoop':
net.c:514: warning: label `skip_netloop' defined but not used
net.c: In function `NetStartAgain':
net.c:643: warning: integer overflow in expression
net.c: In function `PingStart':
net.c:819: warning: integer overflow in expression
eth.c: In function `eth_initialize':
eth.c:235: warning: implicit declaration of function
`ag7100_enet_initialize'
nfs.c: In function `NfsHandler':
nfs.c:673: warning: integer overflow in expression
nfs.c: In function `NfsStart':
nfs.c:762: warning: integer overflow in expression
pci_indirect.c: In function `indirect_read_config_byte':
pci_indirect.c:110: warning: implicit declaration of function `out_le32'
pci_indirect.c:110: warning: implicit declaration of function `in_8'
pci_indirect.c: In function `indirect_read_config_word':
pci_indirect.c:111: warning: implicit declaration of function `in_le16'
pci_indirect.c: In function `indirect_read_config_dword':
pci_indirect.c:112: warning: implicit declaration of function `in_le32'
pci_indirect.c: In function `indirect_write_config_byte':
pci_indirect.c:118: warning: implicit declaration of function `out_8'
pci_indirect.c: In function `indirect_write_config_word':
pci_indirect.c:119: warning: implicit declaration of function `out_le16'



--
View this message in context: http://u-boot.10912.n7.nabble.com/AP94-u-boot-network-failure-tp177671p177873.html
Sent from the U-Boot mailing list archive at Nabble.com.


More information about the U-Boot mailing list