|
|
|
Developer Resources for
System Update
|
|
|
|
Follow system image will be update:
-
-
Linux: kernel image, root filesystem(yaffs)
Prepare the image file
-
-
Obtain a PC workstation with a serial communication port.
-
Download the Linux Image package for SBC-SAM9G45 from CoreWind website. Unzip the package to a directory on your host workstation.(Or you can find it on CD:/Linux/Image)
-
All image files mentioned below can be found in image Folder.
-
Insert the USB Disk to the PC.
-
Copy the uImage and rootfs.yaffs2 to the USB Disk.
Linux system update
-
1.insert The USB Disk into the SBC-SAM9G45 board
-
1.Connect the host PC to the SBC-SAM9G45(connector DEBUG) via the serial cable supplied with the evaluation kit.
-
2.Start terminal emulation software on your PC. Set baud rate to 115200 bps, 8 bit per frame, 1 stop bit, no parity, no flow control.
-
3.Insert the Power adapter into the board Power interface(Connector: J6). The Board will start, and then press the any key in your PC to enter the U-Boot command prompt.
U-Boot 1.3.4 (Oct 26 2011 - 04:12:14)
I2C: ready
DRAM: 128 MB
NAND: 256 MiB
DataFlash:AT45DB321
...................
Hit any key to stop autoboot: 0
U-Boot>
-
4.Run the follow command on the U-Boot command prompt to Enable the usb update.
U-Boot> usbloader
-
5.Run the follow command to burn the linux kernel image to the board
U-Boot> run program_kernel_usb
 |
If it show "2097152 bytes written: OK", then the kernel image update was success. |
-
6.Run the follow command to burn the root file system to the board:
U-Boot> run program_rootfs_usb
 |
If it show "xxxxx bytes written: OK", then the Root file system image update was success. |
Then the Linux system updated was finished, you can reboot the board and enter the linux system.
Set the LCD type
-
If you use 4.3"LCD, Run the command to set it at the Uboot command module
-
U-Boot> setlcd43
-
If you use 7"LCD, Run the follow command to set it(the Uboot command mode)
-
U-Boot> setlcd7
Enter the QT system
-
Boot the board to enter the linux system command mode in the terminal, then run the follow command to calibrate the touchscreen:
-
# ts_calibrate
-
# ts_test
-
We provide qt 4.6.3 lib on the board, if you want to test it, you can copy the qt demo from CD to the board, and run the follow command to test it.
-
# ./xxxx -qws
-
Then you will see the qt demo system in the picture.
|
|
|