Reply
Thread Tools
Posts: 53 | Thanked: 3 times | Joined on Jul 2007
#11
Originally Posted by fanoush View Post

Use linux live CD or vmware player to run nokia linux flasher.
Fanoush, I downloaded Knoppix LIVE CD and burned onto a CD. I tried to run it on my Dell M70 but it freezes and the I googled and found that Knoppix on Dell M70 has that problem. SO I tried it on my old Dell Latitude CPi and booted using Live CD. It booted fine. I did "sudo -" to become root and ran the linux flasher. It stopped at "Sutable USB device not found, waiting". At this point, I connected the charger to N770 which was alread connected to USB via cable. But the flasher didn't buzz, it was still waiting. Do you have any idea what could be wrong ?

Thanks and appreciate all your help.
 
Posts: 53 | Thanked: 3 times | Joined on Jul 2007
#12
Fanoush, I tried LIVE CD on Dell inspiron 6000 and it said "Sending kernal image .....". Look like, it sent the the image.

Now when send was complete. I pushed the power button on n770 (with charger connected and also usb cable to laptop connected). The n770 booted fully. Then I removed the usb cable.

Is the kernel loaded ? How can I find whether the new kernel is running or the old one ?

BTW I am also able to access the original 64 MB MMC card which came with n770. That makes me wonder if I am running the new kernel. As the new kernel was supposed to be giving problem to MMC card which came with 770.

Thanks and appreciate all your help.
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#13
Originally Posted by tama View Post
Is the kernel loaded ? How can I find whether the new kernel is running or the old one ?

BTW I am also able to access the original 64 MB MMC card which came with n770. That makes me wonder if I am running the new kernel. As the new kernel was supposed to be giving problem to MMC card which came with 770.
you can check in xterm
Code:
cat /proc/version
I am not sure about the specific kernel you have so post result here, you either should see fanoush@colinux or maemo@ubuntu-maemo there for my kernel. Next reboot brings nokia kernel back so you can see if it is different.

Also you can test read speed (as root)
Code:
Nokia-N770-48:~# time dd if=/dev/mmcblk0 of=/dev/null bs=4096 count=40000
40000+0 records in
40000+0 records out
real    0m 29.43s
user    0m 0.03s
sys     0m 1.75s
that's 160MB in 30 seconds ~= 5MB/s speed, original kernel does ~1.3MB/s

As for the 64MB card, yes some people reported it working, my device is early one from 2005 maybe later they shipped better cards.
 
Posts: 53 | Thanked: 3 times | Joined on Jul 2007
#14
Thanks Fanoush.

Here is some info. The tablet I have is
Product SU-18
hw-build 1802
nolo 0.9.14


The OS ver is 49-2. I put the kernel which is prepared by you (zImage-yuv420). The command 'cat /proc/version' gives
Code:
Linux version 2.6.16.27-omap1 (maemo@unbuntu-maemo) (gcc version 3.4.4 (release) (CodeSourcery) ARM 2005sq3-2)) #34 PREMPT Tue May 22 13:15:14 CEST 2007
The dd command gives following o/p
Code:
 time dd if=/dev/mmcblk0 of=/dev/null bs=4096 count=40000
15680+0 redords in
15680+0 records out
real 0m 23.12s
user 0m 0.06s
sys 0m 1.67s
Now since my card is 64 MB, hence it read only 15680 records.

Edited Post (after few minutes of original post)

I rebooted, and then it said bifh1@doree instead of maemo@unbuntu-maemo. Also 'dd' took 44.4 sec (for 64 MB) instead of 23.12 sec.

Wow your kernel gives twice the speed !!!

Now one more question, if I flash your kernel permanently with your flasher utility and in future if I want to go back to original kernel, then will I be able to flash just the kernel or will I have to re-image the whole os ?

Where can I find the original kernel ? (I am sure I am being paranoid and I will not need it).

You have done wonderfull job. It is excellent.

Thanks and looking forward for your reply.

Last edited by tama; 2007-07-25 at 12:50.
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#15
Originally Posted by tama View Post
So is the above kernel, is yours ?
Yes.

The speed is 15680*4=62MB / 23s = 2.7MB/s (i.e half of speed of my test run above) This looks like mmcmobile card capable of 26Mhz mode.

In general this speed test may be less accurate on first run since some part may be already cached in RAM from previous random reading so the speed might be inflated. To be sure you can run it more times and take 2nd or third result. The data size must be greater that available free RAM. 62MB is probably OK for N770, 32 not, for N800 at least 128 MB should be read, preferably more.
__________________
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: 53 | Thanked: 3 times | Joined on Jul 2007
#16
Thanks Fanoush for qucik reply.

Just one more question, if I flash your kernel permanently with your flasher utility and in future if I want to go back to original kernel, then will I be able to flash just the kernel or will I have to re-image the whole os ?

Where can I find the original kernel ? (I am sure I am being paranoid and I will not need it).

Thanks for wonderfull job with kernel.
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#17
Originally Posted by tama View Post
Just one more question, if I flash your kernel permanently with your flasher utility and in future if I want to go back to original kernel, then will I be able to flash just the kernel or will I have to re-image the whole os ?
Yes, as long as your system boots you can use this utility to flash any kernel including the original one. The original one can be extracted from full firmware image via Nokia linux flasher (flasher-2.0 -u -F SU-18....bin and take the zImage file) and then flashed without touching rest of the system.
__________________
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: 53 | Thanked: 3 times | Joined on Jul 2007
#18
Fanoush,

My 2GB card arived today. I wanted to make the system dual bood. I followed the instruction as given here (http://maemo.org/community/wiki/HowT..._From_MMC_card) with the exception I used following for partition.

Code:
# sfdisk /dev/mmcblk0
	/dev/mmcblk0p1:1,52500,6
	/dev/mmcblk0p2:52501,,
	/dev/mmcblk0p3:
	/dev/mmcblk0p4:
The full process seem to go fine including the OS close. I cloned the 2006 49.2 which is original OS which it came with.


When I boot from mmc partition 2 ext 3, the lower blue bar goes upto 3/4 length and then I get the screen with applets for a fraction of second and then it reboots. Any idea why it cood be happening ?

I searched the forum but couldn't find any solution. Thanks for all your help. I have been bugging more than I should.


I rebooted from flash and mounted mmcblk0p2 ro mmc2. The df shows 294MB there with 145 MB used and 134 free. /mtdblock4 (internal fash) has 126 MB of which 83MB is used and 43 MB free. Shoud I delete everything and do tar again ? If yes then can you please help me with commands ? Thanks

Last edited by tama; 2007-07-26 at 03:15.
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#19
Originally Posted by tama View Post
Shoud I delete everything and do tar again ?
Yes, delete means running the mke2fs again, then mount it and then do the tar thing again. make sure you use GNU tar, not the default busybox tar. Also use the kernel with fast mmc speed and multiblock writes enabled, tar copy is a good test to check if that kernel is stable (and the copy will run much faster too). Don't forget to run umount before rebooting. If the copy still doesn't work, run the tar line without 'v', it should print only errors and there should be only one warning on the end about old timestamp. Also check kernel log via 'dmesg' command after copy is done, you shouldn't see any I/O errors there.
__________________
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: 53 | Thanked: 3 times | Joined on Jul 2007
#20
Originally Posted by fanoush View Post
Yes, delete means running the mke2fs again, then mount it and then do the tar thing again. make sure you use GNU tar, not the default busybox tar. Also use the kernel with fast mmc speed and multiblock writes enabled, tar copy is a good test to check if that kernel is stable (and the copy will run much faster too). Don't forget to run umount before rebooting. If the copy still doesn't work, run the tar line without 'v', it should print only errors and there should be only one warning on the end about old timestamp. Also check kernel log via 'dmesg' command after copy is done, you shouldn't see any I/O errors there.
Thanks Fonoush.

The tar in /temp-tar/ is GNU tar.

The kernel is yours (zImage-yuv420.zip). I flashed your kernel using your flasher util. 'cat /proc/version' shows 'unbuntu@maemo....'.

I will do all of the above and post result here. Just one question before I do that. Should the /dev/mmcblk0p2 be mounted to /media/mmc2 before the last reboot (for boot from patition 2) or not ?

Thanks
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 22:08.