system: mini2440 with vga adapter and an samsung monitor on it,
system first showed only stripes in the display.
I loaded test2440
i started vivi
in vivi
l did x and got one bad sector error
I v loaded supervivi_mini2440
I K loaded zimage_vga1024x768
I Y loaded root_qtopia
after many unsuccesful attempts I tried another root image :
D:\images\linux
D:\images\2440test\2440test_vga1024x768.bin
since loading address was shown in the vivi screen as 0x30008000 i went to
vivi shell (q)
and commanded go 0x30008000
it errored as:
Supervivi> go 0x3008000
go to 0x03008000
argument 0 = 0x00000000
argument 1 = 0x00000000
argument 2 = 0x00000000
argument 3 = 0x00000000
system hanged up
i reset it to get back vivi menu
i then used d command with same file, and got display of sunflowers good
the vga card works.
i turned system off, and tried to run system, but got following repeating
error message:
+---------------------------------------------+
| S3C2440A USB Downloader ver R0.03 2004 Jan |
+---------------------------------------------+
USB: IN_ENDPOINT:1 OUT_ENDPOINT:3
FORMAT: <ADDR(DATA):4>+<SIZE(n+10):4>+<DATA:n>+<CS:2>
NOTE: Power off/on or press the reset button for 1 sec
in order to get a valid USB device address.
No NAND device found!!!
ø
VIVI version 0.1.4 (root@capcross) (gcc version 2.95.3 20010315 (release))
#0.1.4 Mon Oct 27 10:18:15 CST 2008
MMU table base address = 0x33DFC000
Succeed memory mapping.
DIVN_UPLL0
MPLLVal [M:7fh,P:2h,S:1h]
CLKDIVN:5h
then I tried again restoring the backup by following procedure:
vivi x
Enter your selection: x
doing partition
size = 0
size = 327680
size = 2424832
check bad block
part = 0 end = 327680
part = 1 end = 2424832
part = 2 end = 67108864
2A6C000: is bad
k = 0 block = 2567
part0:
offset = 0
size = 327680
bad_block = 0
part1:
offset = 327680
size = 2097152
bad_block = 0
part2:
offset = 2424832
size = 64651264
bad_block = 1
2567
vivi v with supervivi
Enter your selection: v
USB host is connected. Waiting a download.
Now, Downloading [ADDRESS:30000000h,TOTAL:127774]
RECEIVED FILE SIZE: 127774 (124KB/S, 1S)
Downloaded file at 0x30000000, size = 127764 bytes
Found block size = 0x00020000
Erasing... ... done
Writing... ... done
Written 127764 bytes
vivi k with zimage_vga1024x768
Enter your selection: v
USB host is connected. Waiting a download.
Now, Downloading [ADDRESS:30000000h,TOTAL:127774]
RECEIVED FILE SIZE: 127774 (124KB/S, 1S)
Downloaded file at 0x30000000, size = 127764 bytes
Found block size = 0x00020000
Erasing... ... done
Writing... ... done
Written 127764 bytes
now for the rootfs i loaded using y
ost is connected. Waiting a download.
Now, Downloading [ADDRESS:30000000h,TOTAL:16142554]
Downloaded file at 0x30000000, size = 16142544 bytes
Flash params: oobsize = 16, oobblock = 512, erasesize = 16384, partition
size = 64667648
Erasing and programming NAND with yaffs image
Block erasing(addr/count) --- Block bad(addr/count) --- Block
processed/All()
--------------------------------------------------------------------------------
0x00250000/00001 0x00000000/00000 00001/03947=00
0x00254000/00002 0x00000000/00000 00002/03947=00
0x00258000/00003 0x00000000/00000 00003/03947=00
0x0025c000/00004 0x00000000/00000 00004/03947=00
0x00260000/00005 0x00000000/00000 00005/03947=00
0x00264000/00006 0x00000000/00000 00006/03947=00
continues long time and ends failing:
0x02a50000/02561 0x00000000/00000 02561/03947=64
0x02a54000/02562 0x00000000/00000 02562/03947=64
0x02a58000/02563 0x00000000/00000 02563/03947=64
0x02a5c000/02564 0x00000000/00000 02564/03947=64
0x02a60000/02565 0x00000000/00000 02565/03947=64
0x02a64000/02566 0x00000000/00000 02566/03947=65
0x02a68000/02567 0x00000000/00000 02567/03947=65
0x02a6c000/02568 0x00000000/00000 02568/03947=65
... failed
i tried loading same image using c command:
all seemed fine:
Enter your selection: c
USB host is connected. Waiting a download.
Now, Downloading [ADDRESS:30000000h,TOTAL:16142554]
RECEIVED FILE SIZE:16142554 (630KB/S, 25S)
Downloaded file at 0x30000000, size = 16142544 bytes
Found block size = 0x00f68000
Erasing... ... done
Writing... ... done
Written 16142544 bytes
i tried to boot the system and got followint to the console of dnw:
Enter your selection: b
Copy linux kernel from 0x00050000 to 0x30008000, size = 0x00200000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
lin...stripped-down
novice user problems NAND Flash not found in NAND position
the reason for the problem was, that I had programmed old version of VIVI to the NANDflash and that version does not support Hynic NAND Flash after programming supervivi and doing (in VIVI menu) X for bon part 0 320k 2368k tried V, but it did not accept vivi download before 7 concecutive (f) format operations, the board started to accept more content without crashing to the first bad block. Im quite puzzled, but that shows how important the NOR flash option is.
the reason for the problem was, that I had programmed old version of VIVI to the NANDflash and that version does not support Hynix NAND Flash. after programming supervivi and doing (in VIVI menu) X for bon part 0 320k 2368k tried V, but it did not accept vivi download before 7 concecutive (f) format operations, the board started to accept more content without crashing to the first bad block. Im quite puzzled, but that shows how important the NOR flash option is. without it the board would have become bricked.

