[Samsung Galaxy Gio GT-S5660] adfad666:
Hello, I've been compiling b2g for the Optimus One, and the problem is to do with Gecko.

If you don't run init.b2g.rc then the system 'boots' fine. Obviously it doesn't do much because it just loads the hardware drivers and just sits there.

If you then run adb shell sh /system/bin/b2g.sh then the 'Fatal Signal 4' error immediately occurs.

I suspect that b2g/Gecko is being compiled as armv7-a, I don't think it is respecting the BoardConfig.mk details because it is generating its own config files in various places in the Gecko folder, and it may even be hardwired to build armv7-a.

You can see my logcat below, the timestamp for the fault is much later because I ran b2g.sh manually.

?:??: W/?(?): --------- beginning of /dev/log/main
09-06 19:53:41.400: I/DEBUG(95): debuggerd: Sep 6 2012 19:27:52
09-06 19:53:41.410: D/DHCP(102): failed to set ip addr for wlan0 to 0.0.0.0: No such device
09-06 19:53:41.590: E/AmitDaemon(103): open File failed
09-06 19:53:41.590: E/AmitDaemon(103): --------- beginning of /dev/log/system
09-06 19:53:41.730: I/Vold(89): Vold 2.1 (the revenge) firing up
09-06 19:53:41.790: I/Netd(94): Netd 1.0 starting
09-06 19:53:41.790: D/Vold(89): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
09-06 19:53:41.820: D/Vold(89): Volume sdcard state changing 0 (No-Media) -> 2 (Pending)
09-06 19:53:41.820: D/DirectVolume(89): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 1, PARTN 1
09-06 19:53:41.820: D/DirectVolume(89): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 2, PARTN 2
09-06 19:53:41.820: D/Vold(89): Volume sdcard state changing 2 (Pending) -> 1 (Idle-Unmounted)
09-06 19:53:42.610: I/(97): ServiceManager: 0x18910
09-06 19:53:43.240: I/(98): ServiceManager: 0xf958
09-06 19:53:43.260: I/AudioHardwareMSM72XX(98): get_audpp_filter
09-06 19:53:43.260: I/AudioHardwareMSM72XX(98): open /system/etc/AudioFilter.csv success.
09-06 19:53:43.260: I/AudioHardwareMSM72XX(98): EQ flag = 00.
09-06 19:53:43.260: I/AudioHardwareMSM72XX(98): EQ flag = 00.
09-06 19:53:43.260: I/AudioHardwareMSM72XX(98): EQ flag = 00.
09-06 19:53:43.270: E/AudioHardwareMSM72XX(98): failed to open AUTO_VOLUME_CONTROL /system/etc/AutoVolumeControl.txt: No such file or directory (2)
09-06 19:53:43.270: I/AudioFlinger(98): Loaded primary audio interface from QCOM Audio HW HAL (audio)
09-06 19:53:43.270: I/AudioFlinger(98): Using 'QCOM Audio HW HAL' (audio.primary) as the primary audio interface
09-06 19:53:43.280: I/AudioFlinger(98): Loaded a2dp audio interface from A2DP Audio HW HAL (audio)
09-06 19:53:43.280: D/AudioHardwareInterface(98): setMode(NORMAL)
09-06 19:53:43.280: I/AudioHardwareMSM72XX(98): Set master volume to 7.
09-06 19:53:43.300: I/CameraService(98): CameraService started (pid=98)
09-06 19:53:43.320: E/CameraHAL(98): CameraHAL_GetNum_Cameras:
09-06 19:53:43.320: D/CameraHAL(98): CameraHAL_GetNum_Cameras: loading libcamera at 0xb000ebb8
09-06 19:53:43.320: D/CameraHAL(98): CameraHAL_GetNum_Cameras: numCameras:1
09-06 19:53:43.340: I/AudioFlinger(98): AudioFlinger's thread 0x10af8 ready to run
09-06 19:53:43.340: W/AudioFlinger(98): Thread AudioOut_1 cannot connect to the power manager service
09-06 19:53:43.340: I/AudioHardwareMSM72XX(98): Routing audio to Speakerphone
09-06 19:53:43.340: D/AudioHardwareMSM72XX(98): doAudioRouteOrMute() device 0, mMode 0, mMicMute 1, mBuiltinMicSelected 0, muted
09-06 19:53:43.340: I/AudioHardwareMSM72XX(98): Routing audio to Speakerphone
09-06 19:53:43.350: D/AudioHardwareMSM72XX(98): setVoiceVolume(1.000000)
09-06 19:53:43.350: I/AudioHardwareMSM72XX(98): Setting in-call volume to 7 (available range is 0 to 7)
09-06 19:53:43.350: I/AudioPolicyService(98): Loaded audio policy from QCOM Audio Policy HAL (audio_policy)
[B]09-06 19:56:01.909[/B]: A/libc(182): Fatal signal 4 (SIGILL) at 0x40003a86 (code=1)