VAR-SOM-MX6 Yocto Fido R4 Customizing kernel and uboot

From Variscite Wiki
Revision as of 12:10, 1 August 2016 by Eran (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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_3.14.38_6qp-var02/recipes-kernel/linux/linux-variscite_3.14.38.bb

SRCBRANCH = "imx_3.14.38_6qp_ga_var01"
SRCREV = "8740b9f64e7aa2bf40f29f39d3ada243c933a33c"
KERNEL_SRC ?= "git://github.com/varigit/linux-2.6-imx.git;protocol=git"

with your own. For example:

SRCBRANCH = "imx_3.14.38_6qp_ga_01"
SRCREV = "00001111" (replace with your specific kernel commit id)
KERNEL_SRC ?= "git://github.com/customer/linux-2.6-imx.git;protocol=git"

Also replace:
https://github.com/varigit/meta-variscite-mx6/blob/imx_3.14.38_6qp-var02/recipes-bsp/u-boot/u-boot-variscite_2015.04.bb

SRCREV = "9c28e2fd310f17efc9b12f19772a732a68372c90"
SRCBRANCH = "imx_v2015.04_3.14.52_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.