Closed Bug 1039223 Opened 10 years ago Closed 6 years ago

Build for flame fails complaining of missing dt.img

Categories

(Firefox OS Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mansour, Unassigned)

Details

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.
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.
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! <
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
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.