Skip to contentSkip to conversation

Reg Bootstrapping u-boot on x86-64 for tizen

U-Boot manohar.betham at smartplayin.com 5 participants 17 messages Nov 22, 2012 – Dec 4, 2012 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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.

Best Regards,
Manohar
8790215215

#1 lore raw

Dear manohar.betham at smartplayin.com,

Quoted 5 lines

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 .

Quoted 7 lines

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

#2 lore raw

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.

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.

Please help us to build the u-boot on x86_64.

Thank you!
Best Regards,
Manohar
8790215215

-----Original Message-----
From: "Marek Vasut" <[email protected]>
Sent: Friday, November 23, 2012 6:08am
To: u-boot at lists.denx.de
Cc: manohar.betham at smartplayin.com, "Graeme Russ" <[email protected]>
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Dear manohar.betham at smartplayin.com,

Quoted 5 lines

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 .

Quoted 7 lines

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

#3 lore raw

Hi Manohar,

Quoted 6 lines · manohar.betham at smartplayin.com

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.

Quoted 3 lines

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.

Quoted 2 lines

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

Quoted 38 lines

Thank you!
Best Regards,
Manohar
8790215215

-----Original Message-----
From: "Marek Vasut" <[email protected]>
Sent: Friday, November 23, 2012 6:08am
To: u-boot at lists.denx.de
Cc: manohar.betham at smartplayin.com, "Graeme Russ" <[email protected]>
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Dear manohar.betham at smartplayin.com,

Quoted 5 lines

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 .

Quoted 7 lines

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

#4 lore raw

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

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
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
basename: missing operand
Try `basename --help' for more information.
/bin/bash: i386-linux-gcc: command not found
basename: missing operand
Try `basename --help' for more information.
/bin/bash: i386-linux-gcc: command not found
basename: missing operand
Try `basename --help' for more information.
/bin/bash: i386-linux-gcc: command not found
/bin/bash: i386-linux-gcc: command not found
basename: missing operand
Try `basename --help' for more information.
/bin/bash: i386-linux-gcc: command not found
basename: missing operand
Try `basename --help' for more information.
/bin/bash: i386-linux-gcc: command not found
basename: missing operand
Try `basename --help' for more information.
/bin/bash: i386-linux-gcc: command not found
basename: missing operand
Try `basename --help' for more information.
/bin/bash: i386-linux-gcc: command not found
basename: missing operand
Try `basename --help' for more information.
/bin/bash: i386-linux-gcc: command not found
basename: missing operand
Try `basename --help' for more information.
/bin/bash: i386-linux-gcc: command not found
basename: missing operand
Try `basename --help' for more information.
/bin/bash: i386-linux-gcc: command not found
basename: missing operand
Try `basename --help' for more information.
/bin/bash: i386-linux-gcc: command not found
basename: missing operand
Try `basename --help' for more information.
manoharb at smart-OptiPlex-390:~/Kernel_Tizen/intel_tizen/u-boot-x86$ make MIH61R-MB_config Configuring for MIH61R-MB board...
ln: creating symbolic link `asm/arch': No such file or directory
make: *** [MIH61R-MB_config] Error 1
manoharb at smart-OptiPlex-390:~/Kernel_Tizen/intel_tizen/u-boot-x86$
...............................................................................................................................................................................................................................................................................................................................................

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" <[email protected]>
Sent: Friday, November 23, 2012 12:12pm
To: manohar.betham at smartplayin.com
Cc: "Marek Vasut" <[email protected]>, u-boot at lists.denx.de
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Hi Manohar,

Quoted 6 lines · manohar.betham at smartplayin.com

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.

Quoted 3 lines

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.

Quoted 2 lines

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

Quoted 38 lines

Thank you!
Best Regards,
Manohar
8790215215

-----Original Message-----
From: "Marek Vasut" <[email protected]>
Sent: Friday, November 23, 2012 6:08am
To: u-boot at lists.denx.de
Cc: manohar.betham at smartplayin.com, "Graeme Russ" <[email protected]>
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Dear manohar.betham at smartplayin.com,

Quoted 5 lines

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 .

Quoted 7 lines

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

#5 lore raw

Hi Manohar,

Quoted 8 lines · manohar.betham at smartplayin.com

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

Quoted 3 lines

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

Quoted 6 lines

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
Quoted 7 lines

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

Quoted 97 lines

...............................................................................................................................................................................................................................................................................................................................................

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" <[email protected]>
Sent: Friday, November 23, 2012 12:12pm
To: manohar.betham at smartplayin.com
Cc: "Marek Vasut" <[email protected]>, u-boot at lists.denx.de
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Hi Manohar,

Quoted 6 lines · manohar.betham at smartplayin.com

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.

Quoted 3 lines

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.

Quoted 2 lines

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

Quoted 38 lines

Thank you!
Best Regards,
Manohar
8790215215

-----Original Message-----
From: "Marek Vasut" <[email protected]>
Sent: Friday, November 23, 2012 6:08am
To: u-boot at lists.denx.de
Cc: manohar.betham at smartplayin.com, "Graeme Russ" <[email protected]>
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Dear manohar.betham at smartplayin.com,

Quoted 5 lines

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 .

Quoted 7 lines

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

#6 lore raw

Dear Graeme,

Thank you!

As of now I will try it for coreboot target on x86_64 machine.

I followed the steps given in patch file for x86 machine and modified and getting the below error.

manoharb at smart-OptiPlex-390:~/Kernel_Tizen/intel_tizen/latest/u-boot$ make coreboot_config
make: *** No rule to make target `coreboot_config'. Stop.
make: *** [coreboot_config] Error 1

Please help me to build u-boot for coreboot.

Happy Weekend!
Thank you!
Best Regards,
Manohar

8790215215

-----Original Message-----
From: "Graeme Russ" <[email protected]>
Sent: Friday, November 23, 2012 4:23pm
To: manohar.betham at smartplayin.com
Cc: "Marek Vasut" <[email protected]>, u-boot at lists.denx.de, "Simon Glass" <[email protected]>
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Hi Manohar,

Quoted 8 lines · manohar.betham at smartplayin.com

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

Quoted 3 lines

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

Quoted 6 lines

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
Quoted 7 lines

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

Quoted 97 lines

...............................................................................................................................................................................................................................................................................................................................................

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" <[email protected]>
Sent: Friday, November 23, 2012 12:12pm
To: manohar.betham at smartplayin.com
Cc: "Marek Vasut" <[email protected]>, u-boot at lists.denx.de
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Hi Manohar,

Quoted 6 lines · manohar.betham at smartplayin.com

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.

Quoted 3 lines

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.

Quoted 2 lines

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

Quoted 38 lines

Thank you!
Best Regards,
Manohar
8790215215

-----Original Message-----
From: "Marek Vasut" <[email protected]>
Sent: Friday, November 23, 2012 6:08am
To: u-boot at lists.denx.de
Cc: manohar.betham at smartplayin.com, "Graeme Russ" <[email protected]>
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Dear manohar.betham at smartplayin.com,

Quoted 5 lines

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 .

Quoted 7 lines

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

#7 lore raw

Dear Graeme,

I am getting the below error once after build with coreboot.Please help me. ..................................................only error part copied.....
ld.bfd --emit-relocs -Bsymbolic -Bsymbolic-functions -m elf_i386 -r -o libserial.o ns16550.o serial.o serial_ns16550.o make[1]: Leaving directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/serial' make -C drivers/spi/
make[1]: Entering directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/spi'
cat /dev/null >.depend
make[1]: Leaving directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/spi' make[1]: Entering directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/spi'
rm -f libspi.o; ar rcs libspi.o
make[1]: Leaving directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/spi'
make -C drivers/twserial/
make[1]: Entering directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/twserial' cat /dev/null >.depend
make[1]: Leaving directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/twserial' make[1]: Entering directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/twserial' rm -f libtws.o; ar rcs libtws.o
make[1]: Leaving directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/twserial' make -C drivers/usb/eth/
make[1]: Entering directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/eth' cat /dev/null >.depend
make[1]: Leaving directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/eth' make[1]: Entering directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/eth' rm -f libusb_eth.o; ar rcs libusb_eth.o
make[1]: Leaving directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/eth' make -C drivers/usb/gadget/
make[1]: Entering directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/gadget' cat /dev/null >.depend
make[1]: Leaving directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/gadget' make[1]: Entering directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/gadget' rm -f libusb_gadget.o; ar rcs libusb_gadget.o
make[1]: Leaving directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/gadget' make -C drivers/usb/host/
make[1]: Entering directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/host' cat /dev/null >.depend
make[1]: Leaving directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/host' make[1]: Entering directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/host' rm -f libusb_host.o; ar rcs libusb_host.o
make[1]: Leaving directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/host' make -C drivers/usb/musb/
make[1]: Entering directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/musb' cat /dev/null >.depend
make[1]: Leaving directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/musb' make[1]: Entering directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/musb' rm -f libusb_musb.o; ar rcs libusb_musb.o
make[1]: Leaving directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/musb' make -C drivers/usb/phy/
make[1]: Entering directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/phy' cat /dev/null >.depend
make[1]: Leaving directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/phy' make[1]: Entering directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/phy' rm -f libusb_phy.o; ar rcs libusb_phy.o
make[1]: Leaving directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/phy' make -C drivers/usb/ulpi/
make[1]: Entering directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/ulpi' cat /dev/null >.depend
make[1]: Leaving directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/ulpi' make[1]: Entering directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/ulpi' rm -f libusb_ulpi.o; ar rcs libusb_ulpi.o
make[1]: Leaving directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/usb/ulpi' make -C drivers/video/
make[1]: Entering directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/video' cat /dev/null >.depend
make[1]: Leaving directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/video' make[1]: Entering directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/video'
rm -f libvideo.o; ar rcs libvideo.o
make[1]: Leaving directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/video' make -C drivers/watchdog/
make[1]: Entering directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/watchdog' cat /dev/null >.depend
make[1]: Leaving directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/watchdog' make[1]: Entering directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/watchdog' rm -f libwatchdog.o; ar rcs libwatchdog.o
make[1]: Leaving directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/drivers/watchdog' make -C fs/cbfs/
make[1]: Entering directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/fs/cbfs'
gcc -M -g -Os -ffunction-sections -fvisibility=hidden -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0xFC0000 -I/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include -pipe -fno-strict-aliasing -Wstrict-prototypes -mregparm=3 -fomit-frame-pointer -ffreestanding -fno-toplevel-reorder -fno-stack-protector -mpreferred-stack-boundary=2 -fno-dwarf2-cfi-asm -DREALMODE_BASE=0x7c0 -DCONFIG_X86 -D__I386__ -march=i386 -Werror -m32 -MQ cbfs.o cbfs.c >.depend.cbfs
cat /dev/null .depend.cbfs >.depend
make[1]: Leaving directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/fs/cbfs'
make[1]: Entering directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/fs/cbfs'
gcc -g -Os -ffunction-sections -fvisibility=hidden -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0xFC0000 -I/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include -pipe -fno-strict-aliasing -Wstrict-prototypes -mregparm=3 -fomit-frame-pointer -ffreestanding -fno-toplevel-reorder -fno-stack-protector -mpreferred-stack-boundary=2 -fno-dwarf2-cfi-asm -DREALMODE_BASE=0x7c0 -DCONFIG_X86 -D__I386__ -march=i386 -Werror -m32 -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fstack-usage -o cbfs.o cbfs.c -c
ld.bfd --emit-relocs -Bsymbolic -Bsymbolic-functions -m elf_i386 -r -o libcbfs.o cbfs.o
make[1]: Leaving directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/fs/cbfs'
make -C fs/cramfs/
make[1]: Entering directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/fs/cramfs'
cat /dev/null >.depend
make[1]: Leaving directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/fs/cramfs' make[1]: Entering directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/fs/cramfs'
rm -f libcramfs.o; ar rcs libcramfs.o
make[1]: Leaving directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/fs/cramfs'
make -C fs/ext4/
make[1]: Entering directory `/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/fs/ext4'

gcc -M -g  -Os   -ffunction-sections -fvisibility=hidden -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0xFC0000 -I/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include -pipe  -fno-strict-aliasing -Wstrict-prototypes -mregparm=3 -fomit-frame-pointer -ffreestanding -fno-toplevel-reorder -fno-stack-protector -mpreferred-stack-boundary=2 -fno-dwarf2-cfi-asm -DREALMODE_BASE=0x7c0 -DCONFIG_X86 -D__I386__ -march=i386 -Werror -m32   -MQ ext4fs.o ext4fs.c >.depend.ext4fs
gcc -M -g  -Os   -ffunction-sections -fvisibility=hidden -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0xFC0000 -I/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include -pipe  -fno-strict-aliasing -Wstrict-prototypes -mregparm=3 -fomit-frame-pointer -ffreestanding -fno-toplevel-reorder -fno-stack-protector -mpreferred-stack-boundary=2 -fno-dwarf2-cfi-asm -DREALMODE_BASE=0x7c0 -DCONFIG_X86 -D__I386__ -march=i386 -Werror -m32   -MQ ext4_common.o ext4_common.c >.depend.ext4_common
gcc -M -g  -Os   -ffunction-sections -fvisibility=hidden -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0xFC0000 -I/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include -pipe  -fno-strict-aliasing -Wstrict-prototypes -mregparm=3 -fomit-frame-pointer -ffreestanding -fno-toplevel-reorder -fno-stack-protector -mpreferred-stack-boundary=2 -fno-dwarf2-cfi-asm -DREALMODE_BASE=0x7c0 -DCONFIG_X86 -D__I386__ -march=i386 -Werror -m32   -MQ dev.o dev.c >.depend.dev
gcc -M -g  -Os   -ffunction-sections -fvisibility=hidden -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0xFC0000 -I/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include -pipe  -fno-strict-aliasing -Wstrict-prototypes -mregparm=3 -fomit-frame-pointer -ffreestanding -fno-toplevel-reorder -fno-stack-protector -mpreferred-stack-boundary=2 -fno-dwarf2-cfi-asm -DREALMODE_BASE=0x7c0 -DCONFIG_X86 -D__I386__ -march=i386 -Werror -m32   -MQ ext4_journal.o ext4_journal.c >.depend.ext4_journal
gcc -M -g  -Os   -ffunction-sections -fvisibility=hidden -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0xFC0000 -I/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include -pipe  -fno-strict-aliasing -Wstrict-prototypes -mregparm=3 -fomit-frame-pointer -ffreestanding -fno-toplevel-reorder -fno-stack-protector -mpreferred-stack-boundary=2 -fno-dwarf2-cfi-asm -DREALMODE_BASE=0x7c0 -DCONFIG_X86 -D__I386__ -march=i386 -Werror -m32   -MQ crc16.o crc16.c >.depend.crc16

cat /dev/null .depend.ext4fs .depend.ext4_common .depend.dev .depend.ext4_journal .depend.crc16 >.depend make[1]: Leaving directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/fs/ext4' make[1]: Entering directory /home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/fs/ext4'
gcc -g -Os -ffunction-sections -fvisibility=hidden -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0xFC0000 -I/home/manoharb/Kernel_Tizen/intel_tizen/latest/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include -pipe -fno-strict-aliasing -Wstrict-prototypes -mregparm=3 -fomit-frame-pointer -ffreestanding -fno-toplevel-reorder -fno-stack-protector -mpreferred-stack-boundary=2 -fno-dwarf2-cfi-asm -DREALMODE_BASE=0x7c0 -DCONFIG_X86 -D__I386__ -march=i386 -Werror -m32 -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security -fstack-usage -o ext4fs.o ext4fs.c -c
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
...........................

Thank you!
Best Regards,
Manohar

-----Original Message-----
From: [email protected]
Sent: Friday, November 23, 2012 7:14pm
To: "Graeme Russ" <[email protected]>
Cc: "Marek Vasut" <[email protected]>, u-boot at lists.denx.de, "Simon Glass" <[email protected]>
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Dear Graeme,

Thank you!

As of now I will try it for coreboot target on x86_64 machine.

I followed the steps given in patch file for x86 machine and modified and getting the below error.

manoharb at smart-OptiPlex-390:~/Kernel_Tizen/intel_tizen/latest/u-boot$ make coreboot_config
make: *** No rule to make target `coreboot_config'. Stop.
make: *** [coreboot_config] Error 1

Please help me to build u-boot for coreboot.

Happy Weekend!
Thank you!
Best Regards,
Manohar

8790215215

-----Original Message-----
From: "Graeme Russ" <[email protected]>
Sent: Friday, November 23, 2012 4:23pm
To: manohar.betham at smartplayin.com
Cc: "Marek Vasut" <[email protected]>, u-boot at lists.denx.de, "Simon Glass" <[email protected]>
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Hi Manohar,

Quoted 8 lines · manohar.betham at smartplayin.com

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

Quoted 3 lines

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

Quoted 6 lines

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
Quoted 7 lines

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

Quoted 97 lines

...............................................................................................................................................................................................................................................................................................................................................

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" <[email protected]>
Sent: Friday, November 23, 2012 12:12pm
To: manohar.betham at smartplayin.com
Cc: "Marek Vasut" <[email protected]>, u-boot at lists.denx.de
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Hi Manohar,

Quoted 6 lines · manohar.betham at smartplayin.com

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.

Quoted 3 lines

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.

Quoted 2 lines

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

Quoted 38 lines

Thank you!
Best Regards,
Manohar
8790215215

-----Original Message-----
From: "Marek Vasut" <[email protected]>
Sent: Friday, November 23, 2012 6:08am
To: u-boot at lists.denx.de
Cc: manohar.betham at smartplayin.com, "Graeme Russ" <[email protected]>
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Dear manohar.betham at smartplayin.com,

Quoted 5 lines

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 .

Quoted 7 lines

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

#8 lore raw
In reply to Graeme Russ

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" <[email protected]>
Sent: Friday, November 23, 2012 4:23pm
To: manohar.betham at smartplayin.com
Cc: "Marek Vasut" <[email protected]>, u-boot at lists.denx.de, "Simon Glass" <[email protected]>
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Hi Manohar,

Quoted 8 lines · manohar.betham at smartplayin.com

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

Quoted 3 lines

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

Quoted 6 lines

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
Quoted 7 lines

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

Quoted 97 lines

...............................................................................................................................................................................................................................................................................................................................................

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" <[email protected]>
Sent: Friday, November 23, 2012 12:12pm
To: manohar.betham at smartplayin.com
Cc: "Marek Vasut" <[email protected]>, u-boot at lists.denx.de
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Hi Manohar,

Quoted 6 lines · manohar.betham at smartplayin.com

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.

Quoted 3 lines

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.

Quoted 2 lines

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

Quoted 38 lines

Thank you!
Best Regards,
Manohar
8790215215

-----Original Message-----
From: "Marek Vasut" <[email protected]>
Sent: Friday, November 23, 2012 6:08am
To: u-boot at lists.denx.de
Cc: manohar.betham at smartplayin.com, "Graeme Russ" <[email protected]>
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Dear manohar.betham at smartplayin.com,

Quoted 5 lines

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 .

Quoted 7 lines

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

#9 lore raw

Hi Manohar,

Quoted 6 lines · manohar.betham at smartplayin.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

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

Regards,

Graeme

Quoted 175 lines

Please help me.

Best Regards,
Manohar

-----Original Message-----
From: "Graeme Russ" <[email protected]>
Sent: Friday, November 23, 2012 4:23pm
To: manohar.betham at smartplayin.com
Cc: "Marek Vasut" <[email protected]>, u-boot at lists.denx.de, "Simon Glass" <[email protected]>
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Hi Manohar,

Quoted 8 lines · manohar.betham at smartplayin.com

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

Quoted 3 lines

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

Quoted 6 lines

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
Quoted 7 lines

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

Quoted 97 lines

...............................................................................................................................................................................................................................................................................................................................................

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" <[email protected]>
Sent: Friday, November 23, 2012 12:12pm
To: manohar.betham at smartplayin.com
Cc: "Marek Vasut" <[email protected]>, u-boot at lists.denx.de
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Hi Manohar,

Quoted 6 lines · manohar.betham at smartplayin.com

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.

Quoted 3 lines

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.

Quoted 2 lines

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

Quoted 38 lines

Thank you!
Best Regards,
Manohar
8790215215

-----Original Message-----
From: "Marek Vasut" <[email protected]>
Sent: Friday, November 23, 2012 6:08am
To: u-boot at lists.denx.de
Cc: manohar.betham at smartplayin.com, "Graeme Russ" <[email protected]>
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Dear manohar.betham at smartplayin.com,

Quoted 5 lines

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 .

Quoted 7 lines

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

#10 lore raw

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" <[email protected]>
Sent: Sunday, November 25, 2012 7:52am
To: manohar.betham at smartplayin.com
Cc: "Marek Vasut" <[email protected]>, u-boot at lists.denx.de, "Simon Glass" <[email protected]>
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Hi Manohar,

Quoted 6 lines · manohar.betham at smartplayin.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

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

Regards,

Graeme

Quoted 175 lines

Please help me.

Best Regards,
Manohar

-----Original Message-----
From: "Graeme Russ" <[email protected]>
Sent: Friday, November 23, 2012 4:23pm
To: manohar.betham at smartplayin.com
Cc: "Marek Vasut" <[email protected]>, u-boot at lists.denx.de, "Simon Glass" <[email protected]>
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Hi Manohar,

Quoted 8 lines · manohar.betham at smartplayin.com

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

Quoted 3 lines

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

Quoted 6 lines

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
Quoted 7 lines

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

Quoted 97 lines

...............................................................................................................................................................................................................................................................................................................................................

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" <[email protected]>
Sent: Friday, November 23, 2012 12:12pm
To: manohar.betham at smartplayin.com
Cc: "Marek Vasut" <[email protected]>, u-boot at lists.denx.de
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Hi Manohar,

Quoted 6 lines · manohar.betham at smartplayin.com

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.

Quoted 3 lines

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.

Quoted 2 lines

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

Quoted 38 lines

Thank you!
Best Regards,
Manohar
8790215215

-----Original Message-----
From: "Marek Vasut" <[email protected]>
Sent: Friday, November 23, 2012 6:08am
To: u-boot at lists.denx.de
Cc: manohar.betham at smartplayin.com, "Graeme Russ" <[email protected]>
Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen

Dear manohar.betham at smartplayin.com,

Quoted 5 lines

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 .

Quoted 7 lines

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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#12 lore raw

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

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.

Thank you!
Best Regards,
Manohar
8790215215

#13 lore raw

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

Dear manohar.betham at smartplayin.com,

Quoted 5 lines · In message <[email protected]> you wrote:

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.

Please start reading here:
http://catb.org/esr/faqs/smart-questions.html

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If ignorance is bliss, why aren't there more happy people?
#14 lore raw

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

Dear All,

Can you please help me how to make u-boot to support it on x86 64 bit PC intel i5 processor (MIH61R-MB ) for Tizen kernel loading on x86 processor.

What are the things i need to take care of ?

Please help me ASAP.

Thank you!
Best Regards,
Manohar

-----Original Message-----
From: "Wolfgang Denk" <[email protected]>
Sent: Tuesday, November 27, 2012 7:17pm
To: manohar.betham at smartplayin.com
Cc: "Graeme Russ" <[email protected]>, "Marek Vasut" <[email protected]>, u-boot at lists.denx.de, "Simon Glass" <[email protected]>
Subject: Re: [U-Boot] Reg Bootstrapping on x86-64 for tizen

Dear manohar.betham at smartplayin.com,

Quoted 5 lines · In message <[email protected]> you wrote:

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.

Please start reading here:
http://catb.org/esr/faqs/smart-questions.html

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If ignorance is bliss, why aren't there more happy people?
#15 lore raw

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

Hi,

Quoted 9 lines · On Sun, Dec 2, 2012 at 10:35 PM, <[email protected]> wrote:

Dear All,

Can you please help me how to make u-boot to support it on x86 64 bit PC intel i5 processor (MIH61R-MB ) for Tizen kernel loading on x86 processor.

Quoted 5 lines

What are the things i need to take care of ?

Please help me ASAP.

I am not sure that anyone here knows the answer to your question. You might find some useful patches in x86/next. Some specific problem report may help people provide some information (e.g. I booted coreboot, here is the console output, then U-Boot stopped and output nothing...)

Regards,
Simon

Quoted 46 lines

Thank you!

Best Regards,

Manohar

-----Original Message-----
From: "Wolfgang Denk" <[email protected]>
Sent: Tuesday, November 27, 2012 7:17pm
To: manohar.betham at smartplayin.com
Cc: "Graeme Russ" <[email protected]>, "Marek Vasut" <[email protected]>, u-boot at lists.denx.de, "Simon Glass" <[email protected]>
Subject: Re: [U-Boot] Reg Bootstrapping on x86-64 for tizen

Dear manohar.betham at smartplayin.com,

Quoted 7 lines · In message <[email protected]> you wrote:

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.

Please start reading here:
http://catb.org/esr/faqs/smart-questions.html

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de If ignorance is bliss, why aren't there more happy people?

#16 lore raw

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

In reply to manohar.betham at smartplayin.com

Hi,

Quoted 11 lines · On Tue, Nov 27, 2012 at 3:22 AM, <[email protected]> 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

Quoted 10 lines

Thank you!

Best Regards,

Manohar

8790215215

#17 lore raw

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

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" <[email protected]>
Sent: Thursday, November 29, 2012 1:25am
To: manohar.betham at smartplayin.com
Cc: "Graeme Russ" <[email protected]>, "Marek Vasut" <[email protected]>, u-boot at lists.denx.de
Subject: Re: Reg Bootstrapping on x86-64 for tizen

Hi,

Quoted 11 lines · On Tue, Nov 27, 2012 at 3:22 AM, <[email protected]> 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

Quoted 10 lines

Thank you!

Best Regards,

Manohar

8790215215