Difference between revisions of "Setup"

From ArmadeusWiki
Jump to: navigation, search
(Going further with your board)
(Build and update your system)
 
(25 intermediate revisions by 5 users not shown)
Line 2: Line 2:
  
 
==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 development kit and want to start playing with it?
# Connect your APF to your development board (custom or [[APF9328DevLight|DevLight]]/[[APF9328DevFull|DevFull]]) (your system will be hereafter referred to as "the Target") --->> [[Image:Apf_on_devlight.png|40px]]
+
 
# Connect your PC (= "the Host") to your board with a [http://en.wikipedia.org/wiki/Null_modem null-modem RS232 cable] (only Rx/Tx/Gnd signals are needed). If you don't have a RS232 port on your Host, you can use a "USB <-> serial" converter (you'll still need the null-modem cable).
+
Follow these quick steps to setup your environment accordingly:
# [[Communicate | Install (minimum) tools to communicate with your APF from your Host.]]
+
# Plug your APF/OPOS module in 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 to 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).
# Verify your system is booting by starting Linux: In U-Boot console, type "boot". 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 NOT''', walk through [[U-Boot communication quick check|this small checklist]].
+
# '''On APF51Dev/APF28Dev/APF6Dev/OPOS6ULDev:''' connect your PC (= "the Host") to your board with a mini USB cable. On the devt board use the "Debug" connector.
# 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#Basics | See Basics below]].
+
# [[Communicate | On your Host PC, Install the (minimum) tools to communicate with your APF/OPOS.]]
 +
# 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===
 
===Tutorial===
If you want a more "userfriendly" procedure, you can try this (under construction) tutorial: [[Beginner's_tutorial]]
+
If you want a more "user friendly" procedure, you can try [[Beginner's_tutorial|this (under construction) tutorial]].
  
==Basics for customizing your board==
+
==Build and update your system==
 +
# [[Embedded Linux system basis]]
 
# [[Toolchain| Install the development environment (=Toolchain) for your board and generate your Linux/rootfs images]]
 
# [[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]]
 
# [[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]]
 
# [[Armadeus_3#How-to_develop_with_Armadeus_.2F_customize_your_SDK| Customize your Armadeus SDK]]
  
==Going further with your board==
 
* [[Armadeus 3]]: How to use the third generation of Armadeus SDK at a glance (notably for 2.x users). Newcomers can particularly find the chapter [[Armadeus_3#How-to_develop_with_Armadeus_.2F_customize_your_SDK| How-to customize your Armadeus SDK]] interesting.
 
* [[Network File System configuration| How to configure NFS on Host and Target]]
 
* [[MultiMediaCard | How to use MMC/SD/microSD cards from Linux on your Armadeus board]]
 
* [[ALSA|How to play sound with your board]]
 
* [[Mplayer|How to play videos on your board]]
 
 
* [[FrameBuffer]]: How to configure and use the framebuffer for new LCDs
 
* [[BackLight| How to control the backlight of you graphical LCD (if it supports it)]]
 
* [[GPIO Driver]]: How to configure the GPIO driver
 
* [[Boa]]: How to 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)
 
* [[DAC|Digital to Analog Convertion]]: How to configure and use the DAC on your board
 
* [[ADC max1027|Analog to Digital Converter]]: How to install and use the on board ADC (max1027)
 
* [[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 USB Host controllers of the APF9328DevFull and APF27
 
* [[TSC2102 Linux driver| Touchscreen ]]: How to configure and use the touchscreen controller
 
* [[CAN bus Linux driver]]: How to configure and use the CAN controller of the DevFull
 
* [[DVI / HDMI]]: How to configure and use the DVI/HDMI controller of the apf27DevFull
 
* [http://txlab.wordpress.com/2009/03/20/mounting-the-lcd-touchscreen-on-top-of-armadeus-devboard Low cost assembly of LCD & apf27 development board ]:
 
* [[BQ27x00|Lion/lipo Battery charger]]: How to use the BQ27x00 battery charger
 
* [[MAX9768|MAX9768]]: How to use the MAX9768 class D audio amplifier
 
 
==Advanced==
 
* [[Ethernet_MAC_address|How to change your board Ethernet MAC address]] (Thanks to Julien Catalano)
 
* [[BootLoader]]: (U-Boot useful tips)
 
* [[BootStrap]]: Install U-Boot from scratch or recover your U-Boot if it was corrupted
 
* [[ JTAG | Support JTAGKey and BDI2000 JTAG probes]]
 
* [[Serial Transfer| How to transfer files between your Host and your Armadeus board's Linux with the RS232 link]] (if you don't have Ethernet/NFS/TFTP/MMC/USB)
 
* [[Telnet | Telnet: how to communicate with the board through an Ethernet connection]]
 
* [[SSH| SSH: how to communicate with the board through a secured Ethernet connection]]
 
* [[UBIFS]]
 
* [[Create a FLASH partition to store user's HOME]]
 
  
 +
{{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, and [[Communicate#TFTP_server_installation | tftpboot server is correctly installed on your host]]):
  
{{LanguageBar|Setup|Configuration|Konfiguration}}
+
<pre class="apf">
 +
BIOS> run update_uboot
 +
BIOS> reset
 +
BIOS> run flash_reset_env
 +
BIOS> reset                (then define ''ipaddr'' and ''serverip'')
 +
...
 +
BIOS> run update_kernel    (not needed on OPOS6UL* boards)
 +
BIOS> run update_rootfs
 +
</pre>
 +
}}

Latest revision as of 14:11, 4 June 2019

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

First StartUp

Just got your Armadeus development kit and want to start playing with it?

Follow these quick steps to setup your environment accordingly:

  1. Plug your APF/OPOS module in 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/OPOS6ULDev: connect your PC (= "the Host") to your board with a mini USB cable. On the devt board use the "Debug" connector.
  4. On your Host PC, Install the (minimum) tools to communicate with your APF/OPOS.
  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 "user friendly" procedure, you can try this (under construction) 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, and tftpboot server is correctly installed on your host):
BIOS> run update_uboot
BIOS> reset
BIOS> run flash_reset_env
BIOS> reset                 (then define ''ipaddr'' and ''serverip'')
...
BIOS> run update_kernel     (not needed on OPOS6UL* boards)
BIOS> run update_rootfs