Hi All, I am porting Firefox os on beagleboard. After changing certain files as given in FF porting link,I got following things on out/target/.. directory 1) data directory 2) obj directory 3) root direcoty 4) symbol directory 5) system directory 6) system.img , userdata.img ,ramdisk.img ,firmware.hash ,installed-file.txt...
I didn't got boot.img, I use android kernel uImage. I copy root directory contains in rootfs partition of sd card & contains of system directory i copied into system folder of root in sd card. I then tried to boot board. when i boot normally means taking uimage into ram & booting without ramdisk image.it starts an init process.& executes initialisation scripts.shows adb_open & do nothing, i can give commands like ps,ls. Here is log. twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800) omap_vout omap_vout: Buffer Size = 3686400 omap_vout omap_vout: : registered and initialized video device 15 omap_vout omap_vout: Buffer Size = 3686400 omap_vout omap_vout: : registered and initialized video device 16 Waiting 1sec before mounting root device... mmc0: host does not support reading read-only switch. assuming write-enable. mmc0: new high speed SDHC card at address 1234 mmcblk0: mmc0:1234 SA08G 7.28 GiB mmcblk0: p1 p2 p3 usb 1-2.1: new high speed USB device using ehci-omap and address 3 usb 1-2.1: New USB device found, idVendor=0424, idProduct=ec00 usb 1-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 smsc95xx v1.0.4 smsc95xx 1-2.1:1.0: usb0: register 'smsc95xx' at usb-ehci-omap.0-2.1, smsc95xx USB 2.0 Ethernet, 86:97:05:26:d2:6b EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 179:2. Freeing init memory: 224K init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead. init: cannot open '/initlogo.rle' EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) init: Unable to open persistent property directory /data/property errno: 2 init: cannot find '/system/bin/surfaceflinger', disabling 'surfaceflinger' init: cannot find '/system/bin/app_process', disabling 'zygote' init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery' enabling adb adb_open warning: `rilproxy' uses 32-bit capabilities (legacy support in use) shell@android:/ $ request_suspend_state: wakeup (3->0) at 8229338975 (2000-01-01 00:00:04.512938413 UTC) shell@android:/ $ but if i load ramdisk-image & uImage into ram & boot using bootm. It can't able to run processes at system/bin/ here is the log. usb 1-2: New USB device found, idVendor=0424, idProduct=9514 usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 omap_vout omap_vout: : registered and initialized video device 16 Freeing init memory: 224K init (1): /proc/1/oom_adj is deprecated, please use /proc/1/oom_score_adj instead. hub 1-2:1.0: USB hub found hub 1-2:1.0: 5 ports detected mmc0: host does not support reading read-only switch. assuming write-enable. mmc0: new high speed SDHC card at address 1234 mmcblk0: mmc0:1234 SA08G 7.28 GiB mmcblk0: p1 p2 p3 init: cannot open '/initlogo.rle' init: Unable to open persistent property directory /data/property errno: 2 init: cannot find '/system/bin/servicemanager', disabling 'servicemanager' init: cannot find '/system/bin/vold', disabling 'vold' init: cannot find '/system/bin/fakeperm', disabling 'fakeperm' init: cannot find '/system/bin/b2g.sh', disabling 'b2g' init: cannot find '/system/bin/rilproxy', disabling 'rilproxy' init: cannot find '/system/bin/netd', disabling 'netd' init: cannot find '/system/bin/debuggerd', disabling 'debuggerd' init: cannot find '/system/bin/rild', disabling 'ril-daemon' init: cannot find '/system/bin/surfaceflinger', disabling 'surfaceflinger' init: cannot find '/system/bin/app_process', disabling 'zygote' init: cannot find '/system/bin/drmserver', disabling 'drm' init: cannot find '/system/bin/mediaserver', disabling 'media' init: cannot find '/system/bin/dbus-daemon', disabling 'dbus' init: cannot find '/system/bin/installd', disabling 'installd' init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery' init: cannot find '/system/bin/keystore', disabling 'keystore' init: cannot find '/system/bin/sh', disabling 'console' enabling adb adb_open usb 1-2.1: new high speed USB device using ehci-omap and address 3 usb 1-2.1: New USB device found, idVendor=0424, idProduct=ec00 usb 1-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 smsc95xx v1.0.4 smsc95xx 1-2.1:1.0: usb0: register 'smsc95xx' at usb-ehci-omap.0-2.1, smsc95xx USB 2.0 Ethernet, 8a:09:05:8c:b5:c5 it cant able to give any command & it stucks. My questions are 1)is it necessary to have ramdisk image? 2)what things i need to copy into sd card if i dont wanna use system.img,boot.img 3)I didnt see anything on lcd screen.if it is so how can i come to know FF os is running? 4)if i try to put system.img dirctly into sd card it shows corrupted? 5)is zygote is necessary? Thanks in advanced, Pratik _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
