Commit Graph

38 Commits

Author SHA1 Message Date
Giulio Benetti
b22f649a1d board/atmel/sama5d4_xplained_mmc/genimage.cfg: beautify file
Beatify this genimage .cfg file to have consistency with all genimage .cfg
files in Buildroot.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-11-08 22:20:57 +01:00
Giulio Benetti
615c2a5da5 board/atmel/sama5d3_xplained_mmc/genimage.cfg: beautify file
Beatify this genimage .cfg file to have consistency with all genimage .cfg
files in Buildroot.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-11-08 22:20:55 +01:00
Giulio Benetti
855ad130e4 board/atmel/sama5d2_xplained_mmc/genimage.cfg: beautify file
Beatify this genimage .cfg file to have consistency with all genimage .cfg
files in Buildroot.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-11-08 22:20:52 +01:00
Giulio Benetti
2b2da9381c board/atmel/sama5d27_wlsom1_ek_mmc/genimage.cfg: beautify file
Beatify this genimage .cfg file to have consistency with all genimage .cfg
files in Buildroot.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-11-08 22:20:49 +01:00
Giulio Benetti
73fbcfb950 board/atmel/sama5d27_som1_ek_mmc/genimage.cfg: beautify file
Beatify this genimage .cfg file to have consistency with all genimage .cfg
files in Buildroot.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-11-08 22:20:47 +01:00
Giulio Benetti
b00af439f8 board/atmel/at91sam9x5ek_mmc/genimage.cfg: beautify file
Beatify this genimage .cfg file to have consistency with all genimage .cfg
files in Buildroot.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-11-08 22:20:44 +01:00
Eugen Hristev
3f691b698f configs/microchip_sama5d2_icp: new defconfigs
Add the new SAMA5D2 ICP (Industrial Connectivity Board)
with linux4sam_2020.10 components.
Update README file with new defconfigs.

https://www.linux4sam.org/bin/view/Linux4SAM/Sama5d2IcpMainPage

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-05-19 14:44:19 +02:00
Eugen Hristev
3fcb2a289f configs/microchip_sam9x60ek: new defconfigs
Add the new SAM9X60 Evaluation Kit with linux4sam_2020.04
components.  Update README file with new defconfigs.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-01-02 23:53:55 +01:00
Eugen Hristev
8f90c0aee2 configs/microchip_sama5d27_wlsom1_ek: new defconfigs
Add the new SAMA5D27 WLSOM1 Evaluation Kit with linux4sam_6.2
components.  Update README file with new defconfigs and new
packages/website.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-07-14 23:47:58 +02:00
Ludovic Desroches
285d306a58 board/atmel: genimage: remove display variant dtbs
Display variant dtbs are no longer part of the linux-at91 tree.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-08-01 20:23:25 +02:00
Pierre-Jean Texier
489a48fe63 configs/atmel_sama5d27_som1: bump to linux4sam_6.0
This commit :
	- bumps Linux & U-Boot to linux4sam_6.0.
	- bumps at91bootstrap to v3.8.12.
	- removes old in-tree dts (now in dt-overlay-at91 [1][2])
	- adapts genimage accordingly.

[1] https://github.com/linux4sam/dt-overlay-at91/tree/master/sama5d27_som1_ek
[2] http://www.at91.com/linux4sam/bin/view/Linux4SAM/DT-Overlay

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-05-01 09:04:20 +02:00
Prasanthi Chellakumar
b7c885ea3f atmel: add support for at91sam9g20ek to flasher.sh
Adds support for the at91sam9g20-ek board to the flasher.sh script.

Signed-off-by: Prasanthi Chellakumar <prasanthi.chellakumar@microchip.com>
Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-04-07 09:05:32 +02:00
Joshua Henderson
3f76d07548 board/atmel: add flasher.sh support for at91sam9260ek
Add support to the flasher.sh script for the at91sam9260-ek board which
complements the existing at91sam9260eknf_defconfig.

Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-04-07 09:04:58 +02:00
Joshua Henderson
e1452fe843 board/atmel: use correct sam-ba binary in flasher.sh script
Instead of using the install of sam-ba under host/opt directly, use the symlink
created in host/bin.  The side effect of doing this instead allows the correct
sam-ba binary to be used based on the host arch being 32 bit or 64 bit.

Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-04-06 21:34:16 +02:00
Joshua Henderson
eb7e90bf68 configs/at91: refactor to use genimage.sh
Prefer the commom genimage.sh instead of a custom post-image.sh script.

Cc: Ludovic Desroches <ludovic.desroches@atmel.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-11-11 23:29:23 +01:00
Joshua Henderson
9957d2c89d configs/atmel: refactor to use genimage.sh
Prefer the commom genimage.sh instead of a custom post-image.sh script.

Cc: Ludovic Desroches <ludovic.desroches@atmel.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-11-11 23:29:06 +01:00
Nicolas Ferre
95cb1465f0 configs/atmel: addition of the sama5d27 som1 ek board
Add the new SAMA5D27 SOM1 Evaluation Kit with linux4sam_5.7 components.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-10-06 12:34:32 +02:00
Ludovic Desroches
8c28677ea1 board/atmel: provide u-boot env for at91sam9x5ek_mmc
Default bootargs have changed in U-Boot for this board. Build U-Boot
environment and add it to the SD card image to update bootargs.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-06-21 21:23:55 +02:00
Ludovic Desroches
7bd24df2e9 board/atmel: at91sam9x5ek_mmc: add 1M offset for FAT partition
at91sam9x5ek_mmc board was missing in the previous patch adding 1M
offset for FAT partition to solve some boot issues with the ROM code.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-06-21 21:23:48 +02:00
Ludovic Desroches
ece884a704 configs: at91sam9x5ek: new additional defconfigs
This commit:

 - Adds a development rootfs defconfig for the at91sam9x5ek board for
   NAND-based configurations.

 - Adds SD-card based configurations for the at91sam9x5ek board, both a
   minimal one and development one.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
[Thomas: add at91sam9x5ek_mmc_defconfig to have all four combinations:
NAND minimal, NAND development, SD minimal, SD development.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-03-07 21:58:51 +01:00
Luca Ceresoli
ce1dac2d42 board/atmel/readme.txt: fix typos
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-02-24 11:58:30 +01:00
Ludovic Desroches
78ac39cb89 board/atmel/readme.txt: remove mention of sama5d4ek
The sama5d4ek defconfig has been removed in commit
9cb0b37cbd267ec1c2beea3deeaa86846bc2d037, but the board/atmel/readme.txt
file was not updated accordingly. This commit fixes that.

Reported-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-10 11:16:10 +01:00
Ludovic Desroches
a50b9f0ebf configs: atmel: at91sam9260eknf: update defconfig
Bump to a recent version of AT91bootstrap and use mainline version of
U-Boot and Linux. This is needed to fix the build with gcc 5.x.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
[Thomas: add missing BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-10 10:51:32 +01:00
Ludovic Desroches
07c1ae90c8 board: atmel: genimage: add 1M offset for FAT partition
With older SoCs and some SD cards, a 1024-bytes offset is needed to allow
ROM code to read the content of the FAT partition. As it is usual to get
a 1M bytes offset for the first partition, use this value to avoid boot
issues.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-11-04 15:13:59 +01:00
Ludovic Desroches
f075afcbd6 board/atmel: update documentation with development defconfigs
Add a description of the development defconfig files.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-06-12 21:39:38 +02:00
Ludovic Desroches
ce86f9eaf2 board/atmel: update documentation for SD card generation
Henceforth, a sdcard.img file is automatically generated. It simplifies the
procedure to generate a bootable SD card for Atmel Xplained boards.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-04-13 23:47:48 +02:00
Ludovic Desroches
89155c8492 configs: atmel: add sama5d3 xplained sd card image generation
Use genimage to generate a sd card with a fat partition (at91bootstrap,
u-boot, kernel, dtbs) and an ext4 partition (rootfs).

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-04-13 23:47:44 +02:00
Ludovic Desroches
6e9bd4a2bc configs: atmel: add sama5d4 xplained sd card image generation
Use genimage to generate a sd card with a fat partition (at91bootstrap,
u-boot, kernel, dtbs) and an ext4 partition (rootfs).

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-04-13 23:47:42 +02:00
Ludovic Desroches
7aca6ab788 configs: atmel: add sama5d2 xplained sd card image generation
Use genimage to generate a sd card with a fat partition (at91bootstrap,
u-boot, kernel, dtbs) and an ext4 partition (rootfs).

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-04-13 23:47:37 +02:00
ludovic.desroches@atmel.com
358013d699 board/atmel: merge and update documentation
There were two readme files (one for flashing on NAND and one to create a
SD card) in different places. Merge them and update the SD card
generation part since all Xplained boards are supported and the -u
option of sfdisk is obsolete on latest versions.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
[Thomas: adjust the explanations, move the SD card section after the
NAND flash section.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-03-24 23:09:04 +01:00
Luca Ceresoli
43a4ed5d84 board/atmel/xplained/readme.txt: fix u-boot filename
The file that is actually produced is called u-boot-spl.bin, not
uboot-spl.bin.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-02-07 22:19:26 +01:00
Gary Bisson
a8bbc1f47f atmel: fix xplained documentation
Documentation is referring to nandflash.txt which doesn't exist.
Instead, readme.txt provides the instructions to flash the NAND storage.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-12-10 21:50:26 +01:00
Bjørn Forsman
9eedc747ab Use portable shebangs (/bin/bash -> /usr/bin/env bash)
"/usr/bin/env bash" is used everywhere else in host tools. These are the
only remaining offenders.

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-10-19 22:06:06 +02:00
Alexandre Belloni
797a3414b9 atmel: add a flashing helper and documentation
Provide a flashing helper to properly select the sam-ba configuration
and reuse the sam-ba tcl script provided by Atmel with minimal
modifications.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-06-30 15:00:48 +02:00
Alexandre Belloni
bb7628b30c configs: rename atmel_xplained_defconfig
For consistency, rename atmel_xplained_defconfig to
atmel_sama5d3_xplained_mmc_defconfig as this configuration supports
booting the sama5d3 Xplained with an MMC card (as opposed to the NAND
flash).

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-06-30 14:54:48 +02:00
Ryan Barnett
6884e5b912 configs: update config for Atmel SAMA5D3 Xplained board
Update configuration to use the 3.18.8 kernel and update U-Boot to
2015.01. With the switch to 2015.01. use the U-Boot SPL image for the
first stage bootloader instead of the at91bootstrap. The U-Boot SPL
requires that the U-Boot image format be u-boot.img in order to load
from the SD card.

Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-03-05 12:12:11 +01:00
Thomas Petazzoni
54a653f649 configs: add defconfig for the Atmel SAMA5D3 Xplained board
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-06-29 10:54:29 +02:00
Fabio Porcedda
31002cb403 configs: add defconfig for Atmel AT91SAM9260-EK Nand Flash Boot
This is a configuration that provides a basic setup for generating
bootable nandflash images:
- at91bootstrap
- barebox
- kernel
- rootfs

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-11 22:34:32 +02:00