![]() |
uImage was not found ?
hello everyone
so i followed the guid for installing the arch linux on n900 but when i run u-boot-update-bootmenu i get this message Configuration file : /etc/bootmenu.d/21-arch.item Error : kernel image '/boot/uImage' was not found in /boot or /opt/boot so i tryed to copy the uImage to those directories but i still get the same error Help me plz |
Re: uImage was not found ?
To dear moderators: I would vote for merging this thread to the Arch Linux ARM thread even though it actually deals with U-Boot/BootMenu in general. Or just leave it as is.
You need to show us your /etc/bootmenu.d/21-arch.item BootMenu configuration file and tell us if your Arch is on a µSD card (most probably it is) and which partition. Here’s my conf that boots (I installed from scratch yesterday). The kernel /boot/uImage is nowhere but the first partition of my µSD. Code:
ITEM_NAME="Arch Linux ARM" If you were indeed using a correct BootMenu config, isn’t it by any chance possible that you forgot to actually install the kernel? If we are lucky and everything else works properly (what is your U-Boot version? – It is shown for a while at bootup; mine is 2013.04 from Apr 20 2013.), it should be that either the config is not written properly or that the kernel is not in place. Quote:
The rootfs I used (and then manually upgraded) was 2013.02, I totally forgot about this one :-/ Quote:
|
Re: uImage was not found ?
First of all thank you so much in fact i did managed to install the arch on my sdcard and it was perfect the only probleme it was very slow that's why i wanted to install it my emmc but i get this error
and her it is my bootmenu configuration Code:
ITEM_NAME="Arch" |
Re: uImage was not found ?
Now I’m not sure. As you see, my Arch on µSD lies in /dev/mmcblk0p1 (this path is taken by the Arch kernel from the bootloader config). In Maemo it is /dev/mmcblk1p1 for a change.
Is your Arch partition mounted, in Maemo? What does this command output? (You don’t need to chroot.) Code:
mount | grep p5 Anyway, would you mind changing your config line to this? Code:
ITEM_CMDLINE="root=/dev/mmcblk1p5 rootwait init=/usr/lib/systemd/systemd omapfb.vram=0:3M,1:3M,2:3M" |
Re: uImage was not found ?
Quote:
the mmcblk0p5 is mounted on mnt /dev/mmcblk0p5 on /mnt type ext3 (0) << result of mount | grep p5 i did change mmcblk0p5 by mmcblk1p5 and i still have the same error the funny part is that i didn't used to get this error in fact before i installed the arch on sdcard i tryed to install it first in emmc and the u-boot-update-bootmenu worked fine but the system wasn't booting but know i can't even reach this step i should notice that i reflashed my n900 |
Re: uImage was not found ?
Quote:
|
Re: uImage was not found ?
souldn't look for it in that path i mean what's the solution
|
Re: uImage was not found ?
I managed to get a little more insight in how U-Boot/BootMenu work.
To fight the issue that somehow your kernel cannot be found you can try this solution. If you have not deviated much from Maemo’s EMMC partition layout (you could post your setup), do the following: – put the Arch kernel (uImage) in /opt/boot/ (you may need to create the /opt/boot directory, like me) – use the following config: Code:
ITEM_NAME="Arch Linux ARM" |
Re: uImage was not found ?
lenoch << There is no end for fun with you
so i tryed what you said and it didn't work but here is the thing i get this message '/opt/boot/uImage' was not found in /boot or /opt/boot so the next thing that i did is this Code:
ITEM_NAME="Arch" unable to read file boot.img.d/uImage |
Re: uImage was not found ?
I wonder how your partition layout looks like and what could be wrong, seems like I’m quite blind today. Would you mind running fdisk /dev/mmcblk0 and pressing 'p' to print the partition table (and 'q' to safely get out of there)?
Why would U-Boot look for /opt/boot/uImage in /boot or /opt/boot if it was given an absolute path to the /opt directory? How about putting the Arch kernel in MyDocs? Typically this is a FAT32 partition (the first one) on EMMC. Code:
ITEM_NAME="Arch" |
All times are GMT. The time now is 23:11. |
vBulletin® Version 3.8.8