background image

 

 

 

2.4.18 RTC Setup 

Use hwclock command to connect linux clock with MINI2440 hardware RTC chip: 

(1) date –s 042916352007   

(2) hwclock –w   

(3) hwclock –s #this command had been put into /etc/init.d/rcS script for automatically run after 

power on. 

2.4.19 Non-valitaile Data in Flash 

Yaffs file system will not lost any data in case system power failure. 

2.4.20 Automatic Script When Power Up 

Please check with /etc/init.d/rcS 

2.4.21 How to do Screen Shoot 

 #snapshot 

pic.png 

Содержание MINI2440

Страница 1: ...MINI2440 User Manual...

Страница 2: ...ION 13 2 2 1 Enter BIOS 13 2 2 2 Install USB Driver 14 2 2 3 Main Menu Function 15 2 2 4 Partition Sub Menu Function 17 2 2 5 Linux Parameter Setup 20 2 3 TEST PROGRAM WITHOUT OS 22 2 3 1 Download 244...

Страница 3: ...Web Server 49 2 5 13 Touch Screen Calibration 49 2 5 14 ActiveSync with PC 51 2 5 15 Wireless Lan Card Test 51 2 6 H JTAG INSTALLATION FOR NOR FLASH PROGRAMMING 53 3 OS INSTALLATION 56 3 1 BACKUP AND...

Страница 4: ...2 2 BIOS Recovery 72 2 3 Install Linux 73 2 4 Install yaffs 74 2 5 Start OS 75 3 WINCE INSTALLATION 75 3 1 Nand Flash Make Partition 75 3 2 BIOS Recovery 76 3 3 Install EBoot 77 3 4 Install Kernel 78...

Страница 5: ...1 Overview 1 1 Description MINI2440 is a single board computer based on Samsung S3C2440 microprocessor...

Страница 6: ...1 1 1 Topview of Board 1 1 2 Hardware Features CPU Samsung S3C2440A 400MHz Max 533Mhz SDRAM 64M SDRAM 32bit DataBus SDRAM Clock 100MHz...

Страница 7: ...J 45 DM9000 3 Serial Port 1 USB Host 1 USB Slave Type B 1 SD Card Interface 1 Stereo Audio out 1 Micro In 1 20 Pin JTAG 4 USER LEDs 6 USER buttons 1 PWM Beeper 1 POT can be used for A D converter adju...

Страница 8: ...640x480 TFT test 10 WindowsCE BSP and sample project file 11 Linux tool and kernel source code arm linux gcc 4 3 2 with EABI yaffs2 file system image maker mkyaffs2image linux 2 6 29 for MINI2440 kern...

Страница 9: ...BootSram mapped to nGCS0 space For Nor Flash Boot Nor Flash mapped to nGCS0 space SDRAM address space 0x30000000 0x34000000 1 2 2 Jumpers MINI2440 has 1 Jumper J2 1 J2 Power voltage selection for LCD...

Страница 10: ...rfaces 1 3 Linux Features Version Linux 2 6 29 File system yaffs2 cramfs Ext2 Fat32 NFS Basic driver with source code 3 serial driver DM9000 driver Audio driver RTC driver LED driver USB Host driver L...

Страница 11: ...indows CE Features Version WindowsCE net 5 0 Features DM9000 driver source code USB keyboard USB mouse USB disk mobile hard disk 3 serial port COM driver USB ActiveSync Audio driver SD driver Real tim...

Страница 12: ...Nor Flash S2 connect to Nand Flash side system will boot from Nand Flash BIOS which pre loaded in Nor Flash and Nand Flash are the same in shipment By default S2 had been connected to Nand Flash 2 1 2...

Страница 13: ...2 1 3 Hypterminal Setup 2 2 BIOS Function 2 2 1 Enter BIOS Supervivi had been pre loaded in Nor Flash before shipment Set S2 to Nor Flash can enter BIOS main menu after power on...

Страница 14: ...can hold down space bar in Hypterminal when board booting to force supervivi enter main menu Or supervivi will directly boot OS image by default Supervivi also has a Download Run feature which can ru...

Страница 15: ...nd Flash k download linux image to kernel partition on Nand Flash y download yaffs file system image to root partition on Nand Flash c download cramfs file system image to root partition on Nand Flash...

Страница 16: ...ess space for Nand Flash is 0x0 0x4000000 Start Address End Address Vivi partition block0 13 0x0 0x50000 Linux kernel partition block14 93 0x50000 0x250000 File system partition block94 4095 0x250000...

Страница 17: ...2 2 4 Partition Sub Menu Function 1 View current partition Type v to view current partition information If Nand Flash is empty or new default partition table will be displayed 2 Delete partition...

Страница 18: ...Input d to delete specific partition Input vivi if you want to delete vivi partition 3 Write Partition Input w to write partition table Partition modification can only take effect by write command...

Страница 19: ...4 Append Partition Input a to append a new partition Supervivi will prompt you with some informations for the new partition like name offset size and flag 5 Reset partition table...

Страница 20: ...set partition table with supervivi default parameter Remember use w command to make your reset operation take effect 2 2 5 Linux Parameter Setup 1 View Parameter Input v to view current parameters 2 S...

Страница 21: ...parameter for kernel startup Here is an example for how to change default tty terminal from serial 0 to serial 1 View current parameters Linux_cmd_line noinitrd root dev mtdblock2 init linuxrc consol...

Страница 22: ...an be used to test PWM beeper RTC clock AD converter button touch screen LCD infra I2C bus audio in audio out SD Card and CMOS Camera 2 3 1 Download 2440test Install USB driver on Windows and setup Wi...

Страница 23: ...2440test program will automatically run after successfully download 2 3 2 Hardware Test 1 Beeper Test...

Страница 24: ...2 RTC clock test 3 AD converter test User can skew W1 on board for this AD converter test...

Страница 25: ...4 Button Test 5 Touch Screen Test...

Страница 26: ...6 LCD Test 8 I2C Test...

Страница 27: ...9 Stereo Out Test Connect your external phone set or speaker to MINI2440 stereo out socket Green 10 Audio In Test...

Страница 28: ...11 SD Card Test...

Страница 29: ...most all of hardware resources on the board 2 4 1 MP3 Play Madplay is MP3 player under console It has several play modes and the simplest way to use is madplay your mp3 Please run madplay h for help o...

Страница 30: ......

Страница 31: ...fer file with PC User can transfer sz rz files with PC when he she login linux by serial console 2 4 6 LED Control 1 LED Server There is a automatically startup script etc rc d init d leds after syste...

Страница 32: ...stop flashing etc rc d init d leds start 4 leds will start to flash 2 Separately control of LED bin leds is a separately controller of leds User need to stop led player before leds etc rc d init d le...

Страница 33: ...Result screen from serial port 2 or serial port 3 2 4 9 Beeper test Source code location Kernel 2 6 13 drivers char qq2440_pwm c...

Страница 34: ...ce code location Kernel 2 6 13 drivers char mini2440_backlight c root FriendlyARM echo 0 dev backlight root FriendlyARM echo 1 dev backlight 2 4 11 I2C Test Source code location Kernel 2 6 13 drivers...

Страница 35: ...2 4 12 Telnet...

Страница 36: ...2 4 13 Telnetd User can telnet to MINI2440 board by root without password 2 4 14 How to modify MAC address ifconfig...

Страница 37: ...ifconfig eth0 down ifconfig eth0 hw ether 00 11 AA BB CC DD ifconfig eht0 up ifconfig Change MAC address in startup script...

Страница 38: ...2 4 15 Ftpd...

Страница 39: ...server etc rc d init d httpd stop Start web server etc rc d init d httpd start 2 4 17 NFS Assume NFS server is started on 192 168 1 111 mount t nfs o nolock 192 168 1 111 opt FriendlyARM QQ2440V3 root...

Страница 40: ...3 hwclock s this command had been put into etc init d rcS script for automatically run after power on 2 4 19 Non valitaile Data in Flash Yaffs file system will not lost any data in case system power...

Страница 41: ...2 5 1 USB Keyboard Simulation Source code location SMDK2440 DRIVERS Userkey This feature had been compiled in wince kernel by default so it is available as soon as wince startup K1 TAB K2 UP K3 ENTER...

Страница 42: ...Enter K3 to open My Device 2 5 2 LED Test Double click on QQ2440 test to open LED test program...

Страница 43: ...2 5 3 Screen Rotation Source code location SMDK2440 DRIVERS DISPLAY...

Страница 44: ...2 5 4 COM Debugger 2 5 5 Use U Disk...

Страница 45: ...2 5 6 Use SD MMC Card...

Страница 46: ...2 5 7 Use Windows Media Player 2 5 8 Use Super Player...

Страница 47: ...2 5 9 Ethernet Test 2 5 10 Telnet A telnet server is configured in WinCE The default IP address of Wince is 192 168 1 217 No password needed for telnet logon...

Страница 48: ...2 5 11 Ftp A ftp server is configured in WinCE The default IP address of Wince is 192 168 1 217 Account password is ftp ftp...

Страница 49: ...2 5 12 Web Server 2 5 13 Touch Screen Calibration...

Страница 50: ......

Страница 51: ...2 5 14 ActiveSync with PC 2 5 15 Wireless Lan Card Test A wireless lan card driver is integrated in Wince VNUWLC41...

Страница 52: ......

Страница 53: ...2 6 H JTAG Installation for Nor Flash Programming 1 Install H JTAG on your PC Please refer to www hjtag com for detail info of H JTAG project 2 JTAG port configuration 3 Install init scripts...

Страница 54: ...Copy init script files from CD ROM to H JTAG installation directory Load init script...

Страница 55: ...Click OK 4 Target chip detect Power on target board to detect target CPU...

Страница 56: ...3 OS Installation We need DNW software to install OS images on target CPU board 3 1 Backup and Restore System Backup content in Nand Flash...

Страница 57: ......

Страница 58: ......

Страница 59: ...Restore Nand Flash...

Страница 60: ...NI2440 board with USB cable and power on the board to enter supervivi main menu Watch indicator on DNW title bar to check if USB connection success Major steps for linux installation 1 format Nand Fla...

Страница 61: ...Nand Flash Make Partition 3 2 2 BIOS Recovery Caution The operations in section 3 2 1 will erase all data in Nand Flash Please do not shut off the power or you will have to re load supervivi in Nand...

Страница 62: ...And then click USB Port Transmit to download supervivi image file After successfully downloading BIOS will update this new supervivi image to Nand Flash...

Страница 63: ...3 2 3 Install Kernel Click DNW USB Port Transmit to select which kernel image file you want to download Linux kernel image will be updated to Nand Flash after successfully downloading...

Страница 64: ...3 2 4 Install yaffs Click DNW USB Port Transmit to select which file system image file you want to download Linux file system image will be updated to Nand Flash after successfully downloading...

Страница 65: ...3 Install Wince Wince binary image file is on image wince folder Connect MINI2440 board with USB cable and power on the board to enter supervivi main menu Watch indicator on DNW title bar to check if...

Страница 66: ...ution The operations in section 3 3 1 will erase all data in Nand Flash Please do not shut off the power or you will have to re load supervivi in Nand Flash And then click USB Port Transmit to downloa...

Страница 67: ...After successfully downloading BIOS will update this new supervivi image to Nand Flash 3 3 3 Install EBoot...

Страница 68: ...3 3 4 Install Kernel Eboot will prompt user to download wince from USB Click USB Port Transmit to select Wince image file to start download...

Страница 69: ...Eboot will low level format Nand Flash and then convert BinFS After formatting successfully done Eboot will update windows CE image file to Nand Flash WinCE will automatically start up finally...

Страница 70: ...main menu when board is set to Nor Flash boot mode Select function q to enter command line mode 1 1 From BIOS main menu 1 2 From Nand Flash boot User can also enter supervivi command line interface w...

Страница 71: ...o check if USB connection success Major steps for linux installation 1 format Nand Flash make partition 2 Install bootloader 3 Install kernel 4 Install file system 2 1 Nand Flash Make Partition Under...

Страница 72: ...in Nand Flash Please do not shut off the power or you will have to re load supervivi in Nand Flash Input load flash vivi u And then click USB Port Transmit to download supervivi image file After succe...

Страница 73: ...nd update suervivi by xmodem prototype from hypterminal 2 3 Install Linux Input load flash kernel u Click DNW USB Port Transmit to select which kernel image file you want to download Linux kernel imag...

Страница 74: ...date linux kernel by xmodem prototype from hypterminal 2 4 Install yaffs Input loadyaffs root u Click DNW USB Port Transmit to select which file system image file you want to download Linux file syste...

Страница 75: ...MINI2440 board with USB cable and power on the board to enter supervivi command line mode Watch indicator on DNW title bar to check if USB connection success Major steps for Wince installation 1 forma...

Страница 76: ...section 3 1 will erase all data in Nand Flash Please do not shut off the power or you will have to re load supervivi in Nand Flash Input load flash vivi u And then click USB Port Transmit to download...

Страница 77: ...m hypterminal 3 3 Install EBoot Input load flash eboot u Click USB Port Transmit to select eboot nb0 to start download Eboot will be automatically updated to Nand Flash after successfully downloading...

Страница 78: ...flash wince u Eboot will prompt user to download wince from USB Click USB Port Transmit to select Wince image file to start download Eboot will low level format Nand Flash and then convert BinFS After...

Страница 79: ...Eboot will update windows CE image file to Nand Flash WinCE will automatically start up finally...

Отзывы: