[DEV] Multiboot Linux on Infinity tf700 (project closed)

Search This thread

rabits

Senior Member
Nov 25, 2012
184
430
St.Petersburg
If you may port ubuntu, may you port Angstrom OS (like from Pandora Handheld) to our device? This distro is much better supported than our ubuntu.

No, I did this port of Ubuntu - mostly to myself. I do not need any other OS. Also tomorrow we can see img with "Ubuntu for Tablet" (for nexus devices). The next steps in the development of the port will depend on this.
 
Last edited:

LEGOracer69

Senior Member
Mar 16, 2012
103
5
No, I did this port of Ubuntu - mostly to myself. I do not need any other OS. Also tomorrow we can see img with "Ubuntu for Tablet" (for nexus devices). The next steps in the development of the port will depend on this.

I get it, but is it possible, because it does not seem to be supported.
 

singoutout

Senior Member
Sep 8, 2011
157
15
Re: [DEV] Native Ubuntu Linux on Infinity tf700

I get it, but is it possible, because it does not seem to be supported.

No img was released. It was just the announcement of ubuntu tablet, which is basically the same as Ubuntu mobile but optimized for tablets (different cpu speed, screen resolution ...).

For now, only Rabit's port is avaivle for you to have a fully working Ubuntu. I am done setting it up and was thinking about posting a video for those who still hesitate.

Mine is fully working with xubuntu, running with compiz and all the programs I need are fully working (libre office, ubuntu one, internet browsing ...).

;)
 
  • Like
Reactions: LEGOracer69

xFaultx

Senior Member
Jun 18, 2010
206
26
Tomorrow is when the image is supposed to be released, I believe.

A video would be helpful. Im tech savy, but a linux virgin. Its not as smooth as some other OSs, especially trying to lear what an i363 and a armhf program are
 

rabits

Senior Member
Nov 25, 2012
184
430
St.Petersburg
Ubuntu Tablet

So, I got zip with rootfs quantal-preinstalled-phablet-armhf.zip)) This is interesting img - 12.10-based, has many new and removed packages (lists attached - diff with daily 13.04 13.02.18).
Today I'll try to run it.
 

Attachments

  • new.list.txt
    9.8 KB · Views: 37
  • removed.list.txt
    16.9 KB · Views: 26
  • same.list.txt
    7.3 KB · Views: 16
  • Like
Reactions: 7786

Terolex

Senior Member
Jan 11, 2008
58
9
Dijon
Hi!

I'm happy to see this type of project for my TF700.
Now, the project concern the new version of ubuntu for tablet (Nexus release) or you work on the desktop version?

In every case, good luck!
 

quicknik

Member
Jul 29, 2012
31
11
Re: [DEV] Native Ubuntu Linux on Infinity tf700

So I have built a dev vm for ubuntu touch and working on it. Man it eats over 20GB.

It takes a long time to downlosd so be patient and do something else while it is doing its thing.

I will attempt to get this on the tf700 and utilize some of rabits hard work.

From what I can tell this is a chroot on top of cm10.1 so should work fine.

Sent from my SGH-T999 using xda app-developers app
 

pvka13

Member
Jan 2, 2013
26
55
Kaunas, LTU
I was able to set up 13.04 KDE (with compiz) and LXDE on my 32GB TF700. I used 0.8.0 as a base. It's possible to freely experiment with the rabits software stack provided the following packages are pinned: Pinned packages (/var/lib/synaptic/preferences file). Here's the list of installed packages (dpkg --get-selections) on my system.

Here are my impressions:
LXDE is very fast. KDE with compiz takes around one minute to boot, but after that its performance is acceptable (in fact, I use it as my main DE). KDE uses ~310MB of RAM after booting.

Brightness doesn't work automatically, though it's possible to control it via /sys/class/backlight/pwm-backlight/brightness. Max value is 255, min is 3. If you set brightness to 2 or lower then the screen turns off without a way to turn it back on. Only a reset fixes this.

The screen doesn't turn off on lid close. This is due to the touchscreen and the touchpad being active and firing touch events when the screen touches the dock. This script can be used to fix the issue. It disables the offending input devices on lid close and re-enables on lid open. Don't close the lid quickly if you use this script! Not only script doesn't work properly in this case due some delays in lid-close event processing, it also exposes a bug somewhere in the xserver stack which leads to a xserver crash quite often. Just don't close the lid quickly and you'll be fine. My "procedure" is as follows: close the lid so that there's ~1cm between the tablet and the dock, close lid slowly until the screen turns off, wait ~1 second after that and finally close the lid full.

I occasionally experience severlal second long lock-ups, especially during heavy IO load. Does anyone experience this too? Maybe there's a workaround?

I have one a bit unrelated question: what's the rationale for the UKSM patch being applied? The samepage merging is only useful when there many duplicate pages actually exist, which almost universally is when one runs several identical VMs on the same host. This is not the case here. I think it's not worth to waste precious memory and CPU bandwidth for little benefit - at least on my system there was only ~20-30MB savings when using all 1GB ram. A better solution would be to simply swap out unused memory. The main mmc memory is comparatively fast - ~15MB seq read/write, 4MB/s 4k read, 3MB/s 4k write - this should work reasonably well.

I get the feeling that the initrd scripts should fsck the rootfs image being loaded. Every time the system locks up or reboots (which still does happen), there's a certain risk of filesystem corruption. If occasional errors are not fixed, there's huge risk for data loss, or mysteriuos bugs. I've spent at least an hour debugging why I can't recreate /etc/mtab file - the culprit was filesystem corruption during an earlier reboot.
 

rabits

Senior Member
Nov 25, 2012
184
430
St.Petersburg
@rabits, will you add dualboot for this version ("not touch" ubuntu) with CyanogenMod?
Yes, I'm working on unification of initram scripts now.
I have one a bit unrelated question: what's the rationale for the UKSM patch being applied?
Hm, maybe you right. I added it in beginning for test, but forgot to do any tests))
I get the feeling that the initrd scripts should fsck the rootfs image being loaded
It is a necessary thing I've added it to the list.
 
  • Like
Reactions: rtfpessoa

pgratz

Member
Oct 7, 2007
22
5
Hi All,
This is my first time posting in this thread so I wanted to start with many thanks to Rabits and others for putting this together!

I searched the thread and I havent seen anyone talking about the problem I'm having so I thought I'd post up. On the previous iteration (.71 IIRC) Wifi seemed to work fine with my dock installed (never tried it without), however now on .8 I can't seem to get Ubuntu to see the wifi interface. I saw notes here about some people having this problem when booting without the dock. In my case I usually leave the dock on at all times so I don't think it is the same problem. Does anyone have some advice on how to address it (I'm reasonably well versed in Linux sys admin from the cli). For what its worth iwconfig doesn't even report a WIFI enabled interface.

Also a minor annoyance is that the onscreen virtual keyboard keeps popping up whenever I swtich to a terminal or anything that takes keyboard input. Since I have the dock I'd like to kill this but I haven't been able to figure out how to make it go away permanently.

If you all would rather I post this in the user forum let me know and I apologize for the wasted bandwidth here.
Thanks!
Paul
 

Top Liked Posts

  • There are no posts matching your filters.
  • 63
    Developers thread for users general.

    I will post here some external links and additional information.

    GitHub tf700 Repository - place for config files and step-by-step manual to create you own kernel and rootfs
    GOO.IM file place
    Tablet PPA for Raring

    Changed packages is placed in /root/deb directory.

    Known problems: (nexus7 wiki, mattfischer blog post, nexus7 bugs)
    • Unity has some problems with performance and ram eating - this is place for optimizations.
    • In-device microSD really bad works.
    • WiFi disabling is fail bcmdhd kernel module.
    • vt1-only, if you try to switch to vt* (`chvt 2`) - your device is freezes and reboot.
    • To use unity you need nux-tools, libnux-3.8-0 and libnux-3.8-common with version 3.8.0-0ubuntu1nexus7.1 (this packages are hold)
    • Sometimes I can see really bad artifacts with fonts and background on the device screen (mostly if using chromium browser). Only reboot fixes it.

    Progress list:
    • Test Linux boot {DONE}
    • SDCard rootfs {DONE}
    • Graphical boot{DONE}
    • Keyboard special keys remapping (Esc, F1-12, Ins, Print, Break, Del, Home->Alt, Search->Meta4) {DONE in 0.8.0}
    • WiFi {DONE}
    • OpenGL ES {DONE}
    • Audio {DONE} In pavucontrol as output device selected Analog Stereo Output, in alsamixer (tegra-codec) unmute IntSpk
    • Video up to 1080p {DONE} (ac100 info) - Soft audio requires gstreamer0.10-plugins-*
      • nvgstplayer --sas="audioconvert ! pulsesink" -i <videofile> - Fullscreen mode
      • nvgstplayer --svs="nvxvimagesink" --sas="audioconvert ! pulsesink" -i <videofile> - Window mode
    • Touchscreen {DONE in 0.7.0} - used mtev one-touch driver 0.1.13 with api and 2button patches - right click by push one finger and click by second finger (thanx, cb22)
    • Touchpad {DONE in 0.6.1}
      • 2 fingers scrolling {DONE}
      • 3rd mouse button by 2 finger tap {DONE 0.6.1} - created new version of package multitouch "-swaptaps"
    • Updated tegra3 drivers and codecs to 16.2 {DONE in 0.6.1}
    • Ubuntu/Android dualboot {DONE in 0.7.0}
      • Initrd bootloader trying to boot sda1(dock sd cardreader or usb device), mmcblk1p1(internal microsd cardreader), sdb1 (dock sd cardreader or usb device), mmcblk0p9(inernal device), /data/media/tf700-rootfs-linux.img(in-device installed virtual disk) (0.7.0)
      • If it can't load linux - fallback to Android (0.7.0)
      • Boot android if voldown (or special, like Up key) key pressed in menu (0.7.0)
      • Fixed nvavp problem in android (0.7.0)
      • Fixed problems with Android sleeping by unbinding vtconsole before Android boot (0.7.0)
    • Initrd installer to mmcblk0p8 user partition and mount as loop with binding mmcblk0p8 {DONE in 0.7.0}
    • Fonts and cursor size {DONE in 0.8.0}
    • ZIP installer by Aroma {partially}
      • Install of boot image {DONE in 0.7.1}
      • Install script for SDcard-way and Virtual Disk-way {DONE in 0.8.0}
      • Possibility of using mmcblk0p8 /data as /home {DONE in 0.8.0}
      • Dynamical making of boot.blob {DONE in 0.8.1}
      • Select rootfs to boot {DONE in 0.8.1}
      • CM10.1 initrd (link) {DONE in 0.8.1}
      • Android boot from sdcard or virtual drive {DONE in 0.8.1}
      • UbuntuTouch initrd {DONE in 0.8.2}
      • Change boot system names {DONE in 0.8.2}
      • Add option to boot android by default {DONE in 0.8.2}
      • Check md5 of rootfs archive
      • Encryption for linux partition
    • FSCK check & fix rootfs before mounting {DONE in 0.8.2}
    • GPIO keys {partially in 0.8.0}
    • Switch rootfs to 13.4 (link) {partially}
    • Bluetooth
      Try this: /system/bin/brcm_patchram_plus --bd_addr `cat /etc/bluetooth/bt_addr` --enable_hci --enable_lpm --no2bytes --tosleep 50000 --baudrate 4000000 --use_baudrate_for_download --patchram /lib/firmware/bcm4334.hcd --i2s=1,0,0,0 /dev/ttySAC0&
    • Totem and nvgst modules
    • Go to Wayland+Weston+libhybris to use egl android drivers
    • Disable speaker if headphones connected

    Additional:

    Need help:
    • Suspend to RAM - Not working with X (trace), without X (stop lightdm) - suspended, but not wake.
      1. Wakelock to emmc
      2. Wake up: echo "on" > /sys/power/state or powerbutton (maybe with kernel patching)
    • Totem - now is not working
      gstreamer-properties and set Audio->Output=Custom, Audio->Output->Pipeline="nv_omx_audiosink" and Video->Output=Custom, Video->Output->Pipeline="nvxvimagesink"
    • HDMI copy of screen (any ideas?)
      • Xorg configuration shows blue lines on HDMI screen
      • Not working properly with 1920x1080: `xrandr --output LVDS-1 --auto --output HDMI-1 --mode 1920x1080` - I get "xrandr: Configure crtc 1 failed"
      • Tested on different display with fullhd support - seems like tegra3 drivers problem
      • Works ok with 1280x800:
        xrandr --newmode `gtf 1280 800 60 | tail -n2 | head -n1 | sed 's/ Modeline //'`
        xrandr --addmode HDMI-1 1280x800_60.00
        xrandr --output LVDS-1 --auto --output HDMI-1 --auto
    • HDMI audio (any ideas?)
    • Adobe Flash player (any ideas?)
    • Skype (any ideas?)

    List of optimizations:
    • ZRam {DONE}
    • UKSM (Ultra Kernel Samepage Merging) {DONE} (info in Russian)
    • CPU optimizations {partially}
      • Clemsyn OC 1.3 - 1.8ghz 650GPU Kernel {DONE in 0.6.2} - seems like not properly working on AndroidRoot hacked bootloader
    • Boot optimizations {partially}
      • Initrd scripts {DONE in 0.6.2}
      • Kernel modules upgrade from initrd {DONE in 0.7.1}
    • IO optimizations {partially}
      • Some optimizations of filesystem mounting {partially in 0.6.2}
      • Install to device main emmc memory {DONE in 0.7.0}
    • Power optimizations:
      • Screen off on lid
      • RAM Sleep
      • Powersave, Auto and Performance modes

    Plans for the future:
    • Prepare common installer for any tegra3 device.

    Test builds:
    • Nope

    If you can help in development - please, write here.
    7
    Hi, Guys! I'm back.
    I'm completely loose my data on my encrypted notebook by replacing luks headers :eek: , but this is not big problem (praise github! :laugh:)

    Current plans till 13 Jan:
    • prepare installer into rootfs
    • switch from img to tar rootfs
    • simplify install process.
    6
    Hey, guys!)) Happy NY!

    I prepare new release with installer to main memory 8-10 Jan.
    Thanks, guys, for your desire to support development - I added the paypal button, but I do not really need the money. I do this porting mostly for myself))

    Once again, Happy New Year and Merry Christmas! I left my computer for a small vacation))
    6
    No rush or disrespect intended... Any progress?

    Hmmm... Some progress:
    - Rollback to previous kernel
    - Directory replace of img files - switched to chroot and blocked by mountall upstart task
    - No progress in 13.04 - blocked by dir replace...

    Earlier this week I finished a vacation that had no access to the north of the development. Also, I started another project in this now tf700 enthusiasm waned a bit.
    But I plan to complete the integration of the 13.04 until the end of July.
    4
    Hi everyone,

    I've been working on getting ArchLinuxArm running on the TF300 over at http://xdaforums.com/showthread.php?t=1918849

    Just something that might help with your touchscreen - you should be able to get basic functionality if you use the xf86-input-mtev driver (see https://aur.archlinux.org/packages/xf86-input-mtev-meego/ )

    While less than ideal, it's better than nothing. We have the same issue with X segfaulting when the evdev driver is used. I actually looked into that, and it has to do with the way events are reported by the kernel driver, if I remember correctly.