background image

 

© Copyright 2008 WIZnet Co., Inc. All rights reserved.

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 

W

W

5

5

3

3

0

0

0

0

E

E

0

0

1

1

-

-

A

A

R

R

M

M

 

 

U

U

s

s

e

e

r

r

s

s

 

 

M

M

a

a

n

n

u

u

a

a

l

l

 

 

 

 

 

 

 

 

 

 

 

  

 

 

 

    
 

 

39 

 

 

7.2. JFFS2 

NAND Flash is non-volitile storage device. For storing data, use NAND Flash area. JFFS2 is the file system 

only for Flash. When W5300E01-ARM accesses NAND Flash area, mount and use the JFFS2 file system. 

NAND Flahs area can be divided as below 

 

z

 

0x00000000 – 0x00020000 : Bootloader 

z

 

0x00020000 – 0x00040000 : Boot Param 

z

 

0x00040000 – 0x00400000 : Kernel 

z

 

0x00400000 – 0x01400000 : Ramdisk 

z

 

0x01400000 – 0x04000000 : JFFS2 FileSystem 

 

Bootloader field has bootloader firstly operating when power is supplied to the system. 

The Boot Param field is the space where boot parameter value is saved when kernel is booted at the 

bootloader. Linux kernel field includes kernel images. At the bootloader, the kernel image of this field is 

loaded to RAM and booted to kernel. 

In the Ramdisk area, the Ramdisk used for current root file system is included. 

JFFS2 File System area does not have any image. This area can be used after formatting as JFFS2. 

 

7.2.1. 

JFFS2 File System Mount 

 

1.  After completing the boot, log in with ‘root’. 

2.  In case of using JFFS2 area for the first time, it should be formatted in JFFS2 type. 

 

 

 

3.  Mount JFFS2 file system. 

 

 

 

4.  If data is written in the directory - ‘/mnt/jffs2’, the data is saved in NAND Flash. 

 

Now, JFFS2 file system can be automatically mounted.   

 

 

# flash_eraseall –j /dev/mtd4 

# mount –t jffs2 /dev/mtdblock4 /mnt/jffs2 

Содержание W5300E01-ARM

Страница 1: ...W5300E01 ARM User s Manual Version 1 0 2008 WIZnet Co Inc All Rights Reserved For more information visit our website at http www wiznet co kr...

Страница 2: ...W530 00E01 ARM Us D Revision Ver 1 0 ser s Manual Docum Da July 15 ment H ata 5 2008 History 1st Release y Infor Des matio scription n ii...

Страница 3: ...er w ser s Manual Znet s ve somethi on Q A B will give an a Onlin ng to ask Board in W answer as s ne Tec about WIZ WIZnet web soon as pos hnical Znet Produc bsite www ssible l Supp cts Write w wiznet...

Страница 4: ...ARM Us OPYRI yright 2008 W nical Support s Distributio more informat ser s Manual GHT N WIZnet Inc Al t support w on sales wi tion visit our w NOTIC l Rights Rese wiznet co kr znet co kr website at h...

Страница 5: ...Blo ock Descripti S3C2410A SDRAM NAND Fla WIZ830MJ RS 232C S USB Host JTAG Inte LED Tac Character Power Blo Expansion hematic W5300E0 WIZ830MJ rts List W5300E0 WIZ830MJ ysical Specif Table duction if...

Страница 6: ...Netw e Transmissi File Transm File Transm Others el Patch C nux Kernel Pa nux Kernel Co ystem amdisk Modifying Ramdisk D FS2 JFFS2 File ardware Sche 5300E01 AR mension heck for Win heck for Linu rk O...

Страница 7: ...TERFACE 00E01 ARM ER TERMINAL TING CHECK A COM PORT CO TING CHECK A SERVER TEST P SERVER TE NET SERVER PBACK CONNE PBACK TEST LE CONNECTIO LE CONNECTIO DEM SELECTIO DEM AT THE M CUTING TEST ECTING ZMO...

Страница 8: ...EXPAN E 4 1 LOOPB E 8 1 BOOTL E 9 1 W530 ser s Manual 0E01 ARM B 30MJ MODUL S DESCRIPTIO 0E01 ARM C ENTS OF DATA PIN DESCRIPT NDED BOARD I BACK OPTION LOADER COMM 0E01 ARM B BASE BOARD LE SPECIFICAT...

Страница 9: ...By using serial port of base board and Ethernet port of WIZ830MJ the communication environment can be easily set up You can also test external devices having USB interface through USB Host and Device...

Страница 10: ...ITEM LCD 16Character 2Line Character LCD Port Basic ITEM LED LED 2Ea for Debugging Button Tact Switch 2Ea for Debugging JTAG On board JTAG Socket WIZ830MJ Module Connector 56Pin 28Pin 2 2 54mm Pitch...

Страница 11: ...5 5 3 3 0 0 0 0 E E 0 0 1 1 A A R R M M U U s s e e r r s s M M a a n n u u a a l l 3 2 Products Description 2 1 Board Layout 2 1 1 Base Board Layout Figure 2 1 W5300E01 ARM Base Board Layout 2 1 2 WI...

Страница 12: ...32MB SDRAM 2Ea Total 64MB 11 Tact Switch for Debugging 2Ea 3 64MB NAND Flash ROM K9F1208 12 Green LED for Debugging 2Ea 4 DC 5V 2A Adapter Jack 13 WIZ830MJ Module Interface Connector 5 Power Switch 1...

Страница 13: ...1 Power adapter DC 5V 2A 1 UTP Cable 1 Serial Cable 1 USB Host Device Cable Option Table 2 2 W5300E01 ARM Contents Directory Contents W5300E01 ARM Documents Manual User s Manual Datasheet Datasheet of...

Страница 14: ...All rights reserved W W 5 5 3 3 0 0 0 0 E E 0 0 1 1 A A R R M M U U s s e e r r s s M M a a n n u u a a l l 6 3 Hardware Designer s Guide 3 1 Block Diagram 3 1 1 System Block Diagram Figure 3 1 W5300...

Страница 15: ...right 2008 WIZnet Co Inc All rights reserved W W 5 5 3 3 0 0 0 0 E E 0 0 1 1 A A R R M M U U s s e e r r s s M M a a n n u u a a l l 7 3 1 2 Power Block Diagram Figure 3 2 W5300E01 ARM Power Block Dia...

Страница 16: ...s NAND Flash ROM for Booting memory It is designed to be initialized with NAND Flash booting by pull down OM0 and OM1 pins of S3C2410A to GND As power on reset IC is installed for user manual reset it...

Страница 17: ...and base board is supported through 2 54mm Pitch Pin Header typed connector as shown in Fig 3 Figure 3 3 WIZ830MJ Module Interface PIN Map For more detail refer to WIZ830MJ Module Datasheet Figure 3...

Страница 18: ...rts As USB Host driver is basically supported by Linux it is possible to test various USB devices by connecting to W5300E01 ARM platform Through USB device driver the connection with PC is supported 3...

Страница 19: ...evel 3 3V and LCD operational voltage level 5V for stable operation More reliable opration is available by checking LCD Busy Flag through bi directional buffer Low active chip select signal of S3C2410...

Страница 20: ...27 29 31 33 35 A0 A15 O Address bus System Control Signal 34 nGCS0 O General chip select 0 36 nOE O Output enable 37 nRESET I System reset input 38 nWE O Write enable 40 EINT0 IO External interrupt re...

Страница 21: ...s data 29 IICSCL IO I2C bus clock ADC 32 AIN1 AI ADC analog input 1 34 AIN0 AI ADC analog input 0 36 Vref AI ADC voltage reference GPIO Interrupt 18 EINT6 IO External interrupt request GPIO 37 EINT1 I...

Страница 22: ...36 EINT22 IO External Interrupt request GPIO 38 EINT21 IO External Interrupt request GPIO 40 EINT20 IO External Interrupt request GPIO Table 3 2 Expanded Board Interface Pin Description 3 3 Schematic...

Страница 23: ...a a l l 15 3 5 Physical Specification 3 5 1 Board Dimension Symbols Dimensions mm Symbols Dimensions mm A 118 00 I 14 65 B 12 10 J 4 00 C 3 70 K 4 00 D 4 00 L 3 70 E 4 00 M 4 00 F 3 30 N 4 00 G 14 65...

Страница 24: ...Figure 4 1 Hyper Terminal Port Configuration Configure the port as above In order to check the operation of the board turn on the power after connecting the serial cable and executing Hyper Terminal...

Страница 25: ...Copyright 2008 WIZnet Co Inc All rights reserved W W 5 5 3 3 0 0 0 0 E E 0 0 1 1 A A R R M M U U s s e e r r s s M M a a n n u u a a l l 17 Figure 4 2 Booting Check at the Hyper Terminal...

Страница 26: ...to save serial configuration By selecting Exit menu exit the configuration menu z The device file of Serial Device can be different according to the Linux version Turn on the board after connecting t...

Страница 27: ...Copyright 2008 WIZnet Co Inc All rights reserved W W 5 5 3 3 0 0 0 0 E E 0 0 1 1 A A R R M M U U s s e e r r s s M M a a n n u u a a l l 19 Figure 4 4 Booting Check at the minicom...

Страница 28: ...ode existing network program can be supported without any change And if there is any network application requiring higher performance you can use other H W TCP IP channels According to the requirement...

Страница 29: ...3 3 0 0 0 0 E E 0 0 1 1 A A R R M M U U s s e e r r s s M M a a n n u u a a l l 21 4 2 2 Testing HTTP Server 1 Supply the power to W5300E01 ARM board and check booting 2 Execute Web Browser 3 Input h...

Страница 30: ...gram in W5300E01 ARM it is possible to test both of S W H W TCP IP stack Loopback program is installed in root directory of 5300E01 ARM board 1 Install AX1 provided by CD Software Tools AXInstallV3 1...

Страница 31: ...PC in which AX1 is installed should be set as 192 168 1 xxx Ex 192 168 1 2 9 Check if Connected message is shown If PC and W5300E01 ARM board is connected loopback start message is displayed at the l...

Страница 32: ...able Connection Figure 5 1 Cable Connection Example 1 As shown in Figure 5 1 connect the Host PC and W5300E01 ARM board The Linux should be installed in the Host PC Serial cable is used for system con...

Страница 33: ...g UTP cable server programs should be installed in the Host PC Virtual IP address can be used for this networking As server program installation is processed by package management system the board sho...

Страница 34: ...xinetd d tftp file at the editor and change the disable yes into disable no If you don t have etc xinetd d tftp file create the file and include below Re start the xinetd When using xinetd xinetd pack...

Страница 35: ...onfigured by NFS you can execute it at the target board If nfs server is not installed in the Host PC install the nfs server If you are using Debian Linux install the nfs kernel server package with ap...

Страница 36: ...ing Serial ZModem It is possible to transmit a file by using Zmodem of terminal program Serial transmission is simple and easy but slow in speed It is appropriate to transmit small sized files For the...

Страница 37: ...ith root a S and select e 5 3 Zmod to be transm s transmitted pleted below net Co Inc Minicom by using seria after W5300 t ZModem as dem Selectio itted If you p d The test f w message is All rights re...

Страница 38: ...008 WIZ Figure 5 4 Z trnasmitted w chmod 755 e 5 5 Execu net Co Inc Zmodem at with ls com 5 test and ex uting Test F All rights res the minicom mand xecute test p File at the mi served m program inico...

Страница 39: ...al file transmission can be processed at the Hyper Terminal 1 Execute Hyper Terminal and log in with root after W5300E01 ARM is booted 2 Select Transfer Send File at the menu bar 3 When Send File dial...

Страница 40: ...n refer to 5 3 2 NFS Server Configuration W5300E01 ARM supports NFS Client In order to use the directory of NFS at the Host PC input below command at the target board In the root directory the script...

Страница 41: ...Patch You can use official Linux kernel source downloadable from http kernel org and patch it Download the Linux kernel version 2 6 24 4 Download the Linux kernel source file and extrat it in the dir...

Страница 42: ...d compile it 3 Copy the created kernel image into the directory set as tftp server 4 Input tftp 31000000 wizImage at the bootloader of the Target board and download the kernel image For the detail of...

Страница 43: ...image of RAM into the NAND Flash kernel area In here 2eb958 is size of kernel image downloaded from tftp 7 By inputting printenv check bootcmd 8 When kernel image size is changed re configure environ...

Страница 44: ...ystem exists on RAM If power is off the saved data disappears If data should be preserved the data should be written in NAND Flash area For the detail refer to 7 2 JFFS2 You can change the Ramdisk com...

Страница 45: ...bootloader refer to 8 Bootloader Figure 7 1 RAMDISK Download 6 Input nand erase 400000 1000000 for erasing Ramdisk area of NAND Flash 7 Input nand write 31000000 400000 c00000 for writing Ramdisk imag...

Страница 46: ...a a l l 38 7 1 2 Ramdisk Directory Structure Figure 7 3 Ramdisk Directory Structure bin dev pts etc rc d init d rc0 d rc1 d rc2 d rc3 d rc4 d rc5 d rc6 d flash mnt jffs2 home wiznet lib ldscripts mod...

Страница 47: ...r is supplied to the system The Boot Param field is the space where boot parameter value is saved when kernel is booted at the bootloader Linux kernel field includes kernel images At the bootloader th...

Страница 48: ...he default value is 192 168 1 1 z netmask It is the Network mask value The default value is 255 255 255 0 z bootcmd It is the environment variables automatically executed when booting at the bootloade...

Страница 49: ...Copyright 2008 WIZnet Co Inc All rights reserved W W 5 5 3 3 0 0 0 0 E E 0 0 1 1 A A R R M M U U s s e e r r s s M M a a n n u u a a l l 41 9 Appendix 9 1 Hardware Schematic of W5300E01 ARM Base Board...

Страница 50: ...served W W 5 5 3 3 0 0 0 0 E E 0 0 1 1 A A R R M M U U s s e e r r s s M M a a n n u u a a l l 42 Figure 9 1 Hardware Schematic of W5300E01 ARM Base Board z For the schematic of WIZ830MJ Module refer...

Страница 51: ...2 C50 C53 100uF 25V Aluminum 25Vmin 20 4 6 C54 C67 C68 C69 C70 C71 10uF 16V Tantal 16Vmin 10 EIA IECQ 3216 5 5 C62 C63 C64 C65 C66 0 1uF 16V Tantal 16Vmin 10 EIA IECQ 3216 6 1 DC1 DC Jack 3 5 DIP 7 1...

Страница 52: ...K ohm 1 10W 5 SMD CASE 0603 29 1 R35 680 ohm 1 10W 5 SMD CASE 0603 30 1 SW1 3Pin Power Toggle S W Power Switch DIP 31 3 SW2 SW3 SW4 STS 110B 4Pin Tact Switch DIP 32 1 U1 S3C2410A SAMSUNG ARM920T Proce...

Отзывы: