Home

Guangzhou 友善之臂 technology SBC-2410X Manual

image

Contents

1. e open0 e En EX read0 writeO ioct0 Linux
2. 125 L3 DMA T 020 87530209 13719442657 Email capbilyG hotmail 104 com 2 6 0 82 77 http ww
3. Linux P Z 4 o malloc free f kmalloc kfree 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
4. 1220 20 JTAG SD RJ 45 PDA DFA IVES OI ERB HES ITY RA CE DB io 120mmx90mm PDA SBC 2410X MIZI Zt arm
5. socket SOCK_DGRAM sockfd socket AF_INET SOCK DGRAM 0 socket APR 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 socket 1 6 2
6. NFS 6 6 1 NFS 020 87530209 13719442657 Email capbily hotmail 141 com KELE BS JJ http www arm9 com cn RASH PH Ae HS Fe 7 1 BATA aT 7 1 1 Qt Embedded Qt Embedded fii f QE Qt Trolltech QtE Wi Qt QtE e Java QUE QtE QtE
7. S3C2410X PNAC 2 BR ZS 020 87530209 13719442657 Email capbily hotmail 16 com 2 6 Bf RZ JJ http www arm9 com cn Mizi JT EEA EH GB od 4 SER C ORCAD PDF GNU gcc SBC 2410X HX AF SBC 2410X A SX Linux 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 40GB fB uj HJ IE CD ROM o o e e USB Intel Jtag 020 87530209 13719442657 Email capbilyG hotmail 17 com
8. open read write ioctl closeO openQ Linux WHE 6 3 1 1 Linux 3 1 2 VO sleepO 3
9. 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 Linux Linux cleanup_module0O int unregister chrdev unsigned int major const char name major name Linux name major EINVAL WR major EINVAL
10. MiniGUI GUI 722 MiniGUI MiniGUI Threads MiniGULLite MiniGULThreads MiniGUI Lite MiniGUI Threads MiniGUI Lite PDA 178 MiniGUI 7 2 Qt Embedded AX GUI QtE SBC 2410X QtE 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
11. IO fig H open VASES 1 2 3 Linux 020 87530209 13719442657 Email capbilyG hotmail 91 com 2 6 16 82 77 http www arm9 com cn
12. ARM Linux Linux 1 2 3 Ne 4 file_operations 5 6 insmod 7 020 87530209 13719442657 Email capbilyG hotmail 92 com KELE 82 771 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 WD 2 2 nLED 1 LEDI SMD TYPE GREEN RES K b PA ED gt LED SMD TYPE GR
13. 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 route route add default gw 192 168 0 1 192 168 1 1 route del default 020 87530209 13719442657 Email capbily hotmail 47 com 2 6 06 82 77 http www arm9 com cn 4 3 2 ping ping ping 3 192 168 0 80 192 168 0 80 E 0 xi zur gH map Ga hes ha pang TO P B s J SMA Ae Mm ping c 192 168 0 80 4 3 4 traceroute
14. c b 6 3 1 Linux Linux e 020 87530209 13719442657 Email capbilyG hotmail 87 com KELE BS JJ http www arm9 com cn Fr Ci SOF RSH JT E EE AS FSR alt Fr TER DS BR 6 5 Linux 6 5 Linux Linux
15. Linux Linux 020 87530209 13719442657 Email capbilyG hotmail 88 com 2 6 06 82 77 http www arm9 com cn LO Linux le_operations linux fs h file operations
16. 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 GPB 4 L3CLOCK OUTPUT set gpio ctrl GPIO L3CLOCK GPB 3 L3DATA OUTPUT set gpio ctrl GPIO L3DATA GPB 2 L3MODE OUTPUT set gpio ctrl GPIO L3MODE 020 87530209 13719442657 Email capbilyG hotmail 105 com KELE BS 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 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
17. 020 87530209 13719442657 Email capbilyG hotmail 81 com KELE BS JJ http www arm9 com cn HEISE T HW l l socket socket l bind bind 2 s pd 8endto recvfromi t l ede fey l t revcfrom lt sendto close close 6 2 UDP E1481 IP fead0 writeO0 recvfrom0 sendto HRA RE AG 0 sendto0 msg ix NULL
18. led 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 4E 1k led player etc 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 Ja 4 F KI 127 129 buttons K2 2 130 buttons Ja FE K3 3 131 buttons Ja EP KA 4 132 0x80 020 87530209 137194426
19. rw no root squash root exports Fl o SBC 2410X HJ EELE 11 2 PRESE vivi nfs param_nfs txt param set linux cmd line console ttySO root dev nfs nfsroot 192 168 0 1 friendly 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 irit
20. read AA buf count inode I blksize write read select select AF select VO ioctl cmd 020 87530209 13719442657 Email capbilyG hotmail 89 com 2 6 06 82 77 http www arm9 com cn mmap H Td 6 RA Di URSI open VO TRE RE 0 open dewdevice release close file operations file operations
21. source AR WAT SHE PAS A Se Hal 4 1 4 rm rm file 020 87530209 13719442657 Email capbilyG hotmail 39 com KELE BS SZ 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 diff filel file2 1 2 4 1 7 echo echo message HAD ZN PTIT echo message message2 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 mo
22. 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 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
23. flash jffs2 Flash SBC 2410X yaffs NFS ARM 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 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 0x300080
24. 020 87530209 13719442657 Email capbilyG hotmail 100 com KELE BS JJ http www arm9 com cn struct poll_table_struct wait if ready return 1 poll_wait file amp buttons_wait wait return 0 j static int matrix4 buttons 1octl 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 static 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 capbilyG hotmail 101 com KELE BS 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 j static vold exit matrix4 buttons exit void devfs unregister devfs handle free
25. 4 3 1 ifconfig ifconfig SBC 2410X lo loopback 020 87530209 13719442657 Email capbilyG hotmail 46 com LE http www arm9 com cn rey REE FC eT Ay Bia e3 O15 em eth rnetmFa H ifconfig Link emcap Ethermet ERU amp DBLRST EUHHIMZ MALTICAST TSG 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 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 20 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
26. struct file buffer 0 if s gt mapped s gt actice DMA FEI DMA DMA while copy_to_userO copy_to_user0
27. 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 2 6 06 82 77 http www arm9 com cn switch cmd case SNDCTL DSP get user val long arg if val amp AUDIO FMT MASK audio fmt val break else return EINVAL case SNDCTL DSP CHANNELS 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 BS 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
28. printk printf Printf 020 87530209 13719442657 Email capbilyG hotmail 90 com 2 6 16 82 JJ http www arm9 com cn syslog 6 3 1 3 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 EINVAL EBUSY
29. 600K IH C T QE QE QtE e HAI Qt FEIN API Qt API F e e QE e e QU CPU LE LENA ERKAK 020 87530209 13719442657 Email capbilyG hotmail 142 com 2 6 06 82 77 http www arm9 com
30. 77 6 22 LED 78 79 6 2 4 UDP 81 86 6 2 6 USB 86 6 3 Linux 86 6 3 1 Linux 87 6 3 2 92 06 ED 93 6 3 4 96 6 3 5 103 6 4 Bootloader nnnm mener 118 6 4 1 bootloader 118 04 2 8 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 CE 142 7 1 2 Microwindows Nano X Paste dedi en ues 143 y M Xie B TT 144 7 2 Qt Embedded IN X GUI
31. 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 Z S PRA n 020 87530209 13719442657 Email capbilyG hotmail 32 com KELE BM JJ http www arm9 com cn 4 2 10 HF LED SBC 2410X 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 Support
32. 5 11 s Ja fH dma_queue_bufferO 020 87530209 13719442657 Email capbilyG hotmail 117 com KELE BS JJ http www arm9 com cn 6 4 Bootloader 6 4 1 bootloader AMR PC CMOS firmware bootloader bootloader Kernel flash RAM e flash RAM flash e bootloader vivi Vivi mizi ARM bootloader vivi SBC 2410X 6 4 2 vivi vivi cd friendly
33. 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 cd mnt cdrom SBC 2410 Linux Step4 2252810 tar xvzf arm linux toolchains tgz C Step5 SBC 2410X tar xvzf matrix5 kernel tgz C friendly arm Step6 2 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 22 HFEF ANH tar Xzvf tgz friendly arm Step10 020 87530209 13719442657 Email capbily hotmail com 75 2 6 06 82 77 http www arm9 com cn cat exports gt gt etc exports Stepll H etc init d nfs restart Step12 umount dev cdrom eject a
34. Windows9x Windows2000 KE rah AW AR A Linux minicom Windows Windows2000 27171 Windows 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 capbilyG hotmail 149 com AN Z JJ http www arm9 com cn Terminal T fou need
35. 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 siri com acr version 2 55 3 release eo 14 01 19 KST 2840 i ae M address CUBP Succend memory manning desicu MU wec Chip ID Wis Samsung Could mot found stored vivi parameters Use default vivi parameters Frees Hedurn to alai the LIMIE nme any other kep yiiri 4 7 VIVI sme nee USE bus registered a signed hus number 1 n rand 7 TEP 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 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
36. 2 2 2 DIY 2 27 SBC 2410X 120mmx90mm 64M SDRAM 64M Nand Flash 1M Boot Flash USB Host USB slave SD CPU PC DIY Mp3 DIY 020 87530209 13719442657 Email capbilyG hotmail 13 com EZB Be Z JJ 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
37. 7 1 2 Microwindows Nano X Mirowindows http www microwindows org Linux PC X Windows Microwindows X Windows Microwindows 100KB 60KB Microwindows 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
38. Linux Microwindows W Microwindows NanoGUI Microwindows WIN32 API Microwindows X Windows Xlib X11 Microwindows Nanx X Nano X Microwindows 2003 5 HJ Afi Ji 0 90 Mincrowindows 020 87530209 13719442657 Email capbilyG hotmail 143 com KELE BS JJ http www arm9 com cn 7 1 3 MiniGUI MiniGUI GPL 5 Linux WSEIN A SEE TE P CBE E MiniGUI
39. do while X X D X 2 4 ioctl loct ioctl ioctl switch case 125 TIS S3C2410X HS fus 8 00khz P WREEF codeclk 384 8x384 3 0720MHz A PCLK N 1 3 072MHz N 50 75 3 072 1 15 67 0x10 IISPSR 0 4 B 5 9 A JISPSR rIISPSR 15 lt lt 5 15 ioctl
40. 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 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 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 capbilyG hotmail 95 com
41. UDA1341TS 020 87530209 13719442657 Email capbilyG hotmail 103 com KELE BS 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 I SLRCK 17 Ws TESTI SSDI E 7 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
42. 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 VE bk imagewrite flash bootloader kernel XT imaewrite rot amp capbilyzopt gtopia File Edt View Terminal Go oot capbtyjopvat size 828608 block les Done Please reboot using nfs 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 h
43. CGI LED 47 4 19 2 4 18 IE SBC 2410X F AARE wbR EXE irap MELIUS Joj x grep ambo Bo XS IAD LJ EE QA Dm eet cy 2 KH E tp i j ums MIRA Iy Web le 35 ia E LED r DAT DE s ui ecd t 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
44. driver FTP 020 87530209 13719442657 Email capbilyG hotmail 15 com KELE DE BZ http www arm9 com cn Web base management suite Sample only FRU EI ara ABIRE Local console through RS232 and telnet remote telnet configuration and management Sample Only WEB configuration and management Sample Only Network ping 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 QUEMBEDED FA HRA SLAB LP Bt PTA ATER armsql ii HT BONG IR BEIM PE 2 2 SBC 2410X MIZI mizi ISO mizi
45. DS FIFO DMA S3C2410X I2S 3 ISCON FIFO FIFO 2170 25 ISCON 0 CPU FIFO JET ISCON 1 FIFO 0 CPU FIFO FIFO 1 DMA ISFCON HS FIFO DMA FIFO H DMA FIFO DMA IISCON 4 5 I2S SBC 2410X
46. PC 2 1 SBC 2410X e SBC 2410X Linux DVD DBO fW Ae F Ze RJ 45 USB HZ JTAG 5V 2 5A 5Y 2 5A DVD USER HOM m 4 i I sBC 2410X Jtag T RS 2 1 SBC 2410X 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 SD 020 87530209 13719442657 Email capbily hotmail 12 com 2 6 06 82 77 http www arm9
47. Screen keyboard Save grep dil Save setup Exit Exit from Minicom ixB Serial Device jz E AWE bps par Bits OXER I 5 115200 capbily Shell Konsole r E erg tata y Serial Current 115200 KK Lackfile 1 Callin P eed Farity Data allet F Bpe Par 5 Bardware F 8 M E Ti n ij y Software J t 2 D Change whic E i Choice or Enter to exit F Hardware Flow Control NO Z S PRA n 020 87530209 13719442657 Email capbilyG 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 dfl EERE Wl root capbily She
48. http www arm9 com cn PP REREH ta S 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 SBC 2410 Hog FRE 3 2 Step3 LCD BORA L n T T 020 87530209 13719442657 Email capbily hotmail 19 com http www arm9 com cn 3 3 ELCD Step4 F LE ri T2 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 registered new driver usb storage USB Mase Storage support registered HET4 Linux TCP IP 1 0 for NETA Q Protocols 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 0 Het
49. make make zlImage zImagel arch arm boot H gt lt 6 6 Linux Kernel root Linux Linux mount root 020 87530209 13719442657 Email capbilyG hotmail 121 com KELA 06 82 77 http www arm9 com cn 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
50. 26 4 2 3 1 3 COM1 3 27 4 2 4 ROM BOOT SEL 27 4 25 USB 28 4 2 6 S600 29 427 nn 30 020 87530209 13719442657 Email capbilyG hotmail 5 com KELE BJ JJ http www arm9 com cn 4 2 8 32 32 OO 33 TIC 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 e E E A E E E N E E T 39 39 4 1 5 mv 40 40 4 1 7 echo rans 40 4 1 8 Suc eG cases D 40 4 1 9 40 4 1 10 more 40 ALILA FHA GE uu uu u u u um L u aaraa nme enne sh ayqaasa 41 ER mm 41 OO 41 NND 41 4 1 15 Mm c E E A 41 4 1 16 tar 41 41 17 FEA m 0omt u u a u ua ak 42 NINE 42
51. 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 NAME 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 Fl 1 IRQ EINT2 GPIO_F2 2 IRQ EINT3 GPIO_F3 3 EINT7 GPIO_F7 4 static int ready 0 static int key value 0 static DECLARE 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 r4 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_inter
52. 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 EO TAT WRS 00 gt E 4 E 3j n REA eh QU e hui 192 168 0 231 LE Co MATRIX V Web R Friendly ARM ioj x MT Br EF PL LEX TT E Linus Fe HIT tE 9 HM xm tte 3 2 e TR WIE JE TEA pjana ajra BASEE REN L0G0 Friendly A ARM i h Web Ek 4374 itl LED LED 7 BEAT DAES SBC 2410X SBC 2410X IP 192 168 0 230 web boa War AE P HA 020 87530209 13719442657 Email capbilyG hotmail 51 com KELE NE 20 http 192 168 0 230 http www arm9 com cn 4 18 LED
53. 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 capbilyG hotmail 144 com 2 6 06 82 77 http www arm9 com cn PC Qtopia Qt etc ld so conf Qt Redhat Qt 1d so conf friendly arm x86 qtopia qt lib 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
54. 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 hotmail 82 com KELE BS 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 pri
55. press Enter to sctivate this console pue mum OW DU 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 Exit Exit from Minicom 1247 minicom s minicom Xe PE eA EP Serial port setup A Serial Device 1 dev ttyS0 2 dewttyS1 Z S PRA n 020 87530209 13719442657 Email capbilyG 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
56. 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 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
57. 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 if ret lt 0 perror select exit 1 if ret 0 printf Timeout An e Hy BAN Hi else if FD ISSET buttons fd amp rds SURE SE oh Jc EH ET key value 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 printf buttons value d n key value 020 87530209 13719442657 Email capbilyG hotmail 80 com KELE BM JJ http www arm9 com cn j FW close buttons fd return j hello buttons SBC 2410X 6 2 4 UDP TCP IP UDP User Datagram Protocol UDP TCP socket socket
58. 12802 112 11 191 Harmlu Helcome to Bulleti Seryvp cea HBS af Southern Bet you have any problems please ccutbbsBPecut e 1231 2588 ied E TS west Is Fe 0 00 12 An LITAI D N nm 4 15 SBC 2410X bbs 4 3 6 Telnet inetd SBC2410X telnet inetd 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 2 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 Hane 192 168 8 88 root fa 331 Give
59. 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 capbily hotmail 28 com http www arm9 com cn 3 7 USB EMO 3 8 USB HOST USB DEVICE 4 2 6 S600 SBC 2410X 5V 600 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
60. 4 DMA DMA DMA DMA DMA DMA DMA static int audio setup buf audio stream t s Int frag int dmasize char dmabuf 0 dma_addr_t dmaphys 0 if s gt buffers return EBUSY 020 87530209 13719442657 Email capbilyG hotmail 108 com KELE 82 JJ http www arm9 com cn POS BAF 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 fragsiz
61. 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 JTAG 2 0mm 3 17 2 0 2 54 JTAG 3 9 JTAG TMS TCK FAL 020 87530209 13719442657 Email capbilyG 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 a HET IT In HU r1 3 18 CON GPIO 3 10 CON GPIO aa aa Co ema 10 CENT u CENT m EN Gb M Gb DA 1 West 1 _ 020 87530209 1371944265
62. 020 87530209 13719442657 Email capbilyG hotmail 136 com KELE 82 JJ 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 help for help friendly arm lI 6 19 vivi load flash kernel ME 05 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 Z JJ http www ar
63. traceroute 4 3 5 telnet telnet telnet telnet SBC 2410X telnet SBC 2410X telnet telnet IP 192 168 0 1 020 87530209 13719442657 Email capbilyG 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 l El s TE eu a
64. 2 6 06 82 77 http www arm9 com cn ae 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 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 82 JJ 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
65. 144 7 2 1 Qt Embedded 144 ov A PC Fy Helo pO VL cc oo oe ee EN EE 145 DO I O ON 147 7 3 Microwindows Nano X HY A sN GUI 0 148 7 3 1 Microwindows Nano X 148 7 32 F PG ij Hello SBC 2410X C 148 UCM jO II 148 A Windows Lees nenetenetntennenn 149 B minicom see 153 a 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 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 flash 159 2 4 S3C2410 Based machines with the NAND llash 160 NE 160 3 1 Interface between an user and the vivi mi nn 160 3 2 B iltin user COMMANdS 00000 161 020 87530209 13719442657 Email capbilyG hotmail 8 com KELE BS JJ http www arm9 com cn 1 1 MATRIV IV SBC 2410X
66. NULL file operations file operations 6 3 1 2 Linux Linux request 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_id void free_irq unsigned int irg void dev_id handler AP 075 dev id regs device proc interrupts flag
67. USB1 1 j Audio RIC 32 768KHz 20 2 0mm JTAG bootloader 6 3mm 5mm SBC 2410X 14 F 2 0mm CPU CON LCD LCD STN 30 F 2 0mm CON GPIO GPIO 36 F 2 0mm 10 6 AD 1 SPI I2C 2 2 020 87530209 13719442657 Email capbilyG hotmail 14 com http www arm9 com cn TORO 5 BUS CON 44 14 16 25 SBC 2410X for Linux TARAK EN xa ROM CRAM EXT2 FAT32 NFS YA x EROM CRAM EXT2 FAT32 NFS YAFFS FFS file system S m 10Base T external Ethernet device 10M
68. 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 capbilyG hotmail 114 com KELE DE 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 mixer 1octl inode file cmd arg return 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
69. 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 _ s NC Netemmwde O O 4 2 2 H 1 COMI Samsung S3C2410X 3 SBC 2410X 1 DBO 14 2 0mm COMI 3 CPU 1 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 H 1 3 COMI 3 SBC 2410X COM1 3 3 3 14 12 10 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 ROM 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
70. 39 KELE DE 2 JJ http www arm9 com cn w Virtual framebuffer 240x hello Text Editor x File Edit View D lt S gt gt m Q Friendly hella SBC 24 1041 Qtopia 020 87530209 13719442657 Email capbily hotmail 60 com KELE BS JJ http www arm9 com cn v Virtual framebuffer 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 ETC Ete a tc Shift z x c v b n m shift Cml Ak Ale Ctr 0 f 1 0 VNC 7 1 5 HES VNC SBC 2410X VNC amp JP mua 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 ET BB ERE USB BER DACP eat HERY HERRA AE
71. 4 1 19 chmod 42 21 20 51 42 ANDY de 42 ene ee 42 4 2 SBC 0 43 SAT payet Taniera 43 4 2 21 T led uy amana 43 4 2 3 buttons 43 4 2 4 madplay seen 44 4 2 5 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 49 50 4 3 8 Ftp inetd 50 4530 Web JK ee de 51 4 3 10 Web LED 51 4 4 Qtopia 54 4 4 1 es 54 LS DEI I s s ia 62 4 2 3 67 4 5 Microwindows HJ RFE REF ius 73 S3C2410X AGRA SKE Linux 75 6 1 I k T E AA E 75 62 77 6 2 1 Hello SBC 2410X4
72. 5L_GetStatus 0x31540 E 3 8 3 6 A PE WindowsCE 115200 SNHD 020 87530209 13719442657 Email capbilyG 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 HOV 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 33V5VLCD Sae O5 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 capbilyG hotmail
73. 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 capbily 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 amp 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 OCT A OCT SCIT ARS TG AEREA REITER AARE 020 87530209 13719442657 Email capbily hotmail 86 com 2 6 06 82 77 http www arm9 com cn
74. URS 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 BS JJ http www arm9 com cn Virtual framebuffer 240x File Miew Mine Hunt EN Qtopia I P vc HEEL 2 020 87530209 13719442657 Email capbily hotmail 64 com http www arm9 com cn Virtual framebuffer240x File Miew Hel Freecell x Play settings A 54 4 TR IM Z S PRA n 020 87530209 13719442657 Email capbily hotmail 65 com KELE BS JJ http www arm9 com cn Virtual framebuffer 240x File View Help Snake THR AN HS LTT RAS UE Aii ERE akak n APE il o 020 87530209 13719442657
75. cp hello desktop QPEDIR apps A pplications Framebuffer qvfb amp QT qpe QT 7 1 hello 020 87530209 13719442657 Email capbilyG 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 98 Hello 410 Help Browser Media oy STEM Player Info abes gt Hello2410 Qtopia hello2410 7 2 Hello 020 87530209 13719442657 Email capbily hotmail 146 com KELE BS 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 he
76. 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 bin 020 87530209 13719442657 Email capbilyG 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 U
77. s gt nbfrags i audio_buf_t b s gt buf 020 87530209 13719442657 Email capbilyG hotmail 115 com 2 6 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 gt sem break A 2271 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 BH AA Z TR P UL 3 P 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 capbilyG hotmail 116 com KELE 7 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
78. 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 EppppppPPPPPPPPPPPPPPPPPPPPPPPPPPP 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 8 6 18 JTAG vivi vivi Flash vivi VIVI vivi minicom SBC 2410X vivi vivi
79. 240x Virtual framebuffer 240x m x 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 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 BS 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 1371944265
80. 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 BS 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 descriptions 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 capbilyG 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 th
81. AU y SBC 2410X arm linux Bon 1 2 1 2 1 http www arm9 net http www arm9 com 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 capbilyG hotmail 9 com KELE 16 827 3HY57V561620BT Fs AE P as http www samsungsemi com K9F5608U0C E ES AS ZS a AE http www arm9 com cn 1 2 3 mizi COSE Ei E gt 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
82. BUS CON BI j cmt 5 t 14 13 16 19 13 E 1 EB 19 ad E go 2 m s m y0 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 K 3 4 SBC 2410X BUS CTRL K 3 5 SBC 2410X BUS CON LDATAO 6 3 s 7 DMM 10 9 IDA 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
83. Email capbily hotmail 66 com http www arm9 com cn c Virtual framebuffer 240x Dc Fifteen Pieces 4 2 3 Qtopia Z S PRA n 020 87530209 13719442657 Email capbilyG hotmail 67 com http www arm9 com cn virtual framebuffer 240x File View Help Appearance XE Uk Colors Style Frame Font Greenish Purple B M Mormal Text Li D EL En Z S PRA n 020 87530209 13719442657 Email capbilyG hotmail 68 com RBZ 8271 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 farmat 24 hour Weeks start on Sunday Date farmat Qtopia Qtopia 020 87530209 13719442657 Email capbily hotmail 69 com KELE BS JJ http www arm9 com cn v Virtual framebuffer 240 framebuffer
84. FMODE READ 020 87530209 13719442657 Email capbilyG 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 200 SRA DMA DMA DMA ARM 15 7 E RAM tu DAE Hr P RS RAM read write VO Linux ioct
85. Linux 05 Web CGD Ftp Telnet SBC 2410X SBC 2410X WindowsCE4 2 net WindowsCE Word Excel Power Point Pdf Word as IE Mba GES Tes EA SBC 2410X CHALE SBC 2410X 020 87530209 13719442657 Email capbily hotmail 3 com 2 6 06 82 77 http www arm9 com cn SBC 2410X SBC 2410X SBC 2410X capbily capbily
86. 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 mode 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 capbilyG hotmail 112 com 2 6 06 82 77 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 sizeo
87. cn Linux Linux QE Frame Buffer C gcc Qte QNX WindowsCE e Unicode e Alpha Trolltech QtE Qtopia GUI Internet Qtopia PDA QUE 147 FEM PAZ Trolltech 2 E 3c ff license RHEES 3 Q Gui GUI
88. com cn 2 0mm CPU mizi Arm Linux Mp3 iX UE Web Ftp Telnet Tin FME 2410 SBC 2410X Flash YAFFS 62M np iss 2 2 1 SBC 2410X Protel99SE Linux
89. hotmail com Z BR A 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 BUDA EAA AE S 9 9 1 2 1 9 1 2 2 EA TE AN 9 1 2 3 mizi 10 SBC 2410X 11 DN 2 11 2 2 SBC 2410X 12 2 2 1 13 13 2 2 3 ed P 14 2 16 2 17 18 SS 18 SE 19 Step3 LCD 19 Stepd J NDS SIR DUE Liu eo RERO 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 TA ES E OO 25 25 42 2 PEG 0 E
90. me your password please Password 238 Logged in successfully IHemote 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 PR 1 nogreup 6880016 Mas 19 2803 THAGE r xr Wr l nogroup 22149746 Jul 14 2003 mp3 rwkErWErux none nogr oup 26388 Oct ARS bios bin rwxrwxrux 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 390 n
91. mtdblock 0 mnt 4 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 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 BS 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
92. to natal a modem belme you can make a connection would pou kka bo da this nc LE i 4 3 ERAMA No 4 4 ttyS0 Be RK 8828230 22 Windows COMI1 FE Pr Du A il AAR Im 4 4 SBC 2410X 1 4 5 KE fi Te P nen 4 5 020 87530209 13719442657 Email capbilyG hotmail 150 com http www arm9 com cn Ba IBN Pew eB TERA AM E H If SBC 2410X 115200 WA 4 6 4 7 4 7 4 7 vivi
93. 00 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 capbilyG hotmail 122 com 2 6 06 82 77 http www arm9 com cn CPU ARM CIRRUS Arm920Tsid wb revision Machine Samsung SMDK2410 On node 0 totalpages 16384 zone 0 16384 pages zone 1 0 pages zone 2 0 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 Mh
94. 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 tg BR ir HY 020 87530209 13719442657 Email capbilyG hotmail 54 com RELI BRB Bd Virtual framebuffer240x File View Help Plaver http www arm9 com cn SBC 2410X Camra Tracer 2 EK Open Source Z S PRA n 020 87530209 13719442657 Email capbilyG hotmail 55 com http www arm9 com cn E g USB Qtopia Z S PRA n 020 87530209 13719442657 Email capbilyG hotmail 56 com KELE BS JJ http www arm
95. 57 Email capbily hotmail 43 com KELE BS JJ http www arm9 com cn 4 2 4 Mp3 madplay madplay madplay hn madplay h Usage madplay OPTIONS FILE Decode and play MPEG audio FILE s Verbosity verbose show status while decoding q quiet be quiet but show warnings 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 monaur
96. 7 Email capbilyG hotmail 37 com KELE 82 JJ http www arm9 com cn 4 2 14 SBC 2410X 3 19 020 87530209 13719442657 Email capbily hotmail 38 com KELE BS JJ http www arm9 com cn Linux 4 1 Linux http www tomlinux com Linux 77 Linux ate EMA T IKA N 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
97. 7 Email capbilyG hotmail 72 com KELE BS 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 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 HE MEE l H H SBC 2410X Microwindows Z S 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
98. 9 com cn gt Virtual framebuffer 240x File view Qtopia bmp png xpm 020 87530209 13719442657 Email capbily hotmail 57 com RBZ 8271 http www arm9 com cn ww Virtual frameabufferz30x File view Help shht0006 bmp Image Viewer x Image View ue 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 T Croot capbily gqtopial B 4 ns eme See eg ze Tab q Ts si pair shite e Te v Te n T e aaa j QE SP 1558 020 87530209 13719442657 Email capbily hotmail com
99. EEN 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 include 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 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 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
100. Jflash JTAG SBC 2410X Jflash friendly arnyJflash HK F cd friendly arm Jflash Iflash Jflash s3c2410 help 020 87530209 13719442657 Email capbily hotmail 134 com Ree B Z JJ http www arm9 com cn Ir mg 4 a rs WE Ha m ros saphil y frirzdi yar cd Jflach rnc la far Widow HMICHUBE 1x1 biletat ir gE vivi roc J arhit Alflazbh help SEC JTAG FLASH D I modi pied by MI 2G 13 4 lkzge SOP fi lonxa f1 flachivpe d delay Flash Tepe Liat SMOKES K381208 34MB 2 SMI TOS AMI i 5 1 OMS 10 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
101. SBC 2410X Version0 9 http www arm9 com cn http www arm9 net bootloader vivi KELE BS JJ http www arm9 com cn 2 145 77 Id so conf PY 2 2004 11 1 1 WEHI 77 WS 7 2004 11 1 020 87530209 13719442657 Email capbily hotmail 2 com KELE BS JJ http www arm9 com cn SBC 2410X IN ACRE ZB EZ a et Ep ae EF ARMO MH ARM S3C2410X XH 6 S3C2410X ARM920T MMU SBC 2410X SBC 2410X S3C2410X AU THI ERS TFA ARRAS OSL TE
102. Winder 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 Z S 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 0 renr lh FMD FMD Imit S394 clock USB hcdPdd Init 08 9 11 piaPortBase 0x200000 InitializeOHCI 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
103. al 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 controls 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
104. 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 capbilyG hotmail 106 com KELE BS JJ http www arm9 com cn printk AUDIO_NAME_VERBOSE initialized n return 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
105. arm vivi make menuconfig default configuration file vivi viviarch def configs arch def configs SBC 2410X make vivi cd friendly arm vivi make menuconfig 020 87530209 13719442657 Email capbilyG hotmail 118 com KCI 97 3 http www arm9 com cn 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 2 6 06 82 77 http www arm9 com cn wv ee ee _ yx Edt View Temmal 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 t
106. e 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 87530209 13719442657 Email capbilyG 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
107. e 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 Here 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 capbilyG hotmail 158 com 2 6 06 82 77 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 com
108. el 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 020 87530209 13719442657 Email capbilyG hotmail 127 com 2 6 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 53C2410 buffer pool for DMA workaround usbctl zombie gt reset gt default Device in default state S3C2410 USB Controller Core Initialized USB Function Charac
109. er 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 established 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 1 00 VFS Mounted root yaffs filesystem Mounted devfs on dev Freeing init memory 56K 020 87530209 13719442657 Email capbilyG hotmail 124 com KELE 16 827 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
110. f inf int 1 int frags 0 bytes 0 if err return for i 0 i 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 020 87530209 13719442657 Email capbilyG 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
111. 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 18 etc rc d init d httpd stop H _ eor jm m ne E 4 20 web etc rc d init d httpd start 020 87530209 13719442657 Email capbily hotmail 53 com KELE BS JJ http www arm9 com cn 4 4 Qtopia QUEmbedded Qtopia Qt Qtopia Qtopia X86 4 4 1 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
112. 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 o rmmod matrix5 buttons it SBC 2410X Linux AKOAG ASKS TOLER 006 A ME ES AK 4 friendly arm examples buttons 020 87530209 13719442657 Email capbilyG 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
113. ll Konsole Session Edit View Bookmarks Settings Help igurat icn 3 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 2 6 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 Ctra 8 SNARE T W Eh H 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 mimir 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 4 Partitism check dav eci hosti tanl tanget lumi pi init started BusyBax 0 60
114. llo 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 2 6 06 82 77 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 H gt lt Qtopia hello 7 3 Microwindows Nano X AX GUI 7 3 1 Microwindows Nano X JT Z 435 7 3 2 PC Hello SBC 2410X 7 3 3 SBC 2410X 020 87530209 13719442657 Email capbilyG hotmail 148 com KELE BS JJ http www arm9 com cn A Windows SBC 2410X MS Windows
115. load flash kernel x mapis for downloading sodden Z S PRA n 020 87530209 13719442657 Email capbily hotmail 138 com 2 6 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 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 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 Sa
116. m9 com cn gt Fle Edt View Go Help Welcome to minicon 7 00 0 OPTIONS History Buffer F key Macros Search History Buffer 118m Compiled om Jan 23 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 load 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
117. 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 boa 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
118. mple 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 capbilyG hotmail 162 com 2 6 06 82 77 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 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 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 capbilyG hotmail 163 com
119. msung 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 13719442657 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
120. ntf 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 capbilyG 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 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 hy 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
121. 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 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 capbilyG hotmail 130 com
122. o 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 capbilyG hotmail 120 com KELE BM JJ http www arm9 com cn POOR caphily inendly arm vivi 91 Fie Edn Wiew Temmnal Help mot d c jong capbily fren iien 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
123. 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 boot 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 exa
124. piling 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 want 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 capbilyG 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 fo
125. re 020 87530209 13719442657 Email capbilyG hotmail 40 com KELE DE SZ 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 i 5B 4 1 14 export export LC_ALL zh_CN GB2312 1 LC ALL zh_CN GB2312 4 1 15 vi vifile 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
126. 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 videat 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
127. rm 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 0 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 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 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
128. 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 1 File Edt View Terminal Go Help cacani jotta ok capbiy end www fimages matrix gif www images kbd bg jpg 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 Enjoy Matrix V 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
129. ruptible 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 1 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 j PRE IBC Wir static void free_irqs void 020 87530209 13719442657 Email capbilyG hotmail 99 com 2 6 06 82 77 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 1 k key_info_tab 1 free_irq k gt irq_no buttons_irq file operations HJ ix 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 copy_to_user buffer amp key sizeof key ready 0 return sizeof key value static unsigned int matrix4 buttons select struct file file
130. s 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 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 VDO 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
131. sage leds led no 0 1 n exit 1 dev leds fd 0 if fd 0 perror open device leds exit 1 j ioctl led ioctl fd on led no 020 87530209 13719442657 Email capbilyG hotmail 78 com ATE HEB B e UAI close fd return 0 j http www arm9 com cn hello led SBC 2410X 6 2 3 buttons JR Var 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 IFT A E 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
132. t lt media_type gt This argument is where to load Availabe values are flash and ram partname or addr size 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 x y z 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 informations 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 2 6 16 82 77 http www arm9 com cn Reset mtd
133. t 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 168 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 capbilyG hotmail 129 com 2 6 06 82 JJ http www arm9 com cn insmod unresolved symbol keyboard_tasklet insmod unresolved symbol kbd_ledfunc Using lib mousedev
134. ten 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 for 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 Lincomptessrme hi done booting the kern
135. ter 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 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 capbilyG hotmail 128 com 2 6 06 82 77 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 hub c USB hub found port 1 suspened port 0 alived hub c 1 por
136. ttp www arm9 com cn 6 13 bk w 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 bad block 0 imeminfo size 67108864 isize 828608 size 828608 ibad block 0 EE E Done Please reboot using nfs amp BIHEEESSETERSSSGRSSSSESESSSEESSORISPSSQGISSSSRESS 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
137. und 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 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 g
138. w arm9 com cn FEE MA eo HPEY P BRE RI 8 Vr te E 5 RE EAN AOE UU F Oi OE ee ll FR ALA W 8 w EB EE PEL ORE HE DRIE RKE Bat RE Be CES K A EE n EAR 27 AZ WW 59 4 A Je EFE FERRE PC cg N FE I 6 2 UDA1341 friendly arm kernel drivers sound s3c2410 uda1341 c
139. z HCLK 100 000 Mhz PCLK 50 000 Mhz Initializing 53C2410 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 block 128 slots per queue batch 32 Uniform Multi Platform E IDE driver Revision 6 31 020 87530209 13719442657 Email capbilyG hotmail 123 com 2 6 06 82 77 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 Oxd0000300 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 driv

Download Pdf Manuals

image

Related Search

Related Contents

  Panasonic KX-TD7890 User Guide                linear DESIGN FEATURES LTMag-V18N03-12-LT3587-BrianShaffer service manual  

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