element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
  • Settings
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
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Atmel Xplained Boards to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Robert Peter Oakes
  • Date Created: 24 Feb 2015 6:33 AM Date Created
  • Views 4922 views
  • Likes 7 likes
  • Comments 43 comments
  • sama5d4
  • roadtests
Related
Recommended

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

Robert Peter Oakes
Robert Peter Oakes
24 Feb 2015

imageimage

 

 

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
image
Upload Preview
image


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 image, 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 image ) 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

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

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 image ) 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 image )

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)

image

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:
imagehands-on_AN-8493_SAMA5D3-Xplained_Linux_GetStart_AN-8493_SAMA5D3-Xplained_Linux_GetStart.pdf
  • Sign in to reply

Top Comments

  • Former Member
    Former Member over 10 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 10 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. This…
  • rzr
    rzr over 10 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 8 years ago in reply to saheedm

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

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • saheedm
    saheedm over 8 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

     

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • saheedm
    saheedm over 8 years ago in reply to clem57

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

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • clem57
    clem57 over 8 years ago in reply to saheedm

    please try lower capacity sd card

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • saheedm
    saheedm over 8 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. 

    image

    PLEASE LET ME KNOW ANY DIRECTIONS TO PROCEED FURTHER,

    THANKS IN ADVANCE.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

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 © 2025 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

  • X
  • Facebook
  • linkedin
  • YouTube