Difference between revisions of "APF6Dev"

From ArmadeusWiki
Jump to: navigation, search
(Other)
(Tips)
Line 76: Line 76:
  
 
==Tips==
 
==Tips==
 +
===U-Boot===
 
* Using 7" 800x480 LCD with 3.10/3.14 legacy kernel:
 
* Using 7" 800x480 LCD with 3.10/3.14 legacy kernel:
 
<pre class="apf">
 
<pre class="apf">
 
BIOS> setenv extrabootargs video=mxcfb0:dev=lcd,800x480@60,if=RGB666,bpp=32
 
BIOS> setenv extrabootargs video=mxcfb0:dev=lcd,800x480@60,if=RGB666,bpp=32
 
</pre>
 
</pre>
 +
then, after having booted Linux, do:
 
<pre class="apf">
 
<pre class="apf">
 
root@apf6 ~ # fbset > /etc/fb.modes
 
root@apf6 ~ # fbset > /etc/fb.modes
Line 93: Line 95:
 
keyboard map is english one and it seems not possible to change it (U-Boot 2014.07) ?
 
keyboard map is english one and it seems not possible to change it (U-Boot 2014.07) ?
  
 +
* Use APF6Dev "User" LED in U-Boot scripts:
 +
Declare GPIO Port 7 Pin 12 (connected to the LED) as GPIO:
 +
<pre class="apf">
 +
BIOS> md.l 0x020b4004 1
 +
020b4004: 00000100
 +
BIOS> mw.l 0x020b4004 0x00001100    (set bit 12)
 +
</pre>
 +
Switch LED on:
 +
<pre class="apf">
 +
BIOS> md.l 0x020b4000 1
 +
020b4000: 00000f04
 +
BIOS> mw.l 0x020b4000 0x00001f04    (set bit 12)
 +
</pre>
 +
Switch LED off:
 +
<pre class="apf">
 +
BIOS> mw.l 0x020b4000 0x00000f04    (clear bit 12)
 +
</pre>
 +
 +
===Linux===
 
* to activate login in Framebuffer console, please uncomment ''/etc/inittab'' line 35 this way:
 
* to activate login in Framebuffer console, please uncomment ''/etc/inittab'' line 35 this way:
 
<pre class="apf">
 
<pre class="apf">

Revision as of 15:37, 30 May 2016


Description

This is the Armadeus System's standard development board/baseboard for the APF6 module.

The following options are available:

Errata

  • As the board is also used for APF6_SP module (APF6+FPGA), you might experience some miscellaneous FPGA LED blinking (beside "FPGA_SW" button) when no FPGA is present.

Resources

Feature list

Audio


Video Out

Video In

User Input

Wired communication

Storage

Realtime clock

Wireless communication

FPGA connections

Other

  • PWM: PWM3 output is on J2 pin 26
    (2.8V output), but also used by LCD backlight !
  • GPIOlib
  • JTAG

Tips

U-Boot

  • Using 7" 800x480 LCD with 3.10/3.14 legacy kernel:
BIOS> setenv extrabootargs video=mxcfb0:dev=lcd,800x480@60,if=RGB666,bpp=32

then, after having booted Linux, do:

root@apf6 ~ # fbset > /etc/fb.modes
  • Activating HDMI console with USB keyboard in U-Boot (since armadeus-6.0):
BIOS> usb start
BIOS> setenv stdout serial,vga
BIOS> setenv stderr serial,vga
BIOS> setenv stdin serial,usbkbd

keyboard map is english one and it seems not possible to change it (U-Boot 2014.07) ?

  • Use APF6Dev "User" LED in U-Boot scripts:

Declare GPIO Port 7 Pin 12 (connected to the LED) as GPIO:

BIOS> md.l 0x020b4004 1
020b4004: 00000100
BIOS> mw.l 0x020b4004 0x00001100    (set bit 12)

Switch LED on:

BIOS> md.l 0x020b4000 1
020b4000: 00000f04
BIOS> mw.l 0x020b4000 0x00001f04    (set bit 12)

Switch LED off:

BIOS> mw.l 0x020b4000 0x00000f04    (clear bit 12)

Linux

  • to activate login in Framebuffer console, please uncomment /etc/inittab line 35 this way:
# Set up a getty on LCD
tty1::respawn:/sbin/getty 38400 tty1