Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

omap4: panda: cleanup board files

No new functionality added.

* Lunch will now show panda option (full_panda-userdebug)
* Add file headers for copyrights
* Update kernel bootargs

Change-Id: Ib588a306f387bc6c49d2ad52e2da62aaf2f60d90
Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
  • Loading branch information...
commit 80c69357072232257608850d0af6a5bc7e9233a5 1 parent a51d5ea
Vikram Pandita authored Jean-Baptiste Queru committed
View
28 Android.mk
@@ -0,0 +1,28 @@
+#
+# Copyright (C) 2011 The Android Open-Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# WARNING: Everything listed here will be built on ALL platforms,
+# including x86, the emulator, and the SDK. Modules must be uniquely
+# named (liblights.panda), and must build everywhere, or limit themselves
+# to only building on ARM if they include assembly. Individual makefiles
+# are responsible for having their own logic, for fine-grained control.
+
+LOCAL_PATH := $(call my-dir)
+
+# if some modules are built directly from this directory (not subdirectories),
+# their rules should be written here.
+
+include $(call all-makefiles-under,$(LOCAL_PATH))
View
17 AndroidProducts.mk
@@ -1,2 +1,17 @@
+#
+# Copyright (C) 2011 The Android Open-Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
-PRODUCT_MAKEFILES := $(LOCAL_DIR)/panda.mk
+PRODUCT_MAKEFILES := $(LOCAL_DIR)/full_panda.mk
View
26 BoardConfig.mk
@@ -1,5 +1,26 @@
-
+#
+# Copyright (C) 2011 The Android Open-Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# These two variables are set first, so they can be overridden
+# by BoardConfigVendor.mk
BOARD_USES_GENERIC_AUDIO := true
+USE_CAMERA_STUB := true
+
+# Use the non-open-source parts, if they're present
+#-include vendor/ti/panda/BoardConfigVendor.mk
TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
@@ -12,13 +33,12 @@ TARGET_NO_BOOTLOADER := true
TARGET_NO_RECOVERY := true
BOARD_KERNEL_BASE := 0x80000000
+BOARD_KERNEL_CMDLINE := console=ttyO2,115200n8 mem=1024M androidboot.console=ttyO2 vram=20M omapfb.vram=0:16M
TARGET_NO_RADIOIMAGE := true
TARGET_BOARD_PLATFORM := omap4
TARGET_BOOTLOADER_BOARD_NAME := panda
-USE_CAMERA_STUB := true
-
BOARD_EGL_CFG := device/ti/panda/egl.cfg
#BOARD_USES_HGL := true
View
38 device.mk
@@ -1,8 +1,30 @@
-
-DEVICE_PACKAGE_OVERLAYS := device/ti/panda/overlay
+#
+# Copyright (C) 2011 The Android Open-Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+ifeq ($(TARGET_PREBUILT_KERNEL),)
+LOCAL_KERNEL := device/ti/panda/kernel
+else
+LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
+endif
PRODUCT_COPY_FILES := \
+ $(LOCAL_KERNEL):kernel \
device/ti/panda/init.omap4pandaboard.rc:root/init.omap4pandaboard.rc \
+ device/ti/panda/ueventd.omap4pandaboard.rc:root/ueventd.omap4pandaboard.rc \
+ device/ti/panda/media_profiles.xml:system/etc/media_profiles.xml \
frameworks/base/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \
frameworks/base/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml
@@ -13,9 +35,17 @@ PRODUCT_PACKAGES := \
PRODUCT_PROPERTY_OVERRIDES := \
hwui.render_dirty_regions=false
-include frameworks/base/build/tablet-dalvik-heap.mk
-
PRODUCT_CHARACTERISTICS := tablet,nosdcard
PRODUCT_TAGS += dalvik.gc.type-precise
+PRODUCT_PACKAGES += \
+ librs_jni \
+ com.android.future.usb.accessory
+
+# Filesystem management tools
+PRODUCT_PACKAGES += \
+ make_ext4fs
+
+$(call inherit-product, frameworks/base/build/tablet-dalvik-heap.mk)
+$(call inherit-product-if-exists, vendor/ti/proprietary/omap4/ti-omap4-vendor.mk)
View
32 full_panda.mk
@@ -0,0 +1,32 @@
+# Copyright (C) 2011 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#
+# This file is the build configuration for a full Android
+# build for toro hardware. This cleanly combines a set of
+# device-specific aspects (drivers) with a device-agnostic
+# product configuration (apps). Except for a few implementation
+# details, it only fundamentally contains two inherit-product
+# lines, full and toro, hence its name.
+#
+
+# Inherit from those products. Most specific first.
+$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
+$(call inherit-product, device/ti/panda/device.mk)
+$(call inherit-product-if-exists, vendor/ti/proprietary/omap4/ti-omap4-vendor.mk)
+
+PRODUCT_NAME := full_panda
+PRODUCT_DEVICE := panda
+PRODUCT_BRAND := Android
+PRODUCT_MODEL := Full AOSP on Panda
View
25 panda.mk
@@ -1,25 +0,0 @@
-ifeq ($(TARGET_PREBUILT_KERNEL),)
-LOCAL_KERNEL := device/ti/panda/kernel
-else
-LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
-endif
-
-PRODUCT_PACKAGES := \
- librs_jni
-
-PRODUCT_COPY_FILES := \
- $(LOCAL_KERNEL):kernel \
- device/ti/panda/media_profiles.xml:system/etc/media_profiles.xml
-
-PRODUCT_LOCALES := en_US
-
-PRODUCT_PROPERTY_OVERRIDES :=
-
-$(call inherit-product, $(SRC_TARGET_DIR)/product/full.mk)
-$(call inherit-product, device/ti/panda/device.mk)
-$(call inherit-product-if-exists, vendor/ti/proprietary/omap4/ti-omap4-vendor.mk)
-
-PRODUCT_NAME := panda
-PRODUCT_DEVICE := panda
-PRODUCT_BRAND := Android
-PRODUCT_MODEL := OMAP44x0 Panda Board
View
10 recovery.fstab
@@ -0,0 +1,10 @@
+# mount point fstype device
+
+/system ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/system
+/cache ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/cache
+/data ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/userdata
+/misc mtd misc
+/boot mtd boot
+/recovery mtd recovery
+/bootloader mtd bootloader
+/radio mtd radio
View
0  ueventd.omap4pandaboard.rc
No changes.
View
17 vendorsetup.sh
@@ -0,0 +1,17 @@
+#
+# Copyright (C) 2011 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+add_lunch_combo full_panda-userdebug
Please sign in to comment.
Something went wrong with that request. Please try again.