Connect the board with the computer.
After receiving the board from manufacturer, it has already Linux OS on target board. However, we should know how to install it for the case the OS is ruin. I used laptop that installed WindowXP to connect with the mini2440 board.Step1: Connect comport from mini2440 board to laptop.
Because the laptop does not have comport, we use com-usb adapter.
................................................................................................................................
How to port zImage from fedora (instead of windows) to mini2440 board.Thanks in advance..
ReplyDeleteHi nikhil. To install for mini2440 in Linux environment (e.g. Ubuntu, Fedora), you need tool called s3c2410_boot_usb. You could download it through given link, it also contain vboot, kernel and file system that I install successful for mini2440 by using Ubuntu.
ReplyDeleteLink here: http://www.mediafire.com/?b0v2g6bkdhycuve
----------------------------
step1: toggle switch into NOR section, connect usb, COM-port to computer. Open 2 terminal, the first connect to "minicom", the second open the folder you've downloaded above.
----------------------------
step2: erase NAND flash by [x] and [f] option
----------------------------
step3: on first terminal, choose [v] to port boot loader
on second terminal, type command: ./s3c2410_boot_usb vboot.bin
wait... until upload finish, it will complain there is no error.
----------------------------
step4: on first terminal, choose [k] to port kernel
on second terminal, type command: ./s3c2410_boot_usb zImage2
wait... until upload finish.
----------------------------
step5: on first terminal, choose [y] to port file system.
on second terminal, type command: ./s3c2410_boot_usb root_qtopia-128M-T35.img
wait...again...^^
----------------------------
Okay, now turn switch into NAND section, reset the board. The system will run then. I did it successful by this way. Good luck
Hi phucxu
ReplyDeleteI Installed Linux on mini2440 according to your steps it got successfully installed . but i am not getting any display on it.
Hi Prabhakar.
ReplyDeleteYou mean the screen was black with nothing. You should pay attention to what kind of NAND you have (64M or 128M ?). Then, choose boot loader, and root file system that is suitable with your NAND (e.g. choosing 64M packages if you have 64M NAND).
One more thing is the kind of your screen. You also have to know what brand of it to select the suitable kernel file that support your screen.
In your case, i think you should try with some kernels file in your CD along with mini2440 board (zImage_A70, zImage_L80, zImage_N35, zImage_T35) until success.
Good luck.
hi phucxu ,
ReplyDeleteI have 128 MB NAND , so i should use supervivi-128,and which kernel image i need to put.Do i also need add file system.
Thanks.
hi phucxu ,
ReplyDeleteThanks i got it working one more question ;) ,I want a root file system other than QT, are there any ?
Thanks.
Hi Prabhakar.
ReplyDeleteSorry, i just don't get what you mean (at this sentence, "I want a root file system other than QT"). You mean you want a root file system which doesn't contain Qt yet? If so, I regret that I don't have it. Otherwise, the file systems for both 64Mb and 128Mb are already in CD of mini2440.
Hi phucxu,
ReplyDeleteSorry for that sentence, what i meant was is there any file system other than qtopia.
Thanks.
Hi Prabhakar.
ReplyDeleteIt seems there is no other file systems in my computer. All my file systems have qtopia inside (qtopia will support the 'default window' of mini2440 as it's installed by manufacturer).
Hi phucxu,
ReplyDeleteany ways thanks ,it works.
Hi phucxu,
ReplyDeletei have build uImage taking source from linux.kernel.org version linux-2.6.32.2 using mini2440_defconfig.
I have used 128Mb boot loader u-boot since my nand is 128Mb.
Is there any way to build jffs2 root file system for mini2440( A GPE based one or even may be qtopia but jffs2 itself).
I tried its giving error while loading file system may because its 64Mb version.
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x005a4024: 0x4c3e instead
Hi Prabhakar.
ReplyDeleteYou need a Root File System for mini2440 in "pure condition" and not contain qtopia inside? I am afraid that I could not be able to tell you any thing more because I am in process to make that. I will post an article about making RFS whenever I succeed.
Good bye.
how to change defualt languge as english while compiling linux kernel/before porting
ReplyDeleteHi Chetanki. I regret that I did not do it before. As I know, in order to change language default, you should do it at file system cross-compilation instead of kernel cross-compilation. Good bye.
ReplyDeleteafter i installed android, it come only in part of the screen... the other part is random lines.. my screen in w35.. is that screen not supported?
ReplyDeleteHi Wingz, that fault occurs because the kernel doesn't support your W35 screen. Oh, you're sure your screen is W35 or X35? Please check that. I only have kernel for X35 screen, please download it and try it into your board
ReplyDeleteLink to download: http://www.mediafire.com/?d4f45usa5x0k9b5
--------------------
Don't forget inform me your result; if that X35 kernel is not successful, I will build a kernel for your screen. Good luck.
I have a W35 screen and the same problem as Wingz. I have tried with the zImage_W35 from the CD but Android does not start.
ReplyDeleteDear phucxu,
ReplyDeleteWhile cross compiling any source with arm-armgstorm-linux-gnueabi-gcc, the assembler error is flashed something like this,
[root@localhost bin]# ./arm-angstrom-linux-gnueabi-gcc nikhil.c
as: unrecognized option '-mfloat-abi=soft'
Can you resolve this for me..
Is there any alternative to hyperterminal ??? vista does not have hyper terminal !!!
ReplyDeletephucxu, i tried everything.. but i could not manage to get the w35 screen running properly.. whatever linux distro i tried, it always somehow makes the screen look wierd..
ReplyDeleteis it possible to change some compiler setting to build a kernel for the w35?
hello Mr.Phucxu
ReplyDeleteI want to re-installation my linux on ARM. I am not using USB-COM adapter, I connect it with comport.
With hyperterminal I am success format it. But after I press v, the system tell "USB host is not connected yet".
I use DNW tool, USBport >> Transmit/Restore but "can't Open USB device"
and I try serial port >> transmit but "[ERROR: Not Connected]"
Hello Wingz, i've cross-complied W35 zImage using for android, get it and put it on your board. Please give me feedback whether it's good or bad, it's because i don't have W35 screen to test it.
ReplyDeleteHere is the link to download it
http://www.mediafire.com/?dh7iw3dw0nvqpac
Hello Spectrum, did you install driver for DNW correctly? Then you will get [USB:OK] on the window of DNW. If the driver is alright, please check the USB cable. Or sometimes restart the window will also solve the problem. Good luck.
ReplyDelete@Only Embedded: really sorry, it's out of my scope :(
ReplyDelete@Ananat Hira: Google will show you how to get Hyper Terminal on Vista ;) good luck
Hi phucxu... Could you help me to find out how to ger kernel logs and android logs: radio and other logs from mini2440 running android ?
ReplyDeleteIt'll be a g8 learning experience...
Thans for this post...
hi....
ReplyDeletecan u guys suggest me some mtech level projects based on mini2440...
thnkuuuu
hi i was just handed this this mini2440 from my workstudies prof. and i have no experience with embedded devices. I'm having trouble getting to the menu in hyperterm. I have the drivers installed and DNW is giving me the [ok] but i get nothing in hyperterm. also when i do boot whatevers in S2 i get no responce on my lcd, which makes me think i have nothing installed now.
ReplyDeletewhat the heck am i doing?
Let's try again with COM configuration (speed, COM port). You got no reponse from LCD meaning no OS on your board. So, first try to configure HyperTerminal and then, install linux on it. Good luck.
ReplyDeleteHi phucxu,
ReplyDeleteI am facing some problem with mini2440. I have a win7 64 bit machine, on which I am running Ubuntu using Vmware. I downloaded and compiled usbpush to be able to download vivi to my mini2440. The problem is, I can not detect mini2440 usb on my ubuntu session. It always says "connection for the usb device Owon SEC S3C2410X test b/d was unsuccessful".
Can you please help me with this problem?
I know, I can use windows to download files to mini2440, but I wanted to do the same in linux. Is it something to do with Vmware?
after inseeting into usb port.once try this command
Deletei)grep | -i ttyU
Hi, i have follwed the above procedure for installing linux into mini 2440. Now when i switch on the board keeping it on NAND , I get a screen which displays "TSLIB Calibration Utility". Could you please explain what i need to do next in order to get the display screen.
ReplyDeleteI think the Image you installed is missing "Calibration Utility", please come to http://www.friendlyarm.net/downloads to download another image and try again
ReplyDeleteHi phucxu,
ReplyDeleteI am new to embedded programming. I have fedora installed in my PC. I successfully linux kernel and everything is going good on mini2440. Now i have some image processing program, which i want to run on mini2440 without OS. like, only process running on board should be my program. and in that program, how can i access the onboard cam to take image, and serial port to send output to the PC. Can you Please shed some light on it .
Thanking you in anticipation.
Hi to all.
ReplyDeleteI have ran whatever you said.i sucessfully installed kernel into mini2440 .
Here by i have some doubts
1)why we use root_qtopia-128M.img.
(Is there any images instead of root_qtopia-128M.img)