Posts: 61 | Thanked: 8 times | Joined on Dec 2011 @ P town
#421
If you have EXACTLY the same content in item file, you won't be able to boot to Arch.
You should have this on your item file:
Code:
ITEM_NAME="Arch Linux ARM"
ITEM_KERNEL="/boot/uImage"
ITEM_DEVICE="${INT_CARD}p4"
ITEM_FSTYPE="ext4"
ITEM_OMAPATAG="1"
ITEM_CMDLINE="root=/dev/mmcblk1p4 rootwait init=/bin/systemd omapfb.vram=0:3M,1:3M,2:3M quiet"
Then run u-boot-update-bootmenu again.

Anyway, try fsck-ing your Arch partition from Maemo to check any error on your Arch partition:
Code:
$ sudo gainroot
# fsck.ext4 -fv /dev/mmcblk0p4

Last edited by sLumPia; Yesterday at 07:20 PM. Reason: correction
 

The Following 2 Users Say Thank You to sLumPia For This Useful Post:
Posts: 7 | Thanked: 1 time | Joined on Apr 2013
#422
ok i will give that a try

it then give back invailid partition 4

why do i need to use partition 4 instead of 5

because when i do the steps of the guide itgive me this config file

ITEM_NAME="Arch Linux ARM (eMMC)"
ITEM_KERNEL="/boot/uImage"
ITEM_DEVICE="${INT_CARD}p5"
ITEM_FSTYPE="ext4"
ITEM_OMAPATAG="1"
ITEM_CMDLINE="root=/dev/mmcblk0p5 rootwait
init=/bin/systemdomapfb.vram=0:3M,1:3M,2:3M quiet"


and later on it lets you untar the root fs to mmcblk0p5
(root) mount /dev/mmcblk0p5 /mnt/ && cd /mnt
(root) wget ftp://bokmal.de/arch-n900/ArchLinuxA...-rootfs.tar.gz
(root) tar -zxvf

so someone can give me some guidence for where its gooing wrong

the guide i reverd to is here
http://blog.jakgibb.com/2013/03/28/a...stall-on-n900/

Last edited by sojab0on; Today at 07:06 AM. Reason: code change and guide revering
 

The Following User Says Thank You to sojab0on For This Useful Post:
Posts: 61 | Thanked: 8 times | Joined on Dec 2011 @ P town
#423
Originally Posted by sojab0on View Post
why do i need to use partition 4 instead of 5
Because on your previous post, you write
EXT4-fs (mmcblk0p4) unable to read superblock
and later on it lets you untar the root fs to mmcblk0p5
(root) mount /dev/mmcblk0p5 /mnt/ && cd /mnt
(root) wget ftp://bokmal.de/arch-n900/ArchLinuxA...-rootfs.tar.gz
(root) tar -zxvf
From this information, it seems you want to install Arch on /dev/mmcblk0p5 (5th partition on you Internal MMC). Is it true?
If it is, then you should follow my previous post.
btw have you previously format /dev/mmcblk0p5 with mkfs.ext4?
 
Posts: 7 | Thanked: 1 time | Joined on Apr 2013
#424
yes thats what the guide on that site also does.

and yes i did that and i did it over agian bofore i worte this post its unpacking the root of to mmcblk0p5 as im writing this.
 
Posts: 61 | Thanked: 8 times | Joined on Dec 2011 @ P town
#425
Originally Posted by sojab0on View Post
yes thats what the guide on that site also does.

and yes i did that and i did it over agian bofore i worte this post its unpacking the root of to mmcblk0p5 as im writing this.
Could you give the output of this command:
# fdisk -l /dev/mmcblk0

---edit---
btw, in the tutorial, it has:
ITEM_CMDLINE="root=/dev/mmcblk0p5 rootwait init=/bin/systemdomapfb.vram=0:3M,1:3M,2:3M quiet"

when it should be:
ITEM_CMDLINE="root=/dev/mmcblk0p5 rootwait init=/bin/systemd omapfb.vram=0:3M,1:3M,2:3M quiet"

there is a space between systemd and omapfb

Last edited by sLumPia; Today at 08:41 AM. Reason: edit
 
Posts: 7 | Thanked: 1 time | Joined on Apr 2013
#426
Originally Posted by sLumPia View Post
Could you give the output of this command:
# fdisk -l /dev/mmcblk0
fdisk -l /dev/mmcblk0

/dev/mmcblk0p1 2 622721 19927040 c W
win95 FAT32 (LBA)

/dev/mmcblk0p2 884866 950401 2097152 83 L
linux

/dev/mmcblk0p3 95402 974977 786432 82 L
linux
/dev/mmcblk0p4 622722 884865 8388608 5 E
extended
/dev/mmcblk0p5 622722 844865 8388600 76 U
unknown

last unknown is because device wasnt reset at moment of giving command
 
Posts: 7 | Thanked: 1 time | Joined on Apr 2013
#427
arch boor until the moment it wants to initial lize rx51 audio en and achip for bleutooth or something
 
Posts: 61 | Thanked: 8 times | Joined on Dec 2011 @ P town
#428
Originally Posted by sojab0on View Post
fdisk -l /dev/mmcblk0

/dev/mmcblk0p1 2 622721 19927040 c W
win95 FAT32 (LBA)

/dev/mmcblk0p2 884866 950401 2097152 83 L
linux

/dev/mmcblk0p3 95402 974977 786432 82 L
linux
/dev/mmcblk0p4 622722 884865 8388608 5 E
extended
/dev/mmcblk0p5 622722 844865 8388600 76 U
unknown

last unknown is because device wasnt reset at moment of giving command
Please reboot your phone and try this after reboot:
0. Move your Arch image to safe place, let say /home/user/MyDocs/tmp
1. Make sure /dev/mmcblk0p5 is set to linux partition (code: 83) and then format it
Code:
# mkfs.ext4 /dev/mmcblk0p5
2. mount it to /mnt
Code:
# modprobe ext4   (in my phone, ext4 module not load automatically)
# mkfs.ext4 /dev/mmcblk0p5 /mnt
3. tar Arch image to /mnt
Code:
# cd /home/user/MyDocs/tmp
# tar xvf ArchLinuxARM-N900-2013.02-rootfs.tar.gz -C /mnt
4. edit your item file and run u-boot-update-bootmenu
Code:
# leafpad /etc/bootmenu.d/20-archlinux.item
put this in it:
Code:
ITEM_NAME="Arch Linux ARM"
ITEM_KERNEL="/boot/uImage"
ITEM_DEVICE="${INT_CARD}p5"
ITEM_FSTYPE="ext4"
ITEM_OMAPATAG="1"
ITEM_CMDLINE="root=/dev/mmcblk1p5 rootwait init=/bin/systemd omapfb.vram=0:3M,1:3M,2:3M quiet"
Explanation of the above config:
ITEM_NAME="Arch Linux ARM" --> just label
ITEM_KERNEL="/boot/uImage"
--> Because you use absolute path, then this line will tell u-boot to look for uImage file on /boot folder in partition define on ITEM_DEVICE.
ITEM_DEVICE="${INT_CARD}p5" --> This line to u-boot to use internal card partition 5 as it new root (/) partition
ITEM_FSTYPE="ext4" --> tell u-boot that ITEM_DEVICE use ext4 file system
ITEM_OMAPATAG="1" --> I don't know
ITEM_CMDLINE="root=/dev/mmcblk1p5 rootwait init=/bin/systemd omapfb.vram=0:3M,1:3M,2:3M quiet"

@Pali, please correct me if my above explanation wrong.

Run u-boot-update-bootmenu
Code:
# u-boot-update-bootmenu
Make sure there is uImage in your Arch /boot partition:
Code:
# ls -l /mnt/boot/uImage
If there is uImage file in /mnt/boot, then you should be able to boot to Arch.
 
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

 
Forum Jump


All times are GMT -4. The time now is 08:29 PM.