Dear Bo Shen, > Hi Joel Fernandes, > > On 09/05/2013 07:55 AM, Joel Fernandes wrote: > > As seen on GCC 4.6 Linaro compiler, control_req buffer is not aligned > > on 4 byte boundaray causing data aborts in eth_setup -> conf_buf > > during dhcp boot over usb_ether. Fix the issue my aligning control_req > > buffer using DEFINE_CACHE_ALIGN_BUFFER. > > > > Tested on am335x_evm platform (beaglebone). > > Applies on 2013.10-rc1 branch. > > > > Cc: Tom Rini <tr...@ti.com> > > Cc: Marek Vasut <ma...@denx.de> > > Signed-off-by: Joel Fernandes <jo...@ti.com> > > --- > > > > v2 changes: > > - Using DEFINE_CACHE_ALIGN_BUFFER macro for the alignment. > > - Also fixed alignment for status_req. > > > > v3 changes: > > - Adjusted commit message for v2 change. > > > > drivers/usb/gadget/ether.c | 5 +++-- > > 1 file changed, 3 insertions(+), 2 deletions(-) > > Test on sama5d3xek board with RNDIS gadget, it still has the unaligned > access issue. > > However, I test with this patch "usb: gadget: config: fix unaligned > access issues" from: Troy Kisky <troy.ki...@boundarydevices.com> really > fix the unaligned access issue. > > more information at: http://patchwork.ozlabs.org/patch/264151/
Troy, care to fix up the patch's commit log so I can try and understand it? Best regards, Marek Vasut _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot