Wind River Support Network

HomeDefectsLIN6-3438
Fixed

LIN6-3438 : Can't generate DTB if KERNEL_IMAGETYPE is not uImage

Created: May 27, 2013    Updated: Mar 10, 2016
Resolved Date: Oct 12, 2013
Previous ID: LIN5-8097, LIN6-2837
Found In Version: 6.0
Fix Version: 6.0
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Userspace
Host OS: Linux Red Hat
Architecture: MIPS

Description

build system hard coded the kernel image as uImage, else will not generate DTB files. 
For more details please refer to below messages:


        kerneldevtree = d.getVar('KERNEL_DEVICETREE', True) or ""
        for dtsfile in kerneldevtree.split():
            dtsbasename = os.path.basename(dtsfile).replace('.dts','')

            kernelimgbasename = "uImage-"

            dtbname = kernelimgbasename + dtsbasename + ".dtb"
            target = "%s/%s" % (deploy, dtbname)
            link = "%s/%s-%s.dtb%s" % (wrlexport, machine, dtsbasename, suffix)
            try:
                os.remove(link)
            except:
                pass
            wrl_symlink(target, link, d)

Steps to Reproduce

1. modify conf/machine/<bsp-name>.conf,
set KERNEL_IMAGETYPE = "vmlinux"; 
2. make fs;
3. ls export/. Can't find DTB files.

Other Downloads


Live chat
Online