element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • Store
    Store
    • Visit Your Store
    • Choose Another Store
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Atmel Xplained Boards
  • Products
  • Dev Tools
  • Atmel Xplained Boards
  • More
  • Cancel
Atmel Xplained Boards
Blog SAMA5D4 Xplained Ultra - Tips and Tricks #1 - Getting Displays up and Running
  • Blog
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Atmel Xplained Boards requires membership for participation - click to join
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
Author: peteroakes
Date Created: 24 Feb 2015 6:33 AM
Views: 643
Likes: 7
Comments: 43
  • sama5d4
  • roadtests
Related
Recommended

SAMA5D4 Xplained Ultra - Tips and Tricks #1 - Getting Displays up and Running

peteroakes
peteroakes
24 Feb 2015

 

 

So I have a SAMA5D4 from Element 14 and wanted to try to pre-empt the issues we experienced last year with the SAMA5D3's, this was a distinct lack of working drivers and samples

 

With the Help of Christian doctorcdf and Atmel, I now have got many things actually working on the SAMA5D4... YAAAAAAA

 

so what have I achieved and will of course share with your all now for experimenting on your boards. the IO post can be found here :- SAMA5D4 Xplained Ultra - Tips and Tricks #2 - Using the built in IO and external devices


You don't have permission to edit metadata of this video.
Edit media
x
Upload Preview


Chip PDF doc:

http://www.atmel.com/Images/Atmel-44005-32-bit-Cortex-A5-Microcontroller-SAMA5D4-Xplained-Ultra_User-Guide.pdf

 

Displays and matching OS images found with upload batch files

HDMI - Check works for the demo but not as a console

4.3" LCD... not so much, kind of works but needs some tweaking to say the least and touch does not work, I do not currently have the right model 4.3" LCD but if I get one I will update my findings

7" TM7000 - Check, again works for the demo but not as a console (Yet)

Headless - Check

 

Cool I/O stuff

 

Built in 12 bit ADC working , a few channels tested and will demo in command line and python

PCF8574 8 bit I2C port expander, done and tested, again will show in command and python

DAC8574 driving the TI 4 channel DAC,   (Yes I know, one hell of a co-incidence on the numbers ) again will show in command and python

 

 

So first things first, where to find the images and the displays

 

1.     the following link is the standard place for the demo images but it only has the batch and TCL file for the headless board

GettingStarted < Linux4SAM < TWiki

image here: ftp://www.at91.com/pub/demo/linux4sam_4.6/linux4sam-poky-sama5d4_xplained-4.6.zip

Help on loading the images can be found here:- http://www.atmel.com/Images/Atmel-42328-Using-SAM-BA-for-Linux-on-SAMA5D3-Xplained_Training-Manual_AN8995.pdf

 

2. 4.3" LCD Display (You really need this display for it to work correctly PDA - TM4301 EMBEST Human Machine Interface - Touch Screen | 49X9922 | Newark element14 Canada

Image here: ftp://ftp.linux4sam.org/pub/demo/linux4sam_4.6/linux4sam-poky-sama5d4_xplained_pda4-timesys-demo.zip

 

3. HDMI Image here: ftp://ftp.linux4sam.org/pub/demo/linux4sam_4.6/linux4sam-poky-sama5d4_xplained_hdmi-video-demo.zip

 

4. TM7000 7" lcd can be bought here: PDA - TM7000 EMBEST Human Machine Interface - Touch Screen | 49X9923 | Newark element14 Canada

Image here: ftp://ftp.linux4sam.org/pub/demo/linux4sam_4.6/linux4sam-poky-sama5d4_xplained_pda7-timesys-demo.zip

A bunch of material to guide using this display with the D4

http://www.pdaatl.com/doc/tm7000_sama5d3xpld_qs.pdf, http://www.pdaatl.com/doc/tm7000.pdfhttp://www.pdaatl.com/doc/tm7000_sama5d3xpld_qs.pdf

in order to use the TM7000 on the D4 you need to perform SMD soldering to move quite a few resistor jumbers, this is detailed in this PDF

http://www.atmel.com/Images/Atmel-44019-Cortex-A5-Microcontroller-Using-Display-Module-TM7000-on-SAMA5D4-Xplained-Ultra-…

 

 

Basically all the images I used and more can be found here ftp://ftp.linux4sam.org/pub/demo/

 

Read up on SAMBA SoftwareTools < Linux4SAM < TWiki

 

