element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
Enchanted Objects
  • Challenges & Projects
  • Design Challenges
  • Enchanted Objects
  • More
  • Cancel
Enchanted Objects
Forum Enchanted Objects: Let's work together to tame the ATMEL SMART SAMA5D4 Xplained Ultra kit
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 40 replies
  • Subscribers 10 subscribers
  • Views 4468 views
  • Users 0 members are here
  • atmel_sama5d4
  • enchanted_objects
Related

Enchanted Objects: Let's work together to tame the ATMEL SMART SAMA5D4 Xplained Ultra kit

Jan Cumps
Jan Cumps over 10 years ago

Pinging my fellow enchanted_objects participants

Workshopshed, Jan Cumps, kidiccurus, RParkerE, amgalbu, tanah, christiann22, JokerZ, nikil511, Robert Peter Oakes, iayanpahwa, coolbox, crjeder, doca, dwinhold

to work together on getting us to the point where we can build and run code for the The specified item was not found. SMART SAMA5D4 Xplained Ultra .

 

This board is rather tough to crack. It would be great if we could all share the small steps that work here.

If you get one step further than anyone else, let's document our progress here.

It would be great to document it in reproducible steps.

 

I tried to create a Document, but that's not available in this section of the element14 website. So it's a Discussion.

 

Loading images, binaries and Pre-compiled Demos

Robert Peter Oakes has created a step by step guide to load binaries to the board using SAM-BA.

The embedded video is easy to following along step-by-step.

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

SAMA5D4 Xplained Ultra - Tips and Tricks #2 - Using the built in IO and external devices

 

JokerZ compiled an Ubuntu 14.x; including the toolchain and a mesage queue service loaded to the board.

The image he created is available from his blog post:

SAMA5D4 and my Ubuntu experience. Blog Post #2 - A place in the cloud

 

Jan Cumps documentation on getting TCP/IP, SSH and SCP running using Robert Peter Oakes' technique:

Review 5: Atmel SMART SAMA5D4 Xplained Ultra - TCP/IP running

Review 6: Atmel SMART SAMA5D4 Xplained Ultra - LINUX Distro with SSH support

 

Jan Cumps documentation on transfering files to the linux distro over the USB port (for those cases where your board isn't connected to the network):

Sending Files to SAMA5D4 over USB


 

 

Tool Chain

JokerZ compiled an Ubuntu 14.x; and loaded the toolchain on the board itself using apt-get.

SAMA5D4 and my Ubuntu experience. Blog Post #2 - A place in the cloud

 

Jan Cumps installed a tool chain that compiles the bare metal libraries from SAMA5D4 Software Package.

Review 2: Atmel SMART SAMA5D4 Xplained Ultra - Building the Libraries from Source

 

Jan Cumps cross-compiled a C++ program from source and executed it on linux:

Run my own C++ Program on the SAMA5D4



 

TODO
  • Build, Load and Run any example  from source
  • Build, Load and Run an OS from source
  • Make an example that talks to the peripherals (IO, ADC, protocols)
  • Install a software package
  • Debug your application
  • Whatever we come up with during the challenge
  • Sign in to reply
  • Cancel

Top Replies

  • Former Member
    Former Member over 10 years ago in reply to Jan Cumps +6
    I am not sure that distro with HDMI opens up the display as much as we'd like it to. I was able to print random garbage to the HDMI screen today, but my attempts at loading graphics of any type weren't…
  • Former Member
    Former Member over 10 years ago +5
    Just a really quick note here as it is after 2:30am I finally managed to get the SAMA5D4 to boot with an ubuntu kernel :-) Version is 14.04 This includes a base ubuntu root file structure and I am currently…
  • Former Member
    Former Member over 10 years ago in reply to Jan Cumps +3
    Thanks for the updates to the thread Jan. I really want to get around to making a youtube video showing the boot process. It's cool to see it all happen, hopefully I'll get it done tomorrow or over the…
  • Former Member
    Former Member over 10 years ago in reply to Robert Peter Oakes

    Hi Peter,

    you should get the lcd working ok.

    You'll need to load it with the relevant config line.

     

    edit the uEnv.txt file and replace this line

    fdt_file=/dtbs/at91-sama5d4_xplained_hdmi.dtb

     

    with this line

    fdt_file=/dtbs/at91-sama5d4_xplained_pda4.dtb

     

    That should activate the LCD, no kernel compile required.

    Accessing the display.. No idea. It probably creates a /dev/xxxxsomething  for the device

     

    Check the directory both before and after  a boot with that line to see what appears in /dev

     

    Regards

    Rob

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago in reply to Former Member

    So mine is now printing unreadable text ONLY in the area where the prompt telling me the user name and password, the rest prints perfectly... go figure, and to make things worse I cant remember the loging name or password... Please can you enlighten me

     

    I had spent hours loading GNOME and TIGHTVNCSERVER just to find it is not enough for a remote graphical console but now I cant log in again either without the UNAME and PWD


    Thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • clem57
    clem57 over 10 years ago in reply to Robert Peter Oakes

    Name: ubuntu

    Pwd: temppwd

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to Robert Peter Oakes

    Hi Peter,

     

    Was the corruption in the console (via serial port)

    or was the corruption on the LCD? ie. was it treating the LCD as a console?

     

    I did have a problem once where I managed to corrupt the SD card while I was experimenting

    with the OS builds. I probably popped it in and out once too many times without running

    the sync command first.  What it did was corrupt my keyboard so I could no longer type properly.. image

     

    Regards

    Rob

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago in reply to Former Member

    I keep trying to reply via email and its still busted, so you wont have seen my responses

     

    I resolved it by re-loading the SD card. It was only the part at the login prompt where it shows the user name and password, the rest was ok

     

    I am currently trying to get beta MONO 4.0.0 up and running for forms apps, and also some kind of Xserver, no luck so far

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to Robert Peter Oakes

    Hi Peter,

    be interesting to see where the mono 4.0 is failing, is it during the build process?

    I assume that it being alpha/beta you have to make it yourself. image

     

    I am about to go on two weeks holiday, so won't be able to try anything with the board.

    Happy to give the mono build a shot when I get back though.

     

    For X, I got a lot of blank screen greeting me whenever I tried to start it.

    I got closer with KDE where I had an actual login prompt on the hdmi screen, but had

    trouble after that.  It may have been due to all the messing around I did with settings. So I'll be giving it another

    go when I return with a clean setup to see just how far I can get.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • crjeder
    crjeder over 10 years ago

    I am trying to use the RGB shield on the Xplained board. I2C is connected to I2C-1 which is not in the /dev path. Any Ideas?

    I search the net for an answer and will report if I found a solution...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • clem57
    clem57 over 10 years ago in reply to crjeder

    Check the DTB file also known as the device tree binary. If it does not have I2C-1 that would be the problem...

    Clem

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago in reply to crjeder

    I am pretty sure I tested devices connected to the I2C bus on the SAMA5D4 without an issue and based on a standard build (Not a custom one) and examples are given right here SAMA5D4 Xplained Ultra - Tips and Tricks #2 - Using the built in IO and external devices

     

    the buss that is set up is '0" and so for example to scan the i2C bus you would issue the command as follows "i2cdetect -y 0"

     

    Hope this helps

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • crjeder
    crjeder over 10 years ago in reply to Robert Peter Oakes

    Yes, I verifyed that the i2c-0 works. good. moving on to i2c-1 (which is the one broken out on the arduino headers)

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