cannot transfer win ce image through USB!!!

nicolas
Posts: 162
Joined: Sun Jun 07, 2009 4:32 pm

Re: cannot transfer win ce image through USB!!!

Post by nicolas » Wed Oct 28, 2009 9:13 pm

Id give you a full nand image, but my board is the older type. 64M
Im hoping to get a new board, of the 128M type to play with, but I dont think that will happen soon.

Googling "0x80200000 mini2440" found some chinese results. One of them says
mirror of the kernel address 0x80200000
and
INFO: OEMLaunch: Jumping to Physical Address 0x30201000h (Virtual Address 0x80201000h)...
When the WINCE image is written via the Supervivi's functions, it does some work with the image. One of them relates to a 'TOC'.
(Thus why it takes a couple of minutes to flash versus the linux images which are straight write and forget.)

Im real sorry I cant be of more help.

amirshah77
Posts: 17
Joined: Tue Oct 20, 2009 3:41 pm

Re: cannot transfer win ce image through USB!!!

Post by amirshah77 » Wed Oct 28, 2009 11:04 pm

nicolas:

thanks for the info. any bit of info i can get is very helpful at this point.

on my side, i managed to get hold of an alternative bootloader called u-boot. this one has a memory (RAM) tester. a quick test seems to suggest that some parts of my RAM is faulty. well, enough to get the tester to crash...

##### FriendlyARM BIOS 2.0 for 2440 #####
[x] format NAND FLASH for Linux
[v] Download vivi
[k] Download linux kernel
[y] Download root_yaffs image
[a] Absolute User Application
[n] Download Nboot for WinCE
[l] Download WinCE boot-logo
[w] Download WinCE NK.bin
[d] Download & Run
[z] Download zImage into RAM
[g] Boot linux from RAM
[f] Format the nand flash
Boot the system
[s] Set the boot parameters
Backup NAND Flash to HOST through USB(upload)
[r] Restore NAND Flash from HOST through USB
[q] Goto shell of vivi
Enter your selection: d
Clear the free memory
USB host is connected. Waiting a download.

Now, Downloading [ADDRESS:32000000h,TOTAL:239026]
RECEIVED FILE SIZE: 239026 (233KB/S, 1S)
Downloaded file at 0x30000000, size = 239016 bytes


U-Boot 1.3.2-dirty-moko12 (Apr 16 2009 - 18:14:52)

I2C: ready
DRAM: 64 MB
Flash: 2 MB
NAND: Bad block table not found for chip 0
Bad block table not found for chip 0
128 MiB
*** Warning - bad CRC or NAND, using default environment

USB: S3C2410 USB Deviced
In: serial
Out: serial
Err: serial
MAC: 08:08:11:18:12:27
Hit any key to stop autoboot: 0
MINI2440 # mtest
Pattern 00000000 Writing... Reading...
Mem error @ 0x33D6FB30: found 00000001, expected 00F5BECC

Mem error @ 0x33D6FB34: found 00000001, expected 00F5BECD

Mem error @ 0x33D6FB38: found 00F5BECD, expected 00F5BECE
Pattern FFFFFFFF Writing...


##### FriendlyARM BIOS 2.0 for 2440 #####
[x] format NAND FLASH for Linux
[v] Download vivi
[k] Download linux kernel
[y] Download root_yaffs image
[a] Absolute User Application
[n] Download Nboot for WinCE
[l] Download WinCE boot-logo
[w] Download WinCE NK.bin
[d] Download & Run
[z] Download zImage into RAM
[g] Boot linux from RAM
[f] Format the nand flash
Boot the system
[s] Set the boot parameters
Backup NAND Flash to HOST through USB(upload)
[r] Restore NAND Flash from HOST through USB
[q] Goto shell of vivi
Enter your selection:


if supervivi downloads the wince image to RAM to do some processing before the result is committed to NAND, then a faulty RAM will obviously be a big problem. i don't see any quick solution other than a "backup" image. i hope esky-sh will not think of my request as too much...

esky-sh
Posts: 1449
Joined: Sat Dec 20, 2008 4:21 am

Re: cannot transfer win ce image through USB!!!

Post by esky-sh » Fri Oct 30, 2009 1:40 am

flash wince image to nand
.jpg
flash wince image
.jpg (89.96 KiB) Viewed 3606 times

esky-sh
Posts: 1449
Joined: Sat Dec 20, 2008 4:21 am

Re: cannot transfer win ce image through USB!!!

Post by esky-sh » Fri Oct 30, 2009 1:43 am

download .nb0 to sdram
.jpg
.jpg (37.91 KiB) Viewed 3604 times
1.jpg
1.jpg (72.19 KiB) Viewed 3618 times

esky-sh
Posts: 1449
Joined: Sat Dec 20, 2008 4:21 am

Re: cannot transfer win ce image through USB!!!

Post by esky-sh » Fri Oct 30, 2009 1:44 am

Had you tried your usb downloading on different PCs?

esky-sh
Posts: 1449
Joined: Sat Dec 20, 2008 4:21 am

Re: cannot transfer win ce image through USB!!!

Post by esky-sh » Fri Oct 30, 2009 1:47 am

please check and be sure what the nandflash size on your board and correct supervivi version installed -- you can try another supervivi flash downloading on nandflash/norflash by yourself.

amirshah77
Posts: 17
Joined: Tue Oct 20, 2009 3:41 pm

Re: cannot transfer win ce image through USB!!!

Post by amirshah77 » Sat Oct 31, 2009 9:38 am

esky-sh:

i assure you i have done all that you suggested. please re-read my posts and check.

notably:
- i have tried different PCs
- i have re-flashed my NOR flash with the latest supervivi downloaded from your FTP server

the problem, from my point of view, is faulty RAM. (the copy-paste of u-boot's memory test from my previous post proves that.) what normally happens is that the wince image is downloaded to RAM first, then processed by supervivi which then writes the result to NAND flash. in my case, supervivi never gets to the "processing" stage, since the image gets downloaded to faulty RAM and causes a checksum failure (even though only a few bytes are faulty) and the whole process is aborted.

please help this customer by making a "backup" image of a wince-installed mini2440-128MB board. that will bypass the RAM checksum failure, since backup/restore deals directly with NAND and not RAM. i will try to live with a few faulty RAM bytes...

admin
Site Admin
Posts: 56
Joined: Fri Dec 19, 2008 11:11 pm

Re: cannot transfer win ce image through USB!!!

Post by admin » Sat Oct 31, 2009 6:15 pm

Please contact seller to return the board for replacement. you can tell them your forum id for the issue.

nicolas
Posts: 162
Joined: Sun Jun 07, 2009 4:32 pm

Re: cannot transfer win ce image through USB!!!

Post by nicolas » Wed Nov 04, 2009 3:50 am

Do you still want/need a full nand image ?

If so, Ill make one tommorow and put it up before the end of the day.
(Thanks to the guys here, esky/admin I have a 128M board to test with now so I can help troubleshoot issues with the newer boards)

amirshah77
Posts: 17
Joined: Tue Oct 20, 2009 3:41 pm

Re: cannot transfer win ce image through USB!!!

Post by amirshah77 » Thu Nov 05, 2009 5:19 pm

nicolas:

i have contacted my seller at ebay (esky-sh) on monday as the admin suggested - still waiting for a response...

regarding your question, YES, i would really appreciate if you could provide the full nand image (of a 128MB board with wince). i have a feeling that i won't be the last person having this problem, so your effort will help many others along the way...

thanks in advance.

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests