have you JFS2440 patched to handle the Hynix HY27US08121A

ekilab
Posts: 22
Joined: Tue Jul 14, 2009 5:50 am
Location: Espoo, Finland

have you JFS2440 patched to handle the Hynix HY27US08121A

Post by ekilab » Sun Aug 09, 2009 6:43 pm

I bought MINI2440+VGA Board in end of July
there are many things that make me wonder, such as not finding NAND/NOR switch from any schematic.
#> added aug23:
#> in the mean time I have found the NAND/NOR swithc from an german website schematic:
#> http://www.friendlyarm.net/micro2440/mi ... ematic.pdf
#> it is also on chinese shcematic on page 2, S2 goes to OM0 pin (T15) of S3C2440
#> and it can probably be overridden by jumper in CON3
#>
allthough all documentation mentions that the board has SAMSUNG K9F1208
hy27US08121A is the type of NANDflash in my mini2440 board.

nowhere in the dvd-rw that came with the board was datasheet for the nandflash but it can be found here:
http://www.hynix.com/datasheet/pdf/flas ... ev1.3).pdf

it seems that the JFS2440 software would othervise be able to reprogram supervivi into it (the NAND Flash of Hynix make)
BUT the manufacturercode causes JFS2440 to exit with an error message.

the same problem seems to affect GPS devices, and fellow with handle Zibi in Hungary? has patched JFS2440
to handle the chip, but not using the JTAG pinout of esky-sh and Samsung evaboards

+------------------------------------+
| SEC JTAG FLASH(SJF) v 0.2 |
| (S3C2440X & SMDK2440 B/D) |
| for WIGGLER JTAG Dongle |
| Modified by Zibi 2008-03-31 |
| for GPS_MODEL_17_S_V1 Board |
+------------------------------------+

now in order to use the board I have these alternatives:
-remove the HYNIX part and replace with SAMSUNG part
-spend more money to get Wiggler board with mini 10pin pinout
-wait for modified SJF program.
Last edited by ekilab on Sat Aug 22, 2009 6:04 pm, edited 2 times in total.
Farawaybay lab run by Eki

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

Re: have you JFS2440 patched to handle the Hynix HY27US08121A

Post by esky-sh » Mon Aug 10, 2009 7:34 pm

Hi,

There is another alternative:
USE sjf2440 to burn supervivi image into nor-flash
And then use supervivi to burn supervivi image into nand-flash

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

Re: have you JFS2440 patched to handle the Hynix HY27US08121A

Post by esky-sh » Mon Aug 10, 2009 7:35 pm

one more alternative:
USE h-jtag to burn supervivi into nor-flash
And then use supervivi to burn supervivi image into nand-flash

ekilab
Posts: 22
Joined: Tue Jul 14, 2009 5:50 am
Location: Espoo, Finland

Re: have you JFS2440 patched to handle the Hynix HY27US08121A

Post by ekilab » Wed Aug 12, 2009 11:14 am

esky-sh wrote:one more alternative:
USE h-jtag to burn supervivi into nor-flash
And then use supervivi to burn supervivi image into nand-flash
Supervivi is still in the NOR Flash but even though it thinks it has successfully written into the NANDflash, the board will not boot in NAND position.

I even considered of buying another board (CPU only), but when I asked from ebay site if it han Samsung NAND, I just got question if I am a customer or not., and all I asked is if the board has Samsung (as in the ebay picture) of Hynix NANDFlash in it.
Farawaybay lab run by Eki

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

Re: have you JFS2440 patched to handle the Hynix HY27US08121A

Post by esky-sh » Thu Aug 13, 2009 4:03 am

upervivi is still in the NOR Flash but even though it thinks it has successfully written into the NANDflash, the board will not boot in NAND position.
_________________________________________________________________________

I do not think you need buy a new board to solve this issue. And the statement above should be the point of issue. you must be able to flash supervivi into nand-flash when you boot the board from nor-flash.

Please let us know your details steps and logs for the failure.

ekilab
Posts: 22
Joined: Tue Jul 14, 2009 5:50 am
Location: Espoo, Finland

Re: have you JFS2440 patched to handle the Hynix HY27US08121A

Post by ekilab » Thu Aug 13, 2009 4:36 pm

load backup from host.
result:
0x0024c000/00148 0x03b68000/03655 03803/04096=92
.....
0x03ffc000/00149 0x03ff8000/03947 04096/04096=100

Wait the finish of usb transferring ...

Load image OK:
Blocks scanned: 4096, Blocks erased: 149, Blocks are bad: 3947
RECEIVED and Writed FILE SIZE:69206026 (598KB/S, 113S)
Supervivi>
power off, NOR/NAND to NAND position and powerup:

Supervivi>
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


+---------------------------------------------+
| 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


+---------------------------------------------+
| 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!!!

does that tell you anything ??
Last edited by ekilab on Wed Aug 19, 2009 3:40 am, edited 1 time in total.
Farawaybay lab run by Eki

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

Re: have you JFS2440 patched to handle the Hynix HY27US08121A

Post by esky-sh » Fri Aug 14, 2009 11:03 pm

Sorry for inconvenice of this issue.

Could you please try to download the latest supverviv image from out ftp site and burn it into nor-flash by sjf2440?
I guess you had replace the original supervivi on board with the one in DVD-ROMs which has compatible issue with Hynix nand flash.

Any further issue/question, please just let me know.

ekilab
Posts: 22
Joined: Tue Jul 14, 2009 5:50 am
Location: Espoo, Finland

Re: have you JFS2440 patched to handle the Hynix HY27US08121A

Post by ekilab » Sat Aug 15, 2009 4:46 am

I used H-JTAG as the JFS is trickier to use due to driver loading needs.

now with a parallelport pc i programmed the supervivi-64 into norflash using H-JTAG v0.9.1 to NOR
the norflash type was reported as SST39VF1601 0x234B00BF
veriified ok size 250.3Kb

then booted in nor position
loaded supervivi64 from supervivi usinf load flash 0 257000 u command
verified saying written 256348 bytes
loaded (k)kernel zimage_vga1024x768 (from ftpsite)
verified saying written 2021348 bytes

loaded (y) root_default from your ftp site
failed again at the baD block 0x02a6c000/02564 with error message
... failed

I tried same with other kernels and root filesystems, result is the same block failing.
Why the Y command is not able to skip known bad blocks, shouldnt it know them ?


Im losing my faith in this succeeding.

since the y command fails, i got to supervivi shell
and tried loading with this command that is supposedly using ecc but that failed again at 0x026c000

loadyaffs -e root u
sent root_qtopia to board, it failed at same block as before

then i tried supervivi command:
flash erase root, it failed too
said:
Erasing block from 0x00260000 to 0x03ffc000... ... failed

tried flash unlock 0x00260000 200000 , worked
then flash erase root succeeded
and again
loadyaffs -e root u
sent root_qtopia to board
this time the download went trough without errora
blocks scanned 3943 blocks erased 3943 blocks are bad 0
received and writed file size 51505882 (437KB/S, 115S)
power off and try booting in nand position board is dead, I mean no life at all when in nand position even the two green leds stayed unlit.
power off an restart in nor position seems one led lit other blinking console output ok
wrote supervivi64k back (since it obviously had disappeared)
tried booting in NAND position, console said : wrong linux kernel
started in nor position, wrote kernel back
tried to write same imag to root with supervivi menu commmand
failed at same address again

tried booting in nand position, it did try booting then failed to open tty2 tty3 and tty4
/dev directory was missing from the rootfs
what should I try next ???
Farawaybay lab run by Eki

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

Re: have you JFS2440 patched to handle the Hynix HY27US08121A

Post by esky-sh » Sun Aug 16, 2009 1:09 am

I was checking with our engineers for the S/W configurations. I will update you here soon.

ekilab
Posts: 22
Joined: Tue Jul 14, 2009 5:50 am
Location: Espoo, Finland

Re: have you JFS2440 patched to handle the Hynix HY27US08121A

Post by ekilab » Mon Aug 17, 2009 10:12 am

esky-sh wrote:I was checking with our engineers for the S/W configurations. I will update you here soon.
Im all ears for any reasonable ideas to get the board working from the Hynix Flash that is soldered to it.

If you could guarantee, that I can buy from you a board with Samsung NAND Flash (as pictured in your EBAY auction picture) Im very eager to buy one as the 2 weeks that I have wasted with this board is too long time for the project that Im supposed to bild with it.
Farawaybay lab run by Eki

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest