[Other TouchPad Development] jshafer817:
https://plus.google.com/113386402913695079840/posts/9LF6atjc455

Finally have triangles!!!

test_glesv2 works!

./autogen.sh --prefix=/usr --enable-wayland --with-android-headers=/headertest --with-default-egl-platform=jb

headers were extracted form host and then compiled on device.

lvm was put in ramdisk and pointed to /dev/store/ubuntu-root, etc...

cm10 was recompiled with bionic patch

http://pastie.org/7649385

(could try phablet? http://phablet.ubuntu.com/gitweb?p=...ch;h=743fec626119da9cfb125e38b6cacc0e9b3a0dcc)

diff of the kernel

4c4

< # Mon Nov 4 03:43:08 2013

---

> # Sun Jun 30 02:52:45 2013

39,40c39,40

< CONFIG_LOCALVERSION=""

< CONFIG_LOCALVERSION_AUTO=y

---

> CONFIG_LOCALVERSION="-cyanogenmod"

> # CONFIG_LOCALVERSION_AUTO is not set

48c48

< CONFIG_SWAP=y

---

> # CONFIG_SWAP is not set

54c54

< CONFIG_AUDIT=y

---

> # CONFIG_AUDIT is not set

173d172

< # CONFIG_CGROUP_BFQIO is not set

538,539c537

< CONFIG_CMDLINE="fb=0x7f600000 fbcon=disable console=ttyUSB0,115200n8 klog=0x7ff00000 klog_len=0x100000 boardtype=topaz-Wifi-pv"

< CONFIG_CMDLINE_FORCE=y

---

> CONFIG_CMDLINE=""

1001,1002c999

< CONFIG_DEVTMPFS=y

< # CONFIG_DEVTMPFS_MOUNT is not set

---

> # CONFIG_DEVTMPFS is not set

1844c1841,1843

< # CONFIG_MSM_CAMERA is not set

---

> CONFIG_MSM_CAMERA=y

> # CONFIG_MSM_CAMERA_DEBUG is not set

> # CONFIG_MSM_CAMERA_V4L2 is not set

1848a1848,1853

> # CONFIG_IMX074 is not set

> # CONFIG_WEBCAM_OV7692 is not set

> CONFIG_WEBCAM_MT9M113=y

> # CONFIG_WEBCAM_MT9M114 is not set

> # CONFIG_VX6953 is not set

> # CONFIG_MSM_CAMERA_FLASH is not set

1849a1855,1857

> CONFIG_MSM_GEMINI=y

> CONFIG_MSM_VPE=y

> CONFIG_QUP_EXCLUSIVE_TO_CAMERA=y

2191c2199

< CONFIG_USB_SERIAL_CONSOLE=y

---

> # CONFIG_USB_SERIAL_CONSOLE is not set

2222c2230

< CONFIG_USB_SERIAL_PL2303=y

---

> # CONFIG_USB_SERIAL_PL2303 is not set

2488d2495

< # CONFIG_RAMZSWAP is not set

2511,2512c2518,2519

< CONFIG_EXT3_FS_POSIX_ACL=y

< CONFIG_EXT3_FS_SECURITY=y

---

> # CONFIG_EXT3_FS_POSIX_ACL is not set

> # CONFIG_EXT3_FS_SECURITY is not set

2515,2516c2522,2523

< CONFIG_EXT4_FS_POSIX_ACL=y

< CONFIG_EXT4_FS_SECURITY=y

---

> # CONFIG_EXT4_FS_POSIX_ACL is not set

> # CONFIG_EXT4_FS_SECURITY is not set

2525c2532

< CONFIG_FS_POSIX_ACL=y

---

> # CONFIG_FS_POSIX_ACL is not set

2537,2538c2544,2545

< CONFIG_AUTOFS_FS=y

< CONFIG_AUTOFS4_FS=y

---

> # CONFIG_AUTOFS_FS is not set

> # CONFIG_AUTOFS4_FS is not set

2541d2547

< CONFIG_GENERIC_ACL=y

2574c2580

< CONFIG_TMPFS_POSIX_ACL=y

---

> # CONFIG_TMPFS_POSIX_ACL is not set

2908d2913

< CONFIG_AUDIT_GENERIC=y

DISABLE RFKILL!

Random notes!

cp arch/arm/boot/uImage ~/moboot/tools

cd ~/moboot/tools

rm uImage.Mer

rm uRamdisk

rm kernel.img

./uimage-extract uImage

rm uImage

mkimage -A arm -O linux -T kernel -C none -a 0x40208000 -e 0x40208000 -n "Kernel" -d kernel.img uImage

mkimage -A arm -O linux -T ramdisk -C none -a 0x60000000 -e 0x60000000 -n "Image" -d ramdisk.img uRamdisk

mkimage -A arm -O linux -T multi -a 0x40208000 -e 0x40208000 -C none -n "multi image" -d uImage:uRamdisk uImage.Mer

cat uImage.Mer | novacom put file:///boot/uImage.Mer

sed -i '$ a nameserver 8.8.8.8' > /etc/resolv.conf

echo "nameserver 8.8.8.8" > /etc/resolv.conf

./autogen.sh --prefix=/usr --enable-wayland --with-android-headers=/headertest --with-default-egl-platform=jb

QT_QPA_EGLFS_PHYSICAL_WIDTH=1024 QT_QPA_EGLFS_PHYSICAL_HEIGHT=768

QT_QPA_EGLFS_DEPTH=24 /usr/lib/qt5/bin/qmlscene -platform eglfs ./usr/lib/qt5/examples/qtwayland/qml-compositor/main.qml

zypper install make gcc automake libtool wayland-devel gcc-c++

./autogen.sh --prefix=/usr --enable-wayland --with-android-headers=/headertest --with-default-egl-platform=jb

make

make install

[root@localhost libhybris]# mv eglplatform_null.la eglplatform_jb.la

[root@localhost libhybris]# mv eglplatform_null.so eglplatform_jb.so

test_glesv2 works!

gpasswd -a nemo hybris

gpasswd -a root hybris

echo 5.9.68.173 repo.pub.meego.com | tee -a /etc/hosts

echo 5.9.68.173 releases.nemomobile.org | tee -a /etc/hosts

move hybris into external!!!!