Bug 11396

Summary: uboot environment image checksum invalid if target is big endian
Product: buildroot Reporter: Jeff Wittrock <jwittrock>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: buildroot
Priority: P5    
Version: 2018.05.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Host: Target:
Build:
Attachments: patch to fix

Description Jeff Wittrock 2018-10-11 21:35:41 UTC
Created attachment 7811 [details]
patch to fix

If the target architecture is Big endian, building a u-boot environment image is creating an image with an invalid checksum.

The problem is caused by buildroot/boot/uboot/uboot.mk testing $(BR2_ENDIAN) for a value of BIG instead of quoted "BIG".

patch to fix is attached.
Comment 1 Thomas Petazzoni 2018-10-14 19:14:24 UTC
Thanks for the bug report and fix! Applied in https://git.buildroot.org/buildroot/commit/?id=d6fcf044a747284df4eddaf106082ebb571976b3.

Next time, you could also just send a patch to the mailing list, so that we can easily preserve your authorship. Thanks!