Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

This layer provides support for the Thor-NXT platform reference boards

For more information about the Thor-NXT product line see: https://www.thor.engineering

NeXt-Group - Open projects for lifts https://www.next-group.org

Generic Linux & Open Source on Atmel micro controllers: https://www.linux4sam.org

Supported SoCs / MACHINE names

  • SAMA5D3 based THOR-NX-T2/3 lift controller boards

Sources

Dependencies

This Layer depends on:

Optionally for SDK building:

Build procedure

0/ Create a directory.
mkdir poky
cd poky

1/ Clone yocto/poky git repository with the proper branch ready.
git clone git://git.yoctoproject.org/poky -b dunfell

2/ Clone meta-openembedded git repository with the proper branch ready.
git clone git://git.openembedded.org/meta-openembedded -b dunfell

3/ Clone meta-atmel layer with the proper branch ready.
git clone git://github.com/linux4sam/meta-atmel.git -b dunfell

4/ Clone meta-thornxt layer with the proper branch ready.
git clone git://github.com/thorrockstar/meta-thornxt.git -b dunfell

5/ Enter the poky directory to configure the build system and start the build process.
cd poky

6/ Initialize build directory and set compiler.
source oe-init-build-env build-atmel

7/ Add meta-thornxt layer to bblayer configuration file.
vi conf/bblayers.conf

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../../..')}"

BBLAYERS ?= " \
  ${BSPDIR}/poky/meta \
  ${BSPDIR}/poky/meta-poky \
  ${BSPDIR}/poky/meta-yocto-bsp \
  ${BSPDIR}/meta-atmel \
  ${BSPDIR}/meta-thornxt \
  ${BSPDIR}/meta-openembedded/meta-oe \
  ${BSPDIR}/meta-openembedded/meta-networking \
  ${BSPDIR}/meta-openembedded/meta-python \
  "

BLAYERS_NON_REMOVABLE ?= " \
  ${BSPDIR}/poky/meta \
  ${BSPDIR}/poky/meta-poky \
  "

8/ Edit local.conf to specify the machine, location of source archived, package type (rpm, deb or ipk) Pick one MACHINE name from the "Supported SoCs / MACHINE names" chapter above and edit the "local.conf" file. Here is an example:
vi conf/local.conf

[...]
MACHINE ??= "sama5d3-xplained"
[...]
PACKAGE_CLASSES ?= "package_ipk"
[...]
USER_CLASSES ?= "buildstats image-mklibs"
[...]
DISTRO = "poky-atmel"

IMPORTANT

9/ Double check that in the kernel configuration 'General Setup->Timers subsystem->High Resolution Timer Support' has been turned off as well as 'General Setup->Timers subsystem->Timer tick handling' is set to 'Periodic timer ticks'. This should be done by the 'defconfig' but double check before building because it is cruicial.

10/ Build Thor demo images
bitbake atmel-xplained-demo-image

Typical bitbake output

Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "sama5d3-xplained"
DISTRO               = "poky-atmel"
DISTRO_VERSION       = "3.1.11"
TUNE_FEATURES        = "arm vfp cortexa5 thumb callconvention-hard"
TARGET_FPU           = "hard"
meta                 
meta-poky            
meta-yocto-bsp       = "dunfell:0810ac6b926cd901f0619e95f367efc79d4c3159"
meta-atmel           = "dunfell:c9498d19ed964ed4ad2ba9a23c0ab7b7dd56f4c1"
meta-thornxt         = "dunfell:6546dc566ab89650ac6909283d76fad2349210a0"
meta-oe              
meta-networking      
meta-python          = "dunfell:814eec96c2a29172da57a425a3609f8b6fcc6afe"
workspace            = "dunfell:0810ac6b926cd901f0619e95f367efc79d4c3159"

Contributing

To contribute to this layer you should submit the patches for review to: the github pull-request facility directly. Anyway, don't forget to Cc the maintainers.

AT91 Forum: http://www.at91.com/discussions/

for some useful guidelines to be followed when submitting patches: http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded

Maintainers: Roy Schneider roy@thor.engineering

When creating patches insert the [meta-thornxt] tag in the subject, for example use something like: git format-patch -s --subject-prefix='meta-thornxt][PATCH'

About

This layer provides support for the Thor-NXT platform reference boards.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published