Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kraj/big endian #242

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Sources
=======
- meta-atmel
URI: https://github.com/linux4sam/meta-atmel.git
Branch: kirkstone
Branch: master


Dependencies
Expand Down Expand Up @@ -54,16 +54,16 @@ mkdir my_dir
cd my_dir

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

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

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

4/ Clone meta-arm layer with the proper branch ready
git clone https://git.yoctoproject.org/meta-arm -b kirkstone
git clone https://git.yoctoproject.org/meta-arm -b master

5/ Enter the poky directory to configure the build system and start the build process
cd poky
Expand Down
2 changes: 1 addition & 1 deletion conf/layer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
noto-fonts->fontconfig \
"

LAYERSERIES_COMPAT_atmel = "kirkstone"
LAYERSERIES_COMPAT_atmel = "mickledore"
VIRTUAL-RUNTIME_alsa-state = ""

# Temp fix for:
Expand Down
21 changes: 21 additions & 0 deletions conf/templates/default/bblayers.conf.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"

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

BBLAYERS ?= " \
##OEROOT##/meta \
##OEROOT##/meta-poky \
##OEROOT##/meta-yocto-bsp \
##OEROOT##/../meta-openembedded/meta-oe \
##OEROOT##/../meta-openembedded/meta-networking \
##OEROOT##/../meta-openembedded/meta-webserver \
##OEROOT##/../meta-openembedded/meta-python \
##OEROOT##/../meta-openembedded/meta-initramfs \
##OEROOT##/../meta-atmel \
##OEROOT##/../meta-openembedded/meta-multimedia \
##OEROOT##/../meta-arm/meta-arm \
##OEROOT##/../meta-arm/meta-arm-toolchain \
"
33 changes: 33 additions & 0 deletions conf/templates/default/conf-notes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

### Shell environment set up for builds. ###

You can now run '[MACHINE=<machine>] bitbake <target>'

Microchip supported machines are:
- SAMA5D2 product family / sama5d2-xplained, sama5d2-xplained-emmc, sama5d27-som1-ek-sd, sama5d27-som1-ek-optee-sd, sama5d2-ptc-ek, sama5d2-icp, sama5d27-wlsom1-ek-sd
- SAMA5D4 product family / sama5d4ek, sama5d4-xplained
- SAMA5D3 product family / sama5d3xek, sama5d3-xplained
- AT91SAM9x5 product family (AT91SAM9G15, AT91SAM9G25, AT91SAM9X25, AT91SAM9G35 and AT91SAM9X35) / at91sam9x5ek
- AT91SAM9RL / at91sam9rlek
- AT91SAM9G45 / at91sam9m10g45ek
- SAM9X60 / sam9x60ek / sam9x60-curiosity
- SAMA7G5 / sama7g5ek-sd, sama7g5ek-emmc, sama7g5ek-ospi
Note that most of the machine names above, have a SD Card variant that can be
built by adding an "-sd" suffix to the machine name.

Microchip targets are:
microchip-headless-image
microchip-graphics-image

Common targets are:
core-image-minimal
core-image-sato
meta-toolchain
meta-ide-support

You can also run generated qemu images with a command like 'runqemu qemux86'

Other commonly useful commands are:
- 'devtool' and 'recipetool' handle common recipe tasks
- 'bitbake-layers' handles common layer tasks
- 'oe-pkgdata-util' handles common target package tasks
30 changes: 30 additions & 0 deletions conf/templates/default/layer.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# We have a conf and classes directory, append to BBPATH
BBPATH .= ":${LAYERDIR}"

# We have a recipes directory, add to BBFILES
BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"

BBFILE_COLLECTIONS += "atmel"
BBFILE_PATTERN_atmel := "^${LAYERDIR}/"
BBFILE_PRIORITY_atmel = "10"
LAYERDEPENDS_atmel = "openembedded-layer"

LICENSE_PATH += "${LAYERDIR}/licenses"

SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
mchp-egt-demo-init->udev-rules-at91 \
noto-fonts->fontconfig \
"

LAYERSERIES_COMPAT_atmel = "mickledore"
VIRTUAL-RUNTIME_alsa-state = ""

# Temp fix for:
# https://bugzilla.yoctoproject.org/show_bug.cgi?id=14879
DATA_LAYOUT[arm-eabi] = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
LLVM_TARGET[arm-eabi] = "${RUST_TARGET_SYS}"
TARGET_ENDIAN[arm-eabi] = "little"
TARGET_POINTER_WIDTH[arm-eabi] = "32"
TARGET_C_INT_WIDTH[arm-eabi] = "32"
MAX_ATOMIC_WIDTH[arm-eabi] = "64"
FEATURES[arm-eabi] = "+v6,+vfp2"
Loading