![]() |
Re: bootmenu initfs flasher updated for OS2008
At the moment, I am not interested in MMC booting (I just got it yesterday, from what I see, if I want to boot a dump of OS2007, I'll have to flash back).
But the USB Network Recovery Mode does sound great (due to my habit of "bricking" things) but I am unsure if I use the default N800 config supplied (bootmenu.conf.n800.example), I will be able to still reboot into my internal flash after a 10 sec timeout? (I really don't want to brick it because I don't have a Linux install ATM and my Dad will kill me if it don't boot :\) Thank you. |
Re: bootmenu initfs flasher updated for OS2008
Quote:
|
Re: bootmenu initfs flasher updated for OS2008
Quote:
Code:
flasher-3.0 -u -F firmwareimagename.binQuote:
Quote:
Code:
kernel_flasher/kernel_flash /media/mmc2/zImage-OS200xUnfortunately you need to confirm flashing of both parts. In next version of flashers I will add -f option to disable the confirmation. |
Re: bootmenu initfs flasher updated for OS2008
Quote:
I think either partitioning or cloning went somehow wrong for you. |
Re: bootmenu initfs flasher updated for OS2008
Quote:
w00t, thank you :). I flashed it fine and it works great. I just have one small question, the extra unneeded stuff that is removed, is there any way to get it back (i.e reflash image again)? I'm not bothered if you cant, but I am just interested out of curiosity. Thank you for the flasher and all your help. |
Re: bootmenu initfs flasher updated for OS2008
Quote:
Quote:
|
Re: bootmenu initfs flasher updated for OS2008
Quote:
I tried but Putty keeps timing out. I don't know if I have the drivers installed properly or if my computer hates me (I chose to install the dropbear and the ssh server). But I will try on a linux machine sometime. Quote:
|
Re: bootmenu initfs flasher updated for OS2008
Quote:
|
Re: bootmenu initfs flasher updated for OS2008
Quote:
|
Re: bootmenu initfs flasher updated for OS2008
Fanoush,
I think I know what's up with the mmc's switching. The device nodes for the mmc's are reversed between the initfs and the root fs! If I do- # cd /mnt/initfs/dev && ls -l mmcblk* I get- brw------- 1 root root 254, 0 ..... mmcblk0 ... brw------- 1 root root 254, 8 ..... mmcblk1 if I do- # cd /dev && ls -l mmcblk* I get- brw------- 1 root root 254, 8 ..... mmcblk0 ... brw------- 1 root root 254, 0 ..... mmcblk1 ... The nodes are reversed. mmcblk0 is 254, 8 and mmcblk1 is 254, 0. I'm going to make the initfs /dev entries match the root filesystem and see if it bricks my tablet. I'll post back in a bit kernelpanic ;-) |
Re: bootmenu initfs flasher updated for OS2008
o.k. closer...
I extracted the initfs.osso-RX-44.2007-49.tgz file from initfs_flasher and rewrote all of the /dev/mmcblk* nodes to match the root fs. Then I recreated the tgz file and ran initfs_flash. Success! (mostly) Now can boot to mmc and df shows the correct devices for the root filesystem (mmcblk1p2) and the external mmc (mmcblk1p1) (Yes, I'm booting to the external card. I'm hacking this thing a lot right now.. If I wear out the flash, I'd like to be able to replace it.) However, df now shows that the /mnt/initfs device is /dev/mmcblk1p2 (or if booted from flash /dev/mtdblock4), and not /dev/root??? But /etc/mtab correctly shows /mnt/initfs as /dev/root in either case... Interesting eh? kernelpanic As /dev/root is mounted read-only, I'm not too worried about it... |
Re: bootmenu initfs flasher updated for OS2008
Quote:
I have now also attempted to clone the OS to a 1GB Kingmax card. During the cloning process outlined by Millhouse many errors are being generated when taring the ./usr directory. These errors include "Cannot open: No such file or directory" or "Cannot open: Input Output error". If I let xterm run it takes about 12 hours for step 4 to stop. After that it won't complete step 5 and the file system on the second partition is corrupt. Xterm is also unresponsive at this point. I decided to reflash OS2008 and start from scratch. But after repeating all the steps again, including installing the bootmenu, the results have been exactly the same. The new cloned 16GB will not boot and the seasoned 1GB card is still generating errors during cloning. |
Re: bootmenu initfs flasher updated for OS2008
Trying to boot from MMC with a N810 and the latest OS2008 2.2007.50-2 I came across a few issues like mmcblk0 and mmcblk1 being swapped after booting (like vormund earlier). I finally got it right by swapping the devices in the initfs and also managed to prevent the root file system from being mounted over USB. A few pointers here.
For the MMC swapping problem, It may be a good idea to add specific initfs patches in the initfs flasher, but I do not know if this applies only to the N810, to OS2008 2.2007.50-2 or both... |
Re: bootmenu initfs flasher updated for OS2008
Quote:
kernelpanic p.s.- thanks for pointing out the osso-usb-mass-storage-enable.sh hack. I'd been looking for a way to disable the root fs mounting over usb... |
Re: bootmenu initfs flasher updated for OS2008
Quote:
|
Re: bootmenu initfs flasher updated for OS2008
The problem has certainly affected me. I tried the instructions given in the Millhouse thread and the Nuclear instructions, as recommended on the tablet hacker site. I will try the fixes mentioned above.
|
Re: bootmenu initfs flasher updated for OS2008
Quote:
Quote:
Quote:
|
Re: bootmenu initfs flasher updated for OS2008
Quote:
Also my kernel flasher didn't work on n810 at all and nobody told me :-) Fixed this one too, it was just matter of adding RX-44 to the script. |
Re: bootmenu initfs flasher updated for OS2008
Quote:
cheers, kernelpanic |
Re: bootmenu initfs flasher updated for OS2008
Quote:
Quote:
Quote:
|
Re: bootmenu initfs flasher updated for OS2008
Quote:
|
Re: bootmenu initfs flasher updated for OS2008
Quote:
TIA, bun |
Re: bootmenu initfs flasher updated for OS2008
I want to buy a new SDHC card for booting OS2008 from it.
What do you think is the card with the best performace? I think about transfer speed that the OS runs very fast. The capacity is really not important as long as it is 4 or 8 or 16 GB. And would the OS be faster or slower with this card compared to the build-in memory? (didn't know if i should post in the sdhc thread or here, but it's related to OS-booting so...) Thanks |
Re: bootmenu initfs flasher updated for OS2008
Quote:
bun |
Re: bootmenu initfs flasher updated for OS2008
Oh, thank you.
|
Re: bootmenu initfs flasher updated for OS2008
@Fanoush: On N800, how can I edit/add a pointer to bootmenu to have options boot from 1) internal flash,
2) internal SD (mmcblk0) 3) external SD (mmcblk1) I already cloned OS on 2 SD cards, and they have different contents, I would like to have options to choose booting, rather than physically swap them. Would edit the bootmenu.conf work? If so, please spoon feed with instructions, thanks. I want to do the same to N810, are they, 1) internal flash, 256 MB 2) internal card, 2G (mmcblk0) 3) external card, SD (mmcblk1) I made these up. I am totally confused with this internal/external things. They are like playing rudby :( I did read up thread #50s, not quite sure 'how to approach it though, in particular to avoid re-flash if possible as i have accumulated quite some progs by now and dont quite trust 'restore'. TIA, bun |
Re: bootmenu initfs flasher updated for OS2008
NOKIA:~ ROOT#df
Filesystem 1k-blocks Used Available Use% Mounted on /dev/mmcblk1p2 2048 1916 132 94% /mnt/initfs none 512 104 408 20% /mnt/initfs/tmp /dev/mmcblk0p2 3748988 1359760 2198788 38% / none 512 104 408 20% /tmp none 1024 32 992 3% /dev tmpfs 1024 0 1024 0% /dev/shm /dev/mmcblk0p1 128220 121360 6860 95% /media/mmc2 /dev/mmcblk1p1 122952 122542 410 100% /media/mmc1 Fanoush is this a bug? I am booting N810 off both mmc1 and mmc2. I noticed it when trying to mount /dev/mmcblk1p2 to access some files. Any Ideas? |
Re: bootmenu initfs flasher updated for OS2008
Quote:
|
Re: bootmenu initfs flasher updated for OS2008
Quote:
http://bugs.maemo.org/show_bug.cgi?id=2747 |
Re: bootmenu initfs flasher updated for OS2008
Quote:
Quote:
Quote:
http://bugs.maemo.org/show_bug.cgi?id=2747 and see workaround here http://www.internettablettalk.com/fo...657#post124657 Sadly I still had no time to update flasher with similar workaround. I'd like to fix it in kernel and have the workaround working with both fixed and broken kernel. Quote:
|
Re: bootmenu initfs flasher updated for OS2008
do you have any idea on how to solve the wlan issue?
Replace all old udev files in OS2007 root directory with OS2008 udev files and wlan works. Udev files: /etc/udev /lib/udev /lib/firmware /sbin/udevd /usr/bin/udevinfo /usr/sbin/udevmonitor |
Re: bootmenu initfs flasher updated for OS2008
do you have any idea on how to solve the wlan issue?
Replace udev files and replace /usr/sbin/wlancond And copy new files: /usr/lib/libdbus-1.so.3 /usr/lib/libdbus-1.so.3.2.0 /lib/libiw.so.29 |
Re: bootmenu initfs flasher updated for OS2008
Quote:
here is version that I'd like to put to boomenu.sh Code:
INT_CARD="" |
Re: bootmenu initfs flasher updated for OS2008
Quote:
|
Re: bootmenu initfs flasher updated for OS2008
I am unable to boot to the internal flash on my n810 even after using the modifications I've read in this thread (quoted below). When I try to boot to it it says "boot to mmcint2 failed. booting from flash..." or similar.
Here is what I have in my bootmenu.conf file (changes from the n800 example conf file anyway): Quote:
Quote:
|
Re: bootmenu initfs flasher updated for OS2008
Hi, just to let you know that there is newer initfs_flasher.tgz with workaround for inconsistent mmc device names (N8x0 only).
Additional changes: - there are now boot items for both internal and external cards in default bootmenu.sh so no custom bootmenu.conf needed (unless you want to) - if partition does not exist, item name "x" is renamed to "(x) N/A" - the 'booting from ..." message contains also mmc device name and filesystem (for better troubleshooting) Thanks to Graham Cobb for initial idea. EDIT: two default items are named 'mmc2' for external card and 'immc2' fro internal card, I kept mmc2 name for compatibility with 770 and various guides on the net. If you are booting from internal card with N8x0 you may need to update default choice (as root) Code:
chroot /mnt/initfs cal-tool -R ask:immc2 |
Re: bootmenu initfs flasher updated for OS2008
hi, thanks much for these tools; just cloned my OS2008 to external 8GB, working perfectly :)
Two comments: o in the default n8x0 bootmenu.conf, the external SD card defaults to ext3. Was that intentional? It caught me out as I was using Milhouse's clone script which defaults to ext2. Changing it in bootmenu.conf worked fine, of course o timeout: changing MENU_TIMEOUT in bootmenu.conf (and reflashing) seems to have no effect, for me. Whatever it's set to (e.g 15, 20, 30), I only get about 1/2sec to hold down MENU before it boots the default flash. Is it just me? thanks again... |
Re: bootmenu initfs flasher updated for OS2008
Quote:
Quote:
|
Re: bootmenu initfs flasher updated for OS2008
Thanks very much indeed, Fanoush,
Quote:
Quote:
Quote:
thanks again for a great tool. |
Re: bootmenu initfs flasher updated for OS2008
Quote:
|
| All times are GMT. The time now is 16:48. |
vBulletin® Version 3.8.8