FriendlyARM BIOS

nemka
##### 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 


[b] Boot the system 


[s] Set the boot parameters 


[u] Backup NAND Flash to HOST through USB(upload) 


[r] Restore NAND Flash from HOST through USB 


[q] Goto shell of vivi 


[i] Version: 1026-2K


Enter your selection: q


as you can see once ive entered my selection nothing happens.
info:
1).i use ubuntu 12.04 x64 (i did apt-get install ia32_libs)
2).i use minicom with the following :
Serial Device      : /dev/ttyUSB0
Lockfile Location     : /var/lock  
Callin Program      : 
Callout Program      :   
Bps/Par/Bits       : 115200 8N1  
Hardware Flow Control : No
Software Flow Control : No  
3).i connect the serial with a usb adapter.

it actually worked once and once ive entered q it said waiting for
download.
but it doesnt anymore.
please help me im stuck on this for such a long time yet its something that
is supposed to be so basic.

davef
Have selected a COM port in DNW?

davef
... you selected ...

nemka
im useing minicom,imnt useing dnw..imnt useing windows

davef
Right , sorry I should read more carefully.

On the host have you actually got the dev node /dev/ttyUSB0 ??

nemka
well i used dmseg|grep tty and it was there if thats what you mean i
also used ls-la/dev|grep ttyUSB0 and ubuntu said 180 which i think is
right.

davef
Did the mini2440 ever work for you?  Are you running 12.04 on a desktop
machine? 

By saying, "it did work once", do you mean you only managed to get a
response to a <q> or that you have been available to completely load a
kernel and root file system and get it to work?

nemka
first one

nemka
both, actually
but just once, and long before it broke


I'm using wubi. I don't think that suddenly started to matter now

davef
available = able !

Have you ever tried to JTAG Supervivi into the mini2440?

I would guess it is more likely that Supervivi has been corrupted than your
mini2440 hardware going faulty or the USB to serial adapter or Minicom
running on your host.

Is there someway to verify that Minicom is working, ie by talking to
another computer or ?

Can you check that your USB to serial adapter works on another development
system?

Good luck!

nemka
I've tested picocom and cutecom and they don't work either

I've tested it on other computer on windows using dnw, still doesn't work

I can't use jtag right now, I don't have the right port in my computer for
the cable

I had the idea of vivi being corrupted but when I boot qtopia from nand its
terminal does the same thing, hangs after the first "enter" press
i mean when it asks to activate console by enter

the adapter most probably works, tested it

davef
Going right back to the top do you have the NOR/NAND switch in NOR when you
did that?

nemka
yes im putting the mini on nor to get to the bios menu and on nand to get
to qutopia.
when i put it on nor and get to the bios screen and enter an input like q
to go to vivis shell as i said nothing happens i dont get the line that
says waiting for download.
when i put the mini on nand i see the booting on the laptop when it gets to
the point of asking to press enter to activate console the same thing
happens i press enter and nothing.

davef
OK.

Guess I'd be "JTAGing the NOR.pdf"

http://www.andahammer.com/assets/Uploads/All2440/Firmware/JTAGingTheNOR.pdf

Is there such a thing as a parallel to USB converter?  Have you got the
JTAG adapter board from FriendlyArm?

Good luck!

nemka
ima try that and post the results here got get an adapter to usb though cuz
thats pretty much all my notebook has.

nemka
i found the problem and it was the RS232 cable,replacing it would fix this
problem,thanks for your help.

davef
The mini2440 requires a null modem cable.  So, your cable became faulty
after your first successful attempt.

There was a "theory" floating around that some times swapping the ends of
the null-modem cable could make a difference.  Incorrect wiring perhaps?

nemka
ive read pins 2 and 3 are shorten so saying incorrect wiring was the
problem is correct.