|
Page 7 of 16 |
|
Prev |
5 6 7
8 9
|
Next
| Last
Re: Arch Linux ARM on N900
Quote:
Quote:
Quote:
|
Re: Arch Linux ARM on N900
I updated fbdev-sgx, now "works" with Xorg 1.14, though it's quite unstable for some reason. Revert back to 1.13 and previous fbdev-sgx if it does not work good enough for you, or hold yer packages.
EDIT: might have been my dwm build, recompiled it after X upgrade and I've seen no crashes since. Who knows, so feedback is welcome, again. |
Re: Arch Linux ARM on N900
Quote:
If someone else has usability tricks like this one, go ahead and let us know :) |
Re: Arch Linux ARM on N900
Quote:
Quote:
Code:
export MIDORI_TOUCHSCREEN=1 |
Re: Arch Linux ARM on N900
Quote:
For same reason (kernel sitting in RAM no matter what), it's absolutely pointless to flash kernel or attach it to u-boot - sole u-boot flashed is enough, results are the same, you boot kernels from eMMC or SD, but they got sucked into RAM (just like attached kernel). Also, this way, you need to flash only, when new u-boot comes out, not with every kernel. You're probably well aware of all this, but I think it may be useful info for other readers, too :) /Estel |
Re: Arch Linux ARM on N900
1 Attachment(s)
Quote:
|
Re: Arch Linux ARM on N900
Quote:
If we are talking about fattening something on a resource limited device, instead of worrying on kernel size, I would suggest everyone to do a reality check regarding their userspace, or perhaps even the habits and methods of doing their regular tasks. For me, the full memory usage is 28MB, with a clean desktop. I consider it to be somewhat bloated. :) Quote:
Quote:
|
Re: Arch Linux ARM on N900
Quote:
* backup MyDocs * umount MyDocs partition (p1) * resize partition to smaller size (p1) * create new extended linux partition (p5) * format resized MyDocs partition to vfat (p1) * restore backup to MyDocs partition * format new linux partition (p5) * move arch rootfs to new linux partition * fix u-boot configuration I tried that inside arch, and that was my mistake, since I could not update u-boot configuration (that was dumb, I know). On reboot u-boot loaded but without my custom entries, since I messed with MyDocs, and I could not load maemo either. I had to reflash the kernel and reinstall u-boot. So do not try that from inside arch; do it inside maemo and update the bootmenu before rebooting :-) Now I have arch loading from the eMMC. |
Re: Arch Linux ARM on N900
Quote:
/Estel |
Re: Arch Linux ARM on N900
Quote:
|
Re: Arch Linux ARM on N900
Ok, uboot-n900-tools in the repo. Changed behavior presented in here for the interested. For the uninterested:
Add to fstab, adjust if necessary: Code:
ubi0:rootfs /mnt/maemo ubifs defaults,noatime,bulk_read,no_chk_data_crc 0 0Code:
echo "options ubi mtd=rootfs" > /etc/modprobe.d/ubi.confEDIT: Oh well, setting up everything in fstab drops to emergency mode, module dependencies have to be defined manually, I'll get back to this asap. EDIT2: Corrected and updated, update your fstab and do trough the steps again. Let me know if some issues arise. |
Re: Arch Linux ARM on N900
Hello everyone
@Skry Thanks for the hard work It's really amazing to have arch linux on N900 @Skry have a question please :) I did the following 1- formated mmcblk0p5 (logical) to ext4 2- untar then sync your unofficial image to the above partition. 3- installed U-boot (the version that supports booting kernel 3.x) 4- added boot menu item in /etc/bootmenu.d/30-Arch.item Code:
ITEM_NAME="Arch Linux ARM"But when I try to boot to Arch I get "Kernel Panic" What am I doing wrong ? actually I don't know how to deal with U-boot I didn't understand the part about U-boot and where do I have to put the "uImage" and how to boot correctly Please guide me, what should I do to successfully boot Arch Thanks :) EDIT: forgot to say that I've manged to chroot to /dev/mmcblk0p5 successfully |
Re: Arch Linux ARM on N900
Quote:
Quote:
Code:
${EXT_CARD}p1 -> ${EXT_CARD}p5Code:
init=/bin /systemd -> init=/bin/systemdYou don't need to copy uImage anywhere if you configure uboot to look under /boot for it, like you've already done. Good luck. |
Re: Arch Linux ARM on N900
Quote:
but init=/bin/systemd was right, (writing mistake :) ) I did the fixes you told me to do, But when you boot to Arch U-boot says Code:
mmc0 is current device Code:
run emmcbootCode:
Kernel Panic - not syncing: VFS: Unable to mount rootfs on unknown-block(179,5)btw : I tried multiple versions of u-boot with no luck current version is "2012.04-2" Also tried version "2012.10-rc3-1" NOTE: when Kernel Panic happens, N900 can't be powered off using power button, you have to remove the battery which is bad :( and also chroot worked fine, I tried doing pacman -Suy and it worked I think I'm missing some part of U-boot boot, but I don't know what is it :( Thanks in advance. :) |
Re: Arch Linux ARM on N900
@Skry
I changed to ${EXT_CARD}p5 :) but init=/bin/systemd was right, (writing mistake :) ) I did the fixes you told me to do, But when you boot to Arch U-boot says Code:
mmc0 is current device Code:
run emmcbootCode:
Kernel Panic - not syncing: VFS: Unable to mount rootfs on unknown-block(179,5)btw : I tried multiple versions of u-boot with no luck current version is "2012.04-2" Also tried version "2012.10-rc3-1" NOTE: when Kernel Panic happens, N900 can't be powered off using power button, you have to remove the battery which is bad :( and also chroot worked fine, I tried doing pacman -Suy and it worked I think I'm missing some part of U-boot boot, but I don't know what is it :( output of fdisk -l Code:
Disk /dev/mmcblk1: 998 MB, 998244352 bytesAlso replacing ${EXT_CARD}p5 with ${INT_CARD}p5 didn't help Thanks in advance. :) |
Re: Arch Linux ARM on N900
@AhmadMhd
Uh, since I usually refer to how devices are named in reality, I understood you had everything on uSD-card, sorry. You see, Maemo swaps mmc device numbering around, so, change to ${INT_CARD}p5 and root=/dev/mmcblk1p5 |
Re: Arch Linux ARM on N900
I'm quite interested in trying this, especially seeing as you, Skry, and many others have put in a lot of effort, thanks a lot, since the last time I looked at this project a long time back.
I've got a few questions that hopefully some one can answer in order to clear my confusion up, sorry if I they've been answered elsewhere but I've not been able to find them: What is the difference between the official rootfs, and the one provided by Skry? Is the unofficial just fine tuned towards the N900? Once setup, am I free to 'pacman -Syu' once in a while, or are there any packages I must hold off from updating (the kernel especially)? I've got a lot of free hosting space & bandwidth on my dedi., & free domains if you fancy centralising this and moving away from dropbox/other file hosters. |
Re: Arch Linux ARM on N900
Quote:
I get U-boot console this time but when I run Code:
run emmcbootThank you very much @Skry Now there is one more Arch user on N900 :-] I'll try to contribute to this project :) keep up the great work. |
Re: Arch Linux ARM on N900
Quote:
Quote:
Quote:
Repositories are also split, currently to base which includes only the few essential packages, and to extra where majority of the integration, special tools and modified packages are. There is going to be two more, testing and neon. So, there is no forced dependencies to anything, and no right or wrong way to setup your system, the choice is all yours. Quote:
Quote:
|
Re: Arch Linux ARM on N900
Quote:
From your partition info, it seems like it is on your card....but from some comments read, I'm not sure... Hope to get Arch installed on my 900 soon..... Thanks. |
Re: Arch Linux ARM on N900
Quote:
PM sent. |
Re: Arch Linux ARM on N900
Quote:
Code:
/etc/default/u-boot-update-bootmenuCode:
BOOTMENU_FAT_DIR="/media/sd-mmcblk1p1" |
Re: Arch Linux ARM on N900
We now have hosting, thanks to jd4200!
|
Re: Arch Linux ARM on N900
Quote:
so you need to install Arch on emmc 1- Partitioning First things first , you have to know how to partition your emmc The easiest way is to use BackupMenu - Install BackupMenu from the repos :) when done - Open N900 keyboard, reboot then enter BackupMenu - Chose Mass storage mode (press d) Now you have direct access to partitions in the emmc :) - Use gparted (easy) or cfdisk you should keep the 1st partition as fat32 cuz it has u-boot config on it (bootimg.img.d and .src) unless you change the config dir ( which I want to learn how ^_^ ) and be careful << consider making backup, use BackupMenu >> - I recommend using Extended partition type ( since MBR only allow for 4 primary partitions in the same device ) extended partitions starts numbering from 5 mmcblk0p5 (first partition in Extended ) mmcblk0p6 (second partition) and so on.. (Skip making swap partition now , you can do it later) 2- Format your partition after partitioning you should format the partition to ext2/3/4 If formating from PC (recommended) Code:
mkfs.ext4 /dev/sdb5Code:
mkfs.ext4 /dev/mmcblk0p5if you are mounting from your PC (recommended) Code:
mount -t ext4 /dev/sd?? /mnt/arch/dev/sdb5 ( in my case :) ) OR from your N900 Code:
mount -t ext4 /dev/mmcblk0p5 /mnt/archCode:
cd /mnt/arch5- Install and configure U-boot Install u-boot version (that spports booting 3.x kernels) add boot entry in /etc/bootmenu.d/Arch.item example Code:
ITEM_NAME="Arch Linux ARM"run Code:
u-boot-update-bootmenu- Then run in U-boot console Code:
run emmcboot------------------------------------------------------------------------ For testing. I wrote a simple script to chroot to this arch from maemo. arch-chroot.sh ------------------------------------------------------------------------ Code:
echo "==> Mounting FS"Code:
exitclose-arch.sh ------------------------------------------------------------------------ Code:
cd /mnt/archHave Fun :D |
Re: Arch Linux ARM on N900
Quote:
I think I can help If the packages has a small size. I can provide a mirror using my free webspace. (for direct links) which you can access and modify using ssh :) |
Re: Arch Linux ARM on N900
THANK YOU for your incredibly helpful post!
I think a lot more people will try installing Arch as a result of it. Most grateful to you... Will give it a go later today... :) |
Re: Arch Linux ARM on N900
Quote:
You are very welcome. :) Many thanks to @Skry ;) |
Re: Arch Linux ARM on N900
Quote:
|
Re: Arch Linux ARM on N900
Quote:
I've eventually got it to work by doing a complete emmc/kernel flash, and reinstalled u-boot. I can't see how, but older versions of u-boot-* must be lingering around on the device no matter how much it is removed. |
Re: Arch Linux ARM on N900
Quote:
That may be true cuz I've installed older version of u-boot before the new one. but is there any way that I can save the u-boot configuration in a different partition than MyDocs (in /etc for example) |
Re: Arch Linux ARM on N900
Quote:
My N900 looked like this in GParted when first connected: - Nokia N900 - FAT - 29GB (3.84GB Used) - DISK2S2 - FAT - 2.15GB - Linux Swap - FAT - 805.3MB Made some modifications in GParted and looks like this right now: Partition File System Mount Point Label Size Used Flags /dev/sda1 FAT Nokia N900 4.88GB 3.24GB lba /dev/sda4 extended 22.12GB /dev/sda5 ext3 22.08GB 527.58MB unallocated unallocated 36MB /dev/sda2 ext3 /media/sda2 2.00GB 350.30MB /dev/sda3 linux-swap 768MB unallocated unallocated 63.97MB Any recommendations for changing the partitions shown above??? Quote:
Quote:
Quote:
And I can do this from terminal on PC? Quote:
Quote:
Quote:
|
Re: Arch Linux ARM on N900
Quote:
In my opinion 22GB is big, unless you plan for something else. Quote:
you can use current instead :) OR as @Skry sayd you can make swap in you SD ( for optimal performance ) Quote:
But I like using mkfs.ext4 Quote:
and I think n900 should be /dev/sdb The partition where arch will be installed may be /dev/sdb5 This depends on your connected devices. do you get it now ? :) Quote:
but be careful please ( you may damage your internal PC HDD ) Quote:
Quote:
Quote:
Quote:
|
Re: Arch Linux ARM on N900
This is my current setup as a reference. There are 2 independent installations, at both SD and eMMC.
eMMC partition table: Code:
Device Boot Start End Blocks Id SystemCode:
Device Boot Start End Blocks Id SystemCode:
Nokia-N900:~# cat /etc/bootmenu.d/arch-*Code:
ITEM_NAME="Arch Linux ARM @ EMMC"Code:
ITEM_NAME="Arch Linux ARM @ SD"Be careful when messing with things at this level, specially MyDocs partition, since u-boot keeps stuff there. I learned that the hard way ;) |
Re: Arch Linux ARM on N900
Quote:
Quote:
Quote:
Quote:
Quote:
It just has a small NAND and then I have 2 SD cards in it. The SD cards are showing up in GParted as mmcblk0 and mmcblk1. Only other drive listed in GParted is the Nokia....it does not list the internal NAND.... So, think I'm OK.......hopefully.... ;) Quote:
Quote:
Quote:
However, I also read somewhere (Pali's U-Boot thread?...) that the version we want is in Extras-Testing now....so, got it and installed it from there....hope that's OK, if not, I'll need to reinstall.... Quote:
|
Re: Arch Linux ARM on N900
Quote:
Quote:
Quote:
But still a bit confused about what is SD vs eMMC..... Quote:
Thanks! |
Re: Arch Linux ARM on N900
Quote:
Quote:
This can be really confusing at times, since maemo uses reversed numbers from u-boot and ARCH. |
Re: Arch Linux ARM on N900
Quote:
Meanwhile, not sure if it's just that battery went dead or if I borked my n900, after GParted said it completed making new partition successfully, the n900 disappeared from GParted and then display went black on n900..... Disconnected n900 from Pandora and now when I try to start up n900 nothing happens... ;-( Assume it's reflash time, right?..... Assuming I get n900 working again, I think it's probably best to try installing Arch on SD card first..... Oh well.... UPDATE Fully recharged battery and tried booting up n900 again...now it boots up normally!.... So, that's good news.....but think I'll still try to install to SD card first.... |
Re: Arch Linux ARM on N900
1 Attachment(s)
@ٍSkry
how is it going :) I tried the sgx driver but X couldn't start ( I've enabled the powervr.service with no luck ). So I reverted back to unaccelerated driver X starts BUT the touch coordinates on the screen are inverted ( tab on high area --> the cursor goes down ) Am I the only one having this issue :( Thanks! |
Re: Arch Linux ARM on N900
Quote:
Like I've said, I can't promise that SGX stuff would work. It should, but if it's not I probably can't help. I'll take a look at the log.. Touchscreen axes are inverted because you don't provide calibration data. There is package n900-configs that includes input device configuration file for Xorg, including calibration options amongst other things. |
Re: Arch Linux ARM on N900
@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. |
| All times are GMT. The time now is 00:38. |
Page 7 of 16 |
|
Prev |
5 6 7
8 9
|
Next
| Last
vBulletin® Version 3.8.8