aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/at91/image
Commit message (Collapse)AuthorAgeFilesLines
* at91: sama5d4: fix bad mkubifs optionsJo-Philipp Wich2018-05-131-1/+1
| | | | | | | | | | | Drop the "-x lzo" compression type override from MKUBIFS_OPTS since we do not support it in mkfs.ubifs. Attempting to use LZO compression results in "Error: bad compressor name". The build system also appends an explicit "--compr=zlib" to the mkfs command line, turning the "-x" flag into a no-op anyway. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* at91: Add SAMA5D2 PTC EK boardSandeep Sheriker Mallikarjun2018-05-051-0/+8
| | | | | | | Add target device as at91-sama5d2_ptc_ek in SAMA5D2 subtarget and build images for SAMA5D2 PTC Ek board. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
* at91: reorganize at91 subtargetsSandeep Sheriker Mallikarjun2018-05-055-103/+124
| | | | | | | | | | | reorganizing at91 subtargets based on sama5 soc features and this fix below problems. 1. able to set neon flags to sama5d2 & sama5d4 subtargets. 2. fix the make clean which removes all the subtargets in bin folder. 3. able to configure kernel specific to subtarget. 4. able to set vfpu4 flags to samad3 subtargets. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
* at91: sdcard image with ext4 rootfsSandeep Sheriker Mallikarjun2018-05-052-2/+3
| | | | | | | creating sdcard image with ext4 rootfs only and ignoring creating other filesystem in sdcard image. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
* at91: Add SAMA5D27 SOM1 EK boardSandeep Sheriker Mallikarjun2018-05-051-5/+13
| | | | | | | Add support for SAMA5D27 SOM1 with target device as at91-sama5d27_som1_ek in SAMA5 subtarget and build images for SAMA5D27 SOM1 Ek board. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
* at91: fix sdcard create imageSandeep Sheriker Mallikarjun2018-05-051-7/+9
| | | | | | | | copying at91bootstrap and uboot binaries to sdcard image is done based on device name instead of dts name and this avoids creating multiple u-boot and at91bootstrap binaries. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
* at91: fix build error for wb50n.Sandeep Sheriker Mallikarjun2018-04-301-10/+14
| | | | | | | when external kernel is selected from menuconfig, device wb50n is not avaliable and build fails. As a fix adding checks for external kernel. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
* at91: fix image building with CONFIG_TARGET_MULTI_PROFILEJo-Philipp Wich2018-02-142-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current image build code has a number of race conditions and interface contract violations in the custom image build steps: - Build/install-zImage, solely used by at91, relies on $(PROFILE_SANITIZED) which is not available when building with CONFIG_TARGET_MULTI_PROFILE - Build/at91-sdcard, which may run concurrently, creates scratch files at fixed locations and manipulates target files directly which can lead to file corruption and other unexpected failures Rename the install-zImage macro to at91-install-zImage and move it to the at91 image Makefile since this target is the sole user. Also utilize "$@" as output file name and switch the usage of $(PROFILE_SANITIZED) to $(DEVICE_NAME) in order to fix naming under multi profile builds. Fix the at91-sdcard macro to construct scratch file paths relative to "$@", which is guaranteed to be unique and store the final artifact output in "$@" as well, instead of inside $(BIN_DIR). The generic image build code takes care of moving a build steps "$@" output to the final destination in a concurrency-safe manner. Finally remove the broken install-zImage from the generic image-commands Makefile. Fixes: d7a679a036 ("at91: Install zImage.") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* at91: create device specific sdcard imagesHauke Mehrtens2018-01-111-4/+4
| | | | | | | | | | 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>
* at91: create sdcard image for sama5Sandeep Sheriker Mallikarjun2017-12-162-0/+79
| | | | | | | | | 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>
* at91: fix legacy buildHauke Mehrtens2017-10-161-2/+1
| | | | | | | | | | | 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: c2f052acaeb ("at91: convert boards to generic build target") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* at91: add support for the WB50N module from LairdBen Whitten2017-10-151-0/+14
| | | | | | | | | | | | | | 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>
* at91: add support for the WB45N module from LairdBen Whitten2017-10-152-0/+21
| | | | | | | | | | | | | | 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>
* at91: separate MKUBIFS opts to defaults in the sub targetBen Whitten2017-10-153-13/+18
| | | | | | | 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>
* at91: Add UBI parameters for sama5d4.Sandeep Sheriker Mallikarjun2017-09-201-1/+6
| | | | | | Add UBIFS_OPTS & UBINIZE_OPTS parameters for sama5d4 Xplained board. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
* at91: Add SAMA5D4 deviceSandeep Sheriker Mallikarjun2017-09-201-0/+8
| | | | | | | 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>
* at91: Add SAMA5D2 deviceSandeep Sheriker Mallikarjun2017-09-201-0/+8
| | | | | | | 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>
* at91: Install zImage.Sandeep Sheriker Mallikarjun2017-09-201-0/+6
| | | | | | Installing zImage to bin folder of device target. Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
* at91: Renaming subtarget sama5d3 to sama5Sandeep Sheriker Mallikarjun2017-09-202-4/+4
| | | | | | | | | 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>
* at91: convert boards to generic build targetBen Whitten2017-06-124-83/+161
| | | | | | | | | | | | | | 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>
* at91: Remove u-boot from platform images folderBen Whitten2016-10-067-836/+0
| | | | | | | 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>
* at91: remove SAMA5D3 from Default image build.John Crispin2016-01-191-2/+1
| | | | | | | | | 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
* at91: fix imagebuilderJo-Philipp Wich2015-05-281-2/+3
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 45806
* at91: add SAMA5D3-Xplained board UBI parameters to makefile.John Crispin2015-03-051-0/+3
| | | | | | Signed-off-by: Songjun Wu <songjun.wu@atmel.com> SVN-Revision: 44604
* at91: Add dts for Exegin Q5x boards.John Crispin2015-02-191-0/+4
| | | | | | Signed-off-by: Owen Kirby <osk@exegin.com> SVN-Revision: 44492
* at91: build images for AT91SAMA5D3XPLAINEDFlorian Fainelli2014-09-031-0/+2
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 42418
* at91: fix typo on CalaoFlorian Fainelli2014-09-031-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 42410
* target/linux/*/image/Makefile: use new dts path variableJohn Crispin2014-07-211-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41791
* at91: AT91SAM9G20-EK fixesHauke Mehrtens2014-04-292-2/+23
| | | | | | | | | | | | | | 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
* at91: upgrade to kernel 3.8.7 and use devicetreeGabor Juhos2013-04-261-6/+55
| | | | | | | | | | | | | | | 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
* build: consistently use 'depends on' instead of 'depends'Felix Fietkau2013-04-171-6/+6
| | | | | | | | make the syntax more compatible with kernel menuconfig Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36351
* Ensure that the bin directory exists before copy the filesClaudio Mignanti2012-04-201-0/+2
| | | | | | Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com> SVN-Revision: 31370
* AT91: Add flexibity board supportJohn Crispin2011-07-032-0/+8
| | | | | | | | The patch below adds AT91 Flexibity Connect board support. Signed-off-by: Maxim Osipov <maxim.osipov@gmail.com> SVN-Revision: 27412
* Don't compile u-boot by defaultClaudio Mignanti2010-10-241-2/+2
| | | | SVN-Revision: 23621
* Tag the uncompressed imageClaudio Mignanti2010-10-111-1/+2
| | | | SVN-Revision: 23402
* Copy rootfs(s) inside BIN_DIRClaudio Mignanti2010-10-111-0/+1
| | | | SVN-Revision: 23399
* Add support for u-bootClaudio Mignanti2010-07-2220-6490/+610
| | | | SVN-Revision: 22351
* revamp target: add support for netusg20 boardClaudio Mignanti2010-06-181-18/+1
| | | | SVN-Revision: 21838
* replace old quote stripping with calls to qstrip macroNicolas Thill2010-04-291-3/+3
| | | | SVN-Revision: 21242
* define a shared IMG_PREFIX variable used as a basename for image files, it ↵Nicolas Thill2010-04-121-4/+3
| | | | | | contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files SVN-Revision: 20834
* fix u-boot installationFlorian Fainelli2009-10-291-1/+1
| | | | SVN-Revision: 18208
* fix u-boot linking failure with an EABI toolchainFlorian Fainelli2009-10-291-0/+52
| | | | SVN-Revision: 18207
* fix dfboot linking failures (#5937)Florian Fainelli2009-10-291-1/+2
| | | | SVN-Revision: 18206
* make kernels use /etc/preinit by defaultImre Kaloz2009-05-145-16/+16
| | | | SVN-Revision: 15840
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)Felix Fietkau2009-04-172-2/+0
| | | | SVN-Revision: 15242
* be politically correctImre Kaloz2008-04-281-2/+2
| | | | SVN-Revision: 10964
* make the image filenames a bit shorterFelix Fietkau2007-11-101-2/+2
| | | | SVN-Revision: 9533
* fix target names in image options (closes: #2357)Nicolas Thill2007-09-111-5/+5
| | | | SVN-Revision: 8749
* strip the kernel version suffix from target directories, except for brcm-2.4 ↵Felix Fietkau2007-09-0648-0/+22117
(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