![]() |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
(Read first post) Last uboot version (2013.04-1) has support for ext4.
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
mmc1 (part o) is current device
unrecognized filesystem type could you provide your bootmenu? or can we place the bootmenu.img.d folder and bootmenu file in nand? like attached kernel? it has a problem with the bootmenu.img.d folder and bootmenu file being on ext4 partition :confused: or doesn't recognize ext4 partition correctly , the fact is : it recognize my kernel config from bootmenu but doesn't want to load to load zimage from bootmenu.img.d folder :confused: or doesn't read correctly bootmenu file |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
any update pali or o way to move those on nand or on /home?
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
please provide (more detailed) output from u-boot why it not booting your kernel and also output from u-boot-update-bootmenu. and are you sure you have last version of uboot?
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
yes , latest version of u-boot , throws-me unknown filesystem when It tries to load kp52
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
I need some help booting nemo, with the kernel options...
is there anyway to save the kernel log? I modified some things, because I didn't had an empty sd. I wrote the raw image first partiton to my sd, partition 2 (checked that worked) I alredy had a swap on sdcard, partition 4. I modified the fstab with the proper patitions uuid. I wrote the kernel u-image to the emmc, (maemo 'MyDocs') I used the same kernel options for nitdroid. except the init=. when booting: kernel loads. finds root ext4 partition in the sd card shows some tmpfs error -2 doesnt find init panics I dont know where the kernel log is the kernel log saved. ----EDIT---- Solved: nemo's kernel inverts the memory order, so maemo's mmcblk1p2 is nemo's mmcblk0p2 ----EDIT2---- Nemo can be installed with less than 1Gb + swap space... To do that, instead of burning the raw image, mount it somwhere. Then copy the complete system to an empty ext partition...Then configure uboot. |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
bump ,any update pali? thank you
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
pali I can boot other os from ext4 but maemo doesn't boot . unknown filesystem type, what i'm doing wrong?
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
again: please provide output of u-boot-update-bootmenu and also version of uboot you are using for booting. also please provide full output from uboot console where it fail booting.
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Pali, there seems to be something strange with NOLO->u-boot->kernel passthrough of flags (if I understand it correctly).
The thing is, that *without* u-boot, enabling one or few R&D flags (not R&D as a whole), result in - as intended - only those enabled flags having effects. For example, if I: Code:
--set-rd-flags=force-power-key Now, if I do the same *while* using u-boot, for split second after boot everything is as it should (nokia logo with toolbox, no keyboard flickering at activity)), then, u-boot takes control and passes it to kernel. Instantly, I start to get *whole* bunch of full R&D, *including* keyboard flickering on activity, green text about kernel and hardware version, etc. It's not a big deal, as keyboard flickering can be disabled by editing [i]/sbin/preinit/, but it clearly states, that something isn't as it should re those parameters, if using u-boot. Device thinks about full R&D mode, while it should only have some flags active. I also hope, that it doesn't leads in having more unnecessary flags active after nolo->u-boot messup (like, serial console etc), as it would mean silent increase in battery consumption (invisible for powertop). Please, investigate. /Estel Ps. If I hear "send bug to mainstream", a bunny will die. |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
I do not know what you mean with full R&D mode.
R&D flags are stored in CAL in one NULL term string separated by char ','. NULL string means disabled R&D mode. There is special flag "master" which is present there if string is not NULL and do nothing. If string is not NULL then R&D mode is enabled. keyboard flickering can be configured via config file /etc/pmconfig. So I do not understand what you mean with full or non full R&D mode... When some R&D flags are set, NOLO add some special ATAGS for linux kernel (serial console). Last u-boot totally ignore ATAGS from NOLO and generate them for kernel itself. Also uboot does not have CAL support, so these special ATAGS are not passed to kernel even if NOLO set it. Because uboot generating ATAGS, you can tell to uboot what should pass to kernel. It can be configured via uboot env variables. setup_omap_atag - 1 - for passing ATAGS setup_console_atag - 1 - for enabling serial console setup_boot_reason_atag - str - for overwriting boot reason setup_boot_mode_atag - str - for overwriting boot mode Example of usage (in uboot console) - enable serial console and enter to update MMC mode: setenv setup_omap_atag 1 setenv setup_console_atag 1 setenv setup_boot_reason_atag pwr_key setenv setup_boot_mode_atag update |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
it's possible to move bootmenu.img folder and boot .src in /home?
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
No. It must be on first eMMC partition.
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
can you share some hints to make the cssu kernel as default image in the case that MyDocs get corrupted?
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Not possible, because u-boot is compiled to load configuration from first eMMC partition (MyDocs)
|
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)
I don't think i'm able to compile the u-boot , at least not yet
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
In case of eMMC corruption, it should be possible to load configuration from SD card, instead of first eMMC partition. Never tried that, though, which reminds me it's one of the things I definitelly *should* do, as it makes device free of need for flashing via external machine, for almost all cases.
/Estel |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
hello. i'm trying to install U-Boot via HAM but its giving error. "Unable to install U-Boot with kernel 2.6.28omap1". I have KP 52 installed.
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
@panjgoori: write more details from HAM
|
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:
sudo gainroot dpkg -l | grep ^rc dpkg -l | grep ^rc | cut -d " " -f 3 | xargs dpkg --purge removing kp52: apt-get remove -y kernel-power kernel-power-modules dpkg -l | grep ^rc dpkg -l | grep ^rc | cut -d " " -f 3 | xargs dpkg --purge apt-get clean apt-get autoclean apt-get autoremove don't touch the icon from menu restart n900,if you don't boot the system flash only kernel: flasher-3.5 -F RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin --flash-only=kernel -f -R Add the sdk repositores of fremantle in /etc/apt/sources.list with opensshserver: Quote:
apt-get install -y u-boot-tools u-boot-flasher restart n900 apt-get install kernel-power-settings restart n900 sudo gainroot u-boot-update-bootmenu restart with open ukeyboard choose kp52 If you want to installing backupmenu: apt-get install backupmenu restart n900,with close ukeyboard,when shows the titles of u-boot,open ukeyboard and you see how loading bootmenu,choose maemo with.. then advice from Pali: root ln -s /etc/bootmenu.d/20-Maemo5-kernel-power-2.6.28.10-power52.item /etc/default/bootmenu.item after that the backmenu shoud properly load kp52 I think this is all,if somebody have other advice please share it edit:Opps sorry man,that way is not for you because you have cssu-thumb and if you remove kp52 then you have to complete flashing your n900,again sorry man i did't notice than you are with cssu-thumb |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
@disapppear: thanks for the answer. i dont want to flash my device. waiting for Pali's reply. if no help then i have no choice but to follow your guide.
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
any solution for me ? if no then im forced to proceed with disappear's post and reflash my device.
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
@panjgoori: check if you have enabled extras-devel repository and try also updating catalogues. if it does not help, try to install uboot via apt-get (package u-boot-flasher)
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
edit: installed backupmenu. it also installed bootmenu along with it. when i select kernel power 52 in U-Boot list and after flashing kernel it shows bootmenu screen. is its normal ? beside this device boots without any problem. |
Re: U-Boot for Nokia RX-51 with BootMenu
Quote:
Quote:
Then resize the mmcblk0p1 to default size and everything works good :S (note: I was used a edited vanilla bin so mmcblk0p2 have a size of 5 GB) what changes u-boot needs to get new internal partitions and a u-boot menu working? it's a bug? also I checked with fsck.vfat the mmblk0p1 and tried reinstall u-boot-tools and u-boot-flasher but without results. how you fix that Nobless? any idea pali? best regards. |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
@NeXt: Try to reformat FAT partition under linux with mkfs.vfat or mkfs.msdos. U-Boot does not have full linux vfat FS driver, so does not support everything supported by linux vfat driver. Other option could be switch to some ext FS.
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Hi Pali, is there any way to boot a console only (aka recovery mode) kernel from SD card?
I did a mistake while doing some tinkering with my N900 and got into reboot loop, i don't wan to reflash, i just need to boot and mount rootfs so i could restore some files? Greets. |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
can you add images to boot items? like n9's ubiboot?
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
|
This Works Well
Quote:
EDIT: I have modified the quoted message from "disappear" to show how I did it (basically it's the same steps but I rephrased them to be more descriptive/newbie-friendly). I'll write an article for this in the Wiki Pages...not sure if this should be in a new Wiki article or if this should be placed/added in an existing Wiki Page/Article...please let me know your thoughts. I will likewise make a video of it (will reflash during the weekend to start all over). |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Well, I put a config file for Nemo to /etc/bootmenu.d/
Code:
ITEM_NAME="Nemo" should u-boot-update-bootmenu be run as user or as root? Tried both, none work. |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
ITEM_DEVICE value should be in format:
ITEM_DEVICE="${INT_CARD}pX" or ITEM_DEVICE="${EXT_CARD}pX" |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
Code:
ITEM_NAME="Nemo" |
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
You need to (re)format MyDocs partition from Maemo (to be sure that you use correct format) to one support filesystem (fat, ext2 or ext4). |
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)
Problem is that u-boot support only subset of fat fs supported by linux and windows. gparted using dosfstools for fat support. And I think it enabled (or used) some fat extension which is not supported by u-boot.
|
Re: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1)
Quote:
and should I run u-boot-update-bootmenu as root or as user? |
All times are GMT. The time now is 18:58. |
vBulletin® Version 3.8.8