| Prev | 36   44     45   46   47     48   56 | Next | Last
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   Arch Linux ARM on N900 (https://talk.maemo.org/showthread.php?t=81892)

pinsh 2013-06-11 02:08

Re: Arch Linux ARM on N900
 
Quote:

Originally Posted by orsoniasty (Post 1350605)
You may use the newest power-kernel, it supports ext4. Ext3 works (I'm using it right now), but your config file is wrong. I do not know if you installed Arch on internal memory or on SD card, but you mixed them in the config. My Arch resides on SD card, that's my tested .item file:
Code:

ITEM_NAME="Arch Linux ARM"
ITEM_KERNEL="/boot/uImage"
ITEM_DEVICE="${EXT_CARD}p1"
ITEM_FSTYPE="ext3"
ITEM_OMAPATAG="1"
ITEM_CMDLINE="root=/dev/mmcblk0p1 rootwait init=/bin/systemd omapfb.vram=0:3M,1:3M,2:3M quiet"

(of course ITEM_CMDLINE is one line, not splitted like in here)
For internal memory, I would have something similar to:
Code:

ITEM_NAME="Arch Linux ARM"
ITEM_KERNEL="/boot/uImage"
ITEM_DEVICE="${INT_CARD}p3"
ITEM_FSTYPE="ext3"
ITEM_OMAPATAG="1"
ITEM_CMDLINE="root=/dev/mmcblk1p3 rootwait init=/bin/systemd omapfb.vram=0:3M,1:3M,2:3M quiet"

And for sure those configs were mentioned many times in this thread and other tutorials.

Thanks! I finally got it working using your config and ext4 :)

Another questions, are there newer kernels than 3.5.7 available and are there instructions on how to build the kernel somewhere? I'm trying to build an external kernel module that works with Linux 3.6 and newer.

phapsubongtoi 2013-06-11 04:24

Re: Arch Linux ARM on N900
 
Quote:

Originally Posted by pinsh (Post 1351007)
Thanks! I finally got it working using your config and ext4 :)

Another questions, are there newer kernels than 3.5.7 available and are there instructions on how to build the kernel somewhere? I'm trying to build an external kernel module that works with Linux 3.6 and newer.

i got a problem like u : mmcblk0p4..... even using ext4 ?
Can you show me your .item file ?

orsoniasty 2013-06-11 07:04

Re: Arch Linux ARM on N900
 
Quote:

Originally Posted by pinsh (Post 1351007)
Another questions, are there newer kernels than 3.5.7 available and are there instructions on how to build the kernel somewhere? I'm trying to build an external kernel module that works with Linux 3.6 and newer.

Here you can find 3.8 & 3.9 kernels:
https://gitorious.org/linux-n900/linux-n900
but they may be missing some hardware support - I do not know the details.

pinsh 2013-06-11 12:31

Re: Arch Linux ARM on N900
 
Actually, I still get the "EXT4-fs (mmcblkp0p4): unable to read superblock" error when booting, but it works. I think I had it working earlier but for some reason the login prompt doesn't show up, which made think it isn't working. Try to press enter to see if you get the login screen.

Skry 2013-06-11 19:44

Re: Arch Linux ARM on N900
 
people seem to get that superblock error quite often. don't know if it is related but ext4 support in maemo does have some issues.

last time I checked, more recent kernels lacked audio and dsp at least. not sure it is the case anymore but either way, there are no good hw support in 3.x kernels. Also, SGX driver Pali is using does not have hardfp libs available AFAIK. Correct me if I'm wrong, not been following that closely lately. Anyway, I've been thinking of taking a step back and going to 2.6.37, if I find it working OK, that will be the future default kernel for whatever this thing is turning out to be once I get some spare time.

caveman 2013-06-13 12:58

Re: Arch Linux ARM on N900
 
Anyone tried the latest filesystem package upgrade?

Ok, I have tried the upgrade following the procedure suggested in the forums:
Code:

pacman -Suy --ignore filesystem
pacman -Su

That worked in the raspberry pi, but not in the n900. It resulted in a broken system. So be cautious when you upgrade.

orsoniasty 2013-06-13 15:15

Re: Arch Linux ARM on N900
 
@caveman
Is not it solved in the way Skry mentioned?
Quote:

Originally Posted by Skry (Post 1350791)
guys, also remember to fix the init= option to /usr/lib/systemd/systemd before doing pacman -Syu or you'll not be booting.

Or what do you exactly mean by a broken system?

caveman 2013-06-13 18:52

Re: Arch Linux ARM on N900
 
Quote:

Originally Posted by orsoniasty (Post 1351750)
@caveman
Is not it solved in the way Skry mentioned?

Or what do you exactly mean by a broken system?

The systemd upgrade was fine. But after this last upgrade, the system boots with tons of errors in several services and hangs before getting to the login prompt.

Skry 2013-06-13 19:02

Re: Arch Linux ARM on N900
 
https://www.archlinux.org/news/binar...-intervention/

Älä hakkaa 2013-06-20 19:29

Re: Arch Linux ARM on N900
 
If the update process "terminates early", chroot in and fight it through, like I did! =:-) Lesson learned from that excercise: don't maverick around and stick to the guideline! Anyhow, an updated rootfs would be very nice-to-have for our new recruits. Mine grew a bit 'fat' unfortunately, so if someone has a more virginal one or is willing to prepare such for the good cause, I'll be happy to put it on ftp!


| Prev | 36   44     45   46   47     48   56 | Next | Last
All times are GMT. The time now is 00:38.

vBulletin® Version 3.8.8