By Bill » Wednesday, March 31 2010, 23:15
I was curious about how to go about getting the supplied USB cable that came with my Micro2440 to work in Linux. Here's how I did it...
This quick howto is a bit dirty. I'm short on time and want to get this published.
Normally you'd use DNW for Windows. It's a crappy, poorly written app. But there is a way to do it in linux.
For this demonstration, I'm running Ubuntu Lenny.
You'll need http://mini2440.googlecode.com/files/s3c2410_boot_usb-20060807.tar.bz2 In order to upload via USB.
to compile it you'll need to install the libusb-dev package and then just run make.
Copy the s3c2410_boot_usb executable to someplace in your path... i.e /usr/bin
You should also install Minicom. You can do that with apt-get. (Apt-get install minicom). Minicom is needed so you can look at the supervivi menus. You need to have the serial cable plugged in for this to work.
When setting up minicom, makes sure you turn off hardware flow control in the settings. If you don't, you won't be able to input any characters. It took me awhile to figure that out. I haven't messed with serial ports and crap in almost 15 years.
Then just do it as normal. For example, hit K on the main menu to upload a kernel image. It'll say the USB is connected and will wait on your transfer. You can open another console and run the s3c2410_boot_usb utility in that... like so:...
After that, it'll take AGES to upload and then it'll spit out an error. But it still works.
Commandline options for this utility are as follows
sc32410_boot_usb address /path/and/filename
If you omit the address, it should place it in the default location in RAM and flash it.
Thats it folks. I'm apologize for how sloppy this entry is. But I wanted to get this out in a hurry since I've not written in a long time. I also apologize for that, things have been rather busy and I've had some other things to do. I don't know when I'll fully get back to this but please bookmark the site and check back from time to time. Please recommend my site to others as well and try to get other web site owners to post a link to me.
Questions? Comments? Need Help? Go to this link here.