Difference between revisions of "Setup"

From ArmadeusWiki
Jump to: navigation, search
m (First StartUp)
(58 intermediate revisions by 8 users not shown)
Line 1: Line 1:
On this page, you will find all the usefull informations you need to configure your Armadeus board for optimum usage.
+
On this page, you will find all the useful information to configure your Armadeus board for optimum usage.
  
 
==First StartUp==
 
==First StartUp==
Just got your Armadeus board and want to start playing with it ? Follow these quick steps to setup your environment accordingly:
+
Just got your Armadeus board and want to start playing with it? <br>
# Connect your APF to your development board (custom or [[APF9328DevLight|DevLight]]/[[APF9328DevFull|DevFull]]) ( your system will be hereafter refered to as "the Target") --->> [[Image:Apf_on_devlight.png|40px]]
+
Follow these quick steps to setup your environment accordingly:
# Connect your PC (= "the Host") to your board with a [http://en.wikipedia.org/wiki/Null_modem null-modem RS232 cable]. If you don't have a RS232 port on your Host, you can use a "USB <-> serial" converter.
+
# Connect your APF module to your development/docking board (custom one or ARMadeus Systems official one) (your system will be hereafter referred to as "the Target")
# [[Development_boards_power_supply | Connect the power supply on your development board.]]
+
# '''On APF9328Dev/APF27Dev/PPS:''' connect your PC (= "the Host") to your board with a [http://en.wikipedia.org/wiki/Null_modem null-modem RS-232 cable] (only Rx/Tx/Gnd signals are needed). If you don't have a RS-232 port on your Host, you can use a "USB <-> serial" converter (you'll still need the null-modem cable).
# [[Communicate | Establish the communication between your Host and your APF.]]
+
# '''On APF51Dev/APF28Dev/APF6Dev:''' connect your PC (= "the Host") to your board with a USB to miniUSB cable. On the APF use the "Debug" connector (between HDMI and USB Host ones)
# Verify your system is booting by starting Linux: In U-Boot console, type "boot". Several informations will be displayed on your terminal like on this [[Linux start screenshot | screenshot ]] (Default login is "root" with an empty password).
+
# [[Communicate | Install (minimum) tools to communicate with your APF from your Host.]]
# If Linux has successfully started, your system is operational. You can then proceed with the toolchain installation. [[Setup#Basics | See Basics below]].
+
# Connect the power supply to your development board. (See the [[Datasheet]] of your *Dev board for more informations)
 +
# Verify your system is booting and starting Linux (In U-Boot console, type "boot" if bootdelay is too long). Several information will be displayed on your terminal like on this [[Linux start screenshot | screenshot]] (Default Linux login is "root" with an empty password). '''If your system is NOT starting''', walk through [[U-Boot communication quick check|this small checklist]].
 +
# If Linux has successfully started, your system is operational. If you want to add applications to your board or develop custom ones, then you can proceed with the Toolchain installation. [[Setup#Build_and_update_your_system | See Build and update your system]].
  
 +
===Tutorial===
 +
If you want a more "userfriendly" procedure, you can try this (under construction) tutorial: [[Beginner's_tutorial]]
  
As experienced user you want to know how to use the third generation of Armadeus (3). The wiki page [[Armadeus 3]] summarizes all you need to know about this third generation of Armadeus.
+
==Build and update your system==
 +
# [[Embedded Linux system basis]]
 +
# [[Toolchain| Install the development environment (=Toolchain) for your board and generate your Linux/rootfs images]]
 +
# [[Target Software Installation| Install/flash your U-Boot, Linux and rootfs freshly generated images on your board]]
 +
# [[Armadeus_3#How-to_develop_with_Armadeus_.2F_customize_your_SDK| Customize your Armadeus SDK]]
  
==Basics==
 
* [[Toolchain]]: How to install the development environment for the Armadeus boards
 
* [[Communicate]]: How to communicate with your board from the Host
 
* [[Target Software Installation]]: How to install U-Boot, Linux and your Rootfs images on your board
 
  
==Intermediate==
+
{{Note| When a board is shipped, default factory binaries are flashed on it. It can be a legacy version of the armadeus BSP. So it's important to load the latest release binaries ("Get latest release" menu on side bar of this wiki), or build them yourself, and update all software with the following commands (on U-Boot assuming the image files have already been copied in /tftpboot):
* [[Network Configuration]]: how to configure Host and Target network (NFS, TFTP)
+
* [[Serial Transfer]]: how to transfer files between your Host and your Armadeus board with the RS232 link (if you don't have Ethernet)
+
* [[MultiMediaCard]]: how to use MMC/SD cards on Linux with your Armadeus board
+
  
<strong> TO BE REMOVED FROM THIS PAGE:</strong>
+
<pre class="apf">
* [[FrameBuffer]]: how to configure and use the framebuffer for new LCDs
+
BIOS> run update_uboot
* [[BackLight| How to control the backlight of you graphical LCD (if it supports it)]]
+
BIOS> reset
* [[GPIO Driver]]: how to configure the GPIO driver
+
BIOS> run flash_reset_env
* [[Boa]]: How install and configure the boa Web server on your board
+
...
* [[USB Gadget]]: how to configure your Armadeus board to use it as a USB device (aka Gadget in Linux language)
+
BIOS> run update_kernel
* [[DAC|Digital to Analog Convertion]]: how to configure and use the DAC on your board
+
BIOS> run update_rootfs
* [[ADC max1027|Analog to Digital Converter]]: how to install and use the on board ADC (max1027)
+
</pre>
* [[PWM]]: how to use the i.MX integrated PWM
+
}}
* [[RTC]]: how to use an external Real Time Clock (Maxim DS1374)
+
* [[Watchdog]]: how to configure and use the i.MX integrated Watchdog
+
* [[TV Output]]: How to use the SVideo output of the APF9328DevFull
+
* [[USB Host]]: How to use the ISP176x USB Host controller of the APF9328DevFull
+
* [[TSC2102 Linux driver| TSC2102 Linux driver details ]]: How to configure and use the touchscreen controller
+
* [[CAN bus Linux driver]]: how to configure and use the CAN controller of the DevFull
+
 
+
==Advanced==
+
* [[BootLoader]]: (U-Boot useful tips)
+
* [[BootStrap]]: Install U-Boot from scratch or recover your U-Boot if it was corrupted
+
 
+
 
+
[[Image:FrenchFlag.png]][[Configuration| Cette page en Français]]
+

Revision as of 10:06, 17 December 2014

On this page, you will find all the useful information to configure your Armadeus board for optimum usage.

First StartUp

Just got your Armadeus board and want to start playing with it?
Follow these quick steps to setup your environment accordingly:

  1. Connect your APF module to your development/docking board (custom one or ARMadeus Systems official one) (your system will be hereafter referred to as "the Target")
  2. On APF9328Dev/APF27Dev/PPS: connect your PC (= "the Host") to your board with a null-modem RS-232 cable (only Rx/Tx/Gnd signals are needed). If you don't have a RS-232 port on your Host, you can use a "USB <-> serial" converter (you'll still need the null-modem cable).
  3. On APF51Dev/APF28Dev/APF6Dev: connect your PC (= "the Host") to your board with a USB to miniUSB cable. On the APF use the "Debug" connector (between HDMI and USB Host ones)
  4. Install (minimum) tools to communicate with your APF from your Host.
  5. Connect the power supply to your development board. (See the Datasheet of your *Dev board for more informations)
  6. Verify your system is booting and starting Linux (In U-Boot console, type "boot" if bootdelay is too long). Several information will be displayed on your terminal like on this screenshot (Default Linux login is "root" with an empty password). If your system is NOT starting, walk through this small checklist.
  7. If Linux has successfully started, your system is operational. If you want to add applications to your board or develop custom ones, then you can proceed with the Toolchain installation. See Build and update your system.

Tutorial

If you want a more "userfriendly" procedure, you can try this (under construction) tutorial: Beginner's_tutorial

Build and update your system

  1. Embedded Linux system basis
  2. Install the development environment (=Toolchain) for your board and generate your Linux/rootfs images
  3. Install/flash your U-Boot, Linux and rootfs freshly generated images on your board
  4. Customize your Armadeus SDK


Note Note: When a board is shipped, default factory binaries are flashed on it. It can be a legacy version of the armadeus BSP. So it's important to load the latest release binaries ("Get latest release" menu on side bar of this wiki), or build them yourself, and update all software with the following commands (on U-Boot assuming the image files have already been copied in /tftpboot):
BIOS> run update_uboot
BIOS> reset
BIOS> run flash_reset_env
...
BIOS> run update_kernel
BIOS> run update_rootfs