[U-Boot] Reg Bootstrapping on x86-64 for tizen

manohar.betham at smartplayin.com manohar.betham at smartplayin.com
Fri Nov 30 10:01:57 CET 2012


Hi,
I did following steps to compile u-boot on x86-64.
 

U-boot Build procedure 
The following command sequence is used to build the u-boot for the particular board. 
->To remove ALL files made by by make,configure
 
make distclean 
 
To configure the x86 32 bit based board for the target we have taken the coreboot

 
make coreboot-x86_config
 
To build the coreboot-x86 run the below command
 
make all
 
->if the following error [-Werror=unused-but-set-variable]
ext4fs.c: In function ‘ext4fs_write_file’:
ext4fs.c:933:6: error: variable ‘delayed_skipfirst’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[1]: *** [ext4fs.o] Error 1
make[1]: Leaving directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/fs/ext4'
make: *** [fs/ext4/libext4fs.o] Error 2 
 
“__maybe_unused” in front of variable declaration
 
 
vim fs/ext4/ext4fs.c +122
 
for example __maybe_unused int delayed_skipfirst = 0;
 
 
2)if the error comes from the “/usr/bin/ld.bfd.real: cannot find -lgcc ”
 
sudo apt-get install ia32-libs 
export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu 
 
As of now i required the procedure to build Tizen kernel on my x86-64 bit machine.
 
Please help me to build it or send me the procedure.
 
Thank you!
Best Regards,
Manohar


-----Original Message-----
From: "Simon Glass" <sjg at chromium.org>
Sent: Thursday, November 29, 2012 1:25am
To: manohar.betham at smartplayin.com
Cc: "Graeme Russ" <graeme.russ at gmail.com>, "Marek Vasut" <marex at denx.de>, u-boot at lists.denx.de
Subject: Re: Reg Bootstrapping on x86-64 for tizen



Hi,

On Tue, Nov 27, 2012 at 3:22 AM,  <manohar.betham at smartplayin.com> wrote:
> Dear All,
>
>
>
> I am Manohar ,have compiled the u-boot on x86 64 bit machine using
> coreboot-x86.
>
>
>
> Please help me / send me the procedure of bootstrapping steps of it for
> Tizen kernel.

Do you have coreboot working correctly on the platform? There is not a
lot of upstream support for creating a coreboot rom with U-Boot in it
yet.

Please can you point me to the toolchain you used, command line, etc.
I would be interested in replicating your build as I cannot build on a
x86_64 toolchain at present.

Regards,
Simon

>
>
>
> Thank you!
>
> Best Regards,
>
> Manohar
>
> 8790215215


More information about the U-Boot mailing list