summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPraneeth Bajjuri2017-10-24 17:23:16 -0500
committerPraneeth Bajjuri2017-10-24 17:23:16 -0500
commitf392715c8e1decdff3e615b12a9370f7c59b4056 (patch)
treeedda2f65d92462e1f0c34f8503c469d9acd003c0
parentf1db4bf5fc3d381735b537362dd2e9058fdee3cd (diff)
downloaddevice-ti-am57xevm-f392715c8e1decdff3e615b12a9370f7c59b4056.tar.gz
device-ti-am57xevm-f392715c8e1decdff3e615b12a9370f7c59b4056.tar.xz
device-ti-am57xevm-f392715c8e1decdff3e615b12a9370f7c59b4056.zip
am57xevm: recovery: add kernel modules for recovery ramdisk
Add kernel modules for recovery ramdisk also. Signed-off-by: Praneeth Bajjuri <praneeth@ti.com> [based on http://review.omapzoom.org/#/c/38613/] Signed-off-by: Vishal Mahaveer <vishalm@ti.com> Change-Id: I60094b4ec6e671cb195ba5e5282585fc3cbd81ca
-rw-r--r--BoardConfig.mk14
-rw-r--r--device.mk10
-rw-r--r--init.recovery.am57xevmboard.rc7
3 files changed, 30 insertions, 1 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 28bec7c..fc36528 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -113,3 +113,17 @@ BOARD_VENDOR_KERNEL_MODULES := \
113# $(KERNELDIR)/drivers/net/wireless/ti/wl18xx/wl18xx.ko \ 113# $(KERNELDIR)/drivers/net/wireless/ti/wl18xx/wl18xx.ko \
114# $(KERNELDIR)/drivers/net/wireless/ti/wlcore/wlcore.ko \ 114# $(KERNELDIR)/drivers/net/wireless/ti/wlcore/wlcore.ko \
115# $(KERNELDIR)/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko 115# $(KERNELDIR)/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko
116
117BOARD_RECOVERY_KERNEL_MODULES := \
118 $(KERNELDIR)/drivers/scsi/scsi_mod.ko \
119 $(KERNELDIR)/drivers/scsi/sd_mod.ko \
120 $(KERNELDIR)/drivers/usb/storage/usb-storage.ko \
121 $(KERNELDIR)/drivers/gpu/drm/omapdrm/displays/connector-hdmi.ko \
122 $(KERNELDIR)/drivers/gpu/drm/omapdrm/displays/dra7-evm-encoder-tpd12s015.ko \
123 $(KERNELDIR)/drivers/gpu/drm/omapdrm/displays/encoder-tc358768.ko \
124 $(KERNELDIR)/drivers/gpu/drm/omapdrm/displays/encoder-tpd12s015.ko \
125 $(KERNELDIR)/drivers/gpu/drm/omapdrm/displays/panel-dpi.ko \
126 $(KERNELDIR)/drivers/leds/leds-tlc591xx.ko \
127 $(KERNELDIR)/drivers/video/backlight/gpio_backlight.ko \
128 $(KERNELDIR)/drivers/video/backlight/led_bl.ko \
129 $(KERNELDIR)/drivers/video/backlight/pwm_bl.ko \
diff --git a/device.mk b/device.mk
index 84a9bcd..231fac7 100644
--- a/device.mk
+++ b/device.mk
@@ -48,7 +48,7 @@ PRODUCT_COPY_FILES := \
48 device/ti/am57xevm/fstab.am57xevmboard:root/fstab.am57xevmboard \ 48 device/ti/am57xevm/fstab.am57xevmboard:root/fstab.am57xevmboard \
49 device/ti/am57xevm/media_profiles.xml:system/etc/media_profiles.xml \ 49 device/ti/am57xevm/media_profiles.xml:system/etc/media_profiles.xml \
50 device/ti/am57xevm/media_codecs.xml:system/etc/media_codecs.xml \ 50 device/ti/am57xevm/media_codecs.xml:system/etc/media_codecs.xml \
51 device/ti/jacinto6evm/media_codecs_performance.xml:system/etc/media_codecs_performance.xml \ 51 device/ti/am57xevm/media_codecs_performance.xml:system/etc/media_codecs_performance.xml \
52 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \ 52 frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \
53 frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \ 53 frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \
54 frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ 54 frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
@@ -59,6 +59,14 @@ PRODUCT_COPY_FILES := \
59 frameworks/native/data/etc/android.software.freeform_window_management.xml:system/etc/permissions/android.software.freeform_window_management.xml \ 59 frameworks/native/data/etc/android.software.freeform_window_management.xml:system/etc/permissions/android.software.freeform_window_management.xml \
60 device/ti/am57xevm/pixcir_tangoc.idc:system/usr/idc/pixcir_tangoc.idc \ 60 device/ti/am57xevm/pixcir_tangoc.idc:system/usr/idc/pixcir_tangoc.idc \
61 61
62# init.rc for recovery image
63PRODUCT_COPY_FILES += \
64 device/ti/am57xevm/init.recovery.am57xevmboard.rc:root/init.recovery.am57xevmboard.rc
65
66# Static modprobe for recovery image
67PRODUCT_PACKAGES += \
68 toybox_static
69
62# These are the hardware-specific features 70# These are the hardware-specific features
63PRODUCT_COPY_FILES += \ 71PRODUCT_COPY_FILES += \
64 frameworks/native/data/etc/android.hardware.camera.xml:system/etc/permissions/android.hardware.camera.xml 72 frameworks/native/data/etc/android.hardware.camera.xml:system/etc/permissions/android.hardware.camera.xml
diff --git a/init.recovery.am57xevmboard.rc b/init.recovery.am57xevmboard.rc
new file mode 100644
index 0000000..34e089c
--- /dev/null
+++ b/init.recovery.am57xevmboard.rc
@@ -0,0 +1,7 @@
1on late-init
2 # Load modules
3 exec u:r:modprobe:s0 -- /sbin/modprobe -a -d \
4 /lib/modules scsi_mod.ko usb-storage.ko sd_mod.ko \
5 dra7-evm-encoder-tpd12s015.ko encoder-sii9022.ko encoder-tc358768.ko encoder-tpd12s015.ko \
6 connector-hdmi.ko \
7 panel-dpi.ko leds-tlc591xx.ko gpio_backlight.ko led_bl.ko pwm_bl.ko