1.2.3 Interfaces..............................10 1.3 L ............................10 INUX EATURES 1.4 W CE F ..........................11 INDOWS EATURES 2. HOW TO USE MINI2440..........................12 2.1 H ............................12 ARDWARE ETUP 2.1.1 Boot Mode ............................12 2.1.2 External connection ..........................12 2.1.3 Hypterminal Setup..........................13 2.2 BIOS F ............................13 UNCTION 2.2.1 Enter BIOS ............................13...
Page 3
2.4.15 Ftpd ..............................38 2.4.16 Remote LED control...........................39 2.4.17 NFS ..............................39 2.4.18 RTC Setup ............................40 2.4.19 Non-valitaile Data in Flash........................40 2.4.20 Automatic Script When Power Up......................40 2.4.21 How to do Screen Shoot ........................40 2.5 W CE F ..........................41 INDOWS UNCTION 2.5.1 USB Keyboard Simulation........................41 2.5.2 LED Test...............................42 2.5.3 Screen Rotation ............................43 2.5.4 COM Debugger............................44...
Page 4
2.2 BIOS Recovery ............................72 2.3 Install Linux ............................73 2.4 Install yaffs..............................74 2.5 Start OS ..............................75 3. W ............................75 INCE NSTALLATION 3.1 Nand Flash Make Partition........................75 3.2 BIOS Recovery ............................76 3.3 Install EBoot ............................77 3.4 Install Kernel ............................78...
Page 7
Flash - 64M Nand Flash, - 2M Nor Flash,BIOS installed - 4 wire resistive touch screen interface - Up to 4096 color STN,3.5 inches to12.1 inches, up to 1024x768 pixels - Up to 64K color TFT,3.5 inches to 12.1 inches, up to1024x768 pixels Interface and Resource - 1 10/100M Ethernet RJ-45(DM9000) - 3 Serial Port...
For Nand Flash Boot, 4k Bytes 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 module NEC LCD 3.5(240x320) :5V...
2. How to use MINI2440 Linux image was loaded before shipment (supervivi、zImage_n35、root_default.img),Note the procedures below will be run under Windows。 2.1 Hardware Setup 2.1.1 Boot Mode Boot mode can be selected by S2, according words on silk screen: S2 connect to Nor Flash side,system will boot from Nor Flash;...
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:...
About supervivi: Supervivi is a bootloader based on Samsung open source vivi. It can be used as a tool to download and burn OS image to the flash on board. It can also be used to for parameters configuration. Supervivi download OS image file from PC by USB port. Supervivi can be installed in either Nor Flash or Nand Flash.
2.2.3 Main Menu Function Note: DNW is needed for all function related with image downloading through USB connection. [x]: make default partition on Nand Flash [v]: download vivi image to vivi partition on Nand 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 [a]: download user binary image to Nand Flash, like 2440test, uCos2, U-Boot...
Page 16
[w]: download NK.bin to Nand Flash [d]: download exec image specific memory address(Address defined DNW|Configuration|Option) and run it. The SDRAM address is 0x30000000 – 0x34000000. The memory size is 64Mbytes. The user available address space is 0x30000000 – 0x33DE8000. [z]: download zImage to 0x30008000 [g]: run zImage image in memory, work together with command [z] [f]: erase Nand Flash.
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...
Page 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...
Page 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...
Input “r” to reset 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) Set Parameter...
Page 21
Input “s” to set parameter. How to set mach_type The default mach_type is 782. You can change this parameter if you complier your kernel with MACH_TYPE 867. How to set linux command line Linux_cmd_line is a very often used 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 console=ttySAC0...
(3) Save Parameter Input “w” to save parameters (4) Recover Parameter Input “r” to recover default kernel startup parameters 2.3 Test Program without OS Test program 2440test can 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.
(12) CMOS Camera Test This function can only be tested when LCD screen connected. 2.4 Linux Function Linux was pre-loaded as default OS before ship. This default linux image is root_default.img on CD-ROM. With support by linux, user can test the functionalities of almost all of hardware resources on the board.
2.4.4 Use SD Card 2.4.5 Transfer 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 system power on. This script call a...
server program named as led-player. Led-player will create pipe file at /tmp, so user can change flash ratio of the leds by sending different parameters to the piple. #echo 0 0.2 > /tmp/led-control 4 leds will flash as a flow with 0.2 seconds interval #echo 1 0.2 >...
2.4.16 Remote LED control Stop web 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_nfs /mnt Unmount command: #umount /mnt...
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.5 Windows CE Function 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 K4 - DOWN K5 - LEFT K6 - RIGHT...
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.
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...
Page 54
Copy init script files from CD-ROM to H-JTAG installation directory Load init script...
Page 55
Click OK 4. Target chip detect Power on target board to detect target CPU...
3.2 Install Linux Linux binary image file is in image/linux 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 USB connection success: Major steps for linux installation:...
3.2.1 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 Flash.
Page 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.
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.
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.
3.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 USB connection success:...
3.3.2 BIOS Recovery Caution: 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 download supervivi image file.
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.
Page 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.
User can also enter supervivi command line interface when board is booting from Nand Flash. Connect the board with PC by serial cable and USB cable. Open Windows hypterminal and DNW. Hold on space bar in Hypterminal. Power on MINI2440 and then you can enter command line interface:...
2. Linux Installation Linux binary image file is on image/linux folder. Connect 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:...
2.2 BIOS Recovery Caution: The operations in section 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 Flash. Input: load flash vivi u And then click USB Port->Transmit to download supervivi image file. After successfully downloading, BIOS will update this new supervivi image to Nand Flash.
Note: User can also use load flash vivi x command to download and 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 image will be updated to Nand Flash after successfully downloading.
Note: User can also use load flash kernel x command to download and update 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 system image will be updated to Nand Flash after successfully downloading.
3. Wince Installation Wince binary image file is on image/wince folder. Connect 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:...
0-320k: size is 320k 320k-2368k: size is 2M 2368k-64M: size is 62M 3.2 BIOS Recovery Caution: The operations in 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 supervivi image file.
Note: User can also use load flash vivi x command to download and update suervivi by xmodem prototype from 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.
3.4 Install Kernel Input : load 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 formatting successfully done,...
Page 79
Eboot will update windows CE image file to Nand Flash. WinCE will automatically start up finally.
Need help?
Do you have a question about the MINI2440 and is the answer not in the manual?
Questions and answers