Hi Santosh, Please follow steps documented here[1] to build u-boot[2] To build your own boot loader, you can refer to the porting guide[3].
Thanks, Ning [1] https://wiki.tizen.org/wiki/Porting_Guide#Bootloader_Setup_and_Build [2] https://review.tizen.org/git/?p=kernel/u-boot.git;a=summary [3] https://wiki.tizen.org/wiki/Porting_Guide#BSP_Customization From: Santosh Nayak [mailto:[email protected]] Sent: Monday, November 18, 2013 2:21 PM To: Wang, Ning W Cc: [email protected] Subject: Re: [Tizen General] Tizen kernel source compilation Hi Ning, Thank you for the quick reply. I followed the below link to download the complete tizen source code . https://source.tizen.org/documentation/articles/creating-tizen-platform-image-scratch-through-local-build In the source I'm seeing only kernel directory , there is no u-boot related directory present . Let me know whether I'm missing anything. Or is it possible to build my boot loader code with gbs , and provide the "mkimage" path for the kernel compilation? Regards, Santosh On Mon, Nov 18, 2013 at 11:17 AM, Wang, Ning W <[email protected]<mailto:[email protected]>> wrote: You should build u-boot first, then build kernel. Thanks, Ning From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Santosh Nayak Sent: Monday, November 18, 2013 1:34 PM To: [email protected]<mailto:[email protected]> Subject: [Tizen General] Tizen kernel source compilation Hi, I'm trying to compile the Tizen kernel source code. While compilation i'm seeing the below error. tizen@tizen:~/Tizen_2.2/kernel/linux-3.0$<mailto:tizen@tizen:~/Tizen_2.2/kernel/linux-3.0$> sudo gbs build -A armv7l --include-all info: generate repositories ... info: start building packages from: /home/tizen/Tizen_2.2/kernel/linux-3.0 (git) info: prepare sources... info: start export source from: /home/tizen/Tizen_2.2/kernel/linux-3.0/ ... info: the following uncommitted changes would be included: drivers/media/video/samsung/mali/arch drivers/media/video/samsung/mali_r3p0/arch drivers/media/video/samsung/ump/arch include/asm arch/microblaze/boot/dts/system.dts include/net/bluetooth/hci_mon.h packaging/linux.spec info: Creating (native) source archive linux-3.0.15.tar.gz from 'e53fa0a99d96d0cf7b5b1a94105a8fdd62a76a47' info: package files have been exported to: /home/tizen/GBS-ROOT/local/sources/tizen2.2/linux-3.0.15-1 info: retrieving repo metadata... info: parsing package data... info: building repo metadata ... info: package dependency resolving ... error: *** Error Summary *** === the following packages failed to build due to missing build dependencies (1) === linux: nothing provides u-boot-tools error: <gbs>rpmbuild fails Why u-boot-tools rpm is not present at the remote repository. I commented BuildRequires : u-boot-tools in the linux.spec file and tried it is throwing error at the end of compilation as "mkimage" not found eventhough mkimage is installed in my system. Give me some pointers to resolve this issue. =================================================================== My gbs.conf is as below [general] tmpdir=/var/tmp/ profile = profile.tizen2.2 work_dir=. [repo.tizen2.2_arm] url=${work_dir}/pre-built/toolchain-arm/ [repo.tizen2.2_x86] url=${work_dir}/pre-built/toolchain-x86/ [repo.tizen2.2] url= http://download.tizen.org/releases/2.2/tizen-2.2/ [profile.tizen2.2] repos=repo.tizen2.2_arm, repo.tizen2.2_x86, repo.tizen2.2 #repos=repo.tizen2.2_arm, repo.tizen2.2_x86 buildconf=${work_dir}/scm/meta/build-config/build.conf Regards, Santosh
_______________________________________________ General mailing list [email protected] https://lists.tizen.org/listinfo/general
