[Buildroot] Tslib patch problem

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Aug 4 14:40:14 UTC 2017


Hello,

On Fri, 4 Aug 2017 11:06:07 +0200, Marcin Barański wrote:

> buildroot for myd-sama5d3x board on ubuntu i get an error. Can you help
> me to get this work fine?
> 
> root at ubuntu:/opt/linux/Buildroot-at91/buildroot-at91# make

Where is your U-Boot coming from ? Atmel no longer has its own
Buildroot fork, they recommend to use the mainline Buildroot:

  http://www.at91.com/linux4sam/bin/view/Linux4SAM/BuildRootBuild#How_to_build_Buildroot_for_AT91

In addition, running Buildroot as root is not recommended.

> >>> tslib 412d99d Patching package//tslib  
> 
> Applying tslib_add_finddef_and_inputattach_utils.patch using patch:
> patching file tests/Makefile.am
> Hunk #1 FAILED at 12.
> Hunk #2 FAILED at 27.
> 2 out of 2 hunks FAILED -- saving rejects to file tests/Makefile.am.rej

The patch tslib_add_finddef_and_inputattach_utils.patch in
package/tslib doesn't apply. This patch doesn't exist in the official
Buildroot, so it's a problem on your side: you have added a patch that
doesn't apply.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list