A little board you may find useful for experimenting (I don't have one but I found reference to it so thought I would share ) http://www.atmel.com/Images/Atmel-42078-IO1-Xplained-Pro_User-Guide.pdf

 

The demo can be found in the folders under the /OPT/* once the image has been uploaded

 

Even though I now pointed out complete files ready to go, the following info shows how to edit the files as needed (Future reference)

 

additional info provided by Thomas from Atmel (Thanks Thomas )

In order to support either the HDMI or the TM4301 from PDA, you will need to edit the TCL file below you will find in the package: (demo_linux_nandflash.tcl)

File to edit : demo_linux_nandflash.tcl:

## Files to load

set bootstrapFile "sama5d4_xplained-nandflashboot-uboot-3.7.bin"

set ubootFile "u-boot-sama5d4_xplained_nandflash.bin"

set kernelFile "zImage-sama5d4"

set rootfsFile "atmel-xplained-demo-image-sama5d4_xplained.ubi"

 

## board variant

set boardFamily "at91-sama5d4"

set board_suffix "_xplained"

#set board_suffix "_xplained_hmi"

#set board_suffix "_xplained_mda4"

 

## dtb option

set use_dtb "yes"

 

## uboot env option

set build_uboot_env "yes"

 

## now call common script

source demo_script_linux_nandflash.tcl

~                                     


there is also a training PDF Thomas provided that helped allot in getting the board working as I wanted including using the IO, it is for the SAMA5D3 and I had some things to change but it was a great help to get things going so it is attached to this post.


My next post will cover my work on the I/O including ADC, DAC, I/O and I2C stuff and a ton of working examples.

Attachments:
hands-on_AN-8493_SAMA5D3-Xplained_Linux_GetStart_AN-8493_SAMA5D3-Xplained_Linux_GetStart.pdf
Anonymous

Top Comments

  • Former Member
    Former Member over 7 years ago in reply to Former Member +3

    Hello,

     

    For some who should be interested by Linux topic, here below is an interesting link where some nice info can be grapped....

    http://free-electrons.com/docs/

     

    Below another one linked more to SAMA5D3…

  • Jan Cumps
    Jan Cumps over 7 years ago in reply to Workshopshed +2

    Workshopshed, I'm going to follow your advice.
    I've checked this weekend if I loose functionality when switching from HP OfficeJet package to the standard Windows Fax+Scan application. That's ok.…

  • rzr
    rzr over 7 years ago in reply to noglitch +2

    Thanks to author of this patch, I have display running using wayland and software GL renderer , now I am wondering if I am now hiting the limit of the hardware capabilities or are there any other solution…

  • sherle
    sherle over 5 years ago in reply to saheedm

    Even I am facing the same issue. Please let me know if you find any success.

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • saheedm
    saheedm over 5 years ago

    Hello,

     

    I am able to get Ubuntu running in terminal, however i would like get it displayed in HDMI,

    Even modifying uenv.txt with the below fdt_file value.   Still nothing get displayed in HDMI out. 

    Default yocto atmel hdmi example image works fine. 

     

    Please show me some directions to get HDMI output from the target.

     

    THANKS IN ADVANCE.

     

    Ref:

    ----------------- uEnv.txt-------------------------------------------

    ##Un-comment to enable systemd in Debian Wheezy

    #optargs=quiet init=/lib/systemd/systemd

    fdt_file=/dtbs/at91-sama5d4_xplained_hdmi.dtb

    #console=ttyS0,115200

    #optargs=console=tty0

      #mmcroot=/dev/mmcblk0p2 ro

    #mmcrootfstype=ext4 rootwait fixrtc

     

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • saheedm
    saheedm over 5 years ago in reply to clem57

    I tried with 4GB card it worked. Thanks a lot

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
  • clem57
    clem57 over 5 years ago in reply to saheedm

    please try lower capacity sd card

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • saheedm
    saheedm over 5 years ago

    Hello Everyone,

     

    I am trying to port ubuntu in SAMA5D4, i followed the below article,

    https://eewiki.net/display/linuxonarm/SAMA5D4+Xplained+Ultra

     

    Note:

    Board: SAMA5D4 Xplained Ultra

    Linux: UBUNTU (Kylin 16.04 LTS)

     

    Also followed all the steps and everything worked fine, when trying to boot from SD Card got the below issue. 

    PLEASE LET ME KNOW ANY DIRECTIONS TO PROCEED FURTHER,

    THANKS IN ADVANCE.

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
>
Element14

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2022 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube