I think I solved. Thanks all for the useful suggestions.
I had a custom init.rc which entirely missed the "import
/init.${ro.hardware}.rc" line !
Also, the script had to be started with proper "class" service, to make it
go, i.e.
service emev-setup /system/etc/init.emev.sh
class core
user root
group root
oneshot
And, I had to fix file privileges to make it finally go:
chown system:system init.rc
chown system:system init.emxx.rc
chmod 644 init.rc
chmod 644 init.emxx.rc
On Friday, 7 December 2012 11:41:46 UTC+1, ffxx68 wrote:
>
> Hi,
>
> I'm struggling to find a solution to this problem.
>
> I have a device with the following definitions:
>
> emev.mk:PRODUCT_NAME := renesas_emev
> emev.mk:PRODUCT_DEVICE := emev
> emev.mk:PRODUCT_BOARD := emev
>
> PRODUCT_COPY_FILES += \
> $(LOCAL_PATH)/init.rc:root/init.rc \
> $(LOCAL_PATH)/ueventd.emev.rc:root/ueventd.emxx.rc \
> $(LOCAL_PATH)/init.emev.rc:root/init.emxx.rc \
> $(LOCAL_PATH)/init.emev.sh:system/etc/init.emev.sh \
>
>
> (details here: https://github.com/Renesas-EMEV2/Renesas-device_emev)
>
> Now, in "init.emev.sh" there's the call to the insmod for the SGX
> graphics modules.
> When I boot the device, SGX modules aren't initialized, until I manually
> invoke the init.emev.sh, e.g. from host:
>
> adb shell /system/etc/init.emev.sh
>
> which allows to finally startup the SGX and complete device boot up.
>
> What's wrong in my build env?
> Is it PRODUCT_DEVICE, or PRODUCT_BOARD, that should be set to "emxx"?
>
> thanks
> Fabio
>
>
>
>
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting