problem while reburning bootloader

santosh
This is Santosh working as Embedded Application Engineer,bangalore

I got a new board last week.

1. I downloaded kernel image given in friendlyarm website through USB.
After RESET, the system got stalled after the message on console "DONE, NOW
LINUX IS BOOTING"..........

2. I have tried  re partitioning NAND flash and downloaded kernel image.
But NO positive RESULT

3. I found BIOS 2.0  in NOR flash instead of older version of BIOS as
mentioned in user manual. So, I tried to burn the older version of BIOS
into NOR flash
  
     Doing so, I couldn't find SST39VF1601 option in SJF2440.exe menu. So,
please send the utility supporting this NOR flash to this email
ID(santforyou@gmail.com)

4. I also tried using H-JTAG V0.4.4. I succeeded in detecting the micro
controller but not the NOR flash(loaded script file given along with H-JTAG
in friendlyarm website)

5. Is this problem because of  flash locking? If please send the solution
to my email ID(santforyou@gmail.com)

Please reply.

Regards,
Santosh,
Bangalore

Seyed Hossein Malekooti
Hello
when i flashed my board suddenly the power is gone and after reboot my
board can not be booted from NAND and i always must turn the board to NOR
and then press b to boot.
when i boot from NAND it always show a message about USB boot on
hyperterminal :(

What can i do ?

santosh
try with porting of old version of vivi to nand insteadof supervivi....but
it would not work with 128 mb nand as i m facing problem with it..

Eero A. Sarlin
Hi
I also have bought mini2440 boards from ebay sellers esky-sh and tekdevice

I assume you have access to PC with Windows XP and printerport, these
instructions are walid in such setup)

the only way I got NOR flash SST39VF1601 programmed using the jtag cable
that came with the boards is using HJTAG
I am using version 0.9.1 version singe I dont use licensed software such as
winrar and 0.9.2 requires winrar for extraction.
If you download the 0.9.1 version, the following advise should work for you
as it worked for me (and I could not get SFJ2440 work with my board that
has Hynix NANDFlash)
I used the hjtag macros that came with the board in H-JTAG folder along
with a museum version of Hjtag (V0.4.4)
the files are Friendlyarm2440.his and  H-Flasher_mini.hfc

things you need to do after installing hjtag and conecting the jtag cable:
go to hjtag settings for lpt jtag 
change following stuff:
User defined
 Pin assignments:
TMS Pin4 D2
TCK Pin2 D0
TDI Pin3 D1
TDO Pin11 Busy
nTRST not used
nSRST not used
pich up speed you suppose will work ( I use Max/2 in 2x2.5GHz dualcore PC)

then you might see target changing after hitting ok if not, pick Detect
Target from Operations submenu
now you should see that target is ARM920T (this is correct, those sellers
who claim it to be ARM926 are lying)
Target ID should be showed as 0x0032409D

now go to Scripts and load Friendlyarm2440.his (this file has address map
of the board)
now you can go to flasher (there is pulldown menu flasher, and there Start
H-Flasher

now the flasher is quite stupid, and you need to give it info about your
flash (the beforementioned hfc file)

you can now skip a bit to program wizard phase 5 and click Check it should
result in information Flash SST39VF1601 0x234B00BF (or similar) and ARM920T
Little endian

If all went as i described so far, you can go to TYPE menu and select plain
binary download and Destination address Flash base address then select SRC
file (the ... is hidden button)
I hope this is of help.

Another thing:
If your NAND flash is of make Hynix (instead of Samsung) , you NEED version
2.0 bios and probably even such that has length of 253K (older version is
127K)
Esky-sh calls the file either supervivi-64M or supervivi-128M or
supervivi_mini2440 (same as supervivi-64M)

Eero A. Sarlin
flash locking can be unlocked from supervivi commandline (as opposed to
supervivi menu)

the command is flash unlock
(flash help instructs : "flash  unlock <start_addr> <length>" )

sgrahovac
When I got my Mini2440 device, I thought it was great.  However, I soon
discovered I had version 2.0 of supervivi which doesn't correspond at all
to the manuals I could find on the web or on the supplied cd.

I was happy to find this forum.  Everything in the above above post works
great.  The only problem is, after the flash,  I get the error "No NAND
device found!!!" when booting the NOR flash.

Any help or thoughts on this could be greatly appreciated.

Sumeet singh Thakur
I am in a serious error with my mini2440
I am not able to reset my BIOS
If i use SJF2440 it says Device ID didnt match
Can anyone help me

Ostbahn
dear all

unfortunately i'm facing a similar problem. 
I have updated the nor flash supervivi with the HTAG tool. After the flash
process has been finished I click on verify and the beeper started to make
some terrible noise. After that I wasn't able to start the supervivi
bootloader again (it only says NO NAND DEVICE FOUND).

I've read an article about flash lock and a similar problem to mine, but
therefore I would need the related FriendlyARM 2440.his and .hfc file to
configure the init of the flashing (HTAG). Since I've got my board without
any additional CD (containing all the corresponding data) I have to stop
working here...

Could anyone be so kind to post these necessary files. Or is there any
other way to get this thing working again!

Thanks a lot
cheers

davef
Are the H-JTAG files on the Downloads page not complete?

Ostbahn
already working with newest supervivi
but an older version does not work (still got same problem)
probably therefore I would need the init config file!!

thx anyway guys!

Ostbahn
hey, thx for reply!

no after installing (in my case) not depending on the version (4.4 - ..) of
HTAG only the .hfc file is included (in newest v.) but .his file is
missing!

kamejoko80
Hi

>> 1. I downloaded kernel image given in friendlyarm website through USB.
>> After RESET, the system got stalled after the message on 
>> console "DONE, NOW
>> LINUX IS BOOTING"..........

Please check the u-boot machine ID and the kernel machine ID. They must be
the same value.

Regards