Closed Bug 805397 Opened 12 years ago Closed 12 years ago

PandaBoard: Init.rc not copied to image

Categories

(Firefox OS Graveyard :: General, defect)

All
Gonk (Firefox OS)
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tzimmermann, Assigned: tzimmermann)

References

Details

When building for the PandaBoard, the init.rc file is not copied to the image. Booting the PandaBoard then fails with > [ 26.008636] init: Unable to open persistent property directory /data/property errno: 2 > [ 26.018768] init: property (null) has no value for writing to /sys/class/android_usb/android0/iManufacturer > [ 26.030456] init: property (null) has no value for writing to /sys/class/android_usb/android0/iProduct This bug was probably introduced by commit https://github.com/mozilla-b2g/gonk-misc/commit/5bb8f9eea0f68f8134b0d62a07fd3e317e139d0b
Blocks: 778249
I have a pull request pending on github to fix this problem. For a workaround, add TARGET_PROVIDES_INIT_RC := false to device/ti/panda/BoardConfig.mk and rebuild from scratch.
Status: NEW → ASSIGNED
You should set TARGET_PROVIDES_B2G_INIT_RC := false TARGET_PROVIDES_INIT_RC := false as well and add #$(call inherit-product, $(SRC_TARGET_DIR)/product/b2g.mk) to full_panda.mk. This fixed the problem for me.
If I add these changes, b2g does not start on startup. If I run ./system/b2g/b2g, then it complains about missing library files: link_image[1936]: 1770 could not load needed library 'libmozglue.so' for './b2g' (load_library[1091]: Library 'libmozglue.so' not found)CANNOT LINK EXECUTABLE These files are in /system/b2g/, so I added it to the LD_LIBRARY_PATH, and ran ./b2g. Then the process will run, but it'll get stuck and not fully load b2g. In the logcat, I get a bunch of "I/Gonk ( 1687): Cannot open socket for RIL!" messages, printing repetitively.
If I undo the change here https://github.com/mozilla-b2g/gonk-misc/commit/8807f2f86ab0ac3d6aeb83ac1e1b9d5e000220b6#Android.mk, and restored them to 'optional eng', then I get a working pandaboard image.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.