![]() |
2007-01-19
, 19:16
|
Posts: 64 |
Thanked: 1 time |
Joined on Jan 2007
@ Seattleish, WA
|
#32
|
![]() |
2007-01-19
, 19:39
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#33
|
![]() |
2007-01-19
, 19:52
|
Posts: 64 |
Thanked: 1 time |
Joined on Jan 2007
@ Seattleish, WA
|
#34
|
Thanks midiwall for confirmation that it works (on n800? including keys?).
Nokia-N800-51:~# cp /media/mmc2/initfs_flasher.tgz . Nokia-N800-51:~# tar zxvf initfs_flasher.tgz initfs_flasher initfs_flasher/nanddump initfs_flasher/nandwrite initfs_flasher/to_remove.lst initfs_flasher/initfs_flash initfs_flasher/mkfs.jffs2 initfs_flasher/flash_eraseall initfs_flasher/initfs.osso-n770.2006-25.tgz initfs_flasher/initfs.osso-RX-34.2006-51.tgz initfs_flasher/README.txt initfs_flasher/bootmenu.sh initfs_flasher/bootmenu.conf.n770.example initfs_flasher/bootmenu.conf.n800.example initfs_flasher/initfs.osso-n770.2006-38.tgz Nokia-N800-51:~# cd initfs_flasher/ Nokia-N800-51:~/initfs_flasher# ls README.txt initfs.osso-RX-34.2006-51.tgz nanddump bootmenu.conf.n770.example initfs.osso-n770.2006-25.tgz nandwrite bootmenu.conf.n800.example initfs.osso-n770.2006-38.tgz to_remove.lst bootmenu.sh initfs_flash flash_eraseall mkfs.jffs2 Nokia-N800-51:~/initfs_flasher# ./initfs_flash === Flasher for initfs with onscreen bootmenu === For safe flashing please do the following: - close all aplications (to free available RAM and prevent system crash) - disconnect from network (to prevent system crash) - make sure you have at least 5MB free disk space in flasher directory - make sure you know how to reflash device in usual way if this fails Are you sure to continue? (yes/no) : yes Create backup of current initfs (yes/no) : yes *** creating initfs.orig.jffs2 ... -rw-r--r-- 1 root root 1686436 Jan 19 11:11 initfs.orig.jffs2 Press enter to continue Part 1 - Preparing initfs.bootmenu.jffs2 image *** copying current initfs ... done. If you remove extra stuff you may write to initfs and customize bootmenu. Remove unneeded extra (and factory testing) stuff? (yes/no) : yes *** removing extra stuff ... *** extracting boot menu files for initfs version osso-RX-34.2006-51 ... . ./linuxrc ./dev ./dev/mmcblk0p3 ./usr ./usr/bin ./usr/bin/evkey *** copying bootmenu.sh *** searching for optional bootmenu.conf in current directory ... *** not found, no problem *** creating initfs.bootmenu.jffs2 ... -rw-r--r-- 1 root root 1412932 Jan 19 11:11 initfs.bootmenu.jffs2 Part 2 - Ready for flashing this image? (yes/no) : yes *** remounting initfs read only ... OK *** caching old initfs to memory (for crash prevention) *** erasing initfs partition (/dev/mtd3) ... Erasing 128 Kibyte @ 1e0000 -- 93 % complete. Cleanmarker written at 1e0000. *** flashing initfs.bootmenu.jffs2 image ... Writing data to block 0 Writing data to block 20000 Writing data to block 40000 Writing data to block 60000 Writing data to block 80000 Writing data to block a0000 Writing data to block c0000 Writing data to block e0000 Writing data to block 100000 Writing data to block 120000 Writing data to block 140000 *** done Press enter to reboot device (or ctrl+c to quit, not recommended) Broadcast message from root (pts/1) (Fri Jan 19 11:11:59 2007): The system is going down for reboot NOW! Nokia-N800-51:~/initfs_flasher#
![]() |
2007-01-19
, 20:15
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#35
|
![]() |
2007-01-19
, 20:44
|
|
Posts: 3,096 |
Thanked: 1,525 times |
Joined on Jan 2006
@ Michigan, USA
|
#36
|
![]() |
2007-01-19
, 20:53
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#37
|
Here you go
Nokia-N800-51:~# grep '/mnt/initfs jffs2' /proc/mounts
/dev/root /mnt/initfs jffs2 rw 0 0
Nokia-N800-51:~# chroot /mnt/initfs mount -t jffs2 -o remount,ro /dev/mtdblock3 /
Nokia-N800-51:~# grep '/mnt/initfs jffs2' /proc/mounts
/dev/root /mnt/initfs jffs2 ro 0 0
Nokia-N800-51:~#
![]() |
2007-01-19
, 21:11
|
|
Posts: 3,096 |
Thanked: 1,525 times |
Joined on Jan 2006
@ Michigan, USA
|
#38
|
![]() |
2007-01-19
, 21:16
|
Posts: 64 |
Thanked: 1 time |
Joined on Jan 2007
@ Seattleish, WA
|
#39
|
please check bootmenu.sh if there are lines
Code:EVNAME=event1 # default, n770 grep -q RX-34 ${initfs_prefix}/etc/initfs_version && EVNAME=event2 #n800 #wait 1 second for keyup event GETKEY="evkey -u -t 1000 /dev/input/${EVNAME}"
If yes then please debug this for me. As root run
Code:grep -q RX-34 /etc/initfs_version && echo It works
grep -q RX-34 etc/initfs_version && echo It works
![]() |
2007-01-19
, 21:19
|
Posts: 64 |
Thanked: 1 time |
Joined on Jan 2007
@ Seattleish, WA
|
#40
|
midiwall, can you reboot again, did it happen over and over again? It will occaisionally happen where the keys will not work, sometimes on reboots, I had not yet mentioned that to Fanoush, never had a problem with shutdowns and starts, only occaisionally when rebooting. Please try again and see if your keys are working.
BusyBox v1.1.3 (Debian 3:1.1.3-3.osso17) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
Nokia-N800-51:~# grep '/mnt/initfs jffs2' /proc/mounts
/dev/root /mnt/initfs jffs2 rw 0 0
Nokia-N800-51:~# chroot /mnt/initfs mount -t jffs2 -o remount,ro /dev/mtdblock3
/
Nokia-N800-51:~# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/mtdblock4 2048 1796 252 88% /mnt/initfs
none 512 68 444 13% /mnt/initfs/tmp
/dev/mtdblock4 257536 87908 169628 34% /
none 512 68 444 13% /tmp
none 1024 76 948 7% /dev
/dev/mmcblk1p1 40034 6796 33238 17% /media/mmc1
/dev/mmcblk0p1 402968 327888 75080 81% /media/mmc2
Nokia-N800-51:~# ls -l /bin/mount
lrwxrwxrwx 1 root root 7 Dec 20 11:23 /bin/mount -> busybox
Nokia-N800-51:~# chroot /mnt/initfs mount -t jffs2 -o remount,ro /dev/mtdblock3 /
Nokia-N800-51:~# echo $?
0
Nokia-N800-51:~# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/mtdblock4 2048 1796 252 88% /mnt/initfs
none 512 68 444 13% /mnt/initfs/tmp
/dev/mtdblock4 257536 87908 169628 34% /
none 512 68 444 13% /tmp
none 1024 76 948 7% /dev
/dev/mmcblk1p1 40034 6796 33238 17% /media/mmc1
/dev/mmcblk0p1 402968 327888 75080 81% /media/mmc2
Nokia-N800-51:~#