| Prev | 20   28     29   30   31     32   40 | 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)

ArchiMark 2013-03-30 03:06

Re: Arch Linux ARM on N900
 
Quote:

Originally Posted by Skry (Post 1332886)
Don't take it that way, like I said, post the contents of the item file and we'll help.

Thank you, Skry...appreciate it.....

Here's content of item file....

Code:

ITEM_NAME="Arch Linux ARM (SD Card)"
ITEM_KERNEL="/boot/uImage"
ITEM_DEVICE="$(EXT_CARD)p2
ITEM_FSTYPE="ext2"
ITEM_OMAPATAG="1"
ITEM_CMDLINE="root=/dev/mmcblk0p2 rootwait init=/bin/systemd omapfb, vram=0, 3M, 1:3M, 2:3M quiet"

So, looking at this now, I think one mistake is that it should be 'mmcblk1p2' as I just check info after doing 'mount' in terminal ??.... :o

So, just tried making this change and doing 'u-boot-update-bootmenu' again, but I get the same error message as before about line 6: EXT_CARD not found and rootwait not found......

So, if you think there's mistake in Arch.item let me know and I'll try it again...

Also, per previous post, I did let kernel update happen....so, uninstalled it and re-installed the u-boot packages....but no change, when trying to run Arch...

If Archi.item not it, then thinking maybe I need to delete everything and start fresh....

Thanks!

Skry 2013-03-30 09:22

Re: Arch Linux ARM on N900
 
Quote:

Originally Posted by ArchiMark (Post 1332901)
Code:

ITEM_DEVICE="$(EXT_CARD)p2

I already knew what's wrong with your config from the error you posted. Now, look very closely at that line, whats missing? Are all characters what they should be?

Quote:

Originally Posted by ArchiMark (Post 1332901)
Code:

omapfb, vram=0, 3M, 1:3M, 2:3M

Spot the differences:
Code:

omapfb.vram=0:3M,1:3M,2:3M

Quote:

Originally Posted by ArchiMark (Post 1332901)
So, looking at this now, I think one mistake is that it should be 'mmcblk1p2' as I just check info after doing 'mount' in terminal ??.... :o

Already stated multiple times, in instructions and otherwise, mmc devices get swapped in Maemo. So, mmcblk0 is emmc in Maemo only, otherwise it means sd-card and is what you want in your config.

With the above fixed, it should work

ArchiMark 2013-03-30 14:48

Re: Arch Linux ARM on N900
 
Quote:

Originally Posted by Skry (Post 1332930)
I already knew what's wrong with your config from the error you posted. Now, look very closely at that line, whats missing? Are all characters what they should be?



Spot the differences:
Code:

omapfb.vram=0:3M,1:3M,2:3M



Already stated multiple times, in instructions and otherwise, mmc devices get swapped in Maemo. So, mmcblk0 is emmc in Maemo only, otherwise it means sd-card and is what you want in your config.

With the above fixed, it should work

THANKS, Skry, for all the help.....

I see that I missed the " at the end of the 'EXT_CARD' line at 'p2'....


As for the second error regarding 'omapfb.vram', that was a typing error here on the forum post, not in Arch.item..... :o

Now, after doing 'u-boot-update-bootmenu', I get the following:

Code:

line 3: EXT_CARD: not found

-------------------UPDATE 2----------

I looked at other example and saw that I had () instead of brackets {} around EXT_CARD.

Also, re-read your post and changed mmcblk1p2 to mmcblk0p2 and

and ran u-boot-update-boot menu again...Now, I still get:

Quote:

Error: Invalid file - missing kernel or script file
-------------------UPDATE 3----------

Rebooted n900 to see what would happen and good news is now I do see a boot item listed for Arch......bad news is that when I selected it and tried to boot it, nothing happened...just ended up at the prompt #....

Searched on the error message: Invalid file - missing kernel or script file on the U-Boot thread and there's a post regarding it....

http://talk.maemo.org/showpost.php?p...&postcount=107

And there's some comments on it after this post.....but not clear to me the fix....

ayazpak 2013-03-30 18:43

Re: Arch Linux ARM on N900
 
can any body here give detail instructions how to add bootmenu entry through xterm?

ArchiMark 2013-03-30 19:45

Re: Arch Linux ARM on N900
 
Quote:

Originally Posted by ayazpak (Post 1333062)
can any body here give detail instructions how to add bootmenu entry through xterm?

Per Skry's message above....don't think it's wise to get into such discussion on this thread.....I will try to message you info on your question...I'm already in hot water here, as we say.... :rolleyes:

Estel 2013-03-30 23:31

Re: Arch Linux ARM on N900
 
No hot water, it's just that U-Boot have own, separate thread. No reasons for avoiding using it for U-Boot related problems.

ArchiMark 2013-03-31 02:06

Re: Arch Linux ARM on N900
 
Quote:

Originally Posted by Estel (Post 1333102)
No hot water, it's just that U-Boot have own, separate thread. No reasons for avoiding using it for U-Boot related problems.

Good point, but question now is whether my most recent issue (see prior post...) is due to U-Boot problem or other problem?

:confused:

AhmadMhd 2013-03-31 04:13

Re: Arch Linux ARM on N900
 
Quote:

Originally Posted by Skry (Post 1332742)
@AhmadMhd

You are missing the omapfb.vram kernel boot argument, so you don't have any memory assigned for fb1 and fb2. So, add omapfb.vram=0:3M,1:3M,2:3M to boot arguments and try SGX again, should work, though it's unstable with Xorg 1.14 currently.

True
but still unstable _ sometimes the X hangs :)

btw : did you consider providing a mirror for your repo :rolleyes:
What is the size of the packages in your repo ?

Thanks!

Skry 2013-04-01 14:08

Re: Arch Linux ARM on N900
 
Quote:

Originally Posted by AhmadMhd (Post 1333120)
True
but still unstable _ sometimes the X hangs :)

Yes, like I said. If someone wants to fix it, driver source is on my github repo.

Quote:

Originally Posted by AhmadMhd (Post 1333120)
btw : did you consider providing a mirror for your repo :rolleyes:
What is the size of the packages in your repo ?

Approx 20MB. I'll be moving it to new host asap, and after that anyone willing can keep a mirror IF he is ready to keep it up to date.

ayazpak 2013-04-01 17:18

Re: Arch Linux ARM on N900
 
I booted into Archlinux, but in command mode instead of GUI mode. Any solution?


| Prev | 20   28     29   30   31     32   40 | Next | Last
All times are GMT. The time now is 00:38.

vBulletin® Version 3.8.8