Search Latest topics Keywords Who is online? In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest None Most users ever online was 27 on Thu Oct 06, 2016 8:31 pm | porting linux on tiny 6410 mini 6410 friendlyarm board Tue Mar 05, 2013 2:40 am by Admin Getting Start for Mini6410 1. Getting Start for Mini6410 1.1 Unboxing Mini6410 1.2 Required Accessories 1.3 Connection Guide 1.4 Hyperterminal setting on PC 2. Update the system 2.1 Create the SD boot card 2.1.1 Create the bootloader into SD card. 2.1.2 Copy the system Image to SD card 2.2 WinCE system update 2.3 Linux system update 2.4 Android system update 2.5 Ubuntu system update 2.6. run all the system image in SD card 3. Build environment 3.1 Install the Build environment 4. Mini6410 Test demo 1. Getting Start for Mini6410 1.1 Unboxing Mini6410 So you just received your mini6410 board and you may be wondering where to start... This is the right place to get going. 1.2 Required Accessories One Mini6410 Board One LCD Module(4.3"LCD or 7"LCD) One Serial cable One net cable One Mini-USB cable One 5V@2A Power adapter One DVD 1.3 Connection Guide Insert the power adapter to the Power cable, Don't power on the board. Using a serial cable, connect the Debug serial port of the mini6410 board to the Serial Port on your PC. insert the LCD cable to the LCD interface(for 4.3"LCD, default inserted in the board). Power on the board, you can enter the linux system default. Notice: notice the SD card position and Boot mode set positionlater will be used. 1.4 Hyperterminal setting on PC Open the DNW software, and configure it as follow: 1) Find DNW software under directory CD:\Tools\DNW.exe. Double-click to open it: 2) Click “Configuration -> Options”, it will open the “UART/USB Options” dialog. choose '115200' in 'Baud Rate' choose 'COM1' in 'COM Port '(the COM1 means the serial number in PC ) 3) click 'OK' to finish the DNW configuration: 4) Click 'Serial Port->connect' to enable the DNW serial link. Power on the board, then you can enter the linux system by the Hyperterminal on PC 2. Update the system Follow system image will be update: WinCE: StepLoader, Nk.bin, change boot logo(support bmp file) Linux: kernel image, root filesystem(yaffs, ubifs) Android: kernel image, root filesystem(yaffs, ubifs) Ubuntu: kernel image, root filesystem(yaffs, ubifs) No-OS program And you can run the follow system image in SD card: WinCE: StepLoader, Nk.bin Linux: kernel image, root filesystem(ext3 file) Android: kernel image, root filesystem(ext3 file) Ubuntu: kernel image, root filesystem(ext3 file) No-OS program 2.1 Create the SD boot card 2.1.1 Create the bootloader into SD card. 1. Insert a Sd card into the PC(by SD card reader). 2. run the SD-Flasher.exe tools(position: CD:/tools/SD-Flasher.exe) 3. At the "Image File to Fuse:" item, choose the "superboot.bin" file.(Step 1) 4. Click Scan in the tools, The Sd card will be show in the SD Driver item.(Step 2) 5. Click Fuse, The superboot.bin will be burn into the SD card. Notice: SD-Flasher.exe Position -> CD:/tools/SD-Flasher.exe superboot.bin Position -> CD:/images If you useing Win7 system, You should run the SD-Flasher.exe as Administator, and click "Scan", "Relayout!" Before doing the above step. 2.1.2 Copy the system Image to SD card Copy "images" folder into the SD card. Notice: "images" position -> CD:/images If you want to burn the image you build, you can replace the image with the image you build. In the follow step, We will introduce the method to burn the NEC 4.3"LCD image to flash, If you use the the others LCD, you can change the file name to the right name in the images/FriendlyARM.ini. xxxx_t35: For 3.5”LCD, Resolution: 240x320 xxxx_n43: For NEC4.3”LCD, 分Resolution:480x272 xxxx_a70: For 7"LCD, Resolution:800x480 xxxx_L80; For Sharp 8”LCD, Resolution:640x480 xxxx_VGA1024x768: For VGA module, Resolution:1024x768 xxxx_VGA800x600: For VGA module, Resolution:800x600 xxxx_VGA640x480: For VGA module, Resolution:640x480 xxxx_EZVGA800x600: For EasyVGA module, Resolution:800x600 2.2 WinCE system update Step 1. In PC, open the file "images/FriendlyARM.ini" in SD card and edit some item as follow: CheckOneButton=No Action=install OS= WindowsCE6 ################### WindowsCE6 ################# WindowsCE6-Bootloader= WindowsCE6\NBOOT_N43.nb0 WindowsCE6-BootLogo = WindowsCE6\bootlogo.bmp WindowsCE6-InstallImage = WindowsCE6\NK_n43.bin WindowsCE6-RunImage = WindowsCE6\NK_n43.bin Notice: The red word can be change as you needed. If the system image was build by you, you can replace the old one with the new image, and make sure the name is the same Step 2, Set the board as SD card boot mode(set S2 for SDBOOT), and insert the SD card to the board. Step 3. Power on the board, the buzzer will ring one times, and LED4 will light. Step 4. Check the board LED and Buzzer, Buzzer will ring two times, and all LED light, then LED1-LED4 will light on and light off one by one. 2.3 Linux system update Step 1. In PC, open the file "images/FriendlyARM.ini" in SD card and edit some item as follow: CheckOneButton=No Action=install OS= linux #################### Linux ##################### Linux-BootLoader = Linux/u-boot_nand-ram256.bin Linux-Kernel = Linux/zImage_n43 Linux-CommandLine = root=/dev/mtdblock2 rootfstype=yaffs2 init=/linuxrc console=ttySAC0,115200 Linux-RootFs-InstallImage = linux/rootfs_qtopia_qt4.img Linux-RootFs-RunImage = linux/rootfs_qtopia_qt4.ext3 Notice: The red word can be change as you needed. If the system image was build by you, you can replace the old one with the new image, and make sure the name is the same. Step 2, Set the board as SD card boot mode(set S2 for SDBOOT), and insert the SD card to the board. Step 3. Power on the board, the buzzer will ring one times, and LED4 will light. Step 4. Check the board LED and Buzzer, Buzzer will ring two times, and all LED light, then LED1-LED4 will light on and light off one by one. 2.4 Android system update Step 1. In PC, open the file "images/FriendlyARM.ini" in SD card and edit some item as follow: CheckOneButton=No Action=install OS= Android ################### Android #################### Android-BootLoader = Android/u-boot_nand-ram256.bin Android-Kernel = Android/azImage_n43 Android-CommandLine = root=ubi0:FriendlyARM-root ubi.mtd=2 rootfstype=ubifs init=/linuxrc console=ttySAC0,115200 Android-RootFs-InstallImage = Android/rootfs_android.ubi Android-RootFs-RunImage = Android/rootfs_android.ext3 Notice: The red word can be change as you needed. If the system image was build by you, you can replace the old one with the new image, and make sure the name is the same. Step 2, Set the board as SD card boot mode(set S2 for SDBOOT), and insert the SD card to the board. Step 3. Power on the board, the buzzer will ring one times, and LED4 will light. Step 4. Check the board LED and Buzzer, Buzzer will ring two times, and all LED light, then LED1-LED4 will light on and light off one by one. 2.5 Ubuntu system update Step 1. In PC, open the file "images/FriendlyARM.ini" in SD card and edit some item as follow: CheckOneButton=No Action=install OS= Ubuntu Ubuntu-BootLoader = Ubuntu/u-boot_nand-ram256.bin Ubuntu-Kernel = Ubuntu/uzImage_n43 Ubuntu-CommandLine = root=ubi0:FriendlyARM-root ubi.mtd=2 rootfstype=ubifs init=/linuxrc console=ttySAC0,115200 Ubuntu-RootFs-InstallImage = Ubuntu/rootfs_ubuntu.ubi Ubuntu-RootFs-RunImage = Ubuntu/rootfs_ubuntu.ext3 Notice: The red word can be change as you needed. If the system image was build by you, you can replace the old one with the new image, and make sure the name is the same. Step 2, Set the board as SD card boot mode(set S2 for SDBOOT), and insert the SD card to the board. Step 3. Power on the board, the buzzer will ring one times, and LED4 will light. Step 4. Check the board LED and Buzzer, Buzzer will ring two times, and all LED light, then LED1-LED4 will light on and light off one by one. 2.6. run all the system image in SD card edit the file "images/FriendlyARM.ini" in SD as the above burning method, and then only change one word as follow: Action = run 3. Build environment 3.1 Install the Build environment 1. copy the cross tools arm-linux-gcc-4.5.1.tgz, mktools.tar.gz, logomaker.tgz (position: CD:/linux/) to /tmp folder. 2. uncompress it with the follow command: # cd /tmp # sudo tar xvzf arm-linux-gcc-4.5.1-v6-vfp-20101103.tgz –C / # sudo tar xvzf mktools.tar.gz –C / # sudo tar xvzf logomaker.tgz –C / Notice, you should use the root user to do it. 3. Add Path in your environment file Modify your ~/.bashrc file to add a new path with editor (gedit or vi) PATH=$PATH:/opt/FriendlyARM/toolschain/4.5.1/bin To apply this change, login again or restart the .bashrc # source .bashrc 4. Check the tool-chain path to see if it is set up correctly or not, whether it show gcc version 4.5.1 # arm-linux-gcc –v Comments: 0 Social bookmarking | Statistics We have 7 registered usersThe newest registered user is mainveasn Our users have posted a total of 54 messages in 44 subjects |
|
|
Fri Sep 02, 2016 7:34 pm by Admin
» Arduino MKR1000 Scheduled WiFi SSL Web Client
Wed Apr 13, 2016 4:51 pm by Admin
» How to create an overlay in css HTML 5
Wed May 13, 2015 3:28 am by Admin
» Arduino library proteus Arduinolibs.zip
Tue May 12, 2015 6:01 pm by Admin
» Proteus 8 Arduino library -- Arduinolibs.zip
Tue May 12, 2015 5:59 pm by Admin
» Proteus 8 Arduino blink LED
Tue May 12, 2015 5:52 pm by Admin
» comparator in 89c2051
Mon Dec 02, 2013 12:41 pm by Guest
» Java Fx UI controls: by oracle
Tue Aug 06, 2013 2:16 am by Admin
» 8051 read write port
Wed Jul 31, 2013 2:08 am by Admin