All of lore.kernel.org
 help / color / mirror / Atom feed
From: manohar.betham at smartplayin.com <manohar.betham@smartplayin.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen
Date: Sat, 24 Nov 2012 12:38:11 +0530 (IST)	[thread overview]
Message-ID: <1353740891.02621651@apps.rackspace.com> (raw)
In-Reply-To: <50AF55C7.80508@gmail.com>


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
 
Please help me.
 
Best Regards,
Manohar
 


-----Original Message-----
From: "Graeme Russ" <graeme.russ@gmail.com>
Sent: Friday, November 23, 2012 4:23pm
To: manohar.betham at smartplayin.com
Cc: "Marek Vasut" <marex@denx.de>, u-boot at lists.denx.de, "Simon Glass" <sjg@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@gmail.com>
> Sent: Friday, November 23, 2012 12:12pm
> To: manohar.betham at smartplayin.com
> Cc: "Marek Vasut" <marex@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@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@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
>>
> 
> 

  parent reply	other threads:[~2012-11-24  7:08 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-22  7:30 [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen manohar.betham at smartplayin.com
2012-11-23  0:38 ` Marek Vasut
2012-11-23  5:46   ` manohar.betham at smartplayin.com
2012-11-23  6:42     ` Graeme Russ
2012-11-23 10:10       ` manohar.betham at smartplayin.com
2012-11-23 10:53         ` Graeme Russ
2012-11-23 13:44           ` manohar.betham at smartplayin.com
2012-11-23 14:23             ` manohar.betham at smartplayin.com
2012-11-24  7:08           ` manohar.betham at smartplayin.com [this message]
2012-11-25  2:22             ` Graeme Russ
2012-11-26  6:41               ` manohar.betham at smartplayin.com
     [not found]                 ` <1353930838.21892194@apps.rackspace.com>
2012-11-27 11:22                   ` [U-Boot] Reg Bootstrapping " manohar.betham at smartplayin.com
2012-11-27 13:47                     ` Wolfgang Denk
2012-12-03  6:35                       ` manohar.betham at smartplayin.com
2012-12-04  1:05                         ` Simon Glass
2012-11-28 19:55                     ` Simon Glass
2012-11-30  9:01                       ` manohar.betham at smartplayin.com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1353740891.02621651@apps.rackspace.com \
    --to=manohar.betham@smartplayin.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.