Skip to content

Commit

Permalink
Basic changes for B2G
Browse files Browse the repository at this point in the history
  • Loading branch information
Daz Jones committed Jan 30, 2013
1 parent 41dcf84 commit 66313dc
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
4 changes: 0 additions & 4 deletions BoardConfig.mk
Expand Up @@ -60,10 +60,6 @@ BOARD_AVOID_DRAW_TEXTURE_EXTENSION := true
TARGET_GRALLOC_USES_ASHMEM := true

# Web Rendering
ENABLE_JSC_JIT := true
ENABLE_WEBGL := true
HTTP := chrome
JS_ENGINE := v8
TARGET_FORCE_CPU_UPLOAD := true

# USB
Expand Down
2 changes: 1 addition & 1 deletion device.mk
Expand Up @@ -99,6 +99,6 @@ PRODUCT_TAGS += dalvik.gc.type-precise

$(call inherit-product, build/target/product/full.mk)

PRODUCT_NAME := huawei_u8815
PRODUCT_NAME := full_u8815
PRODUCT_DEVICE := u8815
PRODUCT_BRAND := Huawei
12 changes: 11 additions & 1 deletion ramdisk/init.huawei.rc
Expand Up @@ -27,6 +27,10 @@

import init.huawei.usb.rc

on early-init
start ueventd
import init.b2g.rc

on init
mkdir /mnt 0775 root system
mkdir /mnt/sdcard 0000 system system
Expand Down Expand Up @@ -112,7 +116,13 @@ on boot
on emmc-fs
# mount mmc partitions
wait /dev/block/mmcblk0p12
mount ext4 /dev/block/mmcblk0p12 /system ro barrier=1,nodelalloc
mount ext4 /dev/block/mmcblk0p12 /system rw barrier=1,nodelalloc

# B2G permissions
chmod 0755 /system/b2g/b2g
chmod 0755 /system/b2g/updater
chmod 0755 /system/b2g/plugin-container

wait /dev/block/mmcblk0p13
exec /system/bin/e2fsck -p /dev/block/mmcblk0p13
mount ext4 /dev/block/mmcblk0p13 /data nosuid nodev barrier=1 noauto_da_alloc,nodelalloc
Expand Down
2 changes: 1 addition & 1 deletion u8815.mk
Expand Up @@ -27,7 +27,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
$(call inherit-product, device/huawei/u8815/device.mk)

# Set those variables here to overwrite the inherited values.
PRODUCT_NAME := huawei_u8815
PRODUCT_NAME := full_u8815
PRODUCT_DEVICE := u8815
PRODUCT_BRAND := Huawei
PRODUCT_MANUFACTURER := Huawei
Expand Down

0 comments on commit 66313dc

Please sign in to comment.