VAR-SOM-MX6 Yocto Jethro Customizing kernel and uboot

From Variscite Wiki
Revision as of 14:04, 31 August 2016 by Eran (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
VAR-SOM-MX6 - Customizing the Linux kernel and U-Boot

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.
Replace Variscite's Kernel and U-Boot yocto links, to point to your newly created github branches. i.e. replace kernel link:
https://github.com/varigit/meta-variscite-mx6/blob/imx-4.1.15-1.2.0_ga-var01/recipes-kernel/linux/linux-variscite_4.1.15.bb

SRCBRANCH = "imx-rel_imx_4.1.15_1.2.0_ga-var01"
SRCREV = "${AUTOREV}"
KERNEL_SRC ?= "git://github.com/varigit/linux-2.6-imx.git;protocol=git"

with your own. For example:

SRCBRANCH = "imx-rel_imx_4.1.15_1.2.0_ga-var01"
SRCREV = "${AUTOREV}"
KERNEL_SRC ?= "git://github.com/customer/linux-2.6-imx.git;protocol=git"

Also replace:
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

SRCREV = "${AUTOREV}"
SRCBRANCH = "imx_v2015.04_4.1.15_1.1.0_ga_var01"
SRC_URI = "git://github.com/varigit/uboot-imx.git;protocol=git;branch=${SRCBRANCH}"

to replace Variscite's U-Boot with your own.