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

Graeme Russ graeme.russ at gmail.com
Fri Nov 23 11:53:59 CET 2012


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