Home

Guangzhou The arm of a friendly technology SBC-2410X Version0.9 Manual

image

Contents

1. 020 87530209 13719442657 Email capbily hotmail 104 com KELA HEB ZJ http www arm9 com cn M ce E A A P BTE RI 8 Vr te FS RE EAN AOE UU F QB OE ee ll PHI W te EB EE PEL AE HE GOTR RE Be CES K A EE n EAR ERIKIKAN WW 59 4 A Je EFE FERRE PC cg N FE I 6
2. 2 UDA1341 friendly arm kernel drivers sound s3c2410 uda1341 c DUDA1341 Go 4 ioctl OT BH HY FB BOA Se il DUDA1341 int init s3c2410 udal34 init void unsigned long flags local irq save flags CPU 4 L3CLOCK OUTPUT set gpio ctrl GPIO L3CLOCK GPB 3 L3DATA OUTPUT set gpio ctrl GPIO L3DATA 2 L3MODE OUTPUT set gpio ctrl
3. e 020 87530209 13719442657 Email capbilyG hotmail 87 com KELE BS JJ http www arm9 com cn Fr Ci SOF RE JT E EE AS FSR alt Fr TER DS BR 6 5 Linux 6 5 Linux Linux open read write ioctl closeO openQ Linux WHE 6 3 1 1
4. 020 87530209 13719442657 Email capbilyG hotmail 88 com KELA HEB ZJ http www arm9 com cn LO Linux le_operations linux fs h file operations struct file_operations struct module owner loff t IIseek struct file loff t int ssize t read struct file char size t loff t ssize t write struct file const char size t loff t int readdir struct file void filldir 0 unsigned int poll struct file struct poll table struct int ioctl struct inode struct file unsigned int unsigned long int mmap struct file struct vm area struct
5. e En EX read0 writeO ioct0 Linux c b 6 3 1 Linux Linux
6. 3 Linux 020 87530209 13719442657 Email capbily hotmail 91 com KELB HEB ZJ http www arm9 com cn HJ r Linux proc devices int register chrdev unsigned int const char struct filr operations filr operation Ze TE linux include linux fs h 4
7. E1481 IP fead0 writeO0 recvfrom0 sendto HRA RE AG 0 sendto0 msg ix NULL len 0 udp friendly arm examples udptalk gt lt udptalk Example for Matrix V Copyright C 2004 capbily friendly arm capbilyQG hotmail com uf include lt sys types h gt include lt sys socket h gt include lt arpa inet h gt include lt stdio h gt 020 87530209 13719442657 Email capbilyG
8. 1220 20 JTAG SD RJ 45 PDA DFA IVES OI ERB HES ITY RA CE DB io 120mmx90mm PDA SBC 2410X MIZI
9. flash 6 6 1 yaffs SBC 2410X yaffs TER vivi VIVI version 0 1 4 root capbily gcc version 2 95 3 20010315 release 0 1 4 Mon Oct 4 16 20 35 CST 2004 MMU table base address 0x33DFC000 Succeed memory mapping NAND device Manufacture ID Oxec Chip ID 0x76 Samsung K9D1208 VOM Could not found stored vivi parameters Use default vivi parameters Press Return to start the LINUX now any other key for vivi Copy linux kernel from 0x00030000 to 0x30008000 size 2 0x00100000 done zImage magic 0x016f2818 Setup linux parameters at 0x30000100 linux command line is noinitrd root dev mtdblock O init linuxrc console ttySO MACH TYPE 193 NOW Booting Linux Uncompressing LInUX done booting the kernel Linux version 2 4 18 rmk7 pxal root capbily gcc version 2 95 3 20010315 release 9 Wed Oct 6 17 00 54 CST 2004 020 87530209 13719442657 Email capbily hotmail 122 com KELA HEB ZJ http www arm9 com cn CPU ARM CIRRUS Arm920Tsid wb revision Machine Samsung SMDK2410
10. s gt actice DMA FEI DMA DMA while copy_to_userO copy_to_user0 5 11 s Ja fH dma_queue_bufferO 020 87530209 13719442657 Email capbily hotmail 117 com KELE BS JJ http www arm9 com cn 6 4 Bootloader 6 4 1 bootloader AMR PC CMOS firmware bootloader
11. VO Linux ioct 4 DMA DMA DMA DMA DMA DMA
12. Linux Linux cleanup_module0O int unregister chrdev unsigned int major const char name major name Linux name major EINVAL WR major EINVAL IO fig H open VASES 1 2
13. in request irq unsigned int irq void handler int void struct pt regs unsigned long flags const char device void dev 1d 5 LO Hi DMA int __init chr_driver_init void _init chr_driver_init int init module void ik insmod init module 6 3 2 Linux ARM Linux Linux 1 2 3 4
14. diff filel file2 1 2 4 1 7 echo echo message HAD ZN PTIT echo message message2 ITE 4 1 8 du du du Sm root HV root M 4 1 9 cat cat file DOS type cat file more more less file 4 1 10 more more 1 more 020 87530209 13719442657 Email capbilyG hotmail 40 com KELE DE CZ JJ http www arm9 com cn 4 1 11 date date date s 20 30 30 20 30 30 date s 2002 3 5 2002 3 5 4 1 12 7 find find name path file file 4 1 13 grep grep ir chars HESA chars
15. route route add default gw 192 168 0 1 192 168 1 1 route del default 020 87530209 13719442657 Email capbily hotmail 47 com KELE 06 82 JJ http www arm9 com cn 4 3 2 ping ping ping c 3 192 168 0 80 192 168 0 80 E 0 xi zur gH map Ga hes roota ha pang TO P B s J SMA Ae Mm ping c 192 168 0 80 4 3 4 traceroute traceroute 4 3 5 telnet telnet telnet telnet SBC 2410X telnet SBC 2410X telnet
16. 020 87530209 13719442657 Email capbily hotmail 127 com KELA Bf RZ JJ http www arm9 com cn Inode cache hash table entries 4096 order 3 32768 bytes Mount cache hash table entries 1024 order 1 8192 bytes Buffer cache hash table entries 4096 order 2 16384 bytes Page cache hash table entries 16384 order 4 65536 bytes POSIX conformance testing by UNIFIX Linux NET4 0 for Linux 2 4 Based upon Swansea University Computer Society NET3 039 Initializing RT netlink socket CPU clock 200 000 Mhz HCLK 100 000 Mhz PCLK 50 000 Mhz Initializing S3C2410 buffer pool for DMA workaround usbctl zombie gt reset gt default Device in default state S3C2410 USB Controller Core Initialized USB Function Character Driver Interface 0 5 C 2001 Extenex Corp usbctl Opened for usb char usbctl Started for usb char Starting kswapd devfs v1 10 20020120 Richard Gooch rgooch Q atnf csiro au devfs boot options Ox1 ttyS d0 at I O 0x50000000 irq 52 is a S3C2410 ttyS d1 at I O 0x50004000 irq 55 is a S3C2410 tty9 d2 at I O 0x50008000 irq 58 is a S3C2410 pty 256 Unix98 ptys configured leds initialized S3C2410 Real Time Clock Driver v0 1 block 128 slots per queue batch 32 Uniform Multi Platform E IDE driver Revision 6 31 ide Assuming 50MHz system bus speed for PIO modes override with idebus xx eth0 cs8900 rev K 3 3 Volts found at
17. 27 4 2 4 ROM BOOT SEL 27 4 25 USB 28 4 2 6 S600 29 427 nn 30 020 87530209 13719442657 Email capbily hotmail 5 com KELE BJ JJ http www arm9 com cn 4 2 8 32 32 OO 33 TIC Jn x au ee T 33 4 2 12 JTAG 35 4 2 13 IO O CON GPIO Ne 37 38 Linux 39 4 1 Linux 39 4 1 1 Ea 39 412 cd 39 ne 39 4 1 4 rm 39 4 1 5 mv 40 EO 40 4 1 7 echo n nn eem ee rens serrer reser nns erre n sere rans eaa 40 4 1 8 dq 40 4 1 9 40 4 1 10 more 40 4 1 11 FHA uu uu u u u um L u aaraa nme enne ementi 41 ER mm 41 41 ATIA E RENE 41 4 1 15 Mm c E E A 41 4 1 16 tar 41 41 17 FEA MOU ME si cas 42 NINE MES ys ICS 42 4 1 19 chmod 42 21 20 51 42 LN ANUS 42
18. 4 IO LED 4 5 LEDI LED2 LEDS LED4 3 12 SBC 2410X LED 3 7 3 7 CPU CPU 4 2 11 LCD Samsung S3C2410X SBC 2410X 3 14 3 8 020 87530209 13719442657 Email capbily hotmail 33 com KELE BS JJ http www arm9 com cn STM LCD displays Supports 3 bypes of LCD panels 4 bit dual d t angle scan and 1 angle scan deplay type Supports the mionochrome 4 gray levels amd 16 qray wupporis 256 colors and 2000 colors for color STN LCD pana Supports multiple screen size Typical actual screen sine 640 480 3206240 160 1860 and others Maximurnm riual im db tes Maxirmmurnm viriual screen se in 256 color mode 40965 1024 2048 2045 1024 4056 and others TFT LCD displays Suppose 1 2 3 or B bpp bit per pel palettized color desglays for TFT Supports 156 bpp nor pale amp ized true color displays Tor color TFT Supports bpp trua color displays for coka TFT Supports maximum 16M color TFT at Z4bit per piel mode
19. Linux for SBC 2410X WindowsCE4 2 net WindowsCE For SBC 2410X SBC 2410X Protel SBC 2410X seas tPA pdf 2 3 SBC 2410X JTAG PC PC e js 2 0G PC e WindowsXP 2003 Redhat 9 0 256M e 40GB fB uj HJ IE CD ROM o o e e USB Intel Jtag 020 87530209 13719442657 Email capbily hotmail 17 com http www arm9 com cn PP REREH tA Step 1 3 1 SBC 2410X 020 87530209 13719442657 Email ca 18 KELE BS JJ http www arm9 com cn Step2 5 2 5 DVDXBR 2 USDA SBC 2410 Hog FRE 3 2 Step3 LCD BORA L n T T 020 87530209 1371944
20. DIY Mp3 DIY 020 87530209 13719442657 Email capbilyG hotmail 13 com http www arm9 com cn 2 2 3 BREE TE REIT FA SBC 2410X Samsung S3C2410X 200MHz 266Mhz 1 MB AMD Flash ROM 64M Samsung Nand Flash ROM NENNEN Li pas ibn 1 USB Host A USB1 1 1 USB Host B USB1 1 j Audio RIC 32 768KHz JTAG 20 2 0mm JTAG bootloader 6 3mm 5mm SBC 2410X 14 F 2 0mm CPU CON LCD LCD
21. Linux register chrdev register chrdev include lt linux fs h gt include lt linux errno h gt int register chrdev unsigned int major const char name struct file operations fops SEA major 0 Name Fops 0 EINVAL EBUSY register chrdev ERD KAARE proc dvices Linux dev ls 0 0 0 Linux kernel 2 0 128 Linux kernel 2 2 2 4 256 0 255 Linux
22. telnet IP 192 168 0 1 020 87530209 13719442657 Email capbily hotmail 48 com ALB BME SIJS telnet 192 168 0 1 telnet bbs SBC 2410X SBC 2410X bbs ifconfig SBC 2410X IP route route add default gw 192 168 0 1 SBC2410X bbs http www arm9 com cn SHE aa wj RSD MEH Disl olal cape character W HLFILCERNET 5E P El s TE eu a 12802 112 11 191 Harmlu Helcome to Bulleti Ens dl Seryvp cea BBS af CERNET Southern Bet you have any problems please ccutbbsBPecut e 11231 1 25 B0B ied E TS west Is d 80 0 00 12 An LITAI D N nm 4 15 SBC 2410X bbs 4 3 6 Telnet inetd SBC2410X telnet inetd
23. 020 87530209 13719442657 Email capbily hotmail 113 com KELE BS JJ http www arm9 com cn int err verify area VERIFY WRITE inf sizeof inf int 1 int frags 0 bytes 0 if file gt f_ mode amp FMODE READ return EIN VAL if err return for i 0 1 lt s gt nbfrags 1 if atomic read amp s buffers 1 sem count gt 0 if s gt buffers i size s gt fragsize frags bytes s gt buffers i size put_user frags amp inf gt fragments put_user s gt nbfrags amp inf gt fragstotal put_user s gt fragsize amp inf gt fragsize put_user bytes amp inf gt bytes break case SNDCTL_DSP_RESET if file gt f_mode amp FMODE_READ audio_clear_buf amp input_stream if file gt f_mode amp FMODE WRITE audio clear buf amp output stream return case SNDCTL DSP NONBLOCK file f flags NONBLOCK return 0 case SNDCTL DSP POST case SNDCTL DSP SUBDIVIDE case SNDCTL DSP GETCAPS case SNDCTL DSP GETTRIGGER 020 87530209 13719442657 Email capbily hotmail 114 com KELE DE CZ JJ http www arm9 com cn case SNDCTL_DSP_SETTRIGGER case SNDCTL_DSP_GETIPTR case SNDCTL_DSP_GETOPTR case SNDCTL DSP MAPINBUF case SNDCTL DSP MAPOUTBUF case SNDCTL DSP SETSYNCRO case SNDCTL DSP SETDUPLEX return ENOSYS default return smdk2410
24. GUI Internet Qtopia PDA QUE 147 FEM PAZ Trolltech 4 E license RHEES 3 Q Gui GUI 7 1 2 Microwindows Nano X Mirowindows http www microwindows org Linux PC X Windows Microwindows X Windows Microwindows 100KB 60KB Microwindows
25. Amp E Do yos wish to save your mew WIVI configuration SEE r gt 6 11 make vivi 6 5 kernel SBC 2410X kernel sources friendly arm kernel vivi make menuconfig kernel tez friendly arm SBC 2410X make make zlmazge zImagel arch arm boot H gt lt 6 6 Linux Kernel root Linux Linux mount root 020 87530209 13719442657 Email capbily hotmail
26. file_operations 5 6 insmod 7 020 87530209 13719442657 Email capbilyG hotmail 92 com KELE CZ JJ http www arm9 com cn 6 3 3 LED SBC 2410X led friendly arm kernel drivers char matrix5 leds c 1 LED SBC 2410X 4 VO LED LED LED UO H K 6 1 CPU LED3 nXDACKI GPB9 LED4 nXDACKO GPB 10 V DD Sy 2 2 nLED 1 LEDI SMD TYPE GREEN RES K b PA ED gt LED SMD TYPE GREEN RE K gt AA _ 2 nLED 3 LED3 SMD TYPE GREEN RI IK A J LED SMD TYPE GREEN 6 6 LED 2 LED include lt linux config h gt include lt linux module h gt include lt linux kernel h gt include lt linux init h gt include lt linux miscdevice h gt include lt linux sched h gt include lt linux delay h gt 020 87530209 13719442657 Email capbilyG hotmail 93 com incl
27. mine kill qtopia SZ E qtopia mine mine 020 87530209 13719442657 Email capbilyG hotmail 73 com http www arm9 com cn tit tt E PH EE ja jJ j l Bc Het SBC 2410X Microwindows PRA n 020 87530209 13719442657 Email capbily hotmail 74 com KEL A BBN E De 7 http www arm9 com cn FEF S3C 2410X HJ A XX Linux JF XK 5 2410 HRA SK Linux yaffs SBC 2410X 1 2 3 SBC2410X Redhat9 0 1GB GE SDK 2223 WB root SBC 2410X Stepl HRGA mount dev cdrom mnt cdrom Step2 friendly arm mkdir friendly arm Step3
28. DMA static int audio setup buf audio stream t s Int frag int dmasize char dmabu f 0 dma_addr_t dmaphys 0 if s gt buffers return EBUSY 020 87530209 13719442657 Email capbily hotmail 108 com KELE DEEZ http www arm9 com cn POS RAE A BO EE s gt nbfrags audio nbfrags s ragsize audio fragsize s gt buffers audio buf t kmalloc sizeof audio buf t s gt nbfrags KERNEL if s 5 buffers goto err memset s gt buffers 0 sizeof audio buf t s gt nbfrags for frag 0 frag lt s gt nbfrags frag audio buf t b amp s gt buffers frag IJ DMA if dmasize dmasize s gt nbfrags frag s gt fragsize do dmabuf consistent alloc GFP KERNEL IGFP DMA dmasize amp dmaphys if dmabuf dmasize s gt fragsize while dmabuf amp amp dmasize if dmabuf goto err b gt master dmasize audio_buf b gt start dmabuf b gt dma_addr dmaphys sema init amp b sem 1 DPRINTKC buf 96d start op dma d n frag b gt start b dma addr dmabuf s gt fragsize dmaphys s gt fragsize dmasize s gt fragsize 020 87
29. bootloader Kernel flash RAM e e flash RAM flash e bootloader vivi Vivi mizi ARM bootloader vivi SBC 2410X 6 4 2 vivi vivi cd friendly arm vivi make menuconfig default configuration file vivi viviarch def configs HKP HARES arch def configs SBC 2410X
30. F e e QE e e QU CPU LE LENA ERKAK 020 87530209 13719442657 Email capbily hotmail 142 com KELB HEB ZJ http www arm9 com cn Linux Linux QtE Frame Buffer C gcc Qte QNX WindowsCE e Unicode e Alpha Trolltech QtE Qtopia
31. int ret read buttons fd amp key value sizeof key value if ret sizeof key value if errno EAGAIN perror read buttons n continue else FT ENEH printf buttons value d n key value 020 87530209 13719442657 Email capbily hotmail 80 com KELE BM JJ http www arm9 com cn j FW close buttons fd return 0 j hello buttons SBC 2410X 6 2 4 UDP TCP IP UDP User Datagram Protocol UDP TCP socket socket socket SOCK_DGRAM sockfd socket AF_INET SOCK DGRAM 0 socket DAB Fe AGAS AP APR EW DOS TE
32. Nano X H Bi Microwindows 2003 5 HJ Afi Ji 0 90 Mincrowindows 020 87530209 13719442657 Email capbily hotmail 143 com KELE BS JJ http www arm9 com cn 7 1 3 MiniGUI MiniGUI GPL 5 Linux WSEIN SEE TE P CBE E MiniGUI MiniGUI GUI 722 MiniGUI MiniGUI Threads MiniGULLite MiniGULThreads MiniGUI Lite MiniGUI Threads MiniGUI Lite PDA 178 5 2
33. QtE Wi Qt QtE e Java QUE QtE QtE 600K IH QE C T QE QE QtE e HAI Qt FEIN API Qt API
34. rnetmFa H ifconfig Link emcap Ethermet ERU amp DBLRST EUHHIMZ MALTICAST 1508 HWadd BUIB UIDHIFFIEE GH inet addrzi197 158 8 2380 beasts 192 16H 0 255 Hask 255 255 255 Hetrirc 1 packety errers dropped suerrunz Frame TA packets errers dropped euerrums f carrier si collisions 8 tsqupeuelen i EX bytes H 0 8 iB TX bytes 0 0 iH Interrgspt 37 Base address Link emcap Lucal Loopback inet Hask 255 8 LOOPBACK RUHHIHE HIU 1 amp 65815 Petrir 1 packets errers dru pped 8 euerrums B Frame packets err ars dropped B euesrrums f i carrier cullisions 8 txquruelpn 8 EX bytes 0 8 iB TX bhwtes 0 0 iH rnatgra H 0 01 4c lern Bue o bos pm N BTS F ifconig ifconfig ifconfig eth0 192 168 0 230 netmask 255 255 255 0 1 192 168 230 255 255 255 0 5 netmask 255 255 255 0 SBC 2410X IP 192 168 0 230 etc init d reS ifconfig ifconfig ifconfig eth0 down route Linux
35. VE bk imagewrite flash bootloader kernel XT imaewrite rot amp capbilyzopt gtopia File Edt View Terminal Go Help oot capbtyjopvat size 828608 block les Done Please reboot using nis i root amp fa 1 bk DEEE ETELE ETTET EEEE HERE EAE if Partition aaah meminfo size 67108864 idoing partition 0 size 196608 isize 1245184 icheck bad block part 0 end 196608 part 1 end 1245184 part 2 end 67108864 020 87530209 13719442657 Email capbily hotmail 131 com Z BJ E JJ http www arm9 com cn 6 13 bk root amp capbily opUgtopia Ele Edt View Terminal Help root caphily opt qto fend art2 offset 1245184 size 858472906 bad block 6 BSSESESSSSESESEUESUSSESSESSIISSSSESSSEESESEES H Burn vivi and kernei SESS S ERS E RRR ESE EEE meminfo size 67108864 isize 69304 isize 69304 block 0 imeminfo size 67108864 isize 828608 size 828608 ibad block 0 Done Please reboot using nfs amp BIHEEESSETERSSSGRSSSSESESSSEESSORISPSSQGISSSSRES
36. Qtopia hello 7 3 Microwindows Nano X AX GUI 7 3 1 Microwindows Nano X JT amp 435 7 3 2 PC Hello SBC 2410X 7 3 3 SBC 2410X 020 87530209 13719442657 Email capbily hotmail 148 com KELE BS JJ http www arm9 com cn A Windows SBC 2410X MS Windows Windows9x Windows2000 KE rah AW AR A Linux minicom Windows Windows2000 27171 Windows
37. PATH 020 87530209 13719442657 Email capbily hotmail 76 com AEN HERZ 6 2 6 2 1 Hello SBC 2410X Stepl PC hello c include lt stdio h gt int main void printf Hello SBC 2410X n return 0 Step2 hello arm linux gcc 0 hello hello c hello Step3 SBC 2410X 1 PC USB hello mount dev sdal mnt cp hello mnt umount mnt http www arm9 com cn SBC 2410X USB HOST mount dev sdal mnt cp mnt hello bin hello bin hello hello 2 hello ftp SBC 2410X ftp PC cp hello home ftp hello ftp SBC 2410X cd bin
38. http www tomlinux com Linux Linux 74 EMA WX Linux 4 1 1 ls 15 ls a ls 4 1 2 cd dir dir cd cd 4 1 3 cp cp source target Source target cp root source root source cp av soure dir target dir fr source dir target dir source AR WAT SHE PAS A Se Hal 4 1 4 rm rm file 020 87530209 13719442657 Email capbilyG hotmail 39 com KELE BS CZ JJ http www arm9 com cn rm frdir dir 4 1 5 my mv source target source 3H 44 7j target 4 1 6 diff diff dirl dir2 1 2
39. Mp3 iX UE Web Ftp Telnet Tin FME 2410 SBC 2410X Flash YAFFS 62M np iss er 2 2 1 SBC 2410X Protel99SE Linux 2 2 2 DIY AHH SBC 2410X 120mmx90mm 64M SDRAM 64M Nand Flash 1M Boot Flash USB Host USB slave SD CPU PC
40. select AF select VO ioctl cmd 020 87530209 13719442657 Email capbilyG hotmail 89 com KELE HEB ZJ http www arm9 com cn mmap 4010 HY pU BE 8 0 RA E URSI open VO RE 0 open dewdevice release close file operations file operations NULL file operations file operations 6 3 1 2 Linux Linux
41. 3 3 3 SBC 2410X 1 3 3 SBC 2410X 020 87530209 13719442657 Email capbily hotmail 26 com KELE BS JJ http www arm9 com cn 4 2 3 0 1 3 COMI 3 SBC 2410X COM1 3 3 3 14 1210 8 6 4 2 Corn 3 13115 7T 5 3 1 3 4 SBC 2410X COM1 3 3 3 COMI 3 5 o 6 o YE NC M 4 2 4 552 BOOT SEL Samsung S3C2410 Nor Flash 1 Nand Flash SBC 2410X BOOTSEL 020 87530209 13719442657 Email capbily hotmail 27 com KELE BM JJ http www arm9 com cn 3 5 BOOT SEL Nand Flash MEN SEL a 3 6 BOOT SEL Nor Flash 4 2 5 USB Samsung S3C2410X CPU 2 USB Host Slave Slave SBC 2410X USB HOST PC A WO USB DEVICE B 020 87530209 13719442657 Email c
42. Sendto recvfrom Int sendto int s const void msg int len unsigned int flags const struct sockaddr to int tolen int recvfrom int s void buf int len unsigned int flags struct sockaddr from int fromlen s socket msg buf len RE flags 0 to from IP tolen fromlen to from XWA socket 1 6 2 020 87530209 13719442657 Email capbily hotmail 81 com KELE BS JJ http www arm9 com cn J i Sig PUE l l socket socket bind bind a pd 8endto recvfron t l ede fey l t revcfrom lt sendto close close 6 2 UDP
43. Linux 3 1 2 VO sleepO 3 Linux Linux
44. i 5B 4 1 14 export export LC_ALL zh_CN GB2312 1 LC ALL zh_CN GB2312 4 1 15 vi vifile 2q38 CF file vi ctrl c x x w w r filet CF file soldchars newchars g oldchars newchars 4 1 16 tar tar xfzv file tgz file tgz tar cfzv file tgz source path source path file tgz 020 87530209 13719442657 Email capbily hotmail 41 com KELE BS JJ http www arm9 com cn 4 1 17 mount mount t yaffs dev mtdblock 0 mnt RU dev mtdblock 0 mnt mount t nfs 192 168 0 1 friendly arm root mnt 4 nfs friendly arm root E mnt 4 1 18 dmesg dmesg kernle 4 1 19 chmod chmod 34 file bash file chmod 666 file 1 X fF file 4 1 20
45. 4 2 HyperTerminal RAG RHD Baw Bec 5 BAG iE EDE EH RW _ Files amp ecessoriesi Y HyperTerminal Sos hticons dll hypertrm dll Hypertrm 4 2 Hypertrm Bl ZEB ZR Xm FEY 4 3 Modem Modem 020 87530209 13719442657 Email capbily hotmail 149 com AN Z JJ http www arm9 com cn Terminal k fou need to natal a modem belme you can make a connection would pou kka bo da this nc LE i 4 3 ERAMA RE No 4 4 ttyS0 Be RK ERAMA Windows COMI1 FE Pr M A il AAR Im 4 4 SBC 2410X 1 4 5 KE fi Te
46. hello2410 7 2 Hello 020 87530209 13719442657 Email capbily hotmail 146 com KELE JJ http www arm9 com cn gt Virtual framebuffer x File View Help Test my first Qtopia Application Hello Qtopia world aig 1 06 7 2 Hello is Running QT cd friendly arm x86 arm set env VEER SEDE set env hello 7 2 3 SBC 2410X hello SBC 2410X hello Makefile 1 Qt Qtopia for ARM cd friendly arm arm arm build QT for ARM 2 hello cd hello make 020 87530209 13719442657 Email capbilyG hotmail 147 com KELA HEB ZJ http www arm9 com cn hello friendly arm arm qtopia bin 3 SBC 2410X hello hello hello desktop SBC 2410X lopt qtopia bin opt gtopia apps Applications gt lt
47. ioctl ioctl switch case 125 TIS S3C2410X HS fus 8 00khz KRKEM P WREEF codeclk 384 8x384 3 0720MHz A PCLK N 1 3 072MHz N 50 75 3 072 1 15 67 0x10 HSPSR 0 4 B 5 9 A JISPSR rIISPSR 15 lt lt 5 15 ioctl IIS static int smdk2410 audio 10ctl struct inode inode struct file file uint cmd ulong arg long val 020 87530209 13719442657 Email capbily hotmail 110 com KELA HEREZ http www arm9 com cn switch cmd case SNDCTL_DSP_SETFMT get_user val long arg if val amp AUDIO_FMT_MASK audio_fmt val break else return EINVAL case SNDCTL DSP CHANNELS
48. 020 87530209 13719442657 Email capbily hotmail 11 com KELE By JJ http www arm9 com cn 2 2 SBC 2410X 2 2 SBC 2410X SBC 2410X ARM S3C2410X 6 S3C2410X ARM920T MMU SBC 2410X SBC 2410X 120mmx90mm 64M SDRAM 64M Nand Flash 1M Boot Flash RJ 45 USB Host USB slave RER O SD 020 87530209 13719442657 Email capbily hotmail 12 com KELE HEREZ http www arm9 com cn 2 0mm CPU mizi Arm Linux
49. 0 CPU FIFO JET ISCON 1 FIFO 0 CPU FIFO FIFO 1 DMA ISFCON HS FIFO DMA FIFO H FIFO DMA IISCON 4 5 I2S SBC 2410X UDA1341TS 020 87530209 13719442657 Email capbily hotmail 103 com KELE JJ http www arm9 com cn AV DD3SV VDD33V UT UDAT3ATIS 10 Jh L OLUT DYDD VOUTL 24 R OUI 1 VOUTR 7 3 j AVDIDXADC 5 V preti ADC VINLI n MIC IN AVDIDXDAC VINKI s E 28 VINL Vret ADCADAC VINR2 QMUTE AGCSTAT OVERFEL 12 SYSCLK I 28SCLK l tend TIENES BCR TEST
50. Ax a 4 19 LED web WIE shell etc rc d init d httpd stop 4 20 020 87530209 13719442657 Email capbilyG hotmail 52 com http www arm9 com cn bie EE nas Dus b m or Root w No MFS seruer available VFS Unable to mount root fs via MF VFS Mounted root cramfs filesystem Mounted deufs on deu Freeing init memory 56K init started BusyBox o8 68 5 2803 809 805 89 25 9800 multi c 8 1 B84 Dec 2838 15 57 58 00001 boa server version Boa 8 945 13 85 Dec 20380 15 57 58 00001 boa server built Feb 28 2004 at 21 4 85 Dec 2838 15 57 58 B BB boa starting server pid 23 port 88 Please press Enter to activate this console giving up trying floppy BusyBox 0 60 9 2083 89 05 09 25 08080 Built in shell ash Enter help for a list of built in commands sh can t access tty Job control turned off raot fa H raot fa 1 root fa A etc rc d init d httpd stop H _ eor jm m ne E 4 20 web etc rc d init d httpd start Z S PRA n 020 87530209 13719442657 Email capbily hotmail 53 com KELE JJ http www arm9
51. Hardware Flow Control NO PRA n 020 87530209 13719442657 Email capbily hotmail 154 com RBZ BS JJ http www arm9 com cn Serial Device dev ttysoO Lockfile Location war lock Callin Program Callout Program Bps Par Bits 115200 8 1 Hardware Flow Control Software Flow Control No Change which setting Screen and keyboard Save setup as dfl Save setup as Exit Exit from Minicom Hardware Flow Control WEG 890 Oe ESE XE Save setup as root capbily shell Konsole Session Edit View Bookmarks Settings Help igurat ic hn Filenames and path File transfer protecels Serial pect setup Modern and disling Soran and E ae EE Exit Exit from Minicom 020 87530209 13719442657 Email capbily hotmail 155 com KELA Bf RZ JJ http www arm9 com cn FREE Exit IRM MS WIA UE ERAS etc minirc dfl SBC 2410X CET SU vivi Linux minicom minicom EJZ P
52. PRA n 020 87530209 13719442657 Email capbily hotmail 21 com KEZE WEEL http www arm9 com cn Step5 FILE ri 331 zx WindowsCE 1 LCD i 3 7 WindowsCE 020 87530209 13719442657 Email capbily hotmail 22 com HIT http www arm9 com cn DEMSetEealTime regiszter Year 3 Month 9 Day 1 Hour 12 Minute Q se cond renr lh FMD FMD Imit S394 clock USB hcdPdd Init 08 9 11 piaPortBase 0x200000 InitializedHl BCD WapIrqizsysIntr 11 aT 111 InitinlireAddrezses Success charlie SDIO SDHOST SDCSDCardDllEntry DLL PROCESS ATTACH 223 STSIHTE SDNEAC OENInterruptDizable zii SISIHTR OENInterruptDisable OENInterruptEnable CARD DETECT SbI INTERRUPT OEMInterruptEnable InitializelHardware 5L Open 0 opens 5L_GetStatus 0x31540 E 3 8 3 6 TIN ACE BR AS ri A PE WindowsCE 115200 SNHD 020 87530209 13719442657 Email capbily hotmail 23 com http www arm9 com cn SBC 2410X 4 1 SBC 2410X SBC 2410X rie H 11 12 13 14 3 1 SBC 2410 3 1 SBC 2410X H
53. include lt linux kernel h gt void kmalloc unsigned int len int priority void kfree void obj len NBA NS 0 obj priority GFP_KERNEL IO segmentation fault VO VO mH A BREAN SS 9 IO VO printk printf Printf 020 87530209 13719442657 Email capbily hotmail 90 com KELA 16 82 JJ http www arm9 com cn syslog 6 3 1 3
54. request_irq FE ZA o Ais 07 ww free include lt linux sched h gt int request irq unsigned int irq void handler int irq void dev id struct pt regs regs unsigned long flags const char device void dev 1d void free irq unsigned int irq void dev 1d handler AP 075 dev id regs device proc interrupts flag Linux FEX Z 4 o malloc free f kmalloc kfree
55. HRA SK Linux FRE M Linux2 2 x framebuffer Microwindows Linux framebuffer 1 2 4 8 16 24 32 RGB FEX AES T TRIER Microwindows microwindows Gm Framebuffer Linux eCos FreeBSD RTEMS Microwindows Linux Microwindows W Microwindows NanoGUI Microwindows WIN32 API Microwindows X Windows Xlib X11 Microwindows Nanx X
56. cd mnt cdrom SBC 2410 Linux Step4 2a s tar xvzf arm linux toolchains tgz C Step5 SBC 2410X tar xvzf matrix5 kernel tgz C friendly arm Step6 ZIX Jtag tar xvzf Jflash tgz C friendly arm Step7 Cnfs root tar xzvf root for nfs v5 tgz C friendly arm Step8 bootloader tar xzvf boot tgz C friendly arm Step9 ZR HFEF ANH tar Xzvf tgz friendly arm Step10 020 87530209 13719442657 Email capbily hotmail com 75 KELA HEB ZJ http www arm9 com cn cat exports gt gt etc exports Stepll H etc init d nfs restart Step12 umount dev cdrom eject arm linux gcc arm linux PATH 6 1 etc profile root capbily friendly arm root File Edit View Terminal Go Help Path manipulation if id u OQ then pathmunge sbin pathmunge usr sbin pathmunge usr local sbin E armlinux sgcc PATH pathmunge usr X11R6 bin after unset pathmunge 6 1 arm linux
57. K 3 4 SBC 2410X BUS CTRL K 3 5 SBC 2410X BUS CON LDATAO 6 3 s 7 DMM 10 9 020 87530209 13719442657 Email capbily hotmail com 31 Ree B2h http www arm9 com cn 4 2 8 Samsung S3C2410X DS SBC 2410X DS 1107 UDA1341 mp3 wav 4 2 9 SBC 2410X 4 IO IO 2 0mm DOOR Les K1 K2 K3 K4 IT KE ye IAR Ja 3 11 SBC 2410X X 3 6 SBC 2410X KEYBOARD s wc 6 END 3 N s END PRA n 020 87530209 13719442657 Email capbily hotmail 32 com KELE DE JJ http www arm9 com cn 4 2 10 HF LED SBC 2410X
58. mknod mknod dev ttyl c 4 1 ttyl 4 1 tty 4 1 21 ps ps ef 4 1 22 kill kill 9 500 500 020 87530209 13719442657 Email capbilyG hotmail 42 com KELE JJ http www arm9 com cn 4 2 SBC 4 2 1 LED led player LED etc re d init d leds led player led player tmp led control led echo 0 0 2 gt tmp led control 4 led 0 2 echo 1 0 2 gt tmp led control 4 led 0 2 s JH o 4 2 2 LED led led led leds led player etc
59. www images Thumbs db www index html i www led html www led result template i www leds cgi www left htm wWww main htm Wwww natrix4 pics www matrix pics sbc 2410x bz 3ip Z www qt html www top htm www yatfts htmi HOHER EHE GEHE EHE EE HE EHEEEHE E E Congratulations Reboot and Enjov Matrix V EREHHHEHHRHEHHRHHHRHEHHRRHHHRREHHRRERER fis oo oe a Me a een ome mem en eee 6 16 6 6 2 ABW Wt AS KRHA EL p ivt BK EGER ES SERT VS SE gr AR JTAG vivi JTAG JTAG Jflash JTAG SBC 2410X Jflash friendly arnyJflash F cd friendly arm Jflash Iflash Jflash s3c2410 help 020 87530209 13719442657 Email capbily hotmail 134 com Ree B http www arm9 com cn Ir mg 4 a rs WE Ha m ros frirzdi yar cd Jflach rnc la far Widow HMICHUBE 1x1 Jla biletat ir gE vivi roc J arhit J fhash s1024 10 help
60. Egftp gimp 1 2 Mo file selected enter filename gnome zIrage5 yaffs v5l Ename desktop gnome private priwate gpilotd I I Fd Escape to exit Space to tag friendly arm load flash kernel x 020 87530209 13719442657 Email capbily hotmail 139 com KELE BS JJ http www arm9 com cn Ld N k 00 5 caphily G nx Ele Edt View Temind Go Help IVI version 0 1 4 root capbily gcc version 2 95 3 20010315 release 0 1 4 table base address Ux33DFCOO0CX succeed memory mapping NAND device Manufacture ID Oxec Chip ID Samsung KSTD12 08V0M Found saved vivi parameters Press Return to start the LINUX mow any other key for vivi type hel xmodem upload Press CIHL C to quit friendly Sending zimage 6473 blocks Give your local XMODEW receive c ommamd now Xmodem sectors kbytes sent 327 65k friendly arm load flash kernel x Ready for downloading using xmodem Waiting Failed downloading file friendly arm load flash kernel x Ready for downloading using xmodem 6 23 kernel vivi flash 6 24 020 87530209 137194
61. int open struct inode struct file int flush struct file int release struct inode struct file int fsync struct file struct dentry int datasync int fasync int struct file int int lock struct file int struct file lock ssize t readv struct file const struct iovec unsigned long loff t ssize t writev struct file const struct 1 unsigned long loff t ssize t sendpage struct file struct page int size t loff t int unsigned long get unmapped area struct file unsigned long unsigned long unsigned long unsigned long file operations AP JV va A be RA Se major minor file operations lseek read HEITIR AA buf count inode I blksize write read select
62. recv amp send message loop n recvfrom sockfd recmsg BUFLEN 0 amp peeraddr amp socklen if n lt 0 printf recvfrom err in udptalk n exit 4 elsef recmsg n 0 printf peer 96s recmsg if fgets recmsg BUFLEN stdin NULL exit 0 if sendto sockfd recmsg strlen recmsg 0 amp peeraddr socklen 0 printf sendto err in udptalk n exit 3 udptalk c friendly arm exampls udptalk Makefile PR 7S d VE Hb J AFT E SLY x86 udptalk SBC 2410X arm udptalk i51 make arm udptalk SBC 2410X Linux IP 192 168 0 1 SBC 2410X IP 192 168 0 230 ERU x86 udptalk 192 168 0 230 2000 192 168 0 1 2000 SBC2410X 192 168 0 1 2000 192 168 0 230 2000 6 3 6 4 020 87530209 13719442657 Email capbilyG hotmail 84 com http www arm9 com cn ne gt zm N Me root capbily udptalk x86 udptalk x86 udptalk lt dest IP address gt dest port lt source IP address gt source port gt root c
63. Appearance XE Uk Colors Style Frame Font Greenish Purple B M Mormal Text Li D gt EL En PRA n 020 87530209 13719442657 Email capbily hotmail 68 com RBZ MEBELI http www arm9 com cn virtual framebuffer 240x File View Hel Date Time Time one Hour18 4 Minute 06 M Date Thursday October 2004 Time format 24 hour Weeks start on Sunday Date farmat Qtopia Qtopia 020 87530209 13719442657 Email capbily hotmail 69 com KELE JJ http www arm9 com cn v Virtual framebuffer 240 framebuffer 240x Virtual framebuffer 18 View lish U S lish British anese ean 8 91 a egian Norsk jlified Chinese ditional Chinese BERE 020 87530209 13719442657 Email capbily hotmail 70 com AEN HERZ
64. make vivi cd friendly arm vivi make menuconfig 020 87530209 13719442657 Email capbily hotmail 118 com KCI 97 3 http www arm9 com cn C a 6 9 make menuconfig vivi Load on Alternate Configuration File arch def configs SBC 2410X 6 10 020 87530209 13719442657 Email capbily hotmail 119 com KELA HEB ZJ http www arm9 com cn TT ex Edt View Temral Go Help root c apbiby lopt q rear caphily nen rab iien capbibly Amp caphily Ares m Enter the name of the configuration file you wish to load Accept the name shown to restore the configuration you last retrieved Leave blank to lt L 6 10 OK 6 9 6 11 Yes 020 87530209 13719442657 Email capbily hotmail 120 com KELE BM JJ http www arm9 com cn POOR caphily inendly arm vivi M Fie Edn Wiew Temmnal Help mot d c jong capbily fren
65. bin 020 87530209 13719442657 Email capbily hotmail 77 com RBZ BS JJ http www arm9 com cn ftp 192 168 0 1 ftp gt get hello hello gt bye ftp chmod a x hello hello hello hello 6 2 2 LED led friendly arm examples led include lt stdio h gt include lt stdlib h gt include lt unistd h gt include lt sys ioctl h gt int main int argc char argv int on int led_no int fd led if argc 3 sscanf argv 1 d amp led_no 1 sscanf argv 2 d amp on 1 on lt 0 on gt 1 led_no lt 0 led_no gt 3 fprintf stderr Usage leds led no 0 1 n exit 1 dev leds fd 0 if fd lt 0 perror open device leds exit 1 j ioctl led ioctl fd on led no 020 87530209 13719442657 Email capbily hotmail 78 com ATE HEB B e UAI close fd return 0 j http www arm9 com cn
66. friendly arm x86 qtopia qtopia lib usr kerberos lib usr X11R6 lib usr lib sane usr lib mysql Idconfig Qt 7 2 2 PC Hello SBC 2410X 1 Qt Qtopia cd friendly arm x86 arm build QT 2 Hello cd hello make hello QPEDIR bin 3 Hello helllo gptoia hello desktop qtopia cp hello desktop QPEDIR apps A pplications Framebuffer qvfb amp QT qpe QT 7 1 hello 020 87530209 13719442657 Email capbily hotmail 145 com KELE BS JJ http www arm9 com cn v Virtual framebutter 240x TER Calculator Calendar Tracer S Clack Contacts File Ua Manager d Hello 410 Help Browser Media oy STEM Player Info abes gt Hello2410 Qtopia
67. write gpio bit for G 0 1 lt 8 i set_gpio_ctrl led table i GHIO PULLUP EN GPIO MODE OUT write epio bit led table 1 1 printk DEVICE_NAME initialized n return 0 j static void exit matrix4 leds exit void devfs unregister devfs handle unregister chrdev LED MAJOR DEVICE NAME j module init matrix4 leds init module exit matrix4 leds exit 3 LED led arm linux gcc D KERNEL I friendly arm kernel include DKBUILD BASENAMEzmatrix4 leds DMODULE c o matrix5 leds o matrix5 leds c matrix5 leds o lib 020 87530209 13719442657 Email capbily hotmail 95 com KELE HEREZ http www arm9 com cn d leds insmod lib matrix5 leds o rmmod matrix5 leds it SBC 2410X Linux 4 LED led friendly arm examples leds led 6 3 4 SBC 2410X k E E a B J
68. Ctra W SNARE T Q W Eh H e Yes Erootrmcapbily Shell Konsole Session Edi View Bookmarks Settings Help Unable to momat root fs via HFS trying flegpy root cramfs filesystem Mounted dewfs on des Fraing inib mwmnmetry SER hub c USB new device connect an bu sl l assigned device 2 zcsil 5051 emulation for USE Mass 5terage devices Vendor mi Mode Een Dirmr i XLrcsemm SESI revision CZ Leave Minicom jal D id D lun SCSI device sda 04000 5 MB ada Write Protect is of d Partitism check dav eci hosti tanl tanget lumi pi init started BusyBax 0 60 5 XXI3 09 065 09 254000 multi ell bina y Please press Enter ta activate this cemaale BusyBex wO 5D 5 2003 008 05 06 25 0001 Built im ahell ask help for a list of built in cemnmands can t access tty job reztral turmed aff morila i minicom 020 87530209 13719442657 Email capbily hotmail 156 com KELE JJ http www arm9 com cn C VIVI VIVI guide txt Getting started with vivi Janghoon Lyu nandy mizi com This 1s a short introduction about the vivi Revision History Revision v0 1 2002 10 21 Revised by jl Initial public release very very short descr
69. JTAG 10 2 0mm 3 17 2 0 2 54 JTAG 3 9 JTAG TMS TCK FAL 020 87530209 13719442657 Email capbily hotmail 36 com KELE BS JJ http www arm9 com cn 4 2 13 IO O CON GPIO S3C2410 SBC 2410X 5 Ht TRR S LAUDE he CON GPIO 10 6 AD 1 SPI 35 33 3 1 ag panal DAS smi eee ee I E M t 4 a 6 T al a HET IT In HU r1 3 18 CON GPIO 3 10 CON GPIO aa aa Co ema 10 HNHS u CENT m EN Gb M Gb DA 1 West 1 _ 020 87530209 13719442657 Email capbilyG hotmail 37 com KELE DEEZ http www arm9 com cn 4 2 14 SBC 2410X 3 19 020 87530209 13719442657 Email capbily hotmail 38 com KELE JJ http www arm9 com cn Linux 4 1 Linux
70. hello led SBC 2410X 6 2 3 buttons friendly arm examples buttons EGER pe Buttons Example for Matrix V Copyright C 2004 capbily friendly arm capbilyQG hotmail com include lt stdio h gt include lt stdlib h gt include lt unistd h gt include lt sys ioctl h gt include lt sys types h gt include lt sys stat h gt include lt fcntl h gt include lt sys select h gt include lt sys time h gt include lt errno h gt int main void int buttons_ fd int key_value z 66 SEY 020 87530209 13719442657 Email capbily hotmail 79 com buttons fd open dewbuttons 0 if buttons fd lt 0 perror open device buttons exit 1 for 1 fd set rds int ret FD ZERO amp rds FD SET buttons fd amp rds select dewbuttons 1x i AH ret select buttons fd 1 amp rds NULL NULL NULL UAB if ret lt 0 perror select exit 1 if ret 0 printf Timeout An J BEA BAN Hi else if FD ISSET buttons fd amp rds SURE SE oh Jc WB key value
71. 121 com KELA HEB ZJ http www arm9 com cn Kenel panic VFS Unable to mount root fs on 02 00 root SBC 2410X 3 o root dev bon 2 root dev mtdblock 0 root dev nfs root dev bon 2 mizi cramfs SBC 2410X cramfs yaffs flash jffs2 Flash SBC 2410X yaffs NFS ARM
72. SBC 2410X IP 192 168 0 230 gt telnet 192 168 0 230 root SBC 2410X 020 87530209 13719442657 Email 49 KELE BS JJ http www arm9 com cn 4 3 7 ftp ftp Linux ftp IRSA IP 192 168 0 80 shell ftp 192 168 0 80 ftp biyan ees WADO aur E Fo Pic Wh Dia e 1 Ol em IrootPfa 18 ftp 197 166 60 80 Connected to 192 168 0 60 2208 WFTPD 2 0 service by Tewas Imperial Software ready for new user 192 168 0 30 root fa 331 Give me your password please Password 238 Logged in successfully Remote system type is M5DUS ftp Is 1700 PORT command okay 1158 File Listing Fol lows in HSCII mode drwxrekres 1 moore nogroup B Dec 27 2003 drins 1 noone nogroupy Dec 77 2003 rwrir 1 rode nogreup 15116748 Dec 38 2001 10 mp3 PWK W l nome negroup 3725687 Oct 2 2002 137 MP3 PR 1 nogreup 6880016 19 2803 THAGE r xr Wr l nogroup 22149746 Jul 14 2003 mp3 nodosa nogr oup 26388 Oct ARS bios bin r
73. Samsung Could mot found stored vivi parameters Use default vivi parameters Frees Hedurn to alai the LIMIE nme any other kep rm yiiri 4 7 VIVI sme nee USE bus registered a signed hus number 1 n rand 7 IP routing cache hash Table af 512 buckets iby berg TOP Hash tables configured Lestablis led 4096 hind 1096 HET amp Unis domain sockets 1 B 5 for pee Heot HFS Ha MES server um lable ving uti VES Unable to wount root fa via TA trying Flonpe 5 Mounted ront cramfs Mounted devFs on des Freeing inii memory S R init started oH 68S 12009 085 09 250000 aulti c9 b press Enter to activate this console mum OW rm Z S PRA n 020 87530209 13719442657 Email capbilyG hotmail 152 com REZE DEEZ http www arm9 com cn B minicom minicom Linux Linux minicom gt E Shell Konsole Session Edit View Bookmarks Settings Help File transfer protocols Serial port setup Modem and dialing Screen and keyboard Save setup as dfl Save setup Asa Exit Exit from Minicom 1247 min
74. The vivi wait for a key input If an user want to enter the prompt mode press andy key except Enter key And then you can see the vivi prompt Otherwise the vivi try boot the linux kernel after waiting a few seconds or minutes 020 87530209 13719442657 Email capbily hotmail 160 com KELE DE 2 JJ http www arm9 com cn 3 2 Built in user commands This is not full described built in user comamnd But following commands is enough to use the vivi as far as I know 3 2 1 load command A load command is loading binaries to the flash or the ram Usage load lt media_type gt lt partname gt lt addr gt lt size gt lt x y z gt lt media_type gt This argument is where to load Availabe values are flash and ram partname or lt addr gt lt size gt This arguement determines location where to load a binary If you want to use pre defined mtd partiton informations just type a partition name Otherwise you specify an address and a size lt x y z gt This arguement determines the file transfer protocol I shy that the vivi only supprot xmodem curruntly So Available value is x For exampe you load zImage to flash memroy vivi gt load flash kernel x or you specify an address and a size vivi gt load flash 0x80000 0xc0000 x 3 2 2 part command The vivi has mtd partiton Informations for the vivi This informatin not related to mtd partition informa
75. block 128 slots per queue batch 32 Uniform Multi Platform E IDE driver Revision 6 31 020 87530209 13719442657 Email capbily hotmail 123 com KELE HEB ZJ http www arm9 com cn ide Assuming 50MHz system bus speed for PIO modes override with idebus xx eth0 cs8900 rev J 3 3 Volts found at 0xd0000300 cs89x0 media RJ 45 IRQ 37 Linux video capture interface v1 00 SCSI subsystem driver Revision 1 00 scsi0 SCSI host adapter emulation for IDE ATAPI devices UDA1341 audio driver initialized NAND device Manufacture ID Oxec Chip ID 0x76 Samsung K9D1208VOM bon0 00000000 0002c000 0002c000 00000000 bon1 00030000 00130000 00100000 00000000 bon2 00130000 03ffc000 03ecc000 00000000 usb c registered new driver usbdevfs usb c registered new driver hub usb ohci c USB OHCI at membase 0xe9000000 IRQ 26 usb c new USB bus registered assigned bus number 1 hub c USB hub found port 1 suspened port 0 alived hub c 1 port detected usb c registered new driver usblp printer c v0 8 USB Printer Device Class driver usb c registered new driver ov511 ov511 c v1 48a for Linux 2 4 OV511 USB Camera Driver Initializing USB Mass Storage driver usb c registered new driver usb storage USB Mass Storage support registered NET4 Linux TCP IP 1 0 for NET4 0 IP Protocols ICMP UDP TCP IP routing cache hash table of 512 buckets 4Kbytes TCP Hash tables configured establ
76. case SNDCTL DSP STEREO get user val long arg if cmd SNDCTL DSP STEREO val val 2 1 if val 1 amp amp val 2 return EINVAL audio channels val break case SOUND PCM READ CHANNELS put user audio channels long arg break case SNDCTL DSP SPEED get user val long arg val audio set dsp speed val if val 0 return EINVAL put user val long arg break case SOUND PCM READ RATE put user audio rate long arg break case SNDCTL DSP GETFMTS put userr AUDIO FMT MASK long arg break 020 87530209 13719442657 Email capbily hotmail 111 com KELE JJ http www arm9 com cn case SNDCTL_DSP_GETBLKSIZE if file gt f_mode amp FMODE_WRITE return put_user audio_fragsize long arg else return put_user audio_fragsize int arg case SNDCTL_DSP_SETFRAGMENT if file gt f_mode amp FMODE WRITE if output stream buffers return EB US Y get user val long arg audio fragsize 1 lt lt val amp OxFFFF if audio fragsize 16 audio fragsize 16 if audio fragsize gt 16384 audio fragsize 16384 audio nbfrags val gt gt 16 amp Ox7FFF if audio nbfrags 2 audio nbfrags 2 if audio nbfrags audio fragsize gt 128 1024 audio nbfrags 128 1024 audio fragsize if audio setup buf amp output stream return ENOMEM if file gt f m
77. lt lt ene ee 42 4 2 SBC 0 43 SAT Ae led payet 43 4 2 2 LED led uy amana Qaqata 43 4 2 3 buttons 0 43 4 2 4 madplay seen 44 4 2 5 naa 45 4 4 6 USB vidcat 46 020 87530209 13719442657 Email capbilyG hotmail 6 com RBZ BS JJ http www arm9 com cn 43 46 IE 46 48 4 3 4 traceroute 48 48 4 3 6 Telnet inetd n n n 49 A E E EE 50 4 3 8 Ftp inetd tts tts tatt tsten itsi ta kesksesse tnter 50 ee de 51 4 3 10 Web LED a tnter 51 4 4 Qtopia 54 4 4 1 es 54 ANAE 62 4 2 3 67 4 5 Microwindows HJ RFE REF ius 73 S3C2410X AGRA SKE Linux 75 CRY k HE 75 62 77 6 2 1 Hello SBC 2410X4 nana 77 6 22 LED 78 E23 WR a EEES 79 6 2 4 UDP a 81 095 86 6 2 6 USB n
78. 0xd0000300 cs89x0 media RJ 45 IRQ 37 Linux video capture interface v1 00 SCSI subsystem driver Revision 1 00 scsi0 SCSI host adapter emulation for IDE ATAPI devices UDA1341 audio driver initialized NAND device Manufacture ID Oxec Chip ID 0x76 Samsung K9D1208 VOM bonO 00000000 00030000 00030000 00000000 bon1 00030000 001 30000 00100000 00000000 bon2 00130000 03ff4000 03ec4000 00000000 usb c registered new driver usbdevfs 020 87530209 13719442657 Email capbily hotmail 128 com KELE HEB ZJ http www arm9 com cn usb c registered new driver hub usb ohci c USB OHCI at membase 0xe9000000 IRQ 26 usb c new USB bus registered assigned bus number 1 hub c USB hub found port 1 suspened port 0 alived hub c 1 port detected usb c registered new driver usblp printer c v0 8 USB Printer Device Class driver usb c registered new driver ov511 ov511 c v1 48a for Linux 2 4 OV511 USB Camera Driver Initializing USB Mass Storage driver usb c registered new driver usb storage USB Mass Storage support registered NET4 Linux TCP IP 1 0 for NET4 0 IP Protocols ICMP UDP TCP IP routing cache hash table of 512 buckets 4Kbytes TCP Hash tables configured established 4096 bind 4096 IP Config Complete device ethO addr 192 168 0 69 mask 255 255 255 0 gw 192 168 0 1 host matrix4 domain nis domain arm9 net bootserver 192 168 0 1 rootserver 192 1
79. GPIO L3MODE 020 87530209 13719442657 Email capbily hotmail 105 com KELE JJ http www arm9 com cn GPE 3 DSSDI set_gpio_ctrl GPIO_E3 GPIO_PULLUP_EN GPIO_MODE_I2SSD GPE 0 DSLRCK set_gpio_ctrl GPIO_EO GPIO PULLUP EN GPIO MODE DSSDLD GPE 1 DSSCLK set_gpio_ctrl GPIO_E1 GPIO PULLUP EN GPIO MODE DSSCLK GPE 2 CDCLK set_gpio_ctrl GPIO_E2 GPIO PULLUP EN GPIO MODE CDCLK GPE 4 DSSDO set gpio ctrl GPIO GPIO PULLUP EN GPIO MODE DSSDO local irq restore flags UDA1341 init_uda13410 output_stream dma_ch DMA_CH2 if audio init dma amp output stream UDA1341 out audio clear dma amp output stream printk KERN WARNING AUDIO NAME VERBOSE unable to get channels n return EBUS Y input stream dma ch DMA CHI if audio init dma amp input stream UDA1341 in audio clear dma amp input stream printk KERN WARNING AUDIO NAME VERBOSE unable to get DMA channels n return EBUS Y audio_dev_dsp register_sound_dsp amp smdk2410_audio_fops 1 audio dev mixer register_sound_mixer amp smdk2410_mixer_fops 1 020 87530209 13719442657 Email capbily hotmail 106 com KELE JJ http www arm9 com cn printk AUDIO_NAME_VERBOSE initialized n r
80. I SLRCK 17 Ws TESTI SSDI E I258DO 0 DATA AV SSCATX Vnrefi ADC 3MODE DVSS LaMODE 13 CLOCK Ii D3CLOCK AVSSDAO L3DATA 6 8 SBC 2410X S3C2410X DS SCK UDA1341TS BCK WS UDA1341TS H RS DSSDO UDA1341 DS DSSDI UDA1341 HANE L3 L3 L3MODE L3DATA L3CLOCK S3C2410 GPB2 GPOB3 mi 125 L3 DMA T
81. Mine Hunt fra hi Qtopia I P CHUA eA 2 2 020 87530209 13719442657 Email capbily hotmail 64 com http www arm9 com cn w Virtual framebuffer240x File Miew Hel Freecell x Play settings A 54 4 TR IM PRA n 020 87530209 13719442657 Email capbily hotmail 65 com KELE JJ http www arm9 com cn Virtual framebuffer 240x File View Help Snake THR AN HS LTT RAS UE Aii a BE akak n APE il 020 87530209 13719442657 Email capbily hotmail 66 com http www arm9 com cn c Virtual framebuffer 240x Dc Fifteen Pieces 4 2 3 Qtopia PRA n 020 87530209 13719442657 Email capbily hotmail 67 com http www arm9 com cn virtual framebuffer 240x File View Help
82. P nen EEEE 4 5 020 87530209 13719442657 Email capbily hotmail 150 com http www arm9 com cn Ba IBN Pew eB TERA AM E C U SBC 2410X 115200 WA 4 6 4 7 4 7 4 7 vivi arm linux 4 8 arm linux 020 87530209 13719442657 Email capbily hotmail 151 com http www arm9 com cn Linux d eee mI version ae 1 amp com acr version 2 55 3 ahials release eo 14 01 19 KST 2840 i ae M address CUBP Succend memory manning desicu tira MU wec Chip ID
83. SEC JTAG FLASH D I 4 mds fied by MI 13 4 lkzge SOP fi lonxa f1 flachivpe d delay Flash Tepe Liat SMOKES K381208 3FH 2 SMI TOS AMI AMOR 1c ROS 5 1 OMS I AMES rnc ii mh l 6 17 JTAG Flash Jflash 64M Nand Flash t 5 vivi Jflash s3c2410 vivi t 5 020 87530209 13719442657 Email capbily hotmail 135 com KELE BS JJ http www arm9 com cn wr root capbily friendly arm Jflash Shell Konsole gt FlashType 4 gt amp MX2410X DEDQxOU32408 is detect ed gt F35S5608 is detected Decis HSS608 MAND Flash JTAG Programmer Ver 0 0 k K55608 Program 55008 Pr B kPage Select the function to test SMI K9S5608 Flash Witing Progran Source aize Available target block nunber 0 2047 Input target block number 0 target start black nunber target size OA n 20x 14000 STATLE EppppppPEPPPEPPEPPEPPPEPPEPPPEPPE EpppppppppppppppppppppppppppppPpPpP EppppPPPPPPPPPPPPPPPPPPPPPPPPPPPPP EppppppppPpPpPPPPPPPPPPPPPPPPPPPPPPP E
84. STN 30 F 2 0mm CON GPIO GPIO 36 F 2 0mm 10 6 AD 1 SPI I2C 2 2 020 87530209 13719442657 Email capbily hotmail 14 com http www arm9 com cn TORO 5 BUS CON 44 14 16 25 SBC 2410X for Linux TARAK RN xa ROM CRAM EXT2 FAT32 NFS YA x EROM CRAM EXT2 FAT32 NFS YAFFS FFS file system S m RN 10Base T external Ethernet device 10M driver FTP 020 87530209 13719442657 Email capbily hotmail 15 com KELE DE BZ http www arm9 com cn Web base management suite Sample only FRU Fm ara OOO O ese ABIRE Local console through RS232 and telnet remote telnet c
85. Zt arm Linux Wi Web CGD Telnet SBC 2410X SBC 2410X WindowsCE4 2 net WindowsCE Word Excel Power Point Pdf Word as IE Mba GES Tes SBC 2410X CHALE SBC 2410X 020 87530209 13719442657 Email capbily hotmail 3 com KELA HEB ZJ http www arm9 com cn SBC 2410X SBC 2410X SBC 2410X capbily capbi
86. com cn 4 4 Qtopia QUEmbedded Qtopia Qt Qtopia Qtopia X86 4 4 1 XCF E Windows File View Help x1 File Manager Dir Son 4 0K 2004 10 06 Sides 4 DK 2004 10 04 Cg atc 4 0K 2004 10 06 home 4 0K 2001 06 13 Slip 2001 06 13 4 0K 2003 01 24 prac 4 0K 2003 01 24 root 4 0K 2003 01 24 shin 4 0K 2004 10 06 4 0K 2003 01 24 usr 4 0K 2003 01 24 Pa ss 4 0K 2004 10 04 wow 4 0 2004 10 04 ra vafis votuz 17 0M 2004 10 08 qk S 15 54 TRAN HE DAS Qtopia MA st Jt AB TCAs n DAR PPC ER RE ACHE SH mp3 wav mpeg avi B root Documents mp3 SBC 2410X 825 BR ir HY 020 87530209 13719442657 Email ca
87. gt sem break DS py DR chunksize b gt size if chunksize gt count chunksize count DPRINTK read d from d n chunksize s gt buf_idx PA AA Z TR P UL 3 P IRI if copy to user buffer b gt start s gt fragsize b gt size chunksize up amp b sem return EFAULT b gt size chunksize buffer chunksize count chunksize 020 87530209 13719442657 Email capbily hotmail 116 com KELE HEREZ if b gt size gt 0 up amp b gt sem break C s3c2410_dma_queue_buffer s gt dma_ch void b b gt dma_addr s gt fragsize BUF RD NEXT BUF s buf if buffer buffer0 ret buffer bufferO DPRINTK audio read return d n ret return ret j http www arm9 com cn struct file buffer 0 if s gt mapped
88. hotmail 82 com KELE JJ http www arm9 com cn define BUFLEN 255 int main int argc char argv struct sockaddr_in peeraddr JA iX 7 IP socket 7 socket Int sockfd char recmsg BUFLEN 1 int socklen n if argc 5 1 printf s dest IP address gt dest port source IP address gt source port gt n argv 0 exit O sockfd 2 socket AF INET SOCK DGRAM 0 if sockfd lt O printf socket creating err in udptalk n exit 1 socklen sizeof struct sockaddr in memset amp peeraddr 0 socklen peeraddr sin familyzAF INET peeraddr sin_port htons atoi argv 2 ifinet pton AF INET argv 1 amp peeraddr sin_addr lt 0 printf Wrong dest IP address n exit O memset amp localaddr 0 socklen localaddr sin_family AF_INET ifinet pton AF INET argv 3 amp localaddr sin_addr lt 0 printf Wrong source IP address n exit O localaddr sin_port htons atoi argv 4 if bind sockfd amp localaddr socklen lt 0O printf bind local address err in udptalk n 020 87530209 13719442657 Email capbily hotmail 83 com KELE BS 2 JJ http www arm9 com cn exit 2 if fgets recmsg BUFLEN stdin NULL exit 0 if sendto sockfd recmsg strlen recmsg 0 amp peeraddr socklen 0 printf sendto err in udptalk n exit 3 for
89. ram the vivi boot the linux kernel from the ram 3 2 5 flash command A flash comamnd manages the flash memory If you want to erase flash memory flash erase lt partname gt offset size 020 87530209 13719442657 Email capbily hotmail 163 com
90. 2657 Email capbily hotmail 19 com http www arm9 com cn 3 3 ELCD Step4 7135 Linux 1 LCD WAN 3 4 Qt 020 87530209 13719442657 Email capbily hotmail 20 com Ey v JJ http www arm9 com cn jusb registered new driver usblp printer c wO B USB Printer Device Class driver usb c registered new driver ov511 ovbll c vi 4Ba for Linux 2 4 09511 USB Camera Driver Initializing USB Mass Storage driver usb registered new driver usb storage USB Mase Storage support registered HET4 Linux TCP IP 1 0 for NETA Q Protocols IOF UF IP routing cache hash table of 512 buckets dEbytez TCP Hash tables configured established 4096 bind 4096 HET4 Unix domain sockets 1 0 5MP for Linux NETA O HetWinder Floating Point Emulator 0 95 c 006 156 Rebel com FAT bogus logical sector size 42996 yaffs dev is T9336 name is 1 00 VFS Mounted root yaffs filesystem Mounted dev s on dev 1 Freeing init memory SE Friendly ARM Tech Ltd http www are net http www arzD com 7 z E Im Anon ium EC ou T RE mE o ll E IM 3 6 Linux 58 115200 SNDT
91. 42657 Email capbily hotmail 140 com KELE Bz http www arm9 com cn Press Return to start the LINUX pow any other key for viwi type help for help friendly arm friendly arm load flash wivi x Ready for downloading using xmzodem Waltimp S Failed downloading file Eriendly arm gt load flash kernel x Ready for downloading using eodem aitimp friendly arm load flash kernel x Ready for downloading using xmodem aitimp Failed downloading file friendly arm load flash kernel x Ready for downloading using xmmm 828672 bytes Written 828672 bytes friendly arm 6 24 vivi flash boot vivi NFS 6 6 1 NFS 020 87530209 13719442657 Email capbily hotmail 141 com KELE JJ http www arm9 com cn RASH PH Ae HS Fe 7 1 BATA Z8 f 2T 7 1 1 Qt Embedded Qt Embedded fii f QE Qt Trolltech
92. 530209 13719442657 Email capbily hotmail 109 com KELE BS JJ http www arm9 com cn j s gt buf_idx 0 s gt buf amp s gt buffers 0 return 0 err printk AUDIO NAME unable to allocate audio memory n BAF PC audio_clear_buf s return ENOMEM for audio buf t For if dmasize for do while X X D X 2 4 ioctl loct
93. 6 MiniGUI 7 2 Qt Embedded AX GUI QE SBC 2410X QE Documents Qtopia docs 7 2 1 QUEmbedded Qt DVD ROM Step 43227621 mount dev cdrom mnt cdrom Step2 Qt FREAK cd mnt cdrom SBC 2410X Linux EmGUI Step3 22 X86 Qt Qtopia tar xvzf x86 qtopia tgz C friendly arm Step4 SBC 2410X Qtopia tar xvzf arm qtopia tgz C friendly arm Step5 cd eject 020 87530209 13719442657 Email capbily hotmail 144 com KELA HEB ZJ http www arm9 com cn PC Qtopia Qt etc ld so conf Qt Redhat Qt 1d so conf friendly arm x86 qtopia qt lib
94. 68 0 1 rootpath NET4 Unix domain sockets 1 0 SMP for Linux NET4 0 NetWinder Floating Point Emulator V0 95 c 1998 1999 Rebel com Looking up port of RPC 100003 2 on 192 168 0 1 Looking up port of RPC 100005 1 on 192 168 0 1 VFS Mounted root nfs filesystem Mounted devfs on dev Freeing init memory 56K Friendly ARM Tech Ltd http www arm9 net http www arm9 com cn init started BusyBox v0 60 5 2003 09 05 09 25 0000 multi c 1 binary Using lib input o Using lib keybdev o insmod unresolved symbol handle scancode 020 87530209 13719442657 Email capbily hotmail 129 com KELA HEB ZJ http www arm9 com cn insmod unresolved symbol keyboard_tasklet insmod unresolved symbol kbd_ledfunc Using lib mousedev o mice PS 2 mouse device common for all mice Using lib evdev o Using lib video o insmod couldn t find the kernel version the module was compiled for Using lib videodev o Linux video capture interface v1 00 video_dev unable to get major 81 insmod init module videodev Input output error Using lib ov5 11 0 usb c registered new driver ov511 ov511 c v1 48a for Linux 2 4 OV511 USB Camera Driver Using lib Icd640x480x32 0 address is c4960000 33800000 LCD640x480x32 installed by capbily hotmail com http www arm9 net Using lib hid core o insmod unresolved symbol hidinput connect insmod unresolved symbol hidinput hid event
95. OV COMI 3 CPU COM1 2 3 BOOT SEL ROM USB DEVICE USB 020 87530209 13719442657 Email capbily hotmail 24 com KEZE DOR Z JJ http www arm9 com cn 5V 9 BUSCTRL KEYBOARD _ JTAG O2 OB wu ma 33V5VLCD Sae 5 06 4 2 SBC 2410X AT EX BCU PEDI b amp d Open Closed Closed 2 3 3 2 4 2 1 LAN RJ45 SBC 2410X HUB 3 3 020 87530209 13719442657 Email capbily hotmail 25 com KELE BS JJ http www arm9 com cn MORD iw 3 3 SBC 2410X X 3 2 SBC 2410X HI NN 4 NC 6 RX ReewDaa O O O s NC Netemmwde O O 4 2 2 H 1 COMI Samsung S3C2410X 3 SBC 2410X 1 DBO 14 2 0mm COMI 3 CPU
96. On node 0 totalpages 16384 zone 0 16384 pages zone 1 0 pages zone 2 pages Kernel command line noinitrd root dev mtdblock O init linuxrc console ttySO DEBUG timer count 15626 Calibrating delay loop 99 94 BogoMIPS Memory 64MB 64MB total Memory 62676KB available 1374K code 364K data 56K init Dentry cache hash table entries 8192 order 4 65536 bytes Inode cache hash table entries 4096 order 3 32768 bytes Mount cache hash table entries 1024 order 1 8192 bytes Buffer cache hash table entries 4096 order 2 16384 bytes Page cache hash table entries 16384 order 4 65536 bytes POSIX conformance testing by UNIFIX Linux NET4 0 for Linux 2 4 Based upon Swansea University Computer Society NET3 039 Initializing RT netlink socket CPU clock 200 000 Mhz HCLK 100 000 Mhz PCLK 50 000 Mhz Initializing S3C2410 buffer pool for DMA workaround usbctl zombie gt reset gt default Device in default state S3C2410 USB Controller Core Initialized USB Function Character Driver Interface 0 5 C 2001 Extenex Corp usbctl Opened for usb char usbctl Started for usb char Starting kswapd devfs v1 10 20020120 Richard Gooch rgooch Q atnf csiro au devfs boot options Ox1 ttyS d0 at I O 0x50000000 irq 52 is a S3C2410 ttyS d1 at I O 0x50004000 irq 55 is a S3C2410 tty9 d2 at I O 0x50008000 irq 58 is a S3C2410 pty 256 Unix98 ptys configured leds initialized S3C2410 Real Time Clock Driver vO 1
97. R Friendly ARM ioj x MT Br EF LEX TT E Linus R Fe HIT tE 9 HM xm di E FE 3 2 e TR El LET TE JE TEA pjana ajra BASEE REN L0G0 Friendly A ARM i h Web Ek 4374 itl LED LED ERIE BEAT DAES IE SBC 2410X SBC 2410X IP 192 168 0 230 web boa War AE P HA 020 87530209 13719442657 Email capbily hotmail 51 com KELE NE js 22 http 192 168 0 230 http www arm9 com cn 4 18 LED CGI LED 47 4 19 2 4 18 IE SBC 2410X F AARE E wbR EXE irap MELIUS Joj x grep ambo Bo XS IAD LJ EE QA Dm eet cy 2 KH E tp i 8 j ums MIRA Iy Web le 35 ia E LED r DAT DE s ui ecd
98. RE WAIT QUEUE HEAD buttons wait 527 static void buttons irq int irq void dev id struct pt regs reg struct key info k int 1 int found int up int flags for 1 0 1 lt sizeof key info tab sizeof key info tab 1 14 4 k key info tab 1 if k gt irq_no irq found 1 break if found printk bad irq d in button n irq 020 87530209 13719442657 Email capbilyG hotmail 98 com KELE BS JJ http www arm9 com cn O return save_flags flags cli set gepio mode user k gpio port GPIO MODE IN up read gpio bit k gpio port set external irq k irq no EXT BOTH EDGES GPIO PULLUP DIS restore flags flags if up 1 key value k gt key_no 0x80 else key_value k gt key_no ready 1 wake_up_interruptible amp buttons_wait j RSet PT TSA Wm A BBA LEAP Be ry A E Hj Sp static int request irqs void struct key info k int 1 for 1 0 1 lt sizeof key info tab sizeof key info tab 1 i k key info tab 1 set external irq k irq no EXT BOTH EDGES GPIO PULLUP DIS if request irq k irq no amp buttons_irq SA_INTERRUPT DEVICE NAME amp buttons irq return 1 j return 0 j PRE IBC Wir static void free_irqs void 020 87530209 13719442657 Email cap
99. S i root fa 1 6 14 bk bk PUTT Tete FOC nfs vivi vivi gt friendly arm gt bs flash 020 87530209 13719442657 Email capbily hotmail 132 com KELE DEEZ http www arm9 com cn capbily opt qtopia Eile Edt View Terminal Go Help Please press Enter to activate this console Artist 7 7 7 Year 2000 Genre Goa iBusyBox vO 60 5 2003 09 05 09 25 0000 Built in shell fash Enter help for a list of built in commands ish can t access tty job control turned off i root fa i bs gRZzzzzzzzzcz2zczzzr2zzizizcziic2zc2zzi2zziscn Formating for yaffs EER SESS ERSTE SESS TSS SSeS SESS SST Sess Sssss lErasing NAND for Yaffs 6 15 flash 020 87530209 13719442657 Email capbily hotmail 133 com KELE BS JJ http www arm9 com cn o File Edt View Terminal Go Help cacani jotta ok capbiy end www fimages matrix gif www images kbd bg jpg
100. SBC 2410X Version0 9 http www arm9 com cn http www arm9 net bootloader vivi KELE JJ http www arm9 com cn 2 145 W Id so conf PY 2 2004 11 1 1 EWR WS 7 2004 11 1 020 87530209 13719442657 Email capbily hotmail 2 com KELE JJ http www arm9 com cn SBC 2410X IN ACRE ZB EZ a et Ep ae EF ARMO ARM S3C2410X XH 6 S3C2410X ARM920T MMU SBC 2410X SBC 2410X S3C2410X AU THI ERS TFA ARRAS OSL TE
101. Supports mul ple screen se Typical actual screen site 640380 320240 160 160 and others Maximum virtual screen size is dMEbgtes Maxirrium virtual screen sze in GAE color mode Z048 1024 and others 3 13 S3C2410X S3C2410X JAM NE NE MEM E M IM NE M ME NM NM NM M NM M X M NM NM B 3 14 SBC 2410X 50 F LCD 3 8 LCD ___ 02 1 VCC VD0 020 87530209 13719442657 Email capbily hotmail 34 com http www arm9 com cn YE J27 3 3V 5V LCD 1 2 SV 2 3 3 3V CM W 3 15 LCD 4 2 12 JTAG SBC 2410X 2 0mm 20 F JTAG 3 15 2 54 2 0mm EEFE 2 54mm JTAG 3 16 3 9 20 F JTAG 020 87530209 13719442657 Email capbily hotmail 35 com KELE BS JJ http www arm9 com cn 20 18 16 14 12 10 B 6 4 2 3 16 SBC 2410X
102. These are the network services available ta be added Dialup PPP Dial up PPP IrDA Va LAN TCP IP For lacal area network connections through PC Card network interface card Add Cancel E gt Q 1 07 v Virtual framebuffer x File view Add Hetwork Service http www arm9 com cn 020 87530209 13719442657 Email capbily hotmail 71 com KELE JJ http www arm9 com cn Virtual framebuffer 240x E m x File view Screen sound wi Loud Va x Silent Qtopia SBC 2410X 020 87530209 13719442657 Email capbilyG hotmail 72 com KELE JJ http www arm9 com cn Require code at power on Syne Accept sync from network 132 158 0 0 1B5 4 5 Microwindows SBC 2410X microwindows mine Qtopia mine Qtopia
103. a 04 Dec 2030 15 58 07 0000 boa server version Boa 0 94 13 server built Feb 28 2004 at 21 47 23 starting server pid 34 port 80 Please press Enter to activate this console 020 87530209 13719442657 Email capbily hotmail 125 com KELE By JJ http www arm9 com cn 6 6 2 NFS 6 1 7 10 11 NFS exports friendly arm root rw sync no_root_squash friendly arm root SBC 2410X rw no root squash root exports Fl o SBC 2410X HJ H 2 PRESE vivi nfs param_nfs txt param set linux cmd line console ttySO root dev nfs nfsroot 192 168 0 1 f
104. ad root capbily Fie E t Terminal Go Help Foumd sawed vivi parameters Press Return to start the LINUX now any other key for wiwi type help for help friendly arm load flash kernel x Ready for downloading usimp xmexlem Waiting IPTE Failed downlo Upload friendly arm VIVI version 0 1 45 rnot amp capb y sion 2 95 3 20010315 release 70 1 4 MMU table base address 0x33 Succeed memory mapping MAND device Manufacture ID x76 Sansung KBSLD1208WV0W Found saved vivi parameters Press Return to start the LINUX now any other key for wiwi type help for help friendly arm friendly arm load flash vivi x Ready for downloading usimp xmexlem Waiting Tr Failed downloading file i sua load flash kernel x mapis for downloading sodden Z S PRA n 020 87530209 13719442657 Email capbily hotmail 138 com KELA HEREZ http www arm9 com cn 6 21 xmodem mroot 6 22 Prax Kl 6 23 Edt Temind Heip root capbily Found saved vivi parameters x Pr Select a file for upload ty Directory root fr bash historys bash designer galeon pcont
105. apbily hotmail 28 com http www arm9 com cn 3 7 USB EMO 3 8 USB HOST USB DEVICE 4 2 6 8600 SBC 2410X 5V S600 020 87530209 13719442657 Email ca 29 http www arm9 com cn 3 3V 3 9 SBC 2410X 3 3V 4 2 7 EX H SBC 2410X 2 0mm CPU BUS CTRL BUS CON BI j cmt 5 t 14 13 16 19 13 E 1 EB 19 ad E go 2 m s m 29 Be m mM r HM eE E an I 42 al ET 4a 020 87530209 13719442657 Email capbily hotmail 30 com AEN HERZ http www arm9 com cn 3 10 SBC 2410X
106. apbily udptalk x86 udptalk 192 168 0 230 2000 192 168 0 1 2000 peer peer Hello Capbily Hello SBC 2410X peer 6 3 x86 udptalk 020 87530209 13719442657 Email capbily hotmail 85 com AEN HEB root capbily 0000 0000 0000 activate this console Ipeer Hello SBC 2410X 6 4 SBC 2410X arm udptalk 6 2 5 6 3 Linux http www arm9 com cn boa server version Boa 0 94 13 boa server built Feb 28 2004 at 2 boa starting server pid 34 port O Linux ERKKA AS DUE E filas B WJ OCT A OCT SCIT ARS TG 020 87530209 13719442657 Email capbily hotmail 86 com KELA HEB ZJ http www arm9 com cn e open0
107. at vidcat h root fa vidcat h vidcat Invalid option h VidCat Version 0 7 2 Usage vidcat options b make a raw PPM instead of an ASCII one d device video device default dev video f ppmljpeg pnglyuv4mpeg output format of the image g greayscale instead of color i tv comp1 comp2 s video which input channel to use loop on doesn t make sense in most cases n pallntsc secam select video norm o file write output to file instead of stdout p c gly Y videopalette to use q quality only for jpeg quality setting 1 100 default 80 s NxN define size of the output image default 320x240 Example vidcat xsetbg stdin 4 3 4 3 1 ifconfig ifconfig SBC 2410X lo loopback 020 87530209 13719442657 Email capbily hotmail 46 com LE HEIZ http www arm9 com cn rey REE FC eT Ay Bia e3 O15 erl eth
108. bily hotmail 99 com KELA HEB ZJ http www arm9 com cn struct key_info k int 1 for 1 0 1 lt sizeof key info tab sizeof key_info_tab 1 14 4 k key_info_tab 1 free_irq k gt irq_no buttons_irq file_operations HJ ix REFR SK l static int matrix4_buttons_read struct file file char buffer size t count loff t ppos static Int key Int flags Int repeat if ready return EAGAIN if count sizeof key value return EIN VAL save flags flags if key key value key key value repeat 0 else repeat 1 restore_flags flags if repeat return EAGAIN 4 H copy to user 1081222 P Z u copy to user buffer amp key sizeof key ready 0 return sizeof key value static unsigned int matrix4 buttons select struct file file 020 87530209 13719442657 Email capbily hotmail 100 com KELE DE JJ http www arm9 com cn struct poll_table_struct wait if ready return 1 poll_wait file amp buttons_wait wait return 0 static int matrix4_buttons_ioctl struct inode inode struct file file unsigned int cmd unsigned long arg switch cmd default return EINVAL static struct file_operations matrix4_buttons_fops owner THIS MODULE ioctl matrix4 buttons loctl poll matrix4 buttons select read matrix4 buttons read le stat
109. e 8 q USB Qtopia 020 87530209 13719442657 Email capbily hotmail 58 com AEN HERZ virtual framebuffer 240x http www arm9 com cn File View Help Terminal Font Options m 7 co e Q EA Croot capbily gqtopial B 4 ns eme See eg ze Tab q Ts s shite e Te v Te n T e aaa j QE SP 1558 020 87530209 13719442657 Email capbily hotmail com 39 KELE DE CZ JJ http www arm9 com cn w Virtual framebuffer 240x hello Text Editor x File Edit View D lt S gt 7m Friendly hella SBC 24 1041 Qtopia 020 87530209 13719442657 Email capbily hotmail 60 com KELE JJ http www arm9 com cn v Virtual framebuf
110. ere is a list of the minimum levels of software necessary to compile the vivi Gnu C 2 95 3 Gnu make 3 79 1 binutils 2 11 2 020 87530209 13719442657 Email capbily hotmail 158 com KELA HEB ZJ http www arm9 com cn And then your host platform are installed these tools You have a cross compiler and tool chains You have a Baurne Again shell bin bash You have a ncurses library 2 2 Straight forward compilation The compiliation configuration environment of the vivi is simlilar to the environment of the linux kernel So you can do make distclean make clean make oldconfig make menuconfig and make config General compiling sequence sequence IS 1 make distclean 2 make menuconfig 3 make Note that If you change configurations run make clean and make Next two sections describes compilation of two examples 2 3 SA 1110 Based machines with the NOR flash I will take an example about the vivi compliation I assumed that a target platform s core block Is composed like this CPU SA 1110 processor ROM 32MB Intel Strata Flash 32 bit wide RAM 32MB DRAM These features make sense to you Many platforms I have met is designed core block like above For instance KINGS GILL and ENDA s core block is designed like this Therefore you refer to vivi arch def configs kings vivi arch def configs gill and vivi arch d ef configs enda If you wa
111. eturn 0 static Int smdk2410_audio_open struct inode inode struct file file Int cold audio active DPRINTK audio open if file f flags amp O ACCMODE O_RDONLY if audio refcount audio wr refcount return EBUS Y audio rd refcount else if file f flags amp O_ACCMODE WRONLY if audio wr refcount return EBUS Y audio wr refcount4 4 else if file f flags amp ACCMODE O_RDWR if audio refcount audio wr refcount return EBUS Y audio rd refcount audio wr refcount4 4 else return EINVAL if cold audio rate AUDIO RATE DEFAULT audio channels AUDIO CHANNELS DEFAULT audio fragsize AUDIO FRAGSIZE DEFAULT audio nbfrags AUDIO NBFRAGS DEFAULT if file f mode amp FMODE_WRITE init s3c2410 iis bus tx audio clear buf amp output stream j if file f mode amp FMODE READ 020 87530209 13719442657 Email capbily hotmail 107 com RBZ DEB http www arm9 com cn init s3c2410 iis bus rx audio clear buf amp input stream MOD INC USE COUNT return 0 Xii 200 SRA DMA DMA DMA ARM HER RAM tu DAE Hr P RS RAM read write
112. fer 240x File View Help Edit Contact Details Personal Title First capbily Pronunciation li Middle Mame yang Last Name Pronunciation Suffix EN p 1 2 3 4 s e 7 m o a US ESTER DIR ETC Ete a tc Shift z x c v b n m shift Cml Ak Ale Ctr Eg f 1 0 VNC 7 1 5 HES VNC aaa VNC SBC 2410X VNC 2 JP mua PC Redhat9 0 020 87530209 13719442657 Email capbily hotmail 61 com 7 8 87 7 http www arm9 com cn 4 SBC 2410X VNC Redhat 4 4 2 75 AK d HERI TK SEAR N Y EmA BB ERE USB HERY HERRA AE St ee AZ Hj 020 87530209 13719442657 Email 62 AEN HERZ E H T x e J MLC Z i FH IR R http www arm9 com cn v Virtual framebutfer 240x Help x BALI 622 020 87530209 13719442657 Email capbily hotmail com 03 KELE JJ http www arm9 com cn Virtual framebuffer 240x File Miew
113. ic devfs handle t devfs handle Static int init matrix4_buttons_init void int ret ready 0 PE MICE Vt 8 ret register_chrdev BUTTON_MAJOR DEVICE_NAME amp matrix4_buttons_fops if ret lt O printk DEVICE_NAME can t register major number n return ret j 020 87530209 13719442657 Email capbily hotmail 101 com KELE JJ http www arm9 com cn ret request_irqs if ret unregister chrdev BUTTON MAJOR DEVICE NAME printk DEVICE NAME can t request irqs n return ret devfs handle devfs registerrNULL DEVICE NAME DEVFS FL DEFAULT BUTTON MAJOR 0 S IFCHR S IRUSR S IWUSR amp matrix4 buttons fops NULL return 0 j static vold exit matrix4 buttons exit void devfs unregister devfs handle free irqs unregister chrdev BUTTON MAJOR DEVICE NAME module init matrix4 buttons init module exit matrix4 buttons exit MODULE LICENSE GPL 3 led arm linux gcc D KERNEL I friendly arm kernel include DKBUILD_BASENA ME matrix4 leds DMODULE C 0 matrix5 buttons o matrix5 buttons c matrix5 buttons o lib C leds insmod lib matrix5 buttons
114. icom s minicom Xe PE eA EP Serial port setup A Serial Device 1 dev ttyS0 2 dewttyS1 PRA n 020 87530209 13719442657 Email capbily hotmail 153 com http www arm9 com cn Serial Device dev ttysp lorkfile location lvmr lnck Callin Program l Callout Program Bps TFar Eitsa soo EHI Hardware Flos Control Yeu Software Flow Contral Ho Changes which setting I a a as Screen med keyboard Save grep dil Save setup Exit Exit from Minicom ixB Serial Device jz E AWE bps par Bits I 5 115200 droote capbily Shell Konsole lem tata y Serial Current 115200 KK Lackfile 1 Callin P eed Farity Data allet F Bpe Par A 5 Wardware F H M E Ti n ij y Software T t 2 D Change whic E i Choice or Enter to exit F
115. ings Q very quiet be quiet and do not show warnings display time MODE use default verbose time display MODE remaining current overall Decoding downsample reduce sample rate 2 1 1 1gnore crc ignore CRC errors ancillary output PATH write ancillary data to PATH Audio output 0 output TY PE PATH write output to PATH with format TYPE below b bit depth DEPTH request DEPTH bits per sample R sample rate HERTZ request HERTZ samples per second d no dither do not dither output PCM samples fade in DURATION fade in songs over DURATION default 0 05 a attenuate DECIBELS attenuate signal by DECIBELS a amplify DECIBELS amplify signal by DECIBELS A adjust volume DECIBELS override per file volume adjustments Channel selection left output first left channel only 2 right output second right channel only m mono mix left and right channels for monaural output S stereo force stereo output Playback J M 38 Z RBC RAH 020 87530209 13719442657 Email capbily hotmail 44 com RBZ 2 s Start TIME t time DURATION z Shuffle r repeat ZMA X tty control no tty control Miscellaneous V version license h help Supported output formats http www arm9 com cn skip to begin at TIME HH MM SS DDD play only for DURATION HH MM SS DDD randomize file list play files MAX times or indefinitely enable keyboard contro
116. insmod unresolved symbol hidinput disconnect Using lib usbmouse o usb c registered new driver usb mouse usbmouse c v1 6 USB HID Boot Protocol mouse driver Using lib usbkbd o usb c registered new driver keyboard usbkbd c USB HID Boot Protocol keyboard driver 04 Dec 2030 15 57 15 0000 boa server version Boa 0 94 13 04 Dec 2030 15 57 15 0000 boa server built Feb 28 2004 at 21 47 23 04 Dec 2030 15 57 15 0000 boa starting server pid 37 port 80 Please press Enter to activate this console BusyBox v0 60 5 2003 09 05 09 254 0000 Built in shell ash Enter help for a list of built in commands sh can t access tty job control turned off 020 87530209 13719442657 Email capbily hotmail 130 com http www arm9 com cn root Q fa 6 6 e bootloader vivi e kernel e 6 6 1 cramfs yaffs NES Ji nfs bk
117. iptions with foolish sentences Table of Contents 1 Introduction 1 1 Definitions 2 Compiling the vivi 2 Pre Requirements 2 2 Straight forward compilation 2 3 SA 1110 Based machines with the NOR flash 2 4 S3C2410 Based machines with the NAND flash 3 Using the vivi 3 1 Interface between an user and the vivi 3 2 Built in user commands 3 2 1 load command 3 2 2 part command 3 2 3 param command 3 2 4 boot command 3 2 5 flash command 020 87530209 13719442657 Email capbily hotmail 157 com KELE BS JJ http www arm9 com cn 1 Introduction This document explains to you 1 compiling the vivi 2 interface an user and the vivi 3 avaliable user commands 1 1 Definitions Vivi The vivi is one of arm boot loaders Autoboot mode The vivi has two modes one of these is autoboot mode This is a default mode In this mode The vivi automatically boot up the linux kernel when a delay time is expired Prompt mode One of vivi s modes is prompt mode In this mode An user is able to command to the vivi doing something Host platform Generally an engineer develop the software on the powerful destktop computer not on the embedded machines This descktop called host platform Target platform Target platform means developemnt boards or embedded machines 2 Compiling the vivi This section describes how to compile the vivi 2 1 Pre Requirements H
118. ished 4096 bind 4096 NET4 Unix domain sockets 1 0 SMP for Linux NET4 0 NetWinder Floating Point Emulator V0 95 c 1998 1999 Rebel com FAT bogus logical sector size 42986 dev is 7936 name is 1f 00 VFS Mounted root yaffs filesystem Mounted devfs on dev Freeing init memory 56K 020 87530209 13719442657 Email capbily hotmail 124 com KELE WEEL Friendly ARM Tech Ltd http www arm9 net http www arm9 com cn http www arm9 com cn init started BusyBox v0 60 5 2003 09 05 09 25 0000 multi c 1 binary Using lib input o Using lib keybdev o insmod unresolved symbol handle_scancode insmod unresolved symbol keyboard_tasklet insmod unresolved symbol kbd_ledfunc Using lib mousedev o mice PS 2 mouse device common for all mice Using lib evdev o Using lib Icd640x480x32 0 Icd address is c4950000 33800000 LCD640x480x32 installed by capbily hotmail com http www arm9 net Using lib hid core o insmod unresolved symbol hidinput_connect insmod unresolved symbol hidinput_hid_event insmod unresolved symbol hidinput_disconnect Using lib usbmouse o usb c registered new driver usb_mouse usbmouse c v1 6 USB HID Boot Protocol mouse driver Using lib usbkbd o usb c registered new driver keyboard usbkbd c USB HID Boot Protocol keyboard driver 04 Dec 2030 15 58 07 0000 boa 04 Dec 2030 15 58 07 0000 bo
119. j Jy B friendly arm kernel drivers char matrix5 buttons c 1 SBC 2410X 4 IO CPU 020 87530209 13719442657 Email capbilyG hotmail 96 com KELE DEEZ http www arm9 com cn VDDASV TEL EIN TS EINT 6 7 2 include lt linux config h gt include lt linux module h gt include lt linux kernel h gt include lt linux init h gt include lt linux miscdevice h gt include lt linux sched h gt include lt linux delay h gt include lt linux poll h gt include lt linux spinlock h gt include lt linux irg h gt include lt linux delay h gt 020 87530209 13719442657 Email capbilyG hotmail 97 com Kk ZE 87 7 include lt asm hardware h gt http www arm9 com cn define DEVICE buttons E V TZ BU AY define BUTTON MAJOR 232 X TRE Ew e S static struct key info int irq no unsigned int port int key no key info tab 4 CPU IRQ EINTI GPIO_F1 1 IRQ_EINT2 GPIO_F2 2 IRQ_EINT3 GPIO_F3 3 IRQ_EINT7 GPIO_F7 4 static Int ready 0 static int key value 0 static DECLA
120. ls disable keyboard controls display version number and exit show copyright license message and exit display this help and exit cdda CD audio 16 bit 44100 Hz stereo PCM cdr cda aiff Audio 16 bit PCM aif aiff wave Microsoft RIFF WAVE 16 bit PCM wav snd Sun NeXT audio 8 bit ISDN mu law au snd raw binary 16 bit host endian linear PCM hex ASCII hexadecimal 24 bit linear PCM null no output decode only madplay your mp3 your mp3 4 2 5 SBC 2410X dev scsi host1l bus0 target0 lun0 part Linux dev scsi host1 bus0 target0 lun0 part1 dev sdal etc init d reS dev sdal USB HOST USB HUB mount dev sdal mnt mnt x 020 87530209 13719442657 Email capbily hotmail 45 com KELE BS JJ http www arm9 com cn 4 4 6 USB vidcat vide
121. ly hotmail com Z BR A ri J MTU Aquya A Vo eRe eK 1505 020 87530209 560630 Email capbily hotmail com http www arm9 net http www arm9 com cn 020 87530209 13719442657 Email capbily hotmail 4 com KELE BS JJ http www arm9 com cn 9 1 1 AE S 9 9 1 2 1 7 ASK ELE WR I 9 1 2 2 Leere 9 1 2 3 mizi ANE 10 SBC 2410X 11 Dua 2 11 2 2 SBC 2410X i 12 2 2 1 ananas 13 13 2 2 3 ed P 14 2 16 2 17 18 ST IU 18 SE 19 Step3 LCD 19 Stepd NDS SIR DUE 20 1 LCD nn 20 2 M NERA 21 Steps WindowSsCE 22 1 22 P3 23 SBC 2410X 24 4 1 SBC 2410X RN 24 DE 25 LESE LAN RN 25 4 2 2 1 COM 26 4 2 3 1 3 COM1 3
122. m cn 1 2 2 DCS8900A Cirrus Logic ISA Ethernet controller chip http www cirrus com 2MAX3232CSE maxim http www maxim com 020 87530209 13719442657 Email capbily hotmail 9 com KELE WEEL 3HY57V561620BT Fs AE P as http www samsungsemi com K9F5608U0C EE S AS ZS a AE http www arm9 com cn 1 2 3 mizi COSE Ei BEE S IS n http www samsungsemi com OHH mizi http www mizi com 020 87530209 13719442657 Email capbilyG hotmail 10 com http www arm9 com cn B H SBC 2410X fF vi SBC2410X PC 2 1 SBC 2410X e SBC 2410X Linux DVD DBO fW Ae 26 RJ 45 USB HZ JTAG 5V 2 5A 5Y 2 5A DVD USER HOM m 4 i I sBC 2410X 2 1 SBC 2410X
123. mixer 1octl inode file cmd arg return 0 j write read KAAM DMA static ssize_t smdk2410_audio_read struct file file char buffer size t count loff t ppos const char bufferO buffer audio stream t s amp input stream int chunksize ret 0 DPRINTK audio read count d n count if ppos amp file gt f_pos return ESPIPE FERA GR DOR fr if s buffers int 1 if audio setup buf s return ENOMEM PAK UK M BAP ER PASAY for i 0 1 lt s gt nbfrags i audio_buf_t b s gt buf 020 87530209 13719442657 Email capbilyG hotmail 115 com KELA HEREZ http www arm9 com cn down amp b gt sem s3c2410_dma_queue_buffer s gt dma_ch void b b gt dma_addr s gt fragsize DMA BUF RD NEXT BUF s buf while count gt 0 audio buf t b s gt buf if file gt f flags amp NONBLOCK ret EAGAIN if down trylock amp b sem break else ret ERESTARTSYS if down_interruptible amp b
124. n 86 6 3 Linux 86 6 3 1 Linux 87 6 3 2 92 06 ED 93 6 3 4 96 6 3 5 nn n nn 103 6 4 Bootloader nn 118 6 4 1 bootloader 118 O A A 118 6 5 kerneD 0 121 RE E E 121 6 6 1 yaffs 122 6 6 2 JW NFS 126 00 131 020 87530209 13719442657 Email capbilyG hotmail 7 com KELE 82 JJ http www arm9 com cn 6 6 1 131 6 6 2 gas 134 142 OE E o A ETEINEN E T E 142 17d ii E m 142 7 1 2 MICrowindows Nano X uu L dente uq u lu tede Paste dedi en ues 143 Un 144 7 2 Qt Embedded IN X GUI 0 144 7 2 1 Qt Embedded 144 ov A PC Fy Helo SC VL cc oo oe ee EN EE 145 DO dia 147 7 3 Microwindows Nano X A sN GUI 0 148 7 3 1 Microwindows Nano X 148 7 32 F PG ij Hello SBC 2410X C 148 UCM Ke 148 A Windows Lee
125. nt to compile vivi for KINGS e a configuration of a target board alredy exist in the vivi arch def cofnigs just do like this make kings Other machines can complie same ways 020 87530209 13719442657 Email capbily hotmail 159 com http www arm9 com cn 2 4 S3C2410 Based machines with the NAND flash Here I will take an example about a S3C2410 Based machine The SMDK 2410 a development board by SAMSUNG 15 a 53C2410 Based machine The core block of SMDK 2410 is composed like this CPU 53 2410 ROM 64MB SMC NAND Flash RAM 64MB DRAM A configuration for SMDK 2401 will be found atvivi arch def configs smdk2410 To compile for SMDK 2410 do like this As I described above make smdk2410 3 Using the vivi 3 1 Interface between an user and the vivi The vivi uses the serical communication for user interface Therefore to connect the vivi you 1 connect a serial cable between host platform and target platform 2 already have a serial communication program like the minicom 3 properly make the vivi binary to support a UART port when you configure the vivi If all of above is ok you can see messages on the screen printed by the vivi For example below messages catched from the SMDK 2410 See the last line on the screen As I mentioned section 1 1 the vivi has two mode an autoboot mode and a prompt mode
126. o rmmod matrix5 buttons it SBC 2410X Linux 4 friendly arm examples buttons 020 87530209 13719442657 Email capbily hotmail 102 com KELE DEEZ http www arm9 com cn 6 3 5 SBC 2410X E F W friendly arm kernel drivers sound s3c2410 uda1341 c 1 DS S3C2410X PS IS DS FIFO DMA S3C2410X I2S 3 ISCON FIFO FIFO TNT ISCON
127. ode amp READ if input stream bufters return EB US Y get user val int arg audio fragsize 1 lt lt val amp OxFFFF if audio fragsize 16 audio fragsize 16 if audio fragsize gt 16384 audio fragsize 16384 audio nbfrags val gt gt 16 amp Ox7FFF if audio nbfrags 2 audio nbfrags 2 020 87530209 13719442657 Email capbily hotmail 112 com KELE HEB ZJ http www arm9 com cn if audio_nbfrags audio_fragsize gt 128 1024 audio_nbfrags 128 1024 audio_fragsize if audio_setup_buf amp input_stream return ENOMEM break case SNDCTL DSP SYNC return audio sync file case SNDCTL DSP GETOSPACE audio stream t s amp output_stream audio buf info inf audio buf info arg int err verify area VERIFY WRITE inf sizeof inf int 1 int frags 0 bytes 0 if err return for i 0 1 lt s gt nbfrags i if atomic read amp s buffers 1 sem count gt 0 if s gt buffers i size 0 frags bytes s gt fragsize s gt buffers 1 size j put user frags amp inf gt fragments put user s nbfrags amp inf gt fragstotal put user s fragsize amp inf gt fragsize put user bytes amp inf gt bytes break case SNDCTL DSP GETISPACE audio_stream_t s amp Input_stream audio buf info inf audio buf info arg
128. onfiguration and management Sample Only WEB configuration and management Sample Only Network pine ping Ifconfig route inetd ifocnfig route inetd login sh echo discard cat chmod discard echo flashfsd Linux flashwrite free genhtml hostname init kill loader Is mkdir mount ps reboot rm smanaged sysconf yes insmod Ismod rmmod madplay mp3 AW LED TI FF l Qt EMBEDED FA ik SLAB JP S ER MESI ATER armsql HT BONG IR BEIM PE KY AG 2 2 SBC 2410X MIZI mizi ISO mizi S3C2410X PNAC 2 BR ZS 020 87530209 13719442657 Email capbily hotmail 16 com KELA BB RZ JJ http www arm9 com cn Mizi JT EEA EH GB od 4 b SC ORCAD PDF GNU gcc SBC 2410X HX AF SBC 2410X A SX Linux
129. or help friendly arm param set linux cmd line console ttySO root dev nfs nfsroot 192 168 0 1 friendly arm root ip 192 168 0 69 192 168 0 1 192 168 0 1 255 255 255 0 matrix4 arm9 net ethO off Change linux command line to console ttySO root dev nfs nfsroot 192 168 0 1 friendly arm root ip 192 168 0 69 192 168 0 1 192 168 0 1 255 255 255 0 matrix4 arm9 net ethO off friendly arm gt boot Copy linux kernel from 0x00030000 to 0x30008000 size 0x00100000 done zlmage magic 0x016f2818 Setup linux parameters at 0x30000100 linux command line is console ttySO root dev nfs nfsroot 192 168 0 1 friendly arm root ip 192 168 0 69 192 168 0 1 192 168 0 1 255 255 255 0 matrix4 arm9 net ethO off MACH_TYPE 193 NOW Booting Linux Lincompkressine hi done booting the kernel Linux version 2 4 18 rmk7 pxal root capbily gcc version 2 95 3 20010315 release 9 Wed Oct 6 17 00 54 CST 2004 CPU ARM CIRRUS Arm920Tsid wb revision 0 Machine Samsung SMDK2410 On node 0 totalpages 16384 zone 0 16384 pages zone 1 0 pages zone 2 0 pages Kernel command line console ttySO root dev nfs nfsroot 192 168 0 1 friendly arm root ip 192 168 0 69 192 168 0 1 192 168 0 1 255 255 255 0 matrix4 arm9 net ethO off DEBUG timer count 15626 Calibrating delay loop 99 94 BogoMIPS Memory 64MB 64MB total Memory 62676KB available 1374K code 364K data 56K init Dentry cache hash table entries 8192 order 4 65536 bytes
130. ot delay 100000 3 2 4 boot command A boot command is boot the linux kernel which is stored in the flashmemroy or ram Usage boot media type lt partname gt lt addr gt size media type This argument is where to store the linux kernel image Availabe values are ram nor and smc partname or addr size This arguement determines location where to store the linux kernel If you want to use pre defined mtd partiton information just type a partition name Otherwise you shuld specify an address and a size Note that all argument is optional If you omit all argument just type boot all arguments is parsing from pre defined mtd parititon information called kernel For example vivi boot the vivi read the linux kernel binary from the kernel mtd parititons vivi boot nor 0x80000 the vivi read the linux kernel binary form the nor flash memory The offset is 0x80000 and the size is default value 0xc0000 Ocassionally you want to test the kernel 020 87530209 13719442657 Email capbily hotmail 162 com KELA HEB ZJ http www arm9 com cn on the ram not store kernel to flash you can do it on the vivi On the SA 1110 based machine vivi gt load ram 0xc0008000 x vivi gt boot ram On the S3C2410 based machine Vivi gt load ram 0x30008000 x vivi boot ram On the PXA 240 based machine vivi gt load ram 0xA0008000 x vivi boot
131. p for help friendly arm lI 6 19 vivi load flash kernel x ME FMi TANI WE 7 16 load vivi flash flash kernel kernel x xmdoem Ctrl a s xmodem 020 87530209 13719442657 Email capbily hotmail 137 com se E 7 http www arm9 com cn gt Fle Edt View Termiral Help Welcome to minicon 7 00 0 OPTIONS History Buffer F key Macros Search History Buffer 118m Compiled om Jan 25 2003 00 15 18 Press CTRL A Z for help on special keys friendly arm VIVI version 0 1 4 root amp capbily gcc version 2 95 3 20010315 release 40 1 4 table hase address xiz3DECOOQ Succeed memory mapping NAND device Manufacture ID xec Chip ID 0x76 Samsung KSD1208UDM Found saved vivi parameters Press Return to start the LINUX now any other key for vivi type help for help friendly arm load flash kernel x Ready for downloading using xmodem 6 20 lo
132. pbilyG hotmail 54 com RELI BRB E Virtual framebuffer240x File View Help Media Plaver http www arm9 com cn SBC 2410X Camra Tracer RON Open Source PRA n 020 87530209 13719442657 Email capbily hotmail 55 com http www arm9 com cn E g USB Qtopia PRA n 020 87530209 13719442657 Email capbilyG hotmail 56 com KELE JJ http www arm9 com cn gt Virtual framebuffer 240x File view Qtopia bmp png xpm 020 87530209 13719442657 Email capbily hotmail 57 com RBZ MEBELI http www arm9 com cn ww Virtual frameabufferz30x File view Help shht0006 bmp Image Viewer x Image View u
133. ppppppPPPPPPPPPPPPPPPPPPPPPPPPPPP K55608 MAND Flash JTAG Programmer Ver 0 0 k K55608 Progr am ESSER Pr Bl kPage Select the function to test 2 rom Grapbily Iflash D 6 18 JTAG vivi vivi Flash vivi B VIVI vivi minicom SBC 2410X vivi vivi 020 87530209 13719442657 Email capbily hotmail 136 com KELE DEEZ http www arm9 com cn capbily Fle E t View Terminal Go Help Welcome to minicom 2 00 0 OPIIONS History Buffer F key Macros Search History Huffer 1 Compiled on Jan 25 2003 00 15 18 Press CTEL A Z for help on special keys iriendly armo VIVI version 0 1 4 root amp capbily gcc version 7 95 3 200103315 release 0 1 4 MNU table base address O0x33DFCOO0 Succeed memory mapping WAND device Manufacture ID Ovec Chip ID x76 Samsung KSD120E8WUOUNW Found saved vivi parameters Press Return to start the LINUX now any other key for vivi tvpe hel
134. rc d init d leds stop led player led led root fa led Usage leds led_no 0 1 led no led 0 1 2 3 0 1L led 21 LED3 4 2 3 buttons buttons SBC 2410X buttons Kl 127 129 buttons K2 2 130 buttons Ja FE K3 3 131 buttons Ja EP KA 4 132 0x80 020 87530209 13719442657 Email capbily hotmail 43 com KELE BS JJ http www arm9 com cn 4 2 4 Mp3 madplay madplay mp3 madplay hn madplay h Usage madplay OPTIONS FILE Decode and play MPEG audio FILE s Verbosity V verbose show status while decoding q quiet be quiet but show warn
135. riendly arm root ip 192 168 0 s 168 0 1 192 168 0 1 255 255 255 0 matrix4 net ethO off to minicom 7 00 0 OPTIONS History Buffer F key Macros Search History Buffer isn ompiled om Jan 75 2003 00 15 18 Press CIRL A4 Z for help on special keys VIVI version 0 1 4 root amp capbily pcc version 2 95 3 20010315 release 40 1 4 1 table base address Ux33DFCOMM Succeed memory mappinz AND device Mamafacture ID Over Chip ID 0x76 Samseng S01208V0M ould not found stored vivi parameters Use default vivi parameters Press Return to start the LINUX pow any other key for vivi type help fur help friendly arm param set limax cmd line console ttySO ront dev mnfs nfsroot 192 comsole ttyS0 root dev mis nfsraot 197 15H 0 1 iritten 49152 bytes Saved vivi private data friendly arm 6 12 nfs nfs 020 87530209 13719442657 Email capbily hotmail 126 com http www arm9 com cn VIVI version 0 1 4 root capbily gcc version 2 95 3 20010315 release 0 1 4 Mon Oct 4 16 20 35 CST 2004 MMU table base address 0x33DFC000 Succeed memory mapping NAND device Manufacture ID Oxec Chip ID 0x76 Samsung K9D1208VOM Found saved vivi parameters Press Return to start the LINUX now any other key for vivi type help f
136. s nenetenetntennenn 149 B minicom see 153 e a E E E N A A 157 Lodo e cn 158 Tae TDG O pen A E E EE 158 PE ea E E E E E E E E E E E E 158 Zl PTO ROT O GK DS esas bte o a T 158 2 2 Straight forward compilation 00 a a 159 2 3 SA 1110 Based machines with the NOR ash 159 2 4 S3C2410 Based machines with the NAND flash 160 NE 160 3 1 Interface between an user and the vivi mi nn 160 3 2 B ilt in user COMMANdS 00000 161 020 87530209 13719442657 Email capbilyG hotmail 8 com KELE BS JJ http www arm9 com cn 1 1 MATRIV SBC 2410X AU y SBC 2410X arm linux Bon 1 2 1 2 1 http www arm9 net http www arm9 co
137. tions of mtd device drivers The vivi uses partition informations when load a binary boot the linux kernel erase flash memroy etc Avalilable commands are Display mtd partition informations part show Add a new mtd partition part add lt name gt offset size flag lt name gt is name of a new mtd partiton lt offset gt 15 offset in the mtd device lt size gt is a size of a mtd parition lt flag gt 15 flags of a mtd parition Available valuse JFFS2 LOCKED and BONFS Delete a mtd partiton part del lt partname gt 020 87530209 13719442657 Email capbily hotmail 161 com KELA HEB ZJ http www arm9 com cn Reset mtd partitions to default values part reset Save paramter valuse and mtd parition informations to flash permanently part save 3 2 3 param command The vivi has some parameter values For example the boot_delay paramter determines how long wait keystroek when the vivi is in the autoboot mode I m sorry that this feature is in progress So all listed parameter is not available Here I give several tips for you If you change the linxu command line vivi gt param set linux cmd line you wish If you want to see paramters vivi param show If you want to wait a long time when recevie file via xmodem vivi param set xmodem initial timeout 3000000 If you want to boot imediately when a hardware reset vivi param set bo
138. ude lt linux poll h gt http www arm9 com cn include lt linux spinlock h gt include lt linux irg h gt include lt linux delay h gt include lt asm hardware h gt define DEVICE NAME eds 4E X led W4 amp HJ Z define LED MAJOR 231 led static unsigned long led table LO led GPIO B7 GPIO B5 GPIO B9 GPIO B10 4i H ioctl led static int matrix4 leds ioctl struct inode inode struct file file unsigned int cmd unsigned long arg switch cmd case 0 case 1 if arg gt 4 return EINVAL write gpio bit led table arg cmd default return EINVAL static struct file_operations matrix4_leds_fops owner THIS MODULE ioctl matrix4 leds_ioctl le Static devfs_handle_t devfs_handle 020 87530209 13719442657 Email capbilyG hotmail 94 com KELE DEEZ http www arm9 com cn static int init matrix4_ leds init void int ret int 1 IE AIA ret register chrdev LED MAJOR DEVICE NAME amp matrix4 leds fops if ret lt 0 printk DEVICE NAME can t register major number n return ret devfs handle devfs registerrNULL DEVICE NAME DEVFS FL DEFAULT LED MAJOR 0 S IFCHR S IRUSR S IWUSR amp matrix4 leds fops NULL set_gpio_ctrl
139. wxrwxrux 1 noone nogroup 3241039 Dec AR donggan mwav rw xrwxrws moore bale 4024640 Feb of 15 54 fa root cramfs noone nogroup 963 amp amp Sep 11 ZOI i wav rwxrwxrwx 1 noone nogroup d20452798 Mar 5 02 10 wrong wow d Transfer finished successfully J Tous eR i E 4 17 ftp 4 3 8 Ftp inetd SBC 2410X inetd ftp SBC 2410X G ftp C gt ftp 192 168 230 fa fa SBC 2410X 020 87530209 13719442657 Email capbily hotmail 50 com 4 3 10 AN Z JJ http www arm9 com cn 4 3 9 Web boa LED ERDE 390 n sk CA DU us DDR u C SBC 2410X SBC 2410X IP 192 168 0 230 web boa http 192 168 0 230 SBC 2410X Bicronefit Internet Ezplorur Eee see EFO WE TAT gt E 4 E 3j n REA eh QU e hui 192 168 0 231 LE Co MATRIX V Web

Download Pdf Manuals

image

Related Search

Guangzhou The arm of a friendly technology SBC 2410X Version0.9 Manual

Related Contents

      Pioneer STEEL WHEELS  Agilent 1100 Series HPLC insert for AB brochure (also attached) Manual            

Copyright © All rights reserved.
DMCA: DMCA_mwitty#outlook.com.