![]() |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
It was not completed detached from the usage of rootfs because Nitdroid still wants to load some firmwares from rootfs after booting process, but it was however a big step forward. Unfortunately they haven't published their works but if I remember correctly their posts were on BackupMenu thread EDIT: They are not in the BackupMenu thread but in the Old U-Boot thread |
Re: U-Boot for Nokia RX-51 with BootMenu
check out e-yes twitter. He had a link from someon, I think crevetor with nitdroid loading with u-boot and a special kernel (I do not recall if it was some MeeGo one or something like this)
|
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
ammyt (current NITdroid dev) is also trying to get it to work with u-boot, maybe worth getting in touch and get the brains together :
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
// Edit Or, placing kernel on *very*small-ish dedicated ext2 partition on SD card would allow it to work, and won't cause any problems with ext4 /home/? As I understand it, u-boot just need supported filesystem to read kernel image from it, and later, it doesn't care about partition types, if kernel support them already? |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
The Pali's binary as default search on first eMMC partition, but it is easy to change behavior on sources and then recompile a binary which searches on other sources |
Re: U-Boot for Nokia RX-51 with BootMenu
some info not soo long ago in the other big u-boot thread :
Posted by Rob1n :http://talk.maemo.org/showpost.php?p...&postcount=156 Quote:
It might not be needed to allow the copying of the existing ATAGS + the new ones as specified during u-boot, if you want to go for a pure port, as Rob1n used a hybrid Maemo FS + Nitdroid FS. But then extra work needs to be done. Also the following post in the same thread (by Mirakels) might help to get more insight. Anyway, it's getting too deep for me, for now, I'll let the big boys play :) Thanks already for all the effort |
Re: U-Boot for Nokia RX-51 with BootMenu
I found the problem with my crapola not working.
fatls mmc 1 was listing down my Music folder off my eMMC. What the actual ****? It might be because of damaged fat32 though. Moved bootmenu files to ~/MyDocs/Music/ and it worked. Would probably still be banging rocks together if not for the Gumstix wiki. On a side note, it doesn't boot last selected entry, which may be undesirable for those who have ext4 /home who want to use this as daily part of booting. EDIT2: fixed that last part. Made a kp49+fmg's SR fixes COMBINED.BIN image. Anybody else want it? |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
Problem found: I have installed gnu utils and /usr/bin/gnu in PATH. So my script used first dd in path (/usr/bin/gnu/dd), which support my syntax.
/bin/dd (busybox) has real no support for conv and oflag. Has somebody idea how to rewrite that script to work with default busybox? Anyway, now I sent final patch series for rx51 u-boot support to mailinglist... |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
Code:
... Code:
... |
Re: U-Boot for Nokia RX-51 with BootMenu
Hi guys I could need some guidance here, probably I am missing something.
I installed u-boot-tools_2011.12-1_armel.deb + u-boot-flasher_2011.12-1_armel.deb and extracted u-boot-images.tar.gz to / Then updated with u-boot-update-bootmenu. But on reboot there's no penguin looking at me, it just boots into maemo. Keyboard open brings only my default multiboot menu. I'm using bash if this matters. Edit: Ok, sorted it out. For some reason it took a few boots for u-boot to appear. Holding U while booting finally brought it up. So now I only need a config and a kernel for Memo and I would be happy.... Cheers, J4ZZ |
Re: U-Boot for Nokia RX-51 with BootMenu
@pali,
Hi, I have a spare N900 in my hand now, on which I tried to install u-boot. Newly flashed the device with stock 1.3 kernel (rooted), trying to install u-boot from your files but it says incompatible package. Do I need to install-uninstall something? |
Re: U-Boot for Nokia RX-51 with BootMenu
write output of dpkg
|
Re: U-Boot for Nokia RX-51 with BootMenu
dpkg worked after several reboots and I ran and installed u-boot-tools, then u-boot-flasher. copied /boot and /etc, and run u-boot-update-bootmenu.
I can see all .item files in place, all images in place, but when i reboot i am given only one choice=default omap kernel. I am no developer, but not a noob either and I would like to help in testing. Can you please guide me? I can also report on hw, but how do I check which version I have? |
Re: U-Boot for Nokia RX-51 with BootMenu
@hermes040:
You need to start phone with open keyboard. Did you see U-Boot screen? Please provide directory listing of your /boot and /etc/bootmenu.d Also write here output of u-boot-update-bootmenu |
Re: U-Boot for Nokia RX-51 with BootMenu
@pali,
sorry, everything went under /home/boot and /home/etc.. corrected them to /boot and /etc. Everything is fine now, I get all options for boot images on startup with keyboard open. The only problem as mentioned some post before is the short time to select. I will now boot all of them in sequence and report to you. I also have a 16GB class 10 memory card, partitioned to 1 FAT and 3 more ext3 partitions on which I want to try installing Nemo, Ubuntu and Nitdroid. Hope I can achieve that with no big pain. |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
1. Maemo 5 (Internal Nand) = booting OK 2. Maemo 5 with 2.6.28-omap1-fb = booting OK 3. Maemo 5 with 2.6.28-omap1 = booting OK 4. Maemo 5 with kernel-power 2.6.28.10-power49,pre50 = reboots to U-boot menu 5. Maemo 5 with kernel-power 2.6.28.10-power49 = reboots to U-boot menu 6. U-Boot 2011.12.1 with zimage 2.6.28-omap1 = returns to U-boot menu 7. U-Boot 2011.12.1 = returns back to U-boot menu 8. U-boot console = opens console Ah, one thing to note: The keyboard must be open before the power key is pressed. With multiboot, it was ok to press powerkey and immediately open keyboard. With U-Boot it doesn't work, keyboard shall be opened first. |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
Even if you extracted pali's kernel image to /boot the kernel still needs the modules in /lib/modules/2.6.28.10-power49 to work correctly. Same thing with the 2.6.28.10-power49+pre50 image (but I don't know where to get the modules for pre50). Edit: If the kernel-power-modules package depends on kernel-power-flasher you may have to reflash the u-boot kernel by reinstalling the u-boot-flasher package. |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
I have used u-boot to boot Nemo on eMMC many times. Probably your attemps have failed because your auto-constructed (by bootmenu style config) boot-args has some options missing. |
Re: U-Boot for Nokia RX-51 with BootMenu
If someone can guide on how to create u-boot menu items, i am willing to try.
|
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
I had a working Nemo bootable from a combined image with matan's u-boot before I switched to pali's version, |
Re: U-Boot for Nokia RX-51 with BootMenu
Hi, Pali.
Thanks for the thing, it's awesome! Looking at u-boot-images.tar.gz, I couldn't find BFS image in it. Also I couldn't just take an image from kernel-bfs package on my own as it contains only fiasco image. |
Re: U-Boot for Nokia RX-51 with BootMenu
BFS is no more, try pwck.
|
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
My guess it is due to misaligned partition OR parted resize. I mean I used parted to resize /dev/mmcblk0p1 so that I could put another system on eMMC. Any ideas howto fix? |
Re: U-Boot for Nokia RX-51 with BootMenu
when creating the bootmenu.d file entry for the latest Nemo kernel, what extra boot arguments/options one needs enter in the file to boot Nemo from the SD card ?
or, what manual commands could be tried in the uboot console to boot nemo ? stskeeps would be the best to answer this I guess, as he was the first person able to create the PR1.3+uboot kernel, able to boot from the external MMC. Thanks. |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
Re: U-Boot for Nokia RX-51 with BootMenu
Here are all supported variables for bootmenu entry:
ITEM_NAME="" ITEM_DEVICE="" ITEM_FSTYPE="" ITEM_KERNEL="" ITEM_INITRD="" ITEM_SCRIPT="" ITEM_CMDLINE="" ITEM_USEATAG="" Try to play with it, maybe you can get nemo booting. Now I do not have time to playing with it. I tried this (stored kernel uImage-nemo in MyDocs) but not worked: ITEM_NAME="Nemo" ITEM_KERNEL="uImage-nemo" ITEM_DEVICE="${INT_CARD}p1" ITEM_FSTYPE="fat" |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
ITEM_CMDLINE="root=${EXT_CARD}p6" or wherever the Nemo partition is. |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
Is it the same procedure used for a merged image (uboot + p49) and setting that one instead? I would guess this will allow more than one O/S can be loaded from several partitions on the sdcard? |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
in ITEM_CMDLINE you should use root=/dev/mmcblk... |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
script u-boot-update-bootmenu will then create correct bootmenu configuration |
Re: U-Boot for Nokia RX-51 with BootMenu
The nemo mobile project releases ready made raw images that you write to an sd card. I should be configured as follows:
partition 1: root filesystem partition 2: swap partition 3: /boot So something like this: ITEM_NAME="Nemo" ITEM_KERNEL="uImage" ITEM_DEVICE="${EXT_CARD}p3" ITEM_FSTPE="fat" ITEM_CMDLINE="root=/dev/mmcblk1p1" Should work, right? But nope, it loads the right kernel (as does run sdboot in the console), but then it just shuts down. Any suggestions? |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
|
All times are GMT. The time now is 04:57. |
vBulletin® Version 3.8.8