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

manohar.betham at smartplayin.com manohar.betham at smartplayin.com
Mon Nov 26 07:41:05 CET 2012


Hi Graeme,
 
Thank you!
 
I am compiling on x86_64 bit for coreboot-x86 32 bit target ,gcc compiler version is
(manoharb at smart-OptiPlex-390:~/Kernel_Tizen/intel_tizen/latest/u-boot$ gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc-4.6.real
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6.1/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.1-9ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) 
)
...
manoharb at smart-OptiPlex-390:~/Kernel_Tizen/intel_tizen/latest/u-boot$ ls /usr/bin/ld*
/usr/bin/ld  /usr/bin/ld.bfd  /usr/bin/ld.bfd.real  /usr/bin/ldd  /usr/bin/ld.gold  /usr/bin/ld.gold.real
manoharb at smart-OptiPlex-390:~/Kernel_Tizen/intel_tizen/latest/u-boot$
 
Please let me know the soln.
 
Thank you!
Best Regards,
Manohar


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



Hi Manohar,

On 11/24/2012 06:08 PM, manohar.betham at smartplayin.com wrote:
> 
> Hi,
>  
> I am getting the following error  after running make all for coreboot target,from /usr/bin/ld.bfd.real: skipping incompatible /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/arch/x86/lib/libgcc.a when searching for -lgcc
> /usr/bin/ld.bfd.real: cannot find -lgcc
> make: *** [u-boot] Error 1

What toolchain (and version) are you using? I've never seen ld.bfd.real before

Regards,

Graeme
>  
> Please help me.
>  
> Best Regards,
> Manohar
>  
> 
> 
> -----Original Message-----
> From: "Graeme Russ" <graeme.russ at gmail.com>
> Sent: Friday, November 23, 2012 4:23pm
> To: manohar.betham at smartplayin.com
> Cc: "Marek Vasut" <marex at denx.de>, u-boot at lists.denx.de, "Simon Glass" <sjg at chromium.org>
> Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen
> 
> 
> 
> Hi Manohar,
> 
> On 11/23/2012 09:10 PM, manohar.betham at smartplayin.com wrote:
>>
>> Dear Graeme,
>>  
>> Thank you!
>>  
>> I downloaded the u-boot-x86 on Ubuntu 11.10 loaded(Linux smart-OptiPlex-390 3.0.0-26-generic  x86_64 GNU/Linux) intel i5 M1H61R-MB montherboard from the given below link.
>>  
>> http://git.denx.de/?p=u-boot/u-boot-x86.git;a=summary
> 
> Depending on when you downloaded it, you may not have the latest mainline
> which is at:
> 
> http://git.denx.de/?p=u-boot.git;a=summary
> 
> Nevertheless, you will have the latest x86 patches
> 
>>  
>> and yes I am planning to run u-boot on x86_64 machine and my target is also x86_64 machine are the same .
>> cd u-boot-x86
> 
> Hmm, I don't think U-Boot is what your after. There are a few problems you
> will be faced with:
>  - There is no ACPI support (no power management)
>  - No System Management Mode (SMM) support
>  - No chipset support (No RAM initialisation)
>  - No Cache-As-RAM init code
> 
> Unless you have at least these covered, you will brick your board if you
> try to flash U-Boot. You might instead take a look at coreboot
> 
>> opened the boards.config file and appended my board details in the config file .
>>  
>> MIH61R-MB                    x86         x86        MIH61R-MB            GenuineIntel           -
>> # Target                     ARCH        CPU         Board name          Vendor                    SoC         Options
>>  
>>  
>> and then run the below commands and i didnot modify any code other than that above line.
>> .....................................................................................................................................
>>  
>> manoharb at smart-OptiPlex-390:~/Kernel_Tizen/intel_tizen/u-boot-x86$ vim boards.cfg 
>> manoharb at smart-OptiPlex-390:~/Kernel_Tizen/intel_tizen/u-boot-x86$ make distclean
>> /bin/bash: i386-linux-gcc: command not found
>> /bin/bash: i386-linux-gcc: command not found
> 
> [snip]
> 
> Ah, I now see that the patch I thought had been applied has not :(
> 
> You will need this patch:
> 
> http://patchwork.ozlabs.org/patch/155727/
> 
> Regards,
> 
> Graeme
> 
>> ...............................................................................................................................................................................................................................................................................................................................................
>>  
>> Please help me what are the files i need to modify and provide me the documentation.
>>  
>> Thank you!
>> Best Regards,
>> Manohar
>> 8790215215
>>  
>>  
>> -----Original Message-----
>> From: "Graeme Russ" <graeme.russ at gmail.com>
>> Sent: Friday, November 23, 2012 12:12pm
>> To: manohar.betham at smartplayin.com
>> Cc: "Marek Vasut" <marex at denx.de>, u-boot at lists.denx.de
>> Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen
>>
>>
>>
>> Hi Manohar,
>>
>> On 11/23/2012 04:46 PM, manohar.betham at smartplayin.com wrote:
>>>
>>> Dear Marek,
>>>  
>>> Thank you for the reply.
>>>  
>>> Can you please send me the steps/procedure to build/support u-boot on x86_64 bit (Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz.
>>
>> I build the x86 U-Boot target on an x86_64 i7 Linux (Fedora) system using
>> the standard GNU gcc package. There was an issue with the Makefile and
>> there was a need to manually create some toolchain symlinks, but the was
>> rectified some time ago. Are you using the latest mainline U-Boot from
>> git.denx.de? If so, what errors are you getting - please provide a copy of
>> your build output.
>>
>>> We need help from you is there any documentation to enable x86_64 bit pc or links to post my query.
>>>  
>>> What are the config/code i need to change to make my pc as host & target are the same.
>>
>> Are you planning on running U-Boot on an x86_64 machine? If so, you will
>> need to create code to support that - Current U-Boot only supports 32-bit
>> x86 targets. The sandbox target (designed for testing on a Linux host, not
>> for downloading onto a board) should run on an x86_64 host.
>>
>>>  
>>> Please help us to build the u-boot on x86_64.
>>
>> Please provide more detail - what have you tried? What was the result? The
>> build scripts should work as is on a properly configured x86_64 build machine
>>
>> Regards,
>>
>> Graeme
>>
>> P.S. Please stop top posting - thanks
>>
>>>  
>>> Thank you!
>>> Best Regards,
>>> Manohar
>>> 8790215215
>>>  
>>>
>>>
>>> -----Original Message-----
>>> From: "Marek Vasut" <marex at denx.de>
>>> Sent: Friday, November 23, 2012 6:08am
>>> To: u-boot at lists.denx.de
>>> Cc: manohar.betham at smartplayin.com, "Graeme Russ" <graeme.russ at gmail.com>
>>> Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen
>>>
>>>
>>>
>>> Dear manohar.betham at smartplayin.com,
>>>
>>>> Hi,
>>>>
>>>> I am Manohar,started boot the X86-64 (Intel(R) Core(TM) i5-2400 CPU @
>>>> 3.10GHz) using u-boot to work for TIZEN .
>>>>
>>>> As I am unable to configure/build my pc using u-boot-x86 .
>>>>
>>>> I request you please help me how to configure it/build the u-boot-x86 on my
>>>> pc as my pc is loaded with Ubuntu 11.10 and my aim is to make my PC as
>>>> host and target are the same.
>>>>
>>>> Please resolve the issue/is my PC support for the u-boot.
>>>
>>> You need to compile it on a 32bit machine ... or install 32bit cross compiler 
>>> ... u-boot doesn't support x86/64. Patches are welcome though.
>>>
>>> Best regards,
>>> Marek Vasut
>>>
>>
>>
> 
> 



More information about the U-Boot mailing list