Error while downloading zImage :Device or resource busy

Aditya
HI,

I am getting below error while downloading zImage in my mini2440

root@aditya-desktop:/home/aditya/Desktop# ./s3c2410_boot_usb zImage 
Unable to claim usb interface 1 of device: could not claim interface 0:
Device or resource busy

pls help

Thanks in advance.

Aditya
when tried with x-modem got the below error :

Not support XMODEM protocol by this vivi
Failed downloading file


Number of parameters: 9
name                    :          hex             integer
-------------------------------------------------------------
mach_type               :       000007cf                 1999
media_type              :       00000003                    3
boot_mem_base           :       30000000            805306368
baudrate                :       0001c200               115200
xmodem                  :       00000001                    1
xmodem_one_nak          :       00000000                    0
xmodem_initial_timeout  :       000f4240              1000000
xmodem_timeout          :       000f4240              1000000
boot_delay              :       01000000             16777216
Linux command line: noinitrd root=/dev/mtdblock3 init=/linuxrc
console=ttySAC0
Supervivi> load flash vivi x                       
Not support XMODEM protocol by this vivi
Failed downloading file

Any Idea ????

davef
Can you use DNW to load your zImage or is there some reason for going to
usbpush?

Aditya
Hi Davef,

Thanks for your replay...

I don't have windows installed in my system...so I can not use DNW for
windows...and DNW for linux I have not tried yet...

I found usbpush and flashing using vivi method very simple so I tried these
first, but unfortunately got above error in both the method :(      

have you ever seen this kind of error while flashing ?????

davef
No, I have not because I only ever used DNW on Windows and on Linux I used
./sc32410_boot_usb for loading u-boot only.

I never tried loading the zImage with that.  I didn't think u-boot could
load via USB.

I should have asked which bootloader are you using?

Maybe, this might help:

http://forrestbao.blogspot.co.nz/2008/01/deploying-embedded-linux-to-sam...

davef
> I didn't think u-boot could load via USB.

Ignore this comment

Aditya
I am able to flash the board successfully using DNW software (for windows) 
:)

But dont know the reason for the above error( in first two post) in linux
system while flashing.


1: Unable to claim usb interface 1 of device: could not claim interface 0:
Device or resource busy

2: Supervivi> load flash vivi x                       
Not support XMODEM protocol by this vivi
Failed downloading file

Kernel and bootloader used ---

1: 2.6.32.59 (Kernel)
   (aditya@aditya-desktop:~$ uname -a
    Linux aditya-desktop 2.6.32.59 #5 SMP Tue May 1 20:55:03 IST 2012 )
2: vivi (bootloader).

davef
Well, at least the version of vivi you are using seems to do the job.

Just curious 2.6.32.59 where did this come from?  Have you patched it to
get it to work on the mini2440?

As well as flashing the board does everything else now work?