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: manohar.bet...@smartplayin.com Sent: Friday, November 23, 2012 7:14pm To: "Graeme Russ" <graeme.r...@gmail.com> Cc: "Marek Vasut" <ma...@denx.de>, u-boot@lists.denx.de, "Simon Glass" <s...@chromium.org> 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@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" <graeme.r...@gmail.com> Sent: Friday, November 23, 2012 4:23pm To: manohar.bet...@smartplayin.com Cc: "Marek Vasut" <ma...@denx.de>, u-boot@lists.denx.de, "Simon Glass" <s...@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.bet...@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@smart-OptiPlex-390:~/Kernel_Tizen/intel_tizen/u-boot-x86$ vim > boards.cfg > manoharb@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.r...@gmail.com> > Sent: Friday, November 23, 2012 12:12pm > To: manohar.bet...@smartplayin.com > Cc: "Marek Vasut" <ma...@denx.de>, u-boot@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.bet...@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" <ma...@denx.de> >> Sent: Friday, November 23, 2012 6:08am >> To: u-boot@lists.denx.de >> Cc: manohar.bet...@smartplayin.com, "Graeme Russ" <graeme.r...@gmail.com> >> Subject: Re: [U-Boot] Reg Bootstrapping u-boot on x86-64 for tizen >> >> >> >> Dear manohar.bet...@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 >> > >
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot