Build for flame fails complaining of missing dt.img

RESOLVED WONTFIX

Status

defect
RESOLVED WONTFIX
5 years ago
a year ago

People

(Reporter: mansour, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Reporter

Description

5 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0 (Beta/Release)
Build ID: 20140611055804

Steps to reproduce:

Built on 2014-07-16:

$ ./config flame
$ ./build


Actual results:

target Prebuilt:  (out/target/product/flame/kernel)
Target dt image: out/target/product/flame/dt.img
DTB combiner:
  Input directory: 'out/target/product/flame/obj/KERNEL_OBJ/arch/arm/boot/'
  Output file: 'out/target/product/flame/dt.img'
=> Found 0 unique DTB(s)
chmod: cannot access ‘out/target/product/flame/dt.img’: No such file or directory
make: *** [out/target/product/flame/dt.img] Error 1

real	1m9.506s
user	0m50.754s
sys	0m8.819s

> Build failed! <



Expected results:

The build to complete successfully.
Reporter

Comment 1

5 years ago
Adding:

  BOARD_KERNEL_SEPARATED_DT := false

to device/t2m/flame/BoardConfig.mk solved the build issue but after flashing it to the device, it no longer boots.

Comment 2

5 years ago
I Have the same error : 

target Prebuilt:  (out/target/product/flame/kernel)
Target dt image: out/target/product/flame/dt.img
DTB combiner:
  Input directory: 'out/target/product/flame/obj/KERNEL_OBJ/arch/arm/boot/'
  Output file: 'out/target/product/flame/dt.img'
=> Found 0 unique DTB(s)
chmod: cannot access `out/target/product/flame/dt.img': No such file or directory
make: *** [out/target/product/flame/dt.img] Error 1

real	1m48.806s
user	1m22.008s
sys	0m23.512s

> Build failed! <

Comment 3

5 years ago
There is a bug in device/qcom/common/dtbtool/dtbtool.c change line 619 to :

        if ((dp->d_type == DT_REG||dp->d_type == DT_UNKNOWN)) {

Not all OS and/or FS supports d_type

http://man7.org/linux/man-pages/man3/readdir.3.html

Comment 4

a year ago
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Last Resolved: a year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.