Reply
Thread Tools
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#1
Hello,

anyone want to test new feature - usb networ recovery mode? Currently it is tested only with 770.

Get it from http://fanoush.wz.cz/maemo/initfs_flasher.beta.tgz

There are 2 more question when preparing initfs image

Code:
install telnet server for network recovery? (yes/no) yes
install dropbear ssh server for advanced network recovery? (yes/no) yes
Telnet has no password and runs /bin/sh directly.

Dropbear has usual root password and scp should work too. If you have dropbear already installed in roots then server rsa and dss keys will be copied to initfs too, otherwise keys will be generated on each boot (a bit slow).

default IP address is 192.168.10.1 but you can change USB_IP variable in bootmenu.conf

When in boot menu press Home key (the one with house :-) and then connect USB cable. For exiting this mode remove cable and pres Esc (circular arrow :-)

For usb networking setup instructions see:

Windows XP, 2000
http://maemo.org/community/wiki/usbnetworkingwinxp/ (just download and install the .inf file)
Linux
http://maemo.org/development/documen...king_bora.html
http://maemo.org/development/documen...etworking.html

Let me know if you have some suggestions. I guess it would be useful to have GNU tar, mtd-utils and maybe also 0xFFFF flasher in the initfs too.

EDIT: oops, scp did not work due to missing symbolic link to scp, fixed now. Redownload and reflash or when booted and logged into initfs just run
Code:
ln -s ../sbin/dropbearmulti /usr/bin/scp
or when the device is booted completely, run as root
Code:
ln -s ../sbin/dropbearmulti /mnt/initfs/usr/bin/scp
EDIT2:
N800 versions added, binaries for N800 are linked statically so they are bigger but should work with any system. Haven't tested on my N800 yet.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.

Last edited by fanoush; 2007-09-11 at 14:39. Reason: N800 versions added, untested
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#2
Just to let you know - I have tested it also on N800 and those static binaries work fine so you can log into N800 over telnet or ssh just fine. However there is one improtant issue - it looks like dsme in N800 initfs doesn't like when lot of time is spent in BOOT device state inside initfs, currently it powers off the device after minute or so (perhaps some safety mechanism?). I hope we could find some workaround to keep it happy.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 
Posts: 356 | Thanked: 38 times | Joined on Nov 2005 @ Finland
#3
I have latest HE 2007 in my 770. I don't need USB networking. Do the old boot from mmc instructions still work for me to get dual booting?
__________________
N900 as day to day phone
N770 for childrens music
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#4
Originally Posted by mrp View Post
I have latest HE 2007 in my 770. I don't need USB networking. Do the old boot from mmc instructions still work for me to get dual booting?
Yes, it is still the same. You just need to answer something else then 'yes' to those additional two questions if you really don't want it to be included. But you can let it in just in case, it won't affect anything if you don't use it.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 
Posts: 23 | Thanked: 2 times | Joined on Aug 2007
#5
Is this compatible with last HE 2007 (4.2007.36) ?

look like initfs have been updated and is different from 2006 OS and last HE 2007.

Kos
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#6
Originally Posted by kosmic View Post
look like initfs have been updated and is different from 2006 OS and last HE 2007.
Oh, is it? I don't think so but I have flashed just the rootfs. I think release notes says that it uses old kernel and initfs. Can you post /mnt/initfs/etc/initfs_version? As for compatibility - just try it, it will refuse to modify initfs if current version is unknown.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#7
Just checked. Still the old one from 2.2006.39-14 firmware (osso-n770 2006-38 1).
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 
Posts: 23 | Thanked: 2 times | Joined on Aug 2007
#8
Originally Posted by fanoush View Post
Just checked. Still the old one from 2.2006.39-14 firmware (osso-n770 2006-38 1).
version number is the same but, when I unpack the FIASCO image initfs has different size.

Also, from the wiki they say the new initfs is based on the RX-34 initfs ..

http://maemo.org/community/wiki/os20...b17f7042bef87e

anyway ... will try to mount the inifs tonight to see if they are really identical.

Kos
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#9
Originally Posted by kosmic View Post
Also, from the wiki they say the new initfs is based on the RX-34 initfs ..
http://maemo.org/community/wiki/os20...b17f7042bef87e
Oh, interesting, so you bother to read outdated info (clearly says so on the top of the page) buried deep in the wiki but you don't bother to read release notes for current version http://maemo.org/news/announcements/...189171468.html ? Nice one :-)
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 
Posts: 23 | Thanked: 2 times | Joined on Aug 2007
#10
Originally Posted by fanoush View Post
Oh, interesting, so you bother to read outdated info (clearly says so on the top of the page) buried deep in the wiki but you don't bother to read release notes for current version http://maemo.org/news/announcements/...189171468.html ? Nice one :-)
your right here. The last initfs is not based on RX-34 and was reading outdated info..

Nevertheless initfs 3.2006.49 is clearly different from 4.2007.36.

Code:
root@nserver:~/Nokia# ls -l
-rw-r--r-- 1 root root  1895680 2007-09-13 13:06 initfs.jffs2
-rw-r--r-- 1 root root  1896704 2007-09-13 13:04 initfs.jffs2.2006
I used tar --diff to show the difference of 4.2007.36 over 3.2006.49.

Code:
./bin/busybox: Contents differ
./etc/initfs_version: Contents differ
./lib/modules/2.6.16.27-omap1/cx3110x_mt.ko: Size differs
./lib/modules/2.6.16.27-omap1/umac.ko: Size differs
./lib/modules/2.6.16.27-omap1/mtum.ko: Contents differ
./lib/modules/2.6.16.27-omap1/cx3110x.ko: Size differs
./usr/bin/bme: Size differs
./usr/bin/nand-test: Size differs
./usr/bin/wlan-cal: Size differs
./usr/lib/dsme/libstartup.so.0.0.0: Contents differ
./usr/lib/libtestserver-client.so.0.0.0: Contents differ
./usr/lib/pkgconfig/dsme.pc: Contents differ
./usr/lib/pkgconfig/cal.pc: Contents differ
./usr/sbin/dsmetool: Contents differ
./usr/share/images/logo-nokia: Size differs
./sbin/dsme: Size differs
Kos

Last edited by kosmic; 2007-09-13 at 17:42.
 
Reply

Tags
what's an n770?


 
Forum Jump


All times are GMT. The time now is 11:05.