Some SuperH boards are broken
Hello Nobuhiro
I cannot compile sh7752evb and sh7757lcr boards
because of the following error:
sh_eth.c: In function 'sh_eth_send':
sh_eth.c:57:2: warning: implicit declaration of function 'dcache_wback_range' [-Wimplicit-function-declaration] drivers/net/built-in.o: In function `sh_eth_send':/home/masahiro/u-boot-log/u-boot-4/drivers/net/sh_eth.c:87: undefined reference to dcache_wback_range' drivers/net/built-in.o: In function sh_eth_rx_desc_init':/home/masahiro/u-boot-log/u-boot-4/drivers/net/sh_eth.c:276: undefined reference to `dcache_wback_range'
I grepped the whole tree and the definition of "dcache_wback_range" function is surely missing.
Unfortunately, no board maintainter is assigned for these two boards. Could you fix them?
Or if you can't fix this issue, please both of the two boards.
And we have newly another warning message:
time.c:14:2: warning: #warning "CONFIG_SYS_HZ must be 1000 and should not be defined by platforms" [-Wcpp] for rsk7203, rsk7264, rsk7269 boards.
We need to fix boards which use CONFIG_SYS_HZ other than 1000.
Best Regards
Masahiro Yamada
Hi,
2013/11/18 Masahiro Yamada <[email protected]>:
Quoted 13 lines
Hello Nobuhiro
I cannot compile sh7752evb and sh7757lcr boards
because of the following error:
sh_eth.c: In function 'sh_eth_send':
sh_eth.c:57:2: warning: implicit declaration of function 'dcache_wback_range' [-Wimplicit-function-declaration]drivers/net/built-in.o: In function `sh_eth_send':/home/masahiro/u-boot-log/u-boot-4/drivers/net/sh_eth.c:87: undefined reference todcache_wback_range' drivers/net/built-in.o: In functionsh_eth_rx_desc_init':/home/masahiro/u-boot-log/u-boot-4/drivers/net/sh_eth.c:276: undefined reference to `dcache_wback_range'
Quoted 8 lines
I grepped the whole tree and the definition of "
dcache_wback_range" function is surely missing.Unfortunately, no board maintainter is assigned for these two boards. Could you fix them?
Or if you can't fix this issue, please both of the two boards.
Yes , I know. And I already send patches to net maintainer.
http://patchwork.ozlabs.org/patch/268947/
But these are not applied.
Quoted 7 lines
And we have newly another warning message:
time.c:14:2: warning: #warning "
CONFIG_SYS_HZmust be 1000 and should not be defined by platforms" [-Wcpp] for rsk7203, rsk7264, rsk7269 boards.We need to fix boards which use
CONFIG_SYS_HZother than 1000.
Yes , I know too.
I am working about this.
Quoted 4 lines
Best Regards
Masahiro Yamada
Best regards,
Nobuhiro
Hello Nobuhiro.
Quoted 9 lines
Quoted 8 lines
I grepped the whole tree and the definition of "
dcache_wback_range" function is surely missing.Unfortunately, no board maintainter is assigned for these two boards. Could you fix them?
Or if you can't fix this issue, please both of the two boards.
Quoted 4 lines
Yes , I know. And I already send patches to net maintainer.
http://patchwork.ozlabs.org/patch/268947/But these are not applied.
This patch worked for me. Thanks.
Quoted 10 lines
Quoted 7 lines
And we have newly another warning message:
time.c:14:2: warning: #warning "
CONFIG_SYS_HZmust be 1000 and should not be defined by platforms" [-Wcpp] for rsk7203, rsk7264, rsk7269 boards.We need to fix boards which use
CONFIG_SYS_HZother than 1000.Yes , I know too.
I am working about this.
That's OK, then.
Sorry for noise.
Best Regards
Masahiro Yamada