![]() |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Quote:
Code:
ITEM_NAME="NITDroid" |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Thanks very much. The .item file was generated by installing the nitdroid kernel .deb so I assumed it was correct. I also tried with a simple ITEM_CMDLINEthat just sets the root but with the same result.
I will try the .item file you suggested and report back. |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
unfortunately no change, I have to recreate that partition in ext4 and unpack NitDroid again to rule out any problems in the filesystem
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Quote:
This is my post at nitdroid forum: Hi all, I try to install nitdroid, but when i try to boot from sdcard i get the screen and line "Starting kernel" and after ~ 15 seconds the phone powers off. Any ideas why? Android is on mmcblk1p5 - i've updated boot.scr Boot.scr and uImage is on mmcblk1p1 |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Quote:
1. place kernel in /boot of Maemo rootfs, name it zImage-2.6.28.NIT.07 and kernel modules in /lib/modules/2.6.28.NIT.07 of Maemo rootfs and check if it boots 2. do the same but in Android rootfs and check if it boots I know uboot is better, but I remember multiboot required kernel and modules to be in maemo rootfs while the rootfs was on sd/emmc, so I would give it a try (I didn't boot nitdroid with uboot, didn't have time to play with it yet). |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
I tried that, but I forgot the modules. Now my N900 is over at nokia care for a clock battery change (I was told to wait 2-3 weeks).
Now I just hope I don't get an E7 |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Hi all, please help me with atags for u-boot: http://talk.maemo.org/showthread.php?t=84560
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
U-Booters,
in the last few days I have installed Pali's u-boot with bootmenu. No problems booting pr-1.3 kernel or kp50. I have not been able to boot the latest nemo image, though. I have tried both with 'run sdboot' at u-boot's console, and using the following .item file: Code:
ITEM_NAME="Nemo" Both attempts load the kernel, but it panics with Code:
mmc0: error -110 whilst initializing sd card For the record, I am using a SanDisk uSDHC 4Gb, class 4 (I know it will be slow as hell :-( ) Any suggestions to workaround this issue (besides buying another sd card)? |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Quote:
Code:
ITEM_NAME="Nemo" |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Thanks for the tip!
Quote:
For the record, the sd card is partitioned as follows: Code:
Device Boot Start End #cyls #blocks Id System |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
U-Boot is very useful for booting other OS on Nokia N900. But if U-Boot available for Nokia N9, I will buy it immediately. :D
Will it happen? :D |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Pali,
It is addressed here a few times, but it still manifests itself. Running u-boot-update-bootmenu can lead to the error: Code:
cat: can't open '/var/tmp/bootmenu.cmd.default': No such file or directory I ignored the error a few days ago as an innocent warning, but later realized it exits before the actual mkimage. Not sure if it had to do with this, but had to reflash my phone fully afterwards to get it working again. /etc/default/bootmenu.item has to be created manually if I understand correctly? Then why not ignore it if it is not present, or give a message a link has to be created? I now have u-boot running, but my next issue is: I can only start the default omap kernel. I get the exact screen as in in the first post of the thread, but only the option "attached kernel" works, which starts the default kernel after the bootmenu screen. Bootmenu.scr and the images in bootmenu.img.d are created succesfully in MyDocs but I see no alternative kernels to choose from during startup. |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
@ade: I found where is problem. I will fix script in new version. Temporary solution will be to create some default menu entry. See this post how to set kernel power as default boot entry: http://talk.maemo.org/showpost.php?p...&postcount=222
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Proper fix is to edit u-boot-update-bootmenu script and replace:
cat "$BOOTMENU_CMD.default" "$BOOTMENU_CMD" > "$BOOTMENU_CMD.new" mv "$BOOTMENU_CMD.new" "$BOOTMENU_CMD" with: if test -f "$BOOTMENU_CMD.default"; then cat "$BOOTMENU_CMD.default" "$BOOTMENU_CMD" > "$BOOTMENU_CMD.new" mv "$BOOTMENU_CMD.new" "$BOOTMENU_CMD" fi |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Thanks for your swift response.
Any idea about the mentioned issue of not being able to choose other kernels? I like to start the framebuffer kernel for looking at the bootmenu watchdog issue. |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
just drop your kernel zImage to /boot, create bootmenu entry for your zImage and run update script (and before starting script fix it)
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Quote:
zImages in /boot, related items in bootmenu.img.d, running u-boot-update-bootmenu etc. It results in the expected files in MyDocs. It already works fine on my primary N900 for quit a while... don't know why I do not see the other kernels on this phone. |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
ade, write here output of file MyDocs/bootmenu.scr and output of u-boot command 'mmc part'.
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
bootmenu.scr:
Code:
bootmenu Code:
Partition map for MMC device 1 -- Partion type: DOS |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
eMMC partiton and bootmenu script is OK. Do you have in U-Boot menu entry "Maemo 5 with kernel fb-omap1-pr13"?
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Glad to hear that :)
As I said, I see the screen as in your first post of this thread. I can only succesfully start the "attached kernel" option. It brings me to the bootmenu, where I can choose maemo 5 nand, recovery console, backupmenu and power off. |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
ade, run these u-boot commands and write output:
setenv mmcnum 1 setenv mmcpart 1 setenv mmctype fat setenv mmcscriptfile bootmenu.scr run trymmcscriptboot |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
sure. I have to go now and will we back in a few hours. Then I will update this post with your request.
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
ade also check if your MyDocs partition is correct FAT32.
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
I already did a fsck on MyDocs to find any errors. It did not find any problems.
The output I get after the console commands: Code:
mmc1 is current device |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Ok, so problem is that U-Boot cannot read file bootmenu.scr from MyDocs partition.
Try to run this u-boot command to show all files in MyDocs: ext2ls mmc 1:1 / |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Code:
Failed to mount ext2 filesystem... |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
yes, sorry, it is 'fatls' command
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Hmm, that's unexpected output:
Code:
./ |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
ok, seems that your MyDocs is corrupted or is formated to some other FAT variant. linux kernel support all FAT variants, but U-Boot fat driver is very simple... did you formated your MyDocs?
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Yeah, I am getting the same feeling, even though an extensive diskcheck says its okay. I am going to reformat MyDocs and try again!
Edit: Yes, reformatting MyDocs solved the issue, now I can choose booting other kernels. Thanks for putting me on the right track Pali! |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Quote:
When no charger and no usb cable is attached, all options work (i tried omap1, kernel50 and booting nemo from microsd card, all worked well - but i cannot say whether nemo worked or not with charger plugged in, as I haven't tried that - but can try if anyone else is having this issue and you will need more info for debugging) |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
I have MyDocs on /dev/mmcblk0p2 and /home on /dev/mmcblk0p1. Is there anyway I can use uboot with the bootmenu? Cause it looks for it on mmc1:1 which is ext3.
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
@pcklee123:
U-Boot bootmenu is configured for *default* N900. Why did you changed order in MBR? Order of partitions in MBR do not have to be same as physical order. So switch order of that two partitions in MBR table *back* and u-boot bootmenu will be working. |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Hello, I expanded the partition(maemo system) to 9gb(with gparted), and shrinked the Mydocs. I've done this with backupmenu. After that, U-boot went to original state, http://talk.maemo.org/showthread.php?t=81613 as seen there on the screenshot. Now I can't do anything with it. I couldn't add the powerkernel entry, and now i uninstalled it, but it's still there. What can I do? http://www.mediafire.com/?5o1hkuuwhn8hh1c have I to flash this? or there is a chance to recover U-boot?
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
@quailstorm: You need to have first eMMC partition (defined in MBR table) formated to FAT32. Size of partition is irrelevant. After that just run script u-boot-update-bootmenu which generate menu entries.
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
I semi solved it with multiboot. Now I boot into multiboot from U-boot, and choose between kernels. I will continue investigating the issue with PanzerSajt. But he is sleeping now...
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
@quailstorm: See this thread. There were people which were also sure that their parititon was FAT32. But U-Boot did not read bootmenu file. Reason was maybe corrupted or bad format of FAT. Solution is to backup data, format partition (again) and copy data back. When formating use mkfs.vfat (this will create proper partition format).
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
Sorry if thuis has been asked before but I wasnīt able to find anything aboutī.
Installed u-boot as said in first post then selected kernel-power option in u-boot menu but doesnīt flash it, it shut down. Also change it to be the default option and didnīt work. The nokia kernel work fine. Iīve tried allready to reinstall kernell power but then u-boot doesnīt load only power kernel and backup menu Any help?thanks |
All times are GMT. The time now is 15:54. |
vBulletin® Version 3.8.8