dtb_files cannot be used instead of dtb_file

Bug #1235941 reported by Fathi Boudra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Image Tools
Fix Released
High
Milo Casagrande

Bug Description

When using dtb_file, we can see a deprecation warning: use the 'dtb_files' field instead of 'dtb_file'

Unfortunately, it doesn't seems possible. dtb_file is using a hardcoded board.dtb file used to set the bootcmd.
dtb_files is only useful to copy files from rootfs to boot dir and doesn't set a default dtb file to use for bootcmd.

line 873 in boards.py:
        if self.dtb_file:
            dtb = _get_file_matching(os.path.join(path, self.dtb_file))
        if not self.dtb_file or not dtb:
            logger.warn("Could not find a valid dtb file, skipping it.")

I guess we should test dtb_files as well and set the first dtb in the list as the default.

Related branches

Milo Casagrande (milo)
Changed in linaro-image-tools:
assignee: nobody → Georgy Redkozubov (gesha)
milestone: none → 2013.10
Milo Casagrande (milo)
Changed in linaro-image-tools:
status: New → Confirmed
importance: Undecided → High
Changed in linaro-image-tools:
status: Confirmed → In Progress
Milo Casagrande (milo)
Changed in linaro-image-tools:
assignee: Georgy Redkozubov (gesha) → Milo Casagrande (milo)
Fathi Boudra (fboudra)
Changed in linaro-image-tools:
milestone: 2013.10 → 2013.12
Milo Casagrande (milo)
Changed in linaro-image-tools:
status: In Progress → Fix Committed
Milo Casagrande (milo)
Changed in linaro-image-tools:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.