Media Streaming with UPnP and MPEG-7 in Embedded Linux System

1 / 24
About This Presentation
Title:

Media Streaming with UPnP and MPEG-7 in Embedded Linux System

Description:

Media Streaming with UPnP and MPEG-7 in Embedded Linux System Hsu Shih-Chang DCNLAB _at_ CSIE, NCKU –

Number of Views:128
Avg rating:3.0/5.0
Slides: 25
Provided by: edut1550
Category:

less

Transcript and Presenter's Notes

Title: Media Streaming with UPnP and MPEG-7 in Embedded Linux System


1
Media Streaming with UPnP and MPEG-7 in Embedded
Linux System
  • Hsu Shih-Chang
  • DCNLAB _at_ CSIE, NCKU

2
Outline
  • Target board
  • Building Embedded OS
  • Problems

3
Target board
  • StrongARM

4
Target board(contd.)
  • DMA-ARM9 2410

5
Target board(contd.)
Intel Strong-ARM DMA-ARM9 2410
CPU INTEL StrongARM SA-1110/206MHz?32bit processors(RISC) 32-bit ARM920T??
Memory 32MB on board(one 144pins SODIMM for Expansion) 64Mbyte(32Mbyte2)
Flash Memory 32MB (Two PLCC Sockets for Expansion) NAND FLASH (K9S1208,64M) NOR FLASH (SST39VF160,2M)
Display 3.9???????TFT LCD(240320) SAMSUNG 3.5?256K? TFT (320240)
6
Target board(contd.)
Intel Strong-ARM DMA-ARM9 2410
USB 1? 2?
PC MCIA/CF card ???? YES (16bit Flash Slot) NO
Audio 16bit????????????IN/OUT1 Line IIS??????/????
Radio CDMA/GSM/Bluetooth Module
?? 6 ?Expansion Slots / 1rDA / FIR (up to 4 Mbps) 4 ?LED Real Time Clock32.768KHz 9????? Support for PC/ATX Power Supply BOOT ROMSST39VF160 2??UART SD?/MMC?HOST Embedded-ICE Debug?? 16????? 10M????? RTC????
7
Building Embedded OS
  • Building Flow

Cross-Development Environment
The Basic Operations on Strong ARM
Kernel
Application
File System
Network
8
Cross-Development Environment
  • ????,??????????????Host???Target?,????Host????????
    ?PC,?Target????????????????Host??????Target??????,
    ??????????Cross-Compiler?????????
  • version
  • cross-2.95.3.tar.bz2

9
Kernel
  • ??Kernel????????OS,????????????,????,????kernel???
    ????????,?????????????????????
  • version
  • linux-2.4.0-test11.tar.gz
  • patch-2.4.0-test11-rmk1.tar.gz
    diff-2.4.0-test11-rmk1-np3.gz
    patch-2.4.0-test11-rmk1-np3 (Provide by MasterIA)

10
File System
  • ?Kernel ?????,??????????????,??ls?mount????????,?
    ?????????????,???????????????,??BusyBox?????????
  • ?,Busybox ????????????,????????????????????
    busybox ????,???????????,????? symbolic link
    ???,????? (Busybox ???? applet) ???? busybox
    ???????
  • version
  • busybox-1.00.tar.gz

11
File System(contd.)
  • /bin

12
File System(contd.)
13
File System(contd.)
14
File System(contd.)
  • ??busybox??????,????????File System???????
  • ????????filesystem????
  • dd if/dev/zero ofinitrd.img bs1k
    count8192
  • ?????????ext2?filesystem?
  • /sbin/mkfs.ext2 F v m0 initrd.img
  • ???????????
  • mkdir etc/ proc/ dev/ var/ mnt/ tmp/ lib/
  • ???dev??,????????????????
  • cd dev
  • mknod

15
Network
  • CF???????
  • version
  • pcmcia-cs-3.2.7.tar.gz
  • Step
  • cd pcmcia-cs-3.2.7
  • make config
  • make
  • ???? (config.opts?config?network.opts )
  • ??route????????? ../FileSystem/sbin/
  • ?????lib??ram_image/lib?
    (??arm-linux-strip??lib??)
  • /etc/rc.d/rc.pcmcia start

16
Network(contd.)
  • CF???????
  • version
  • pcmcia-cs-3.2.7.tar.gz
  • linux-wlan-ng-0.2.0.tar.gz
  • Step
  • ????pcmcia-cs-3.2.7.tar.gz configure
  • ??linux-wlan-ng-0.2.0.tar.gz?configure
  • make all install
  • ???????? filesystem
  • ??module?? ? ???????script?
  • ?????????????module (ex insmod
    /prefix/p80211.o)
  • /etc/rc.d/init.d/pcmcia stop
  • /etc/rc.d/init.d/pcmcia start

17
Application
  • UPnP SDK
  • version
  • Apache Xerces-c-2.5.0
  • CyberLink C UPnP SDK-1.5
  • step
  • ?????? (export )
  • configure (??for x86??for arm)

18
Application(contd.)
  • QT
  • ?make QTE for arm??,???make QTE for x86
    ??????make????????uic??,???QTE???make for arm
  • version
  • qt-embedded-3.3.4
  • Make qte for x86
  • ????????????
  • ??
  • Make qte for arm
  • ???????????? (?for x86????)
  • ?qte for x86??bin/uic ?????????bin/uic
  • ??
  • ??????????????lib???????

19
The Basic Operations on Strong ARM
  • Tools
  • puppy.tar.gz (??bin2rom,ethload)
  • Step
  • ??minicom (minicom -s)
  • ????????download?StrongARM?????(./bin2rom)
  • ??TFTP Server(./ethload)
  • ??????????Flash or Ram

20
Problems-MTD
  • ??ext2???file system?,??8MB??????
  • ????
  • ??cramfs???????file system,???MTD??????file
    system ??????
  • Step
  • 1.????????,??nfs?xxx.cramfs ?????
  • cat /mnt/nfs/xxx.cramfs gt /dev/mtdblock/2
  • 2.??kernel?,?minicom????6??,?????????
  • flash ?root.cramfs??????file system?

21
Problems- Write and Read FS
  • ????????client?,??????????????
  • ????
  • ????????????????File System?,?????????capture.s
    dp?????????????????,??????????????????????????????
    ?dcnplayer????mount mtdblock???,?????mtdblock?????
    cramfs???,????????,?????????
  • Ex mount /dev/mtdblock/2 /mnt
  • ?MTD mount? /mnt?,??MTD???,?? /mnt???? ?????

22
Problems- Write and Read FS (contd.)
  • ????
  • ???dcnplayer????ext2???File System??????,
  • ??
  • ln s /mnt/dcnplayer /home/dcnplayer
  • cd /home
  • ./dcnplayer -qws
  • ????,????????????????home????,???????????

23
Problem- Voice
  • ??????????
  • ????
  • ??????????,??????????,?
  • audio0?,?????major number ? minor
  • number ?????????File System??dev?
  • ????

24
Problem- Touch Panel
  • ????????
  • ????
  • ???Strong Arm?touch panel,????
  • h3600_ts?h3600_key??????
  • mknod h3600_ts c 11 0
  • mknod h3600_key c 11 0
Write a Comment
User Comments (0)
About PowerShow.com