Burn write kernel + burn Write file system (jz2440-s3c2440

Source: Internet
Author: User
Tags reset touch
Burn write kernel + burn Write file system (jz2440-s3c2440)

(a) using DNW to write the kernel 1, set the Development Board to NOR start, connect the usb-serial cable (USBCOM1 port <---> PC USB port on the Development Board), connect the PC and the Development Board USB port with another USB cable (the USB port on the Development Board &L t;---> PC USB port). Power on, use SECURECRT, select [K]download linuxkernel uimage.
2, using the DNW tool, first "Serial Port" in the "Connect". Use transmit in the "USB Port" menu to send a write to burn uimage
File. The development Board will automatically burn the program to NAND Flash when it receives the file.


(ii) Use TFTP to burn the kernel 1, first check the PC IP address. Command ipconfig. See the PC's IP address as: 192.168.0.100.
2, run Tftpd32.exe (Master Disc \windows\tools\tftpboot\tftpd32.exe), and then select the directory for hardware files, select ip:192.168.0.100 (PC IP)
3, the Development Board set to nor start, power on, open securecrt, enter the u-boot menu command, use the Q exit menu.
4. Use the Openjtag>menu command to re-enter the U-boot menu. Then, use the Openjtag>print command to view the IP of the board, the IP of the Development Board and the IP of the PC on the same network segment.

We see that the IP of the PC is: 192.168.0.100. The IP of the Development Board is: 192.168.0.14. Both can communicate in the same network segment, if not the same network segment needs to be set.
Set the IP address of the Development Board:
	Openjtag>set ipaddr 192.168.1.17 (IP address of the Development Board)
	Openjtag>set ServerIP 192.168.1.100 (the IP address of the TFTP server is the IP address of the PC) 
  openjtag>save
5, connect the network cable (the Development Board network port and PC network port with network cable Connection)
6, open SECURECRT, use the command openjtag>ping 192.168.0.100 (see if you can ping the IP of the PC)

7, then use SECURECRT, on U-boot use openjtag>tftp 30000000 lcd.bin return (Command MTD view partition)
	Openjtag>nand Erase bootloader
	openjtag>nand write 30000000 bootloader
8, the Development Board power down, and then set to NAND boot, using SECURECRT to view the effect.

9, run Tftpd32.exe, select Uimage Directory,
Using the command openjtag>tftp 30000000 uimage download, it will be found in the TFTP server hardware directory Uimage
Download, download to 30000000 this place.
10. Use the Mtdpart command to display the partition
11. After downloading, execute the following command:
	Openjtag>nand Erase Kernel (erase)
	openjtag>nand write.jffs2 30000000 kernel (from 30000000 this place burned to kernel partition)
is complete.


Burn Write file system (i)
1. Set the Development Board to NOR start, connect the usb-serial cable (USB-COM1 <---> PC USB port on the Development Board), connect PC and Development Board USB port with another USB cable (USB port on Development Board <---> USB port of PC ), power on, use SECURECRT, select [Y]download root_yaffs image.
2. Using the DNW tool menu, First "Connect" in "Serial Port".
Use transmit in the "USB Port" menu to send the Fs_qtopia.yaffs2 file to burn.

3. The development is still set to nor start, then power on, or (After burning write, enter reset to restart). Enter the touch screen correction.


4, Jffs file system burning: (1) set to nor start, connect usb-serial cable (Development Board USB-COM1 Port <---> PC USB port), with another USB cable to connect PC and Development Board USB port (Development Board USB port <---> PC USB port), power on, use SECURECRT, select [J]download root_jffs2 image.
(2) using the DNW tool menu, First "Connect" in "Serial Port".
Use transmit in the "USB Port" menu to send the jffs file to burn.

(3) After completion of burning, restart.

Burn Write file System (ii) (Tftp is just a download, and the NAND command behind it is burn-write.) )
1.	
Openjtag>tftp 30000000 FS_QTOPIA.YAFFS2
Openjtag>nand Erase root (Erase)
Openjtag>nand write.yaffs 30000000 0x00260000 $ (filesize)
Burn write directory can not directly use root, if FS_QTOPIA.YAFFS2 has 1m,root 64M, put 1M plus 63M
Useless data is burned to the root partition.
The size of the downloaded data is actually 2F76B40.
The address of the root partition is 0x00260000.

2, the actual burning write command for
Openjtag>nand write.yaffs 30000000 0x00260000 2F76B40
Use 2F76B40 instead of $ (filesize).
Or
Openjtag>tftp 30000000 FS_QTOPIA.JAFFS2
Openjtag>nand Erase Root
Openjtag>nand write.yaffs 30000000 0x00260000 $ (filesize)
2. After the burn is completed, enter reset to restart.
3, check the touch screen.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.