Toshiba AC100

Install Arch Linux ARM on other devices.

Re: Toshiba AC100

Postby jagoterr » Thu Oct 27, 2011 4:50 am

Hello. Please, help me with my problem, I'm fully stuck with it.

1. Starting point: Android 2.2.
2. Ubuntu 11.10 installed according to https://wiki.ubuntu.com/ARM/TEGRA/AC100
3. Everything worked ok, but I wish to use Arch.
4. Restored a device into it's initial state by the set of `nvflash -r -rawdevicewrite ...`. After that, Android loads and works perfectly.
5. I flash a kernel (tried both: boot-marvin24s-2.6.38-dc61519.p12.img and boot-marvin24s-2.6.38-dc61519.img, but I own ac100-117).
6. The boot process falls into BusyBox shell. BusyBox version is smth like 1.18.*ubuntu*. I don't know, if it is an after-effect of the Ubuntu installation, or it is a part of the device. No ideas.
7. I can mount /dev/sda1 from the busybox-shell, it is fully readable.
8. Where is my fail???
jagoterr
 
Posts: 2
Joined: Wed Oct 26, 2011 6:24 pm

Re: Toshiba AC100

Postby macau » Thu Oct 27, 2011 6:07 am

u can mount /dev/mmcblk0p7 with ubuntu and sda1 with arch rootfs from busybox, then rm ubuntu files and copy arch files with keeping permissions. its obviously, блеять! :lol:
macau
 
Posts: 40
Joined: Thu Jul 21, 2011 6:43 am

Re: Toshiba AC100

Postby eyahn » Thu Nov 03, 2011 9:20 pm

Hi there everyone! Im having trouble installing Arch!
$this->bbcode_second_pass_quote('', '
')3. unpack http://archlinuxarm.org/os/ArchLinuxARM ... est.tar.gz to your new partition
4. unpack http://avolver.ru/ac100/kernels/38.ogra ... 1.1.tar.gz in to your rootfs partition(check path for modules- /lib/modules/2.6.38-blahbalah)
5. change rootfs mount point in your fstab (/dev/sdx for usb stick, /dev/mmcblk1px for sdcard and /dev/mmcblk0p7 for internal storage)


3.the first file isn't there anymore, i read the post below macau's guide, i guess i should use
http://archlinuxarm.org/os/ArchLinuxARM-2011.08-armv7h-chroot.tar.gz anyway, am i right?

4.i don't understand where i am supposed to unpack ogramodules... can anyone guide me?

5.i would love an example of this file. I need to change it in the unpacked http://archlinuxarm.org/os/ArchLinuxARM-tegra-latest.tar.gz /etc/fstab, am i right?

Thanks in advance


E
eyahn
 
Posts: 2
Joined: Thu Nov 03, 2011 8:31 pm

Re: Toshiba AC100

Postby eyahn » Fri Nov 04, 2011 6:13 am

Ok, i'm almost there!
I unpacked http://archlinuxarm.org/os/ArchLinuxARM-omap-smp-latest.tar.gz as rootfs. Now it says that my filesystem is mounted read-only. It gives me several boot [FAIL]s, all with permission reasons. I guess that makes sense. I will try and copy my sdcard to internal [...]p7, right?

edit: i used http://avolver.ru/ac100/kernels/38.dc61519-7Oct11/boot-marvin24s-2.6.38-dc61519.SD.img to boot from SD. May it be the cause of read-only file system? Using the "non-SD" version of .img it kept asking me for /modules.dep, which i can't find in modules.tar.gz.
eyahn
 
Posts: 2
Joined: Thu Nov 03, 2011 8:31 pm

Re: Toshiba AC100

Postby jideel » Tue Nov 08, 2011 3:36 pm

Once the system has booted, run 'depmod -a' as root.
It doesn't fix the "modules.dep" message during the boot, but generates the file modules.dep, and the next boot all the required modules will be loaded.
jideel
 
Posts: 7
Joined: Sun Oct 09, 2011 12:03 am

Re: Toshiba AC100

Postby DDevine » Sun Jan 01, 2012 1:25 am

I managed to get Arch running off a SD card without much trouble. Now I am trying to install to the eMMC.

If the standard Android partitions were left intact by the previous owner this would probably be easy because I could just use a standard TEGRAPART= kernel parameter. Now I am attempting to build up my tegrapart line by hand using the information I got from the partition table backup...

I assume that if I can reverse engineer the tegrapart parameters I should be able to then modify one of marvin's boot images using abootimg - which will result in the internal partitions being available when I boot fom SD card and then I can install the rootfs+modules. Am I right?

By converting my partition table dump to the tegrapart scheme I came up with the following:
The scheme is name:offset:length:blocksize so...

bct:0:600:800,
pt:600:100:800,
ebt:700:400:800,
mbr:b00:a00:800,
lnx:1500:8000:800,
rt:9500:e4e200:800,
swp:e57700:e7f00:800

But since we don't need every partition:
tegraboot=mbr:b00:a00:800,lnx:1500:8000:800,rt:9500:e4e200:800,swp:e57700:e7f00:800

lnx is is the boot partition and rt for the rootfs and swp is obviously swap. The previous owner set these up.

Update: These don't seem to work at all. In dmesg it indicates that it has found some partitions but when it tries to parse the mbr it fails. I don't understand exactly why it fails yet.

Update: I just pulled the MBR position out of the tutorial the previous owner was likely to have followed. It worked and the rest of the partitions were detected automagically from there...
I still don't understand where I went wrong in trying to reverse engineer from the partition table dump. If somebody knows the answer that'd be great (and I'll make sure it is documented somewhere more public).
DDevine
 
Posts: 2
Joined: Sun Jan 01, 2012 12:55 am

Re: Toshiba AC100

Postby DDevine » Mon Jan 02, 2012 3:06 pm

I compiled marvin's a 3.0.13 kernel and I noticed a considerable speed increase!
It does seem to crash every now and again, but so did the 2.6.38 kernel.

Soon I will post a tutorial on how to get, build and install marvin's 3.0 kernel. He is looking for more testers so we'd better comply ;)

I have Arch installed on the internal storage and sound (out the speakers at least) working. I just need suspend and resume... I'm trying to find that snippet which showed how to trigger a sleep by via sysctl...
DDevine
 
Posts: 2
Joined: Sun Jan 01, 2012 12:55 am

Re: Toshiba AC100

Postby apertu » Mon Jan 02, 2012 3:26 pm

DDevine, can you please also post tutorial on how to get arch running on internal storage (what rootfs you used, etc)?
apertu
 
Posts: 1
Joined: Mon Jan 02, 2012 3:20 pm

Re: Toshiba AC100

Postby macau » Mon Jan 16, 2012 11:20 am

update: preinstalled version aviable!
macau
 
Posts: 40
Joined: Thu Jul 21, 2011 6:43 am

Re: Toshiba AC100

Postby flyaway » Sun Oct 14, 2012 3:43 pm

Hi there!

http://ac100.grandou.net/archlinux
Archlinux install instruction for Toshiba AC100.
flyaway
 
Posts: 5
Joined: Sun Oct 14, 2012 3:33 pm

PreviousNext

Return to [Please read announcement] Community-Supported Devices

Who is online

Users browsing this forum: No registered users and 30 guests