AnsweredAssumed Answered

Buildroot: Unable to build uImage from live sources [Blackfin 527C]

Question asked by Soderstrom on Nov 29, 2013
Latest reply on Dec 9, 2013 by Soderstrom

Hi,

 

I'm having some trouble building the uImage from live sources.

After a couple of days work I have finally managed to build both the toolchain and bootloader.

Now it is time for the last (mayor) piece. Building the linux kernel.

 

I have the following setup

 

git clone git://git.code.sf.net/p/adi-buildroot/code sources/buildroot sources/buildroot

git clone git://git.code.sf.net/p/adi-toolchain/blackfin sources/toolchain sources/toolchain

git clone git://git.code.sf.net/p/adi-u-boot/code sources/u-boot sources/u-boot

git clone git://git.code.sf.net/p/adi-linux/code sources/uclinux sources/uclinux

(build toolchain)

(setting path to toolchain)

cd sources/buildroot

make bf527-ezkit_defconfig

make

 

Then I replace the folder sources/buildroot/linux/linux-kernel with a symlink to sources/uclinux since I am not a fan of duplicated code.

Anyways, what happends then you might ask.

 

Well this

+ diff -u ioctlent.linux.h.in linux/ioctlent.h.in
+ eend 1 ioctlent.linux.h.in ioctlent.h ioctlsort ioctlsort.i ioctls.h ioctldefs.h
+ local lret=1 header=ioctlent.linux.h.in
+ shift
+ '[' 1 -eq 0 ']'
+ echo 'FAIL! (see /home/rikard/github/adi-root/build/buildroot/build/strace-HEAD/strace-4.6/ioctlent.linux.h.in)'
FAIL! (see /home/rikard/github/adi-root/build/buildroot/build/strace-HEAD/strace-4.6/ioctlent.linux.h.in)

 

I've also attached the full log, but in principle the two files

build/strace-HEAD/strace-4.6/ioctlent.linux.h.in

build/strace-HEAD/strace-4.6/linux/ioctlent.h.in

differ, and the build does not allow it. Any ideas anyone?

 

Yours sincerely

Rikard Söderström

Attachments

Outcomes