Commit graph

41 commits

Author SHA1 Message Date
Hauke Mehrtens
31fca075c7 at91: create device specific sdcard images
Without this patch one sdcard image with the following name is created
for all devices:
openwrt-at91-sama5--sdcard.img.gz
This makes the build system create device specific versions like:
openwrt-at91-sama5-at91-sama5d2_xplained-sdcard.img.gz

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2018-01-11 20:35:33 +01:00
Sandeep Sheriker Mallikarjun
085967f774 at91: create sdcard image for sama5
create sdcard image using gen_at91_sdcard_img.sh for sama5 platform
and sdcard image partition layout is:
  P0: Boot (fat32) - contains(at91bootstrap,u-boot,zImage & dtb)
  p1: Rootfs (ext4)

Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
2017-12-16 00:02:14 +01:00
Hauke Mehrtens
61048c9011 at91: fix legacy build
The build system took the DTB_SIZE definition from Default and not from
production-dtb under some conditions. Move the size definitions to
Default now as it is only used in production-dtb anyway.

Thanks Mathias Kresin for helping me with this.

Fixes: c2f052acae ("at91: convert boards to generic build target")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2017-10-16 23:05:54 +02:00
Ben Whitten
f81b353c9f at91: add support for the WB50N module from Laird
This module from Laird includes the following:
  - CPU Atmel SoC SAMA5D31
  - Wifi QCA6004
  - Bluetooth CSR8811
  - RAM 64MB LPDDR
  - FLASH 128MB

The flash is a dual image layout, kernel a/b, rootfs a/b, and a user
partition.

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
2017-10-15 00:24:21 +02:00
Ben Whitten
86d037e4a2 at91: add support for the WB45N module from Laird
This module from Laird includes the following:
  - CPU Atmel SoC ARM926EJS
  - Wifi AR6003
  - Bluetooth CSR8510
  - RAM 64MB LPDDR
  - FLASH 128MB

The flash is a dual image layout, kernel a/b, rootfs a/b, and a user
partition.

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
2017-10-15 00:24:21 +02:00
Ben Whitten
a7c8112a0f at91: separate MKUBIFS opts to defaults in the sub target
Instead of applying global defaults based on selected board, transition
to using a per board setting for UBIFS and UBINIZE.

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
2017-10-15 00:24:21 +02:00
Sandeep Sheriker Mallikarjun
09bf441090 at91: Add UBI parameters for sama5d4.
Add UBIFS_OPTS & UBINIZE_OPTS parameters for sama5d4 Xplained board.

Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
2017-09-20 09:01:09 +02:00
Sandeep Sheriker Mallikarjun
67303259ee at91: Add SAMA5D4 device
Add support for SAMA5D4 with target device as at91-sama5d4_xplained
in SAMA5 subtarget and build images for SAMA5D4 Xplained board.

Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
2017-09-20 09:01:02 +02:00
Sandeep Sheriker Mallikarjun
fdaaa923dd at91: Add SAMA5D2 device
Add support for SAMA5D2 with target device as at91-sama5d2_xplained
in SAMA5 subtarget and build images for SAMA5D2 Xplained board.

Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
2017-09-20 09:00:44 +02:00
Sandeep Sheriker Mallikarjun
d7a679a036 at91: Install zImage.
Installing zImage to bin folder of device target.

Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
2017-09-20 09:00:36 +02:00
Sandeep Sheriker Mallikarjun
f8a5ac1a88 at91: Renaming subtarget sama5d3 to sama5
Renaming at91 subtarget sama5d3 to sama5 and using at91-sama5d3_xplained
as a target device in sama5 subtarget.This will enable to add other
sama5d2 & sama5d4 target devices in sama5 subtraget.This will avoid
code duplication when sama5d2 & sama5d4 added as different subtarget.

Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
2017-09-20 09:00:14 +02:00
Ben Whitten
c2f052acae at91: convert boards to generic build target
Evaluation boards are left in component form to ease flashing
using vendor tooling and instructions. These boards also do
not include the EOF marker in the UBIFS as the bootloaders
are recent and easily upgradeable.

The end product boards use factory.bin images based on the
dts layout and include EOF markers as bootloader UBI support
is not determined.

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
Signed-off-by: Mathias Kresin <dev@kresin.me>
2017-06-12 21:07:31 +02:00
Ben Whitten
6638946f99 at91: Remove u-boot from platform images folder
Removes the bootloader from the images section as its now in packages/boot
with the others.

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
2016-10-06 12:15:13 +02:00
John Crispin
7a3dacef98 at91: remove SAMA5D3 from Default image build.
As the Default profile option is a legacy subtarget, the dtb for the
sama5d3_xplained board DTS is not built and image generation fails.

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>

SVN-Revision: 48351
2016-01-19 10:15:20 +00:00
Jo-Philipp Wich
ba9f34a389 at91: fix imagebuilder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45806
2015-05-28 13:25:21 +00:00
John Crispin
f1625b116f at91: add SAMA5D3-Xplained board UBI parameters to makefile.
Signed-off-by: Songjun Wu <songjun.wu@atmel.com>

SVN-Revision: 44604
2015-03-05 20:24:57 +00:00
John Crispin
0227827f7b at91: Add dts for Exegin Q5x boards.
Signed-off-by: Owen Kirby <osk@exegin.com>

SVN-Revision: 44492
2015-02-19 09:07:06 +00:00
Florian Fainelli
d2a420fa22 at91: build images for AT91SAMA5D3XPLAINED
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42418
2014-09-03 03:11:25 +00:00
Florian Fainelli
5efbc41cbb at91: fix typo on Calao
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 42410
2014-09-03 03:09:14 +00:00
John Crispin
7d8f187201 target/linux/*/image/Makefile: use new dts path variable
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41791
2014-07-21 18:42:06 +00:00
Hauke Mehrtens
b5f9e1632b at91: AT91SAM9G20-EK fixes
From 272f548fe8d0b811e0589e535f650f0507f6bccd Mon Sep 17 00:00:00 2001
 From: Owen Kirby <osk@exegin.com>
 Date: Fri, 11 Apr 2014 17:59:55 -0700
 Subject: [PATCH 2/3] [at91] AT91SAM9G20-EK fixes.

While testing the 3.10 kernel update, I found that the out-of-the-box device tree for the
the AT91SAM9G20EK uses a UBIFS rootfs and stores the DTB separately from the zImage.

Signed-off-by: Owen Kirby <osk@exegin.com>

SVN-Revision: 40597
2014-04-29 21:02:05 +00:00
Gabor Juhos
988ae9cbf8 at91: upgrade to kernel 3.8.7 and use devicetree
This upgrades the AT91 target to 3.8.7, and migrates to device tree.
This allows a single kernel to be built for most at91 variants which
simplifies things quite a bit. The immediate result is that all
subtargets are nuked, and any boards without dts files are no longer
supported, though the target now includes more boards than before. The
adc driver was also nuked as 3.8.7 includes a new one under the IIO
subsystem.

Signed-off-by: Adam Porter <porter.adam@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36452
2013-04-26 16:55:40 +00:00
Felix Fietkau
96bb7c123b build: consistently use 'depends on' instead of 'depends'
make the syntax more compatible with kernel menuconfig

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36351
2013-04-17 15:36:41 +00:00
Claudio Mignanti
f50231aeb3 Ensure that the bin directory exists before copy the files
Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com>

SVN-Revision: 31370
2012-04-20 13:27:16 +00:00
John Crispin
349e97f879 AT91: Add flexibity board support
The patch below adds AT91 Flexibity Connect board support.

Signed-off-by: Maxim Osipov <maxim.osipov@gmail.com>

SVN-Revision: 27412
2011-07-03 18:51:59 +00:00
Claudio Mignanti
36c2bfcdb2 Don't compile u-boot by default
SVN-Revision: 23621
2010-10-24 16:10:30 +00:00
Claudio Mignanti
d806e68e57 Tag the uncompressed image
SVN-Revision: 23402
2010-10-11 16:31:47 +00:00
Claudio Mignanti
ee533340ac Copy rootfs(s) inside BIN_DIR
SVN-Revision: 23399
2010-10-11 16:31:39 +00:00
Claudio Mignanti
4a82997327 Add support for u-boot
SVN-Revision: 22351
2010-07-22 11:32:38 +00:00
Claudio Mignanti
4bb7ab3057 revamp target: add support for netusg20 board
SVN-Revision: 21838
2010-06-18 22:12:33 +00:00
Nicolas Thill
224db523da replace old quote stripping with calls to qstrip macro
SVN-Revision: 21242
2010-04-29 00:32:44 +00:00
Nicolas Thill
e2b57ecf5f define a shared IMG_PREFIX variable used as a basename for image files, it contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files
SVN-Revision: 20834
2010-04-12 23:15:56 +00:00
Florian Fainelli
32cae1aee8 fix u-boot installation
SVN-Revision: 18208
2009-10-29 16:03:15 +00:00
Florian Fainelli
d94947e2e9 fix u-boot linking failure with an EABI toolchain
SVN-Revision: 18207
2009-10-29 16:00:37 +00:00
Florian Fainelli
77e195a2cb fix dfboot linking failures (#5937)
SVN-Revision: 18206
2009-10-29 15:48:34 +00:00
Imre Kaloz
a9c958c2de make kernels use /etc/preinit by default
SVN-Revision: 15840
2009-05-14 10:20:53 +00:00
Felix Fietkau
34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
2009-04-17 14:09:46 +00:00
Imre Kaloz
fcbdafb6bd be politically correct
SVN-Revision: 10964
2008-04-28 16:15:24 +00:00
Felix Fietkau
1bca0cc517 make the image filenames a bit shorter
SVN-Revision: 9533
2007-11-10 23:08:11 +00:00
Nicolas Thill
a6cda9c4bc fix target names in image options (closes: #2357)
SVN-Revision: 8749
2007-09-11 14:04:34 +00:00
Felix Fietkau
56231056ea strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
SVN-Revision: 8653
2007-09-06 16:27:37 +00:00