I carried out my first experiment on s3c2410 board.The whole process is as follows. This is composed of four parts.
I thought this is easy and I would complete it quickly because I had done it before. But I was wrong, I didn't even know how to take step 1st as I have forgoten all the commands. Now I start to relize the importance of taking notes.
1. I prepare the vivi, open the hyperterminal in XP and set the parameters according
to the port in use (I use com2,bps is 115200, the control of data streams is none). connect the serial port of the test board and usb power supply.
2. additionally you must have burnning-tool called JTAG. Now you can connect the
one termial of JTAG to your 25 pin parallel port, the other terminal to the test board.
3. Now you still can't do nothing. Must install parallel GIVEIO driver in XP.
put the GIVEIO driver into "c:\WINDOWS\system32\drivers\" open "adding hardware wizard", click "the next step", select "yes,i have linked this hardware" and click "the next step", select "adding new hardware device" and click "the next step", select " install manually selecting from the list(advance)"and select"display all devices", select "install from the disk"and click "look into" select installtion inf file(.inf)
4. Execte JTAG software-burnning sjf2410wiggler in XP cmd.note that put vivi and sjf2410wiggler
in the same directory(c:\). execte 'sjf2410wiggler /f:vivi',then run "SEC JTAG FLASH<SJF>". you can enter the right number according to the tip.
first,select the function to test:0 K9S1200 prog (test flash) NAND Flash second, as above:0 K9S1200 program (prepare to burn) third, target start block number:0 burnning fourth, :2 exit
ok,the vivi is burnned into test board, you can operate the next step.
When I have done the first step,I try to load kernel.
1. install "sec soc usb bluk" slave driver in xp as installing GIVEIO,unlukyly i can't install it "no installtion inf about the driver", the fact is that it is the .inf file.
2. click the space key, then power on,boot the vivi,display vivi
3. link usb wire to the usb slave port in board
4. boot DNW but i can't see"usb:ok"
Try again and again ,but i don't succeed. i can't settle this problem,so i ask peter for help. In the begainning, peter does the same thing as me and the problem appears again.When he boots the vivi,he finds the vivi doesn't have 'loadyaffs'command,so he tells me that the vivi doesn't support usb slave(that means no usb slave driver in the vivi) I realise that i have much knowledge to study and DIY is very important. Should have a good habit to take a note that is a great help for you reminding something. Thank you peter!
1. reburn a vivi into the test board which support usb download
2. boot the vivi and link usb wire and enter 'load flash kernel u'
3. boot DNW appearing "usb:ok" configration/option(bps-115200,port-com2) "usb port"/transmit/
(select kernel zimage)
4. pull the usb wire when this is done
1. reboot the vivi,link usb wire,enter 'loadyaffs -e root u'
2. reboot DNW and do as loading kernel
Before you load the root,you should use mkyaffsimage tool to make .yaffs image file of root_fs. add /etc/pointercal file to the root_fs otherwise can not boot OS when all work are done command'mkyaffsimage <directory name> <filename.yaffs>' when this is done,the OS in the test board has been built
write LED driver