![]() |
Re: U-Boot for Nokia RX-51 with BootMenu (version 2013.04-1)
Thanks a lot for your explanation, Pali!
Quote:
Quote:
Quote:
/Estel |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
u-boot-update-bootmenu -h should show that help message
ITEM_DEVICE will tell u-boot-update-bootmenu where to find kernel and initfs images in uimage format. Then ITEM_KERNEL and ITEM_INITRD is absolute path (without leading /) to images on ITEM_DEVICE. ITEM_DEVICE should use ${EXT_CARD} and ${INT_CARD} (see bellow) if ITEM_DEVICE is not specified, the u-boot-update-bootmenu, will try to find ITEM_KERNEL and ITEM_INITRD images in /boot and /opt/boot in normal (zImage bootable format), pack them into uimage format and store to first emmc partition in dir bootmenu.img.d. Then generate menu entry to load images (in uimage format) from bootmenu.img.d bootmenu.scr will be always at first emmc partition. ${EXT_CARD} and ${INT_CARD} are special variables which contains special uboot strings which can be used only in ITEM_DEVICE. |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
It cannot boot other kernels, only start another script (like backupmenu or recovery console mode) |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Trying to install latest version from Extras-Devel via HAM....
However, when I try to install it, I get error message: Quote:
Quote:
FWIW, I recently reflashed my n900, so, all fresh.... Wow! It has been several days since I posted about install problem and requesting some help....but no input...is it because there is no solution or my problem is so elementary that I should have figured it out myself or ??? :rolleyes: Seriously, would greatly appreciate some guidance as to how to get U-Boot installed... Thanks! |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Really you cannot read?
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Hintful completion of Pali's sentence :-)
""Really you cannot read...." all the stuff I typed in the first and later posts and that of others in the thread?" |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Hello Guys,
i have a following scenario: I have N900 with Kernel-power52 and latest U-Boot 04.2013 My External SD Card is 32GB Class 10 and has 3 Partitions: /dev/mmcblk1p1 /media/mmc1 (FAT32) /dev/mmcblk1p2 /media/mmc1p2 (EXT3), NitDroid /dev/mmcblk1p3 /media/mmc1p3 (EXT4), Nemo I want to have a Triple-Boot System via U-Boot with Maemo, NitDroid and Nemo. Nemo is installed on the third partition on the external MicroSD Card, the uImage and all other files like system configuration*.map etc. files are also there. Maemo and NitDroid are booting fine, Nemo starts booting, but then it freezes on the Nemo Background. After some time it try to remount the ext4 partition and doing the same. Freezing on Nemo Background, retrying to remount... Maybe something is wrong with my Nemo U-Boot configuration ? Here are my Nemo configiguration: TEM_NAME="NEMO 2.6.37" ITEM_KERNEL="uImage" ITEM_DEVICE="${EXT_CARD}p3" ITEM_FSTYPE="ext4" ITEM_CMDLINE="root=/dev/mmcblk0p3 rootwait rw console=tty02,115200n8 console=tty0 omapfb.vram=0:2M,1:2M,2:2M mtdoops.mtddev=2" ITEM_OMAPATAG="1" I set ITEM_CMDLINE=root=/dev/mmcblk0p3, I think in nemo the external sd card is /dev/mmcblk0 and not mmcblk1 like in Maemo. Maybe somebody, who have Triple-Boot via U-Boot can share me his configuration, or maybe I need a second swap partition on the external sd-card to boot Nemo? |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
The Problem is Nemo, starting to boot, but then it freezing. NITDROID Configuration is the same, only ITEM_DEVICE="${EXT_CARD}p2" I know, when you make the Nemo SD Card from an image, your nemo rootfs would be ITEM_DEVICE="${EXT_CARD}p2" because, it is on the second partition, the first is small fat, which contains uImage Kernel and the third is Swap. I have different partition map on my microsd: First is FAT with my Data, second is NITDROID and Third is NEMO. I copied all files from the small FAT Partition to the nemo Partition, so that kernel, map files etc. are on the same partition like the nemo rootfs. Bad idea ? |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
Quote:
ITEM_CMDLINE=root=/dev/mmcblk1p3 and try again |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
[QUOTE=peterleinchen;1338935]If nit is on p2 and nemo on p3, then please correct above! ;)
Sorry my error. So it correct. /dev/mmcblk1p1 /media/mmc1 (FAT32) /dev/mmcblk1p2 /media/mmc1p2 (EXT3), NitDroid /dev/mmcblk1p3 /media/mmc1p3 (EXT4), Nemo In Maemo my Nemo rootfs partition is /dev/mmcblk1p3. In Nemo this partition is /dev/mmcblk0p3, because /dev/mmcblk1p3 is the third partition on the Internal EMMC. Nemo booting correct, it loads more then only kernel ( i see the nemo background). But then i got a loop. Freezing on background, trying to remount, freezing on background... I tried to change to ITEM_CMDLINE=root=/dev/mmcblk1p3 like you wrote it, I get no filesystem found on /dev/mmcblk1p3 I checked the ext4 Nemo partition for errors and found a lot of ! fsck.ext4 quit after a while with Segmentation fault. I created an new ext4 fs on /dev/mmcbl1p3, wrote an Nemo raw image on another card and than tar the ext4 partition with Nemo Rootfs to file and than i have untar this file on my mmcblk1p3. Then I copied the uImage and 3 other files from Nemo FAT16 Partition also to my mmcblk1p3 and tryed to boot afterwards... I got the same problem... If i try to boot Nemo from the other card, i have created, it boots fine. Can I read out the Nemo logs or dmesg from the Maemo ? Or maybe, someone, who has Nemo and Nitdroid on the same Card, can post his configuration? Here are my Nemo.item configiguration: ITEM_NAME="NEMO 2.6.37" ITEM_KERNEL="uImage" ITEM_DEVICE="${EXT_CARD}p3" ITEM_FSTYPE="ext4" ITEM_CMDLINE="root=/dev/mmcblk0p3 rootwait rw console=tty02,115200n8 console=tty0 omapfb.vram=0:2M,1:2M,2:2M mtdoops.mtddev=2" ITEM_OMAPATAG="1" Thanks |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
Can some kind soul please give me some guidance as to what to do to get U-Boot to install ? I really need to get it installed.... Thank you! |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Try installing via apt-get.
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
So, installed u-boot-flasher via apt-get.... I created a new u-boot menu entry as follows: Code:
ITEM_NAME="Arch Linux ARM (eMMC)" Code:
# u-boot-update-bootmenu FYI, I am trying to get Arch Linux up and running....per these instructions on this blog page: http://blog.jakgibb.com/2013/03/28/a...stall-on-n900/ Any suggestions? Thanks! |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
I haven't tried this as I am not planning to get arch linux installed, but might try later.
Did you extract Arch Linux rootfs to partition mentioned in the ".item" file ? u-boot-update-bootmenu needs to be run after that. From the error message it seems it can't find the kernel image which should be in that partition. |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
The only thing I can think of now is that particular partition that I created is not getting mounted automatically when I boot to maemo. So, maybe same thing happening when I boot up using u-boot, ie, if not mounted, then can't find kernel.... |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
hmm...
Can you make sure your u-boot tools are also updated ? By running the command below. apt-get install u-boot-tools Then run u-boot-update-bootmenu I had a problem in which u-boot-tools weren't updated automatically after installing u-boot from HAM/FAM. Edit: I didn't notice the new version. Check if your u-boot is updated as well: Update: 20.04.2013 10:00 UTC: Version 2013.04-1 is in Extras-Devel, support for bootmenu ext2/3/4 partition |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
I just did as you instructed...says I already have the latest version.... |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
You're welcome.
Now, I can think of few things as below: 1. Check if the partition created is ext3,p5 and on your internal sd. 2. Check if you are still able to correctly mount in /mnt, also go through the data once mounted. 3. If the above 2 things look fine, try extracting again. Hope you know the commands to check those things. I might give a try sometime this week. Will let you know if it works for me. |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
1. I just did Code:
# mount However, I reboot and then do mount command /dev/mmcblk0p5 is not listed. Only /dev/mmcblk0p2 and /dev/mmcblk0p1 are shown plus 4-5 other mount points.... So, I have to do Code:
# mount -t ext3 /dev/mmcblk0p5 /mnt And then I do 'u-boot-update-bootmenu' and get the error message I wrote before: Code:
# u-boot-update-bootmenu 2. When I do 'ls' in '/mnt', I do see all the Arch Linux directories listed that I extracted from the rootfs file.... Strange..... I have a feeling there's something very simple that is wrong....just have to find it..... |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
/etc/bootmenu/d/20-archlinux.item
It should be /etc/bootmenu.d/20-archlinux.item |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
I do not have a '/etc/bootmenu/d/' directory ! ????? :confused: UPDATE I ran u-boot-update-bootmenu again, just to check error message.... It does say /etc/bootmenu.d/20-archlinux.item So, the '/etc/bootmenu/d/20-archlinux.item' must have been a typo when typing post.....sorry about that.... Still says Code:
#u-boot-update-bootmenu |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
I believe this is the original article for arch linux on n900:
http://talk.maemo.org/showthread.php?t=81892 It suggests an option of using latest version of archlinux arm, you might want to try it, instead of using already modified archlinux rootfs. Also it suggests running "sync" command after extracting files to make sure all the data is actually written to disk and not in buffer. Before you to try the other option, can you try extracting again and run the sync command. Make sure that uimage exists in /mnt/boot Then run u-boot-update-menu while p5 is not mounted. I am not really sure how u-boot-update-menu accesses the image file location and if it needs to be mounted, while running the command. So, just wondering if mounting that partition is locking access to uimage. |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
http://blog.jakgibb.com/2013/03/28/a...stall-on-n900/ Quote:
Quote:
I checked and 'uImage' is in /mnt/boot/..... So, will try re-extracting again and see what happens... Thanks... UPDATE Re-extracted the rootfs file and tried u-boot-update-bootmenu again, but still get the same error message.... :confused: |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
Then it is obvious ... And one more, but not related to your posted problem: I do not know about arch kernel to see the devices on N900. Maybe you need to change your "root=/dev/mmcblk0p5" to "root=/dev/mmcblk1p5". |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
bootmenu item files must have \n line ending (not \r\n)
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
Quote:
**** Well, tried changing partition reference, but still get same error message in u-boot-update-bootmenu.... Thanks for all your help... |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
Thanks. |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Can you try it by reformatting the partition to ext2 and updating FS_TYPE in boot item file ?
I didn't try booting to archlinux but u-boot-update-boot-menu command didn't gave any errors. |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
So, that is why I reformatted partition to ext3..... Meanwhile, someone over on the Arch thread suggested that I delete my boot menu entry file and start over. I did that and now when I did u-boot-update-bootmenu it worked without error message and when I rebooted I see the menu item! Now, I just need to fix some Arch boot errors..... :rolleyes: Thanks for all your help! |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
http://en.wikipedia.org/wiki/Newline |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Hi, I have kernel 2.6.28.10-cssu3 installed.
This is my item file: Code:
# ls -l /etc/bootmenu.d/ Code:
ITEM_NAME="Maemo 5 kernel cssu" Code:
# ls -l /opt/boot/ Code:
# u-boot-update-bootmenu Can't u-boot load kernel-cssu directly? Something wrong with my configuration? Also backupmenu is not listed in u-boot menu. How can I add backupmenu to u-boot menu? |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
Otherwise, you may want to make it default boot entry, so u-boot will boot it automatically, if keyboard isn't slided *out* during boot. /Estel |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Thanks Estel, it is boot to backupmenu because the keyboard was out.
I have set kernel-cssu as default entry and u-boot boot kernel-cssu right away. |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
u-boot doesn't read bootmenu.img.d and bootmenu folder on ext4 MyDocs , any hints? thank you
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
@Alecsandru: Make sure, you have last uboot version (2013.04-1), MyDocs is on first eMMC partition and you are not using new ext4 features (which are not supported by uboot).
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
I've successfully converted MyDocs and /home to ext4 ,but u-boot can't read ext4 MyDocs ( I think) , any hint on this ,can be fixed or we have to wait the new release? thank you for everything pali
|
All times are GMT. The time now is 16:23. |
vBulletin® Version 3.8.8