I'm trying to run stagefright on linux environment `x86_64`.  
I built android-9.0.0-r35 as `x86_64`, and compiled kernel with binder, 
ashmem configuration, but it didn't work.

My environment is Ubuntu14.04 64bit, I compiled and install new kernel 
4.20.17.

According to https://source.android.com/setup/build/building , I did below 
first.  I set the build environment as x86_64.


$ source build/envsetup.sh
$ lunch aosp_x86_64-eng
$ make -j4


I Also built stagefright like below.


$ cd [AOSP sourcecode]/framework/av
$ mma -j4



After that, I made a symbolic link for runtime-environment.


$ ln -s [AOSP sourcecode]/out/target/product/generic_x86_64/system /system



Next, I download newer version kernel, 4.20.17, and copied my original 
configuration file, and add options, compiled, and install it.


$ cp /boot/config-4.4.0-142-generic .config


(.config file)
...
CONFIG_ANDROID=y
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ASHMEM=y
...


$ make menuconfig
$ make-kpkg --initrd --J 4 kernel_image
$ dpkg -i linux-image-4.20.17_4.20.17-10.00.Custom_amd64.deb
$ echo -e "KERNEL==\"binder\", MODE=\"0666\"\nKERNEL==\"ashmem\", 
MODE=\"0666\"" | tee /etc/udev/rules.d/android.rules



After that process, I rebooted my VM, and tried to run the stagefright.


$ /system/bin/stagefright -s sample.mp4


(waiting until ctrl+c)



But the result is `nothing`. The process didn't stop or finish.

I just want to know how to run stagefright on x86_64 environment.
(I don't want to ARM cross compile stagefright.)

AOSP version is pie_9.0.0-r35.
Is anybody know how to fix it and run stagefright on ubuntu x86_64 normally?

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to