Skip to content
Permalink
Browse files

Basic changes for B2G

  • Loading branch information
Dazzozo committed Jan 30, 2013
1 parent 41dcf84 commit 66313dca3e410268284ff8002193d200f5bdd1d6
Showing with 13 additions and 7 deletions.
  1. +0 −4 BoardConfig.mk
  2. +1 −1 device.mk
  3. +11 −1 ramdisk/init.huawei.rc
  4. +1 −1 u8815.mk
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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

0 comments on commit 66313dc

Please sign in to comment.
You can’t perform that action at this time.