Use Pi to compile ROM/kernel for other ARM devices - Raspberry Pi Q&A, Help & Troubleshooting

So I have my Raspberry Pi and while waiting to develop my Giant Flying Robot with it, I was wondering if we can use it to compile a kernel or ROM for one of my phones. I know it will be much slower than on Linux on x86 or the Mac, but I'm in no hurry.
I am fairly competent in building regular kernels for linux, but Android specific kernels are new to me and I want to to a few test runs.
Plus the other architectures need a cross compiler, where as the Pi is already using ARM processor. Don't know if the different versions need different compilers. I don't know where to start, so any suggestion are appreciated.

laxamar said:
I don't know where to start, so any suggestion are appreciated.
Click to expand...
Click to collapse
Start here:
http://forum.xda-developers.com/forumdisplay.php?f=564
Or here, because your raspberry is a real linux pc and you can use tutorials like this one:
http://forum.xda-developers.com/showthread.php?t=2029080
Of cause the cpu is slow and it has a smal ram, but possible it's enough.
Try it!

Compile
if you also want to compile android:
It doesn`t work with Android, the needed time would be so high.... And you need many disk space.
By the Way:
The very Slim Linux Kernel took so many hours on my Pi. I woudn´t prefer it.

Related

Want to try Linux...which version?

Hey guys, first off Happy New Year.
Out of curiosity, I want to try Linux for myself and see what the hype is all about.
On http://www.linux.com/download_linux there are tons of different versions. I'm not a developer, just a Linux-newbie looking to explore around to see what's up. I don't plan on replacing my current OS with it, just run it at the same time and play around with it.
So, which Linux distribution would be best for me? And can I use something like Vmware Player to boot it?
edit: Forgot to mention
Using a Dell Inspiron E1505 running Windows Vista Home Premium.
Anything else you need to know? Ask.
Ubuntu
good place to start IMO
good luck and have fun
and a happy new year to you in la la land
p.s...always use a live cd...this way your see if it works ok with your dell before installing
Ubuntu lets you install inside windows....and its so easy...my mom could install it
so you keep vista and have Ubuntu....then just choose which one you want to use on boot up
I used this site : http://www.zegeniestudios.net/ldc/
I need openSUSE 11.1, apparantly.
Ta
Dave
thanks for that dave
never seen that before
its told me
Fedora, Mandriva, OpenSuSE or Ubuntu....so i was right...well for me any how
liamhere said:
never seen that before
its told me
Fedora, Mandriva, OpenSuSE or Ubuntu....so i was right...well for me any how
Click to expand...
Click to collapse
I wanted a new linux distro to throw on my old machine instead of smoothwall, so I just google "linux distro chooser" or something similar and found it
I've downloaded and burnt it to DVD, I just need time to set it up
Dave
vicjan88 said:
Hey guys, first off Happy New Year.
Out of curiosity, I want to try Linux for myself and see what the hype is all about.
On http://www.linux.com/download_linux there are tons of different versions. I'm not a developer, just a Linux-newbie looking to explore around to see what's up. I don't plan on replacing my current OS with it, just run it at the same time and play around with it.
So, which Linux distribution would be best for me? And can I use something like Vmware Player to boot it?
edit: Forgot to mention
Using a Dell Inspiron E1505 running Windows Vista Home Premium.
Anything else you need to know? Ask.
Click to expand...
Click to collapse
UBUNTU is very popular an the community provides great support. Personally, I really like a distro that is a fork off of the UBUNTU distro called LINUX MINT. MINT is setup where many of the multimedia formats that don't work in UBUNTU by default because of licensing issues will work anyway. Decreases startup time.
Hello, vicjan88
Well, Ubuntu is nice, but actually teaches you to do things the windows-way. Yeah, it's so. It's a sort of a good place to start, but then you should move on to something more serious and.. less buggy. If you are just a small bit aware of what MBR is and have an idea of how to better partition your drives - i advise you to chose either fedora core or mandriva. They are a good place to start (my first distro was some old red hat,and it was nice). The thing about a distro for a beginner is that it should have good graphical or pseudo-graphical interface to configure everything - so that one can at least make his linux box feel working as good as windows. Experience comes from practice, so when you become quite familiar with your first distro, the rest will go just fine. Actually it is a good idea to start with Debian. But choose the testing version. Neither unstable, nor stable - they have certain problems. Or, ArchLinux. It is a nice distro, but the problem is that there is few software compiled for it, but the wiki and forums are just perfect. Anyhow, write back when you install some distro. Have fun!
coose Ubuntu, the newer editions lets you install "inside windows" its a feature called wubi
so you dont need any knowledge on partitioning or anything else
I think the best thing about linux is, it's not windows, it's different and, to a M$ fanboy like me, it's something new to learn. No point using Linux, if you're going to use it like Windows
@Ather, I've de-creased your post count.
Ta
Dave
Ubuntu is very similar to XP in many ways and is a nice, intuitive way into Linux.
Kubuntu if you want it to look more like win.
NUU! Go with
openSUSE or Ubuntu Ultimate. I personally have the following OS's on my pc;
openSUSE
Ubuntu Ultimate
BackTrack
Win XP
Ubuntu is nice if you are starting out with Linux. You might even find another distro which you like more. I use Ubuntu as a virtual machine if I need it, and standalone on my older machine. I also like having BackTrack 3 on my USB flash drive if I need it.
Dave
ubuntu is great,. i have ever used it once,.
I've always been partial to openSUSE, but the recent release of 11 was somewhat dissapointing for me (perticularly with KDE4) as it seemed a bit half hearted. Ubuntu isn't bad and is certainatly popular and Kubuntu is good if you prefer KDE to GNOME (which I personally do)
I prefer KDE, thats's why I've decided to use openSUSE more.
I just installed new OS's yesterday
newest openSUSE
Ubuntu Ultimate Gamers Edition v2.0
Windows 7 Ultimate
Windows XP SP3
Pick Ubuntu. It's the most user-friendly version out there and that's the one I've always used. It works on all my computers from the old 300mhz P3 to the 1.6ghz dual-core laptop. There are also different versions of Ubuntu with different desktop environnements. Consider Kubuntu (KDE), Xubuntu (XFCE) and the rest.
If you want to put it on a laptop, be ready for a challenge. While everything will work out of the box for desktops, Wi-Fi hardware is a pain in the butt to set up. Once you're done with that, however, there's no going back, Linux is awesome!

Can ChromiumOS Run on this?

There are a lot of threads abut Ubuntu and other Linux distros. I was wondering if anyone has tried to port ChromiumOS (or something of the sort) to it.
I did fine this but not sure its helpful.
Thanks
runnirr said:
There are a lot of threads abut Ubuntu and other Linux distros. I was wondering if anyone has tried to port ChromiumOS (or something of the sort) to it.
I did fine this but not sure its helpful.
Thanks
Click to expand...
Click to collapse
Possible definitely. I'm not sure what the advantages would be over Android though.
Ubuntu adds functionality, ChromeOS doesn't. That's why Ubuntu ports are common, it isn't just another browser that Android already provides.
Chromium OS doesn't have a Virtual Keyboard so it's pointless on a tablet anyway...
Chrome and Chromium OS would look and feel cool.
But as others have said limited functionalities such as apps, no v keys, and plus precious coding time.
Sent from my Nexus 7 using xda app-developers app
I know Chrome OS is limited, and although it is, it would be an interesting task to try, but would Chrome OS work on the Touchpad's armel processor? Because I know the Samsung Chromebook's Exynos processor is armhf, and I think Chromium OS does have an armel branch available, I haven't seen any armel based devices being able to run Chrom* OS.
Also recompiling drivers for a limited OS like Chrom* OS would probably be a lot harder than more common OSes. If someone does decide to make a build, it can't be distributed freely as plugins that Google has included are illegal to distribute publicly (like GApps on custom Android roms), so no Flash.
I have looking for opensuse builds and have not seen any. It would be nice if there was a boot loader like grub for the tp
Sent from my Galaxy Nexus using XDA Premium HD app

[Port Request] OUYA

I would like to see Ubuntu running native on OUYA but my knowledge about porting Linux of any kind to other devices is simply not existant.
Is there anyone able and willing to do it? I think it should be relatively easy to do if you use ubuntu touch for asus transformer infinity (tf700t) to start because it also uses tegra 3 t33 as SoC. The touch enviroment obviously doesn't have to work so if you got time left you could do a preinstalled with KDE for good performance experience.
If tools like CWM or a cyanogenmod are helpfull you should go to the OUYA section of this wonderfull forum, they are avaliable right now.
Thanks for reading. Klindworth
Klindworth said:
I would like to see Ubuntu running native on OUYA but my knowledge about porting Linux of any kind to other devices is simply not existant.
Is there anyone able and willing to do it? I think it should be relatively easy to do if you use ubuntu touch for asus transformer infinity (tf700t) to start because it also uses tegra 3 t33 as SoC. The touch enviroment obviously doesn't have to work so if you got time left you could do a preinstalled with KDE for good performance experience.
If tools like CWM or a cyanogenmod are helpfull you should go to the OUYA section of this wonderfull forum, they are avaliable right now.
Thanks for reading. Klindworth
Click to expand...
Click to collapse
Ubuntu touch was designed for Mobile devices.. OUYA requires you to have a display like a TV or a monitor, if you know where I'm going with this then what you're asking to be done is the same as running Android on a desktop. Just get the normal Ubuntu that's designed for desktops and laptops. Ubuntu touch is only for small devices.
There is no "normal" preinstalled Desktop version of ubuntu with bootloader out there for the OUYA.
Ubuntu touch is still a real linux just with a different kernel like the ARM server editions and another GUI optimized for touch
or am i mistaken?
The benefit of ubuntu touch is the optimized kernel for ARM SOCs like Tegra3 not OMAP 3 or OMAP 4 or the TI ARM structures. With a lot of time and reading and searching i think i should be able to compile one or i could use the kernels already made by canicoal.
Uninstall the touch stuff an installing an alternative GUI and so on shouldn't be the problem.
My biggest Problem is to get it running without an proper boot.img.
Ouya has, like other Android devices, no real bios or efi and the only way i know to change the OS is via ADB in combination with CWM an fastboot to change the system data and the boot.img.
So if anyone knows how to port it i (and many other ouya owners) would be really greatfull if someone would take the time to port a version of ubuntu to the ouya and ubuntu touch seems to be the easiest option.
A tutorial to boot any linux natively on ouya(not chroot or something like that) and change the bootloader would also do it but it would be a lot of work to write one for retards like me
Klindworth said:
There is no "normal" preinstalled Desktop version of ubuntu with bootloader out there for the OUYA.
Ubuntu touch is still a real linux just with a different kernel like the ARM server editions and another GUI optimized for touch
or am i mistaken?
The benefit of ubuntu touch is the optimized kernel for ARM SOCs like Tegra3 not OMAP 3 or OMAP 4 or the TI ARM structures. With a lot of time and reading and searching i think i should be able to compile one or i could use the kernels already made by canicoal.
Uninstall the touch stuff an installing an alternative GUI and so on shouldn't be the problem.
My biggest Problem is to get it running without an proper boot.img.
Ouya has, like other Android devices, no real bios or efi and the only way i know to change the OS is via ADB in combination with CWM an fastboot to change the system data and the boot.img.
So if anyone knows how to port it i (and many other ouya owners) would be really greatfull if someone would take the time to port a version of ubuntu to the ouya and ubuntu touch seems to be the easiest option.
A tutorial to boot any linux natively on ouya(not chroot or something like that) and change the bootloader would also do it but it would be a lot of work to write one for retards like me
Click to expand...
Click to collapse
Why would anyone want a mobile operating system on a device like that... Yes, Ubuntu Touch is still real Linux but if you wanna get an OS on OUYA that was designed for small screens and touch then be my guest.. And there already is Ubuntu desktop versions for ARM. You're better off getting the ARM version, stripping it down and putting a simple GUI.
Didn't find a Tegra3 optimized arm version yet and don't know which arm kernel version would be completely compatible. is a kernel optimized for cortex A9 enough? Link??
also the problem of no working bootloader still isn't solved.
would be fine with me if someone would port that. all i want is a working linux port for ouya
darkforester67 said:
Why would anyone want a mobile operating system on a device like that... Yes, Ubuntu Touch is still real Linux but if you wanna get an OS on OUYA that was designed for small screens and touch then be my guest.. And there already is Ubuntu desktop versions for ARM. You're better off getting the ARM version, stripping it down and putting a simple GUI.
Click to expand...
Click to collapse
I would like to point out he is saying to change the desktop environment to run something more desktop friendly
Although the only environment I know of is a buggy version of unity from the Ubuntu ARM days...there might be gnome as well, if you look through the Backtrack and Kali sources
Sent from my Barnes & Noble Nook Tablet using xda app-developers app
Klindworth said:
Didn't find a Tegra3 optimized arm version yet and don't know which arm kernel version would be completely compatible. is a kernel optimized for cortex A9 enough? Link??
also the problem of no working bootloader still isn't solved.
would be fine with me if someone would port that. all i want is a working linux port for ouya
Click to expand...
Click to collapse
You're not going to find a version optimized for Tegra 3 on their site because Ubuntu already recognizes the chip..
I don't wanna sound like an a-hole but the idea is a bit far fetched.. the OS isn't even 100% stable, most core functions are working such as calling, wifi and other stuff.. but okay you get it to work right?, then what?, even if you use a GUI like GNOME which I doubt anybody is gonna want to port (since GNOME is made for desktops and laptops) you're still gonna be very limited. Plus does Ubuntu touch even support HDMI output yet?. There's just too much work for this..
You're not going to find a version optimized for Tegra 3 on their site because Ubuntu already recognizes the chip..
Click to expand...
Click to collapse
maybe im dumb but i only find preinstalled ARM edition for servers with omap 3&4 architecture. would you please link the version you think is running? and do i need a boot.img modified for the ouya? if i need one, can you provide one or know somebody who can do it?
Someone is getting close to bring fully functional native Debian to the OUYA. Can't wait until all mayor issues are fixed :victory:
http://tuomas.kulve.fi/blog/2013/08/11/debian-on-ouya/
Isn't it as easy as taking an iso and turning it into a cwm bootanle zop and adding controller support?
~~~~~~~~~~~~~~~~~~~~~~~~~
I am here to help and provide knowledge to help others with there problems/issues. If you do have a question don't be afraid to shoot me a PM and I will help you and put you in the right direction to the best of my ability and will get your problem and/or issue solved.
~~~~~~~~~~~~~~~~~~~~~~~~~
If you know how to do it try it and post the results. I think there should be some issues otherwise Linux distros for OUYA would be accessable and widely spread.
But knowing the issues could help someone else to figure out how to do it right. So, as I said, please try and post the results.

[Q] Developing apps and compiling roms on raspi

I'm thinking of buying a raspberry pi for learning programming and I wonder if it is possible to develop android apps and roms on the raspberry pi.
Probably the device is too weak but I thought that of running Quake 3 on the raspi, too.
So I am asking you if anyone has experiences with developing Android on the raspberry pi.
I hope you can help me.
Start here: http://www.amazon.co.uk/Raspberry-Pi-In-Easy-Steps/dp/1840785810
Doesnt say anything about Android on the site.
Android will most likely never run on pi. As far as compiling android roms on the Linux platform. Feasible at best, with half gig ram I think it would take some time to compile, but I have no experience with that. What i have experienced.... nothing on pi is fast
OK, thanks. I think I will do a little Python programming and maybe a lego robot. Do you have suggestions what to do with GPIO exept from led?
check out the projects thread, I have one to run my charcoal smoker, reads three meats pid controller runs a fan to stoke the coals. I have one to run my sprinkler system in my garden, 4 zones on a timer,I want to add a moisture sensor to that and automate it
Either by swapping on a cheap USB 3.0 drive or by waiting a little longer, the RasPi should make a dirt-cheap nightly build server! Imagine compiling CyanogenMod overnight without spending more than 2W of power! And even faster by overclocking to 1GHz with a 3$ heatsink kit! :victory:

Nexux 6 And Linux Disrubution Installing [HELP]

So I was looking for an phone or in this situation a "phablet" So I Would like to know is there a obstacle that would prevent the install of linux distros on the nexus 6with linux deploy or Complete Linux Installer And if someone has succesfully installed it. and fix/get no errors then please teach me how to install it i didnt find any threads on this device. the reason i did this thread is because all of these programs say that they work on all device`s but always people come up with some kind of errorcode/mistake and i thought this would be useful for other too so if someone can test installing kali linux on their Nexus 6 so i can decide whether to buy One-or-Not I have very much use for this Since the Nexus is 64Gb And Has an 2.7Ghz Four Core Processor and should be enough to run Kali or an other Linux Distro Smoothly me: I have very much practical use for it. since i do not own a PC. so if Someone Can Confirm that it would be useful!!
Part Two ;
Since i do not know if this work`s on the device but if im going to buy this phone the part whether linux works or not will depend on it
and i dont own the phone yet so i would appreciate help on rooting an unlocking the phone aswell with Multirom busybox and so i can Dual-boot 2 roms so i can install kali nethunter on it.
thank you for help i appriciate all help given
sorry if my english is bad.
Craving for this
Hey! I'm also seeking something similar to what you're proposing.
Yes, it would be incredibly useful for me. As for limitations: all I know it's that not all kernels are compatible with arm processors. That said, it would be interesting to port something like Ubuntu or debian. I'll begin my research asap. I'm just getting started in programming school so something like this could really make me stand out.

Categories

Resources