DART-6UL Yocto Fido R1 Customizing kernel and uboot: Difference between revisions

From Variscite Wiki
No edit summary
(Undo revision 6473 by Eran (talk))
 
Line 1: Line 1:
{{PageHeader|DART-6UL - Customizing the Linux kernel and U-Boot}} {{DocImage|category1=DART-6UL|category2=Yocto}}
Once completed developing your own kernel and uboot, create your own github account, and upload your proprietary kernel and uboot, to a new repository<br>
Once completed developing your own kernel and U-Boot, create your own github account and upload your proprietary kernel and U-Boot to a new repository.<br>
Replace Variscite's Kernel and uboot yocto links, to point to your newly created github branches. i.e. replace kernel link:<br>
Replace Variscite's Kernel and U-Boot yocto links, to point to your newly created github branches. i.e. replace kernel link:<br>
https://github.com/varigit/meta-variscite-6ul/blob/imx_3.14.52_6ul_ga-var01/recipes-kernel/linux/linux-variscite_3.14.52.bb
https://github.com/varigit/meta-variscite-mx6ul-mx7/blob/imx_4.1.15_ga-var01/recipes-kernel/linux/linux-variscite_4.1.15.bb
 
<pre>
<pre>
SRCBRANCH_mx6ul = "imx-rel_imx_4.1.15_1.1.0_ga-var02"
SRCBRANCH = "imx_3.14.52_1.1.0_ga-var01"
SRCREV = "${AUTOREV}"
LOCALVERSION = "-6UL"
SRCREV = "9a664561bba7711a881c2d01441bb4e8de06c858"
KERNEL_SRC ?= "git://github.com/varigit/linux-2.6-imx.git;protocol=git"
KERNEL_SRC ?= "git://github.com/varigit/linux-2.6-imx.git;protocol=git"
SRC_URI = "${KERNEL_SRC};branch=${SRCBRANCH}"
</pre>
</pre>
with your own. For example:
with your own, For example:
<pre>
<pre>
SRCBRANCH_mx6ul = "imx-rel_imx_4.1.15_1.1.0_ga-var02"
SRCBRANCH = "imx_3.14.52_1.1.0_ga-var01"
SRCREV = "${AUTOREV}"
LOCALVERSION = "-6UL"
SRCREV = "9dfaf4545rfhhshfs"
KERNEL_SRC ?= "git://github.com/customer/linux-2.6-imx.git;protocol=git"
KERNEL_SRC ?= "git://github.com/customer/linux-2.6-imx.git;protocol=git"
SRC_URI = "${KERNEL_SRC};branch=${SRCBRANCH}"
</pre>
</pre>


Also replace:<br>
Also replace:<br>
https://github.com/varigit/meta-variscite-mx6/blob/imx-4.1.15-1.2.0_ga-var01/recipes-bsp/u-boot/u-boot-variscite_2015.04.bb
https://github.com/varigit/meta-variscite-6ul/blob/imx_3.14.52_6ul_ga-var01/recipes-bsp/u-boot/u-boot-var-6ul_2015.10.bb
<pre>
<pre>
SRCREV = "${AUTOREV}"
SRCBRANCH = "imx_v2015.10_dart_6ul_var1"
SRCBRANCH = "imx_v2015.04_4.1.15_1.1.0_ga_var01"
UBOOT_SRC ?= "git://github.com/varigit/uboot-imx.git;protocol=git;protocol=git"
SRC_URI = "git://github.com/varigit/uboot-imx.git;protocol=git;branch=${SRCBRANCH}"
SRC_URI = "${UBOOT_SRC};branch=${SRCBRANCH}"
SRCREV = "e85a47ecfd7782f40a9bfaca28615f9e8a326030"
</pre>
</pre>
to replace Variscite's U-Boot with your own.
to replace Variscite's uboot with your own

Latest revision as of 14:18, 31 August 2016

Once completed developing your own kernel and uboot, create your own github account, and upload your proprietary kernel and uboot, to a new repository
Replace Variscite's Kernel and uboot yocto links, to point to your newly created github branches. i.e. replace kernel link:
https://github.com/varigit/meta-variscite-6ul/blob/imx_3.14.52_6ul_ga-var01/recipes-kernel/linux/linux-variscite_3.14.52.bb

SRCBRANCH = "imx_3.14.52_1.1.0_ga-var01"
LOCALVERSION = "-6UL"
SRCREV = "9a664561bba7711a881c2d01441bb4e8de06c858"
KERNEL_SRC ?= "git://github.com/varigit/linux-2.6-imx.git;protocol=git"
SRC_URI = "${KERNEL_SRC};branch=${SRCBRANCH}"

with your own, For example:

SRCBRANCH = "imx_3.14.52_1.1.0_ga-var01"
LOCALVERSION = "-6UL"
SRCREV = "9dfaf4545rfhhshfs"
KERNEL_SRC ?= "git://github.com/customer/linux-2.6-imx.git;protocol=git"
SRC_URI = "${KERNEL_SRC};branch=${SRCBRANCH}"

Also replace:
https://github.com/varigit/meta-variscite-6ul/blob/imx_3.14.52_6ul_ga-var01/recipes-bsp/u-boot/u-boot-var-6ul_2015.10.bb

SRCBRANCH = "imx_v2015.10_dart_6ul_var1"
UBOOT_SRC ?= "git://github.com/varigit/uboot-imx.git;protocol=git;protocol=git"
SRC_URI = "${UBOOT_SRC};branch=${SRCBRANCH}"
SRCREV = "e85a47ecfd7782f40a9bfaca28615f9e8a326030"

to replace Variscite's uboot with your own