arch linux arm on asus transformer?

Install Arch Linux ARM on other devices.

arch linux arm on asus transformer?

Postby natostanco » Fri Sep 30, 2011 4:14 pm

Is it possible to use the trim kernel on the asus transformer? what do you think?
natostanco
 
Posts: 7
Joined: Sat Apr 30, 2011 3:08 pm

Re: arch linux arm on asus transformer?

Postby neil » Fri Nov 04, 2011 4:45 pm

I got arch arm running off a microsd card using the base image on the downloads page, and the kernel + initrd from [ubuntu] modified with a custom (minimalist) init script to load the userspace from the arch base image. It could be easily booted from internal flash as well.

[ubuntu] refers to this post:
[Q&A] Ubuntu on the Transformer (eMMC install)
http://forum.xda-developers.com/showthr ... ?t=1191141

Arch base image:
http://archlinuxarm.org/developers/downloads
ARMv7 OMAP3/4 platforms

My init script (in the root of the initrd):
#!/bin/sh
mkdir -p /proc /sys /dev /run
mount -t proc proc /proc -o nosuid,noexec,nodev
mount -t sysfs sys /sys -o nosuid,noexec,nodev
mount -n -t devtmpfs udev /dev -o mode=0755,size=10M,nosuid
mount -t tmpfs run /run -o nosuid,nodev,mode=755,size=10M
sleep 1
NEWROOT=/new_root
mkdir $NEWROOT
mount /dev/mmcblk1p1 $NEWROOT
exec $NEWROOT/sbin/switch_root $NEWROOT /sbin/init 3

I set up users and passwords by chrooting onto the arch image via busybox.

This of course isn't a complete solution yet, but it's a good starting point. Next we need to copy in all the drivers and try to get more stuff working (wifi, sound, Xorg, etc.) I haven't been able to get my own kernel based on Asus' source to boot the initrd yet.

If anybody is interested in testing or developing this further, I can post instructions to reproduce the boot image and so on. I expect a full official or unofficial port is quite possible :)
neil
 
Posts: 2
Joined: Fri Nov 04, 2011 4:23 pm

Re: arch linux arm on asus transformer?

Postby natostanco » Thu Jan 12, 2012 6:52 pm

I can help you get the arch working, just tell me what to do
natostanco
 
Posts: 7
Joined: Sat Apr 30, 2011 3:08 pm

Re: arch linux arm on asus transformer?

Postby brando56894 » Fri Jan 13, 2012 7:27 pm

I'm up for helping with this, I've been running Arch on my PC for years and would love to have it on my Transformer instead of Ubuntu!
brando56894
 
Posts: 15
Joined: Fri Jan 13, 2012 7:24 pm

Re: arch linux arm on asus transformer?

Postby kmihelich » Fri Jan 13, 2012 8:41 pm

Provided you bring your own kernel to the party, it's really not much more than what has been said above. Grab one of our armv7h rootfs's to start with, replace the kernel, put it all in the proper place and you should be up and running.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: arch linux arm on asus transformer?

Postby brando56894 » Fri Jan 13, 2012 10:40 pm

Sweet, I'll give it a try later. Kernel compilation is nothing new to me, I've compiled 3.1 and 3.2 about 30 or 40 times since christmas, first trying to get my OCZ RevoDrive 3 recognized, then trying to add a 3.2 or 3.1 patched kernel to both the Arch and Chakra install images.

Any chance you could provide me with a .config to base it off of? I've never compiled for ARM before and I'd rather not remove needed stuff or forget to include needed stuff.
brando56894
 
Posts: 15
Joined: Fri Jan 13, 2012 7:24 pm

Re: arch linux arm on asus transformer?

Postby neil » Sun Jan 15, 2012 6:24 am

I haven't looked at it in a while, but now that I see some interest, I'll try to post some more info on what I did soon.

I got it booting using asus' kernel source with a base fs on internal memory or an SD card. I got wifi working, but may need help getting Xorg running.

I modified the .config from android based on options changed by the guys working on ubuntu. You can get the .config from a live system from /proc/config.gz
neil
 
Posts: 2
Joined: Fri Nov 04, 2011 4:23 pm

Re: arch linux arm on asus transformer?

Postby elsebasbe » Tue Jan 24, 2012 11:48 pm

I'm planning on buying the Transformer Prime. Running dual boot is critical to me (but Ubuntu is.. bleh..), so I plan to investigate this aswell, and will try to help with anything needed when I get mine.

So niel, yes there is interest :-)
elsebasbe
 
Posts: 2
Joined: Tue Jan 24, 2012 11:05 pm

Re: arch linux arm on asus transformer?

Postby vostok4 » Sun Jan 29, 2012 1:12 am

Definite interest :)

I've got a Transformer and a Transformer Prime and I'd love to have Arch running on both :)

Matt
vostok4
 
Posts: 2
Joined: Sun Jan 29, 2012 1:08 am

Re: arch linux arm on asus transformer?

Postby Jojonintendo » Tue Jan 31, 2012 10:33 am

I too have an Asus Transformer, and I'd love to see Archlinux on it :)
Jojonintendo
 
Posts: 1
Joined: Tue Jan 31, 2012 10:30 am

Next

Return to [Please read announcement] Community-Supported Devices

Who is online

Users browsing this forum: No registered users and 8 guests