net, cmd: fix misaligned cache operation warning
PATCH 1/1 net, cmd: fix misaligned cache operation warning
when using tftp on the smartweb board, it prints, when using the tftp command:
Using ethernet at fffc4000 device
TFTP from server 192.168.1.1; our IP address is 192.168.20.80 Filename '/tftpboot/smartweb_hw/tbot/u-boot.bin'. Load address: 0x21000000
Loading: ###########################
73.2 KiB/s
done
Bytes transferred = 391560 (5f988 hex)
CACHE: Misaligned operation at range [21000000, 2105f988] U-Boot#
Fixing this.
---
cmd/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
cmd/net.c +1 -1
@@ -244,7 +244,7 @@ static int netboot_common(enum proto_t proto, cmd_tbl_t *cmdtp, int argc, }/* flush cache */ -flush_cache (load_addr, size); +flush_cache (load_addr,ALIGN (size,CONFIG_SYS_CACHELINE_SIZE ));bootstage_mark (BOOTSTAGE_ID_NET_LOADED );
Signature · 1 line
2.5.5
Tom Rini
NAKQuoted 9 lines · Heiko Schocher
when using tftp on the smartweb board, it prints, when using the tftp command:
Using ethernet at
fffc4000device
TFTP from server 192.168.1.1; our IP address is 192.168.20.80 Filename '/tftpboot/smartweb_hw/tbot/u-boot.bin'. Load address:0x21000000
Loading: ###########################73.2 KiB/s
Quoted 8 lines
done
Bytes transferred = 391560 (5f988 hex)
CACHE: Misaligned operation at range [21000000,2105f988] U-Boot#Fixing this.
Signed-off-by Heiko Schocher <[email protected]>
NAK, we need to sort out:
xtensa: + xtfpga avr32: + atngw100mkii grasshopper atstk1002 atngw100
sparc: + gr_cpci_ax2000 gr_xc3s_1500 gr_ep2s60
microblaze: + microblaze-genericLacking a define for CONFIG_SYS_CACHELINE_SIZE first.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161002/5ae6cd00/attachment.sig>
Hi Tom,
Quoted 18 lines · Tom Rini
Quoted 16 lines · Heiko Schocher
when using tftp on the smartweb board, it prints, when using the tftp command:
Using ethernet at
fffc4000device
TFTP from server 192.168.1.1; our IP address is 192.168.20.80 Filename '/tftpboot/smartweb_hw/tbot/u-boot.bin'. Load address:0x21000000
Loading: ###########################73.2 KiB/sdone
Bytes transferred = 391560 (5f988 hex)
CACHE: Misaligned operation at range [21000000,2105f988] U-Boot#Fixing this.
Quoted 8 lines
Quoted 1 line
Signed-off-by Heiko Schocher <[email protected]>NAK, we need to sort out:
xtensa: + xtfpga avr32: + atngw100mkii grasshopper atstk1002 atngw100 sparc: + gr_cpci_ax2000 gr_xc3s_1500 gr_ep2s60 microblaze: + microblaze-genericLacking a define for
CONFIG_SYS_CACHELINE_SIZEfirst.
https://patchwork.ozlabs.org/patch/669691/
...is the approach I prefer to take instead of this patch.
Thanks,
-Joe
Hello Joe, Tom,
Am 02.10.2016 um 14:06 schrieb Joe Hershberger:
Quoted 28 lines
Hi Tom,
Quoted 25 lines · Tom Rini
Quoted 9 lines · Heiko Schocher
when using tftp on the smartweb board, it prints, when using the tftp command:
Using ethernet at
fffc4000device
TFTP from server 192.168.1.1; our IP address is 192.168.20.80 Filename '/tftpboot/smartweb_hw/tbot/u-boot.bin'. Load address:0x21000000
Loading: ###########################73.2 KiB/sQuoted 8 lines
done
Bytes transferred = 391560 (5f988 hex)
CACHE: Misaligned operation at range [21000000,2105f988] U-Boot#Fixing this.
Signed-off-by Heiko Schocher <[email protected]>NAK, we need to sort out:
xtensa: + xtfpga avr32: + atngw100mkii grasshopper atstk1002 atngw100 sparc: + gr_cpci_ax2000 gr_xc3s_1500 gr_ep2s60microblaze: + microblaze-generic
Quoted 5 lines
Quoted 1 line
Lacking a define for
CONFIG_SYS_CACHELINE_SIZEfirst.https://patchwork.ozlabs.org/patch/669691/
...is the approach I prefer to take instead of this patch.
Yep, I already acked this patch, thanks!
bye,
Heiko
Signature · 2 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Quoted 31 lines · Heiko Schocher
Hello Joe, Tom,
Am 02.10.2016 um 14:06 schrieb Joe Hershberger:
Quoted 28 lines
Hi Tom,
Quoted 25 lines · Tom Rini
Quoted 9 lines · Heiko Schocher
when using tftp on the smartweb board, it prints, when using the tftp command:
Using ethernet at
fffc4000device
TFTP from server 192.168.1.1; our IP address is 192.168.20.80 Filename '/tftpboot/smartweb_hw/tbot/u-boot.bin'. Load address:0x21000000
Loading: ###########################73.2 KiB/sQuoted 8 lines
done
Bytes transferred = 391560 (5f988 hex)
CACHE: Misaligned operation at range [21000000,2105f988] U-Boot#Fixing this.
Signed-off-by Heiko Schocher <[email protected]>NAK, we need to sort out:
xtensa: + xtfpga avr32: + atngw100mkii grasshopper atstk1002 atngw100 sparc: + gr_cpci_ax2000 gr_xc3s_1500 gr_ep2s60 microblaze: + microblaze-generic
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
Lacking a define for
CONFIG_SYS_CACHELINE_SIZEfirst.https://patchwork.ozlabs.org/patch/669691/
...is the approach I prefer to take instead of this patch.
Yep, I already acked this patch, thanks!
OK. Then please try and either NAK in email, or modify in patchwork so I don't miss things. Thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161004/b2a57293/attachment.sig>
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Joe" == Joe Hershberger <[email protected]> writes:
Lacking a define for
CONFIG_SYS_CACHELINE_SIZEfirst.
Joe> https://patchwork.ozlabs.org/patch/669691/
Joe> ...is the approach I prefer to take instead of this patch.
Is there anything more I need to do to push this patch?
Signature · 2 lines
Dr Peter Chubb Tel: +61 2 9490 5852 http://ts.data61.csiro.au/ Trustworthy Systems Group Data61 (formerly NICTA)