Oracle Java SE 8 for ARM - Raspberry Pi General

Hi,
i've tried the new Java 8 SE for ARM preview from Oracle. It's really fast! I've used OpenJDK 7 with Zero until now, but this new VM is roughly 3-4 times faster than the OpenJDK 7. A server process runnning at roughly 20% CPU with OpenJDK, now runs under 6%. So if you use Java on the RPi, check what VM is best for you...
Have fun...
...Alex
PS: Link is https://blogs.oracle.com/java/entry/developer_preview_of_java_se

Do you need the soft-float ABI firmware?
Sent from my GT-S5830 using Tapatalk 2

NathanBookham said:
Do you need the soft-float ABI firmware?
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
I got this from the article that the person above me posted. It should answer your question.
"The distribution you want is the latest Raspbian Wheezy hard float build, which is the recommended install on the Raspberry Pi download site"

NathanBookham said:
Do you need the soft-float ABI firmware?
Click to expand...
Click to collapse
No, the Early Access of Java SE 8 for ARM is build for hard-float. The following article describes how to install an use it on Raspberry Pi:
JavaFX on Raspberry Pi – 3 Easy Steps

Awesome!
Sent from my GT-S5830 using Tapatalk 2

I've actually ran a Minecraft server with it today. It is surprisingly fast, the game was more than playable (though falling sand and TNT gave it a few fits). This was with me being the only one on, though. It would probably start freaking out more with a few players on.
And if there was any doubt, I can confirm that it works with Raspbian (ancient version from back in August) on my 256MB RPi.

Related

Windows 8 instead of Linux Webtop?

I've been browing the interwebs today, and I saw a little article about Windows 8. It reminded me that Windows 8 was going to be built from the up to support ARM devices. Given the power of ARM devices now (Tegra 2, OMAP dual-core, Apple A5, etc.) It wouldn't be unfeasible to see this in the future? How many people would like to use Windows 8 instead of webtop mode on the Atrix? I'm just rambling on, but it's a neat thought.
paravorheim said:
I've been browing the interwebs today, and I saw a little article about Windows 8. It reminded me that Windows 8 was going to be built from the up to support ARM devices. Given the power of ARM devices now (Tegra 2, OMAP dual-core, Apple A5, etc.) It wouldn't be unfeasible to see this in the future? How many people would like to use Windows 8 instead of webtop mode on the Atrix? I'm just rambling on, but it's a neat thought.
Click to expand...
Click to collapse
I think windows phones only support certain drivers for cpus and gpus so if they don't support it I think your SOL regardless of how powerful it is. Kinda how if you bought the best graphics card available but didn't have a driver you might as well have integrated graphics (probably worse than that)
Sent from my MB860 using Tapatalk
Double post sorry.
I'm not talking about Windows Phone. Windows Phone 7 is a completely different beast, and I know that mainly Snapdragon CPUs are supported at this time, and probably Adreno 200-205 GPUs.
I'm talking about Windows 8, the next version of windows, slated to come out in maybe 2012, probably 2013.
Here's a link I just searched, can't find the one I originally saw:
http://news.cnet.com/8301-13924_3-20026429-64.html?tag=mncol;9n
If by ARM devices they mean ANY ARM device, then we're in luck. Even if it only supports a certain ARM architecture, Cortex A9 will be fairly prevalent during the time Windows 8 would come out, so it's very likely Tegra 2 would be supported in the OS.
Ohhhh, ok gotcha sorry!
Sent from my MB860 using Tapatalk
+1 on topic
+1 on being able to run any version of windows on my atrix lapdock! I've got the debian linux stuff running but I've always had a thing for windows (especially 7 now) and all the programs I run on it. I would surely discard my laptop given the ability to run windows on the lapdock!
I'd love to see a dual boot option once windows 8 does come out
Sent from my MB860 using XDA Premium App
This would be cool too see, but by the time windows 8 comes out we will all have the next gen Atrix with the tegra3 quadcore or equivalent.
darebear802 said:
+1 on being able to run any version of windows on my atrix lapdock! I've got the debian linux stuff running but I've always had a thing for windows (especially 7 now) and all the programs I run on it. I would surely discard my laptop given the ability to run windows on the lapdock!
Click to expand...
Click to collapse
Windows 8 (ARM-build) will not immediately mean you can run any windows programs on it. Programs will have to be compiled for ARM support, just like anything else. It's possible MS may try to streamline it by having some form of on-the-fly x86 emulation but that would be way too demanding for most mobile ARM implementations.
It is unlikely to have many apps or drivers. Open source operating systems are much quicker and easier to port.
Steveg, I think microsoft specifically started that they would not emulate x86 in arm, and that if you wanted a program to work, you had to make sure it compiled in arm.
Sent from my MB860 using XDA. Premium App
Doesn't the webtop work by running an x-server off the existing android kernel and using modified ubuntu components? (I may be entirely wrong on this.)
If so, I we can't use the android kernel to boot Windows and we can't run both kernels concurrently. The only way I see this working is actually booting into a Windows 8 kernel (given Microsoft or more likely nVidia provide drivers), but in that case we wouldn't be running Android and thus probably would be restricted in terms of phone functionality.
Anyone with more webtop experience have any ideas?
Sent from my MB860 using XDA App
c-genx said:
Doesn't the webtop work by running an x-server off the existing android kernel and using modified ubuntu components? (I may be entirely wrong on this.)
Click to expand...
Click to collapse
This is correct, except that the Android and Webtop environments both use the same *Linux* kernel.
If you wanted to run Windows 8 on the webtop, you'd have to either run it across the board or run it in some sort of virtualized machine.
Impossible. Won't ever happen. You know how they say there's no such thing as a dumb question? This thread tests that theory. Sorry buddy!
(Why? There's a litany of reasons: no driver support, no access to source code, Windows 8 is very far from being finished, no driver support, I doubt any devs would be willing to take the project, no drivers, and did I mention that the hardware for the Atrix and webtop doesn't have any NT/Windows drivers? )
deduction said:
Impossible. Won't ever happen. You know how they say there's no such thing as a dumb question? This thread tests that theory. Sorry buddy!
(Why? There's a litany of reasons: no driver support, no access to source code, Windows 8 is very far from being finished, no driver support, I doubt any devs would be willing to take the project, no drivers, and did I mention that the hardware for the Atrix and webtop doesn't have any NT/Windows drivers? )
Click to expand...
Click to collapse
Today I will name you "Negative Nancy".
ChumleyEX said:
Today I will name you "Negative Nancy".
Click to expand...
Click to collapse
Debbie downer has a point tho
Sent from my MB860 using XDA App
ChongoDroid said:
Debbie downer has a point tho
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
true true
arg
Kal-el is rumored to be the ARM architecture that Microsoft showed off their Windows 8 demos on. nVidia has stated they intend to have ARM chips with Windows 8 support. It's entirely possible that they'll only release Windows 8 drivers for Tegra 3, but I see no reason why anyone can know for sure that nVidia won't provide Tegra 2 driver support. All this talk about it being impossible seems incredibly premature given nVidia's Windows 8 pledge.
Sent from my MB860 using XDA App
Okay, either you misunderstand me, our you are replying to someone else in this thread. Of course there its no source code yet. It's not finished. I was just throwing out an idea that if nvidia releases the drivers once windows for arm is released, then maybe instead of the linux webtop, we could use the windows 8 environment.
Edit: And the xda app doesn't quote replies.
As for windows 8 being run on I kal el,
yea, that's probably what will end up happening, but hey, we can dream, right?
Sent from my MB860 using XDA Premium App
paravorheim said:
Okay, either you misunderstand me, our you are replying to someone else in this thread. Of course there its no source code yet. It's not finished. I was just throwing out an idea that if nvidia releases the drivers once windows for arm is released, then maybe instead of the linux webtop, we could use the windows 8 environment.
Edit: And the xda app doesn't quote replies.
As for windows 8 being run on I kal el,
yea, that's probably what will end up happening, but hey, we can dream, right?
Sent from my MB860 using XDA Premium App
Click to expand...
Click to collapse
There's no source code yet? yet? it will never be! MS won't release its main product source code. It's just impossible, or totally impractical. I don't know if developers would be interested on this.

What Linux Distro prefered for Linux Developers Edition?

I have considered building another Linux Developers Edition but possibly using Ubuntu for the base distro. What would you like for the base distro? How about apps for making your development more productive? Just remember, afa apps, the iso will increase with added apps so it needs to be something you absolutely can't live with out. Also, I began to make my own dev distro after having to re-install all my stuff for compiling or customizing roms after changing pcs a couple of times and now think it would benefit most.
Treken said:
I have considered building another Linux Developers Edition but possibly using Ubuntu for the base distro. What would you like for the base distro? How about apps for making your development more productive? Just remember, afa apps, the iso will increase with added apps so it needs to be something you absolutely can't live with out. Also, I began to make my own dev distro after having to re-install all my stuff for compiling or customizing roms after changing pcs a couple of times and now think it would benefit most.
Click to expand...
Click to collapse
Debian base, xfce desktop environment(lightweight), include java6 jdk, eclipse, android SDK, and all prerequisites from aosp site. Gimp for theming.
Sent from my ADR6300 using XDA App
I'll consider it. Currently I have Linux Mint gnome desktop with everything you mentioned to include and it works nicely.
tcberg2010 said:
Debian base, xfce desktop environment(lightweight), include java6 jdk, eclipse, android SDK, and all prerequisites from aosp site. Gimp for theming.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
I like the above suggestions
Sent from my ADR6300 using Tapatalk
I'm looking at linux mint xfce which is debian based and of course xfce ui.
I would recommend tossing this into /lib/udev/rules.d/.
Its the android rules file for the dinc.
tcberg2010 said:
I would recommend tossing this into /lib/udev/rules.d/.
Its the android rules file for the dinc.
Click to expand...
Click to collapse
I think I can manage that
currently running Debian gnome is xfce really that much better???
mr.marcus said:
currently running Debian gnome is xfce really that much better???
Click to expand...
Click to collapse
It's a lot less resource hungry. It uses far less ram which lends to more ram for your apps to run on. I'm trying to get linux mint xfce to work. So far I managed to install everything needed to compile and dev, but remastersys isn't fulling installing. I use remastersys to create a live cd image but since it won't install I may be trying another rout.
Ok, almost done with the new dev kit. It's Debian base with XFCE as the desktop. It was a real tuffy trying to get all the tools installed, but I did. Debian Squeeze and XFCE4 combo was a challenge. I built it, for the most part, from scratch. Just finishing up on customization.
CAN'T WAIT!!! (said like Bart Scott) lol
Sent from my ADR6300 using XDA App
tcberg2010 said:
I would recommend tossing this into /lib/udev/rules.d/.
Its the android rules file for the dinc.
Click to expand...
Click to collapse
This is for adb, right?
Yea, it allows adb to recognize your phone. it's only for the Droid Incredible though. I think you could find a rules file for all phones on rootzwiki. Permissions need to be set chmod a+x.
Sent from my ADR6300 using XDA App
I have something better. It recognizes all phones. It works great.
Have some good news and bad news. Good news is that I finished the iso. Bad news is that it's actually larger in file size than the gnome dev kit. Hmmm...scratching my head on this one. I need to make it small enough to fit on a cd/pen drive. Don't give up just yet. Possibly considering lxde ontop of Debian.
Treken said:
Have some good news and bad news. Good news is that I finished the iso. Bad news is that it's actually larger in file size than the gnome dev kit. Hmmm...scratching my head on this one. I need to make it small enough to fit on a cd/pen drive. Don't give up just yet. Possibly considering lxde ontop of Debian.
Click to expand...
Click to collapse
I have a buddy who just tackled a similar project. He didn't do a devkit but just wanted his desktop and software pre-installed. He decided instead of rolling his own distro he would use the Debian installer and rebuild the iso. You can get his script and info here....
"http:"//schlutech.com/2011/07/the-debian-install-process
I have under 8 posts so in order to get the url above I added some quotes around the http:.
See if any of his stuff can help you with your project.
Hope this helps you.
z
Thanks! I think I finally got it. It's under 1 gig now but I neg to trim off some more fat to get it small enough to fit on a cd/pen drive
Hrmm...
You're looking for out of box specifically? You could try modifying Gentoo's CDs to fit your bill. I'm still working on getting Gentoo into a successful install though.
Wanted to use dsl but no 64 bit distro
I created a debian-based xfce-desktop distro with dev tools (devkit v1.3) from scratch. I will make a formal tread when I can. Here is the un-official link:
====> http://dev-host.org/r5ziempnn0nq/grpdevkit_1.3.iso <===
Enjoy!

[Q] [question]Windows 8 on Iconia?

Today at Build Microsoft announced that Windows 8 would launch with ARM support. Does this mean someone could potentially port it for the Iconia to be used in those times when a Window based software is needed but neither PC nor VLC is unavailable?
Please save "why would you want to use Windows" comments. This is a mature developer website, send those comments to Engadget.
brady.wassam said:
Today at Build Microsoft announced that Windows 8 would launch with ARM support. Does this mean someone could potentially port it for the Iconia to be used in those times when a Window based software is needed but neither PC nor VLC is unavailable?
Please save "why would you want to use Windows" comments. This is a mature developer website, send those comments to Engadget.
Click to expand...
Click to collapse
This being a "mature developer website" has a search function and q&a section. Both would lead you to this thread:
http://forum.xda-developers.com/showthread.php?t=1259742
Anyway, only time will tell if win8 will be ported to the iconia (or any other android tablet). I haven't heard of wp7 being ported to an android phone, so I wouldn't bet on it. Still I can see the potential in it and would gladly try it (especially if it can be made as dual-boot).
Sent from my A500 using XDA Premium App
Downloaded and installed the "Developers Preview" of Win 8 last night. Remember this is a pre-beta release, and for certain it's in it's infancy relatively speaking. As of this moment in time, Android has a much smoother interface for touch. Win 8 still feels a bit sticky for lack of a better word. I installed it on my HP Touchsmart TM2 2150 US laptop (core i3 with 8Gb ram), so it's not exactly a slouch in terms of hardware. It's a total touch screen laptop that has a screen that folds down onto the keyboard to create a tablet. As of this moment, Win 7 has a much better touch screen experience, but I fully expect that to change as the builds mature.
There are very few apps that come with it (28 I believe), and no app store as of yet obviously.
I read last night that typical Windows apps will not run on the ARM version of Win 8, and that MS is going to do it's best to prevent side loading of apps on the ARM version to keep people purchasing apps, instead of loading them from a USB stick or SD card, but that is just rumor as of right now.
Long story short, you're not missing much yet.
tkolev said:
only time will tell if win8 will be ported to the iconia
Click to expand...
Click to collapse
I appreciate this is in the A500 forum, but the Iconia also comes in a W500 variant which does indeed run Win8:
http://youtu.be/_CNQVk7nok0
twisticles said:
I appreciate this is in the A500 forum, but the Iconia also comes in a W500 variant which does indeed run Win8
Click to expand...
Click to collapse
Some of us already have an a500. No need to bring up another piece of hardware. "Yeah your Honda s2000 can fit a Corvette engine, but why not get a Corvette instead"
Sent from my A500 using xda premium
I don't think Microsoft will be releasing a beta for ARM chips and we will see Windows 8 run on ARM only during retail. After that XDA will not port Windows 8 simply because it would be considered illegal.
twisticles said:
I appreciate this is in the A500 forum, but the Iconia also comes in a W500 variant which does indeed run Win8:
http://youtu.be/_CNQVk7nok0
Click to expand...
Click to collapse
The OP was asking about the ARM version of win8, so I seriously doubt that it is about the w500.
Sent from my A500 using XDA Premium App
I installed Windows 8 on my pc a few hours ago. It is very smooth! But my DVD burner doesn't work... Anyway, I would love to see it on the A500.
Here's a preview of Win 8 tablets. Acer's is running an AMD chip instead of a Tegra:
http://www.anandtech.com/show/4811/windows-8-tablets-running-on-ti-qualcomm-nvidia-amd-intel-silicon
Windows 8
Windows 8 *might* just support ARM. Everyone on the net is talking about it but no one is really sure. But as for now if you want something similar to Windows 8 there's always WinCE7 :-D Cheers.
masands said:
I don't think Microsoft will be releasing a beta for ARM chips and we will see Windows 8 run on ARM only during retail. After that XDA will not port Windows 8 simply because it would be considered illegal.
Click to expand...
Click to collapse
Look at HTC HD2, illegal?! I think no retail arm based version. No retail maybe dev can port. Maybe it is hard to port and that is the be ass.
emo-dudes said:
Windows 8 *might* just support ARM. Everyone on the net is talking about it but no one is really sure. But as for now if you want something similar to Windows 8 there's always WinCE7 :-D Cheers.
Click to expand...
Click to collapse
There's no "might" about it. Microsoft confirmed ages ago that there WILL be an ARM version of Windows 8, and recently clarified that it will NOT run native x86 applications. It's conjectured that that .NET applications should run with either minimal changes, or straight off the bat.
It's also been demoed running on Tegra 3 hardware.
FloatingFatMan said:
There's no "might" about it. Microsoft confirmed ages ago that there WILL be an ARM version of Windows 8, and recently clarified that it will NOT run native x86 applications. It's conjectured that that .NET applications should run with either minimal changes, or straight off the bat.
Click to expand...
Click to collapse
Pure .NET applications should run just fine as long as they're using the same .NET framework as W8 does, but Microsoft is encouraging devs to use HTML5 for anything simple enough. They're aiming for HTML5 support to be top-notch and W8 and to be all-encompassing.
And yes, I concur with FloatingFatMan: why do people even think an ARM W8 would be able to run x86 binaries? That's just plain stupid. ARM applications will run on ARM W8, x86 applications will run on x86 W8, that's that.
WereCatf said:
Pure .NET applications should run just fine as long as they're using the same .NET framework as W8 does, but Microsoft is encouraging devs to use HTML5 for anything simple enough. They're aiming for HTML5 support to be top-notch and W8 and to be all-encompassing.
And yes, I concur with FloatingFatMan: why do people even think an ARM W8 would be able to run x86 binaries? That's just plain stupid. ARM applications will run on ARM W8, x86 applications will run on x86 W8, that's that.
Click to expand...
Click to collapse
There was some rumour that Ms would my providing some transcoding layers as part of the ARM kernel, much like Apple did with the first x86 versions of OSX, but that would be horrendously slow and open the ARM platform to x86 malware.
Pure .NET apps SHOULD run fine, unless MS ship the compact framework instead of the full one. As for HTML5... URGH! (I'm a C# programmer, and after being shafted by MS over first WPF and now Silverlight, they can blow HTML5 out their asses! )
FloatingFatMan said:
There was some rumour that Ms would my providing some transcoding layers as part of the ARM kernel
Click to expand...
Click to collapse
I know there was such a rumour, but anyone with half a braincell should've realized that it was just wishful thinking from people who don't know what they're talking about.
ARM devices are first and foremost mobile devices so an emulation layer would eat horribly on the battery. Not to mention that I am not aware of a single ARM processor sporting any kind of hardware virtualization features or transcoding mechanisms, so the performance would be really poor, too.
And if Microsoft did make such an emulation layer it would be Microsoft that would get all the blame for horribly low battery-life and poor performance because people wouldn't understand the underlying problem. Microsoft saves themselves a lot bad PR just by avoiding the whole thing altogether.
Pure .NET apps SHOULD run fine, unless MS ship the compact framework instead of the full one. As for HTML5... URGH! (I'm a C# programmer, and after being shafted by MS over first WPF and now Silverlight, they can blow HTML5 out their asses! )
Click to expand...
Click to collapse
They're already churning lawyers at full speed from their arses, there's no more capacity for HTML5 there, too.

Windows 8 on our Xooms?

From what I understand, it is built off of ARM processors and our tablets run off of them as well. The public beta was just released but need work for tablet based devices. Pretty much later this year. Would you guus love it or hate it?
http://mobile.reuters.com/article/idUSTRE81S0CD20120229?irpc=932
Twitter: @KNOWLEDGE561
Blog: http://knowledgexswag.tumblr.com
I'm Motorola Xoomin on you!
I'd absolutely love it. The enterprise integration would simply remove the limitations android has in the corporate environment i use daily. I'd love to jump on this bandwagon!
Sent from my Xoom using xda premium
I'd love it, gimme an excuse to get a xoom.
Sent from my Transformer TF101 using XDA Premium HD app
They still haven't released an arm version yet (unless you are looking somewhere I haven't seen.) x86 and 64 bit are all that seem to be available here:
http://windows.microsoft.com/en-US/windows-8/iso
rvbarton said:
I'd absolutely love it. The enterprise integration would simply remove the limitations android has in the corporate environment i use daily. I'd love to jump on this bandwagon!
Sent from my Xoom using xda premium
Click to expand...
Click to collapse
ARM builds of Windows 8 will , at least initially, be limited in enterprise: http://www.theverge.com/2012/2/29/2833193/windows-8-arm-enterprise-management
What do you find lacking in Android ICS for enterprise? A good run-down of everything it's added in support of enterprise can be found here.
wes_s said:
They still haven't released an arm version yet (unless you are looking somewhere I haven't seen.) x86 and 64 bit are all that seem to be available here:
http://windows.microsoft.com/en-US/windows-8/iso
Click to expand...
Click to collapse
That's why I stated later this year. Dual booting ICS and Windows will give me the ultimate tablet.
Twitter: @KNOWLEDGE561
Blog: http://knowledgexswag.tumblr.com
I'm Motorola Xoomin on you!
knowledge561 said:
That's why I stated later this year. Dual booting ICS and Windows will give me the ultimate tablet.
Click to expand...
Click to collapse
I also want this. But, unfortunately, it probably won't be possible on ARM hardware without some serious hacks: Windows 8 secure boot
The more likely scenario is getting an x86 build of Android dual-booting with a Windows 8 tablet/laptop.
yes i love ittttttttttttttttttt

Linux distro on the Nexus 7

Hi everyone,
I consider buying a this nice little tablet I just wonder if anyone managed to install a complete Linux distribution on it like ArchLinux ARM natively (not emulation/virtualization not even chroot) with everything working. I guess that even if it's not done up to now it will be quite easy to do as everything is open source.
Thanks
So as a few months passed since the Nexus 7 is available and I just bought one yesterday, I thought that I could do a little up...
Hope mods won't think it is offensive to make alive an old thread with some kind of what I think is a good reason.
If no one can help me, I will probably work on a native ArchLinux ARM on my nice new tablet in the next days. But first I have to make sure I can get it back fully stock from a fully rooted/unlocked/repartitioned state. If I have no choice I will dd my entire N7's internal memory to a slightly bigger USB stick to recreate exactly the partition table. But I am not sure I can have a complete access to the internal flash memory (all of the partitions with the boot loader, recovery etc). If someone can confirm if I have only one memory drive or more to backup or if there is no chance that I cannot recrate then entire Android stock system from a corrupted partition table for example... I would appreciate it right!
Thanks in advance!
Sorry if this is already answered I have to confess that I didn't search for the last part, I don't have time this morning.
Sent from my Nexus 7
Yeah installing Linux on the N7 has been done. I think the Ubuntu Distro is the one that was used for the successful install.
I did a little searching and found it for you:
http://forum.xda-developers.com/showthread.php?t=1585009
Hope that helps
Wilks3y said:
Yeah installing Linux on the N7 has been done. I think the Ubuntu Distro is the one that was used for the successful install.
I did a little searching and found it for you:
http://forum.xda-developers.com/showthread.php?t=1585009
Hope that helps
Click to expand...
Click to collapse
Thanks for your answer but I was looking for a native installation, not a chroot if possible that I can use hardware
acceleration (maybe that I still could with virtualGL though).
It is already a good point that it has been done in chroot, wich I am not surprised.
Sent from my Nexus 7
johnride said:
Thanks for your answer but I was looking for a native installation, not a chroot if possible that I can use hardware
acceleration (maybe that I still could with virtualGL though).
It is already a good point that it has been done in chroot, wich I am not surprised.
Sent from my Nexus 7
Click to expand...
Click to collapse
To be honest mate, I'm not into it all that deep, couldn't even tell ya the difference between chroot and a native client, perhaps you could explain for me?
the chrooted version is the android kernel with the ubuntu "programs" running. you can access the ubuntu desktop only via a vnc client, as there is no "real" x server running. think of it as ubuntu running as a service in the background which you then access via local network from your android.
would be interested in a native version as well.
kendong2 said:
the chrooted version is the android kernel with the ubuntu "programs" running. you can access the ubuntu desktop only via a vnc client, as there is no "real" x server running. think of it as ubuntu running as a service in the background which you then access via local network from your android.
would be interested in a native version as well.
Click to expand...
Click to collapse
That explains it, so basically on chroot the Ubuntu is a virtual machine in essence?
johnride said:
Hi everyone,
I consider buying a this nice little tablet I just wonder if anyone managed to install a complete Linux distribution on it like ArchLinux ARM natively (not emulation/virtualization not even chroot) with everything working. I guess that even if it's not done up to now it will be quite easy to do as everything is open source.
Thanks
Click to expand...
Click to collapse
Has not been released yet, but definitely check out this: http://www.ubuntu.com/devices/android
Nooo there is a big difference between chroot and virtualization. On a chroot you still use the same kernel which allows to have the same speed or almost as a native client for what does not require hardware acceleration. the point in getting and Native Client working is that we could get advantage of the GPU after some more or less hard work. I bought this tablet to replace my sold laptop the best I could so that's why I'm interested in this.
When you do virtualization, CPU instructions are converted from a type to another and this is very heavy on the CPU and this way you cannot have good performances.
Think of a road: in chroot you only have to make the instructions take a turn without slowing down while in virtualization you have to stop the "convertible" instructions "remove the roof" and then you can continue. That's why virtualization is much slower than chroot.
Edit:
Chroot says what it does: it changes the root. This means that programs that run in the chroot environment will think that the / is another folder than what it is really. For example if you do chroot /sdcard/ and you have a file named derp.txt on your sdcard than type rm /derp.txt it will work since your / is now /sdcard/. The most come in case of uses of EC truth is when you have a Linux machine not booting anymore so you have to repair the boot loader, you will boot on a Live CD of the same distro (Ubuntu for example), mount the drive with the broken installation, chroot to this installation regular root and perform the same reparation as if this install would be booted, still using the kernel and binaries from your live CD (unless you specify that you want to use those from the chrooted environment).
Hope this is clear.
Sent from my Nexus 7
Stevenator21 said:
Has not been released yet, but definitely check out this: http://www.ubuntu.com/devices/android
Click to expand...
Click to collapse
Yeah that's a very nice project but I want the desktop on my tablet, no docks and all. This is also in chroot I believe. Probably that I will install ArchLinux in chroot and try to make VirtualGL work but it's not really what I want.
Sent from my Nexus 7
johnride said:
When you do virtualization, CPU instructions are converted from a type to another and this is very heavy on the CPU and this way you cannot have good performances.
Click to expand...
Click to collapse
Small clarification. You're describing emulation here. Emulation is one processor pretending to be another. The Android SDK provides an android emulator that pretends to be an ARM device while running on your x86 PC.
Virtualization is a special feature of some processor architectures that allows multiple, virtual memory spaces to be created that are isolated from each other at a very low-level. I seriously doubt (but don't know for sure) that the ARM architecture has much support for virtualization. VMWare and its ilk use virtualization.
Anyway, virtualization runs at full processor speed. However, access to everything but main RAM and the CPU may be emulated in most implementations. Particularly, it's very tricky to get proper access to the GPU via virtualization, so it is often emulated.
Trivia-time: The presence of a primitive form of virtualization in the 386 is what allowed Linux to be written back in the day. The 286 didn't support switching between normal and escalated privilege modes (aka kernel vs user process space) on the fly. Oh crap. Now I'm starting to show my age. Um, get off my lawn!?!
The more you know...
Thanks for the clarification old chap!
I knew about material virtualization with some CPU's but did not realize that there was no emulation for the biggest part of the instructions. Will sleep less dumb.
Sent from my Nexus 7
kendong2 said:
would be interested in a native version as well.
Click to expand...
Click to collapse
Mhmmm as we are probably not alone to be interested in this, I think I will open a topic in original development section to see how many would be interested and what direction I should take. If anyone supports that idea I will create the thread. I think it would be easier to put together all the good ideas in the dev section.
Ah you beat me to it!
Well we (the linuxonandroid team) have been running a device fund which has just finished.
One of the devices i will be getting from this is a nexus 7 which is being bought for two goals.
A) fixing tegra chip bugs with our chroot builds (after all chroot for many is a good way forward as it leaves android intact)
B) building native linux distro installs. Starting with ubuntu but expanding to as many distros that support ARM as possible (debian, backtrack, archlinux, fedora etc etc).
So prehaps you would like to PM me and maybe we can team up for this
Sent from my GT-N7000 using xda premium
zacthespack said:
Ah you beat me to it!
Well we (the linuxonandroid team) have been running a device fund which has just finished.
One of the devices i will be getting from this is a nexus 7 which is being bought for two goals.
A) fixing tegra chip bugs with our chroot builds (after all chroot for many is a good way forward as it leaves android intact)
B) building native linux distro installs. Starting with ubuntu but expanding to as many distros that support ARM as possible (debian, backtrack, archlinux, fedora etc etc).
So prehaps you would like to PM me and maybe we can team up for this
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
I am currently working on developing on booting ubuntu on the nexus 7. Check this thread out - > http://forum.xda-developers.com/showthread.php?t=1842915

Categories

Resources