aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/image
Commit message (Collapse)AuthorAgeFilesLines
* brcm2708: split sdcard.img.gz into a sysupgrade and factory imageChristian Lamparter2018-07-301-2/+3
| | | | | | | | | | | | | | | | | | @vahid-dan reported a issue with extracting the rpi images with Gnome's Archive Manager: "Ubuntu Archive Manager cannot extract the file and it just throws a general error message: "An error occurred while extracting files". <https://forum.lede-project.org/t/corrupted-pre-built-v18-06-0-rc2-image-for-rpi> @blogic told me to split the single sdcard.img.gz for the RPi into a sysupgrade and a factory image for all brcm2708 targets. The factory images will have no metadata attached, this way these utilities that can't deal with the attached metadata will not fail for no reason. Cc: John Crispin <john@phrozen.org> Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* brcm2708: Add wifi driver, firmware and NVRAM for Raspberry Pi 3 bChristo Nedev2018-06-201-1/+1
| | | | | | | | | | | | 2708 -> 43430 -> pi0w 2709 -> 43430 -> pi3b 2709 -> 43455 -> pi3bplus 2710 -> 43430 -> pi3b 2710 -> 43455 -> pi3bplus Signed-off-by: Christo Nedev <christo.nedev@gmail.com>
* brcm2708: Add wifi driver, firmware and NVRAM for RPi1Daniel Golle2018-06-201-0/+1
| | | | | | | | Apparently there are RPi1 devices with BRCM43430 wifi, such as the Pi Zero W. Add the necessary packages for that to the image generated for those boards as well. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* brcm2708: move wifi calibration EEPROMs out of base-filesDaniel Golle2018-06-141-0/+2
| | | | | | | | Ship EEPROM blobs for specific supported board only and don't have them lurking around in our source tree but rather download them from @github/RPi-Distro/firmware-nonfree upstream. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* brcm2708: add squashfs rootfs imageChristian Lamparter2018-05-182-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a image with squashfs as the root filesystem. A rootfs_data partition will be generated on the first boot and placed inside the rootfs partition (just after the squashfs image). advantages: - it is possible to migrate from an existing -ext4 installation and back via sysupgrade. - existing partition layout will not be lost. - slightly smaller image size. - support for attendedsysupgrade disadvantages: - needs f2fs + tools as well. This is because fs-tools decides on the blocksize of the sdcard. So either f2fs or ext4 can get choosen as the rootfs_data filesystem (depends on the size of the root partition). - rootfs_data is placed into the rootfs partition. This makes it difficult for tools that expect a /dev/mmc0pX device. It also makes it difficult for data recovery tools since they might not expect to find a embedded partition or will be confused. For people with existing build configurations: make sure to include mkf2fs and f2fsck package into the image... Otherwise the new -squashfs image will boot of a ram-overlay and won't keep the configurations after a reboot. Cc: Álvaro Fernández Rojas <noltari@gmail.com> Cc: Paul Spooren <spooren@informatik.uni-leipzig.de> Cc: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Acked-by: Daniel Golle <daniel@makrotopia.org>
* brcm2708: Add support for raspberry pi 3 b+.Christo Nedev2018-04-271-6/+6
| | | | Signed-off-by: Christo Nedev <christo.nedev@me.com>
* Revert "brcm2708: fix sdcard image"Stijn Tintel2018-02-191-2/+2
| | | | | | | | | | | This reverts commit 6c2e1ff80f52b939405fe0c14577c584602ae432. GNU gzip does not fail when the image filename already contains the .gz extension, this is a problem specific to pigz. Revert the commit, as we now gzip the image twice. Reported-by: Martin Schleier <drahemmaps@gmx.net> Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* brcm2708: fix sdcard imageStijn Tintel2018-02-171-2/+2
| | | | | | | | | | | | The gzip step in the sdcard image build fails because the image filename already has the gzip extension. This results in an empty image file, to which the metadata is finally appended. Remove the .gz extension from the image filename to fix this. Fixes: e79b096ee175 ("brcm2708: convert to metadata") Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* brcm2708: convert to dt-based board-detectionChristian Lamparter2017-12-251-3/+3
| | | | | | | | | | | | Use the values populated by the generic board detect function. The first compatible from the device tree source file will be the board name in userspace. The model property from the device tree source file will be the model name. Change the board name where used in the userspace and drop the target specific board detect, to use the generic one. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* brcm2708: convert to metadataChristian Lamparter2017-12-251-2/+5
| | | | | | | | | | This patch converts all the raspberrypi images to utilize the common metadata-based image verification. Note: the CM1 and CM3 currently use the same "rpi-cm" boardname. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* brcm2708: add support for the new Raspberry Pi Zero WÁlvaro Fernández Rojas2017-03-041-4/+2
| | | | | | Support is experimental since I haven't got any device to test. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* build: get rid of host.mkFelix Fietkau2017-02-261-1/+0
| | | | | | Defined required host related variables in toplevel.mk instead Signed-off-by: Felix Fietkau <nbd@nbd.name>
* brcm2708: bcm2710: add 64 bit support for Raspberry Pi 3Álvaro Fernández Rojas2017-02-081-3/+5
| | | | | | | 64 bit support for Raspberry Pi 3 is experimental. However, bcm2709 subtarget should serve as a stable and compatible 32 bit support. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: bcm2709: add support for Raspberry Pi 3Álvaro Fernández Rojas2017-02-081-3/+4
| | | | | | | This adds support for Raspberry Pi 3 on the bcm2709 subtarget, in order to keep 32 bit image support when 64 bit support is added on bcm2710 subtarget. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: remove duplicated gzip from image generationÁlvaro Fernández Rojas2017-02-071-1/+0
| | | | | | Images are now automatically gziped so remove custom image command Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: update linux 4.4 patches to latest versionÁlvaro Fernández Rojas2016-12-041-0/+2
| | | | | | | As usual these patches were extracted and rebased from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: fix image generation with imagebuilderÁlvaro Fernández Rojas2016-10-131-1/+5
| | | | | | | COPYING is not present in $(LINUX_DIR) on imagebuilder and prevents a successful image creation. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcmfmac43430-firmware: rename to brcmfmac-firmware-43430-sdioÁlvaro Fernández Rojas2016-09-151-1/+1
| | | | | | This is consistent with the rest of brcmfmac firmwares. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: update linux 4.4 patches to latest versionÁlvaro Fernández Rojas2016-09-102-2/+3
| | | | | | | | | As usual these patches were extracted and rebased from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Also adds support for Raspberry Pi Compute Module 3 (untested). Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* image: add a helper variable for getting kernel/rootfs from within image ↵Felix Fietkau2016-07-311-2/+2
| | | | | | Build/* templates Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: clean up redundant code related to DEVICE_DTSFelix Fietkau2016-07-151-2/+0
| | | | | | | | It is used by a core build template, so the variable should be initialized and added to DEVICE_VARS in the core. Same for DEVICE_DTS_DIR Signed-off-by: Felix Fietkau <nbd@nbd.name>
* brcm2708: update linux 4.4 patches to latest versionÁlvaro Fernández Rojas2016-07-091-1/+8
| | | | | | | As usual these patches were extracted and rebased from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: properly detect the Raspberry Pi ZeroÁlvaro Fernández Rojas2016-06-211-1/+1
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: update linux 4.4 patches to latest versionÁlvaro Fernández Rojas2016-06-081-8/+14
| | | | | | | | As usual these patches were extracted from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Also alphabetically order sound-soc kernel packages. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: fix SUBTARGET checks for bcm2709/bcm2710Álvaro Fernández Rojas2016-05-201-2/+2
| | | | | | This regression was introduced in commit cf58007a Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bcm2708: explicitly check for SUBTARGET instead of using the device ↵Felix Fietkau2016-05-201-6/+9
| | | | | | SUBTARGETS variable Signed-off-by: Felix Fietkau <nbd@nbd.name>
* brcm2708: convert to the new building systemÁlvaro Fernández Rojas2016-05-141-29/+20
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: update to latest versionÁlvaro Fernández Rojas2016-04-072-6/+13
| | | | | | | As usual these patches were extracted from the raspberry pi repo: https://github.com/raspberrypi/linux/commits/rpi-4.4.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708-gpu-fw: update to latest versionÁlvaro Fernández Rojas2016-04-011-1/+2
| | | | | | | | | This update also adds individual download of firmware files instead of fetching every file on the repository (10-MiB vs 100+MiB). Also copy Linux license from kernel directory instead of using the rpi-firmware one. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: add Raspberry Pi 3 supportJohn Crispin2016-03-082-4/+10
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 48967
* brcm2708: fix multi-device image generationJohn Crispin2015-11-241-1/+1
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47610
* brcm2708: add support for multi-device imagesJohn Crispin2015-11-212-15/+11
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47561
* brcm2708: rename image device definitionJohn Crispin2015-11-211-5/+5
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47560
* brcm2708: revert sd image extension to .imgJohn Crispin2015-11-211-2/+2
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47559
* brcm2708: simplify gzip image generationJohn Crispin2015-11-211-11/+1
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47558
* brcm2708: copy overlays README to boot partitionJohn Crispin2015-10-261-0/+1
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47260
* brcm2708: use mmd for overlays subdirectoryJohn Crispin2015-10-111-7/+2
| | | | | | | | Fixes https://dev.openwrt.org/ticket/20704 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47171
* brcm2708: add support for device tree overlaysJohn Crispin2015-10-052-0/+16
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47125
* brcm2708: switch device tree compilation to linuxJohn Crispin2015-10-051-6/+2
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 47124
* brcm2708: override disabled device tree module status from config.txtJohn Crispin2015-08-171-0/+6
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46642
* brcm2708: use BuildDTB in image/MakefileJohn Crispin2015-08-171-1/+1
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46639
* image.mk: store the device name variableJonas Gorski2015-08-141-3/+1
| | | | | | | | | Make the device name accessible for any build commands instead of forcing targets to define it themselves. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46597
* brcm2708: add gzip image compressionJohn Crispin2015-07-171-0/+11
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46404
* brcm2708: add Raspberry Pi Compute Module supportJohn Crispin2015-07-171-0/+2
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46403
* brcm2708: improve profiles and image generationJohn Crispin2015-07-171-6/+13
| | | | | | | | | - Add profiles for bcm2708 subtarget. - Check subtarget for image generation. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46396
* brcm2708: partially revert r46347 to fix sysupgradeJohn Crispin2015-07-141-3/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46367
* brcm2708: Implement sysupgradeJohn Crispin2015-07-141-0/+3
| | | | | | | | | | | | | Implement sysupgrade for Raspberry Pi, similar to the way it is done on x86: The config files are saved in the boot partition and moved to where they are normally expected in preinit. Also add optional gzip compression for the SD card image, since this can save a lot of space (76M vs 6M), also similar to x86. Signed-off-by: Bruno Randolf <br1@einfach.org> SVN-Revision: 46347
* brcm2708: add DT supportJohn Crispin2015-07-142-26/+63
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46344
* brcm2708: fix imagebuilderJohn Crispin2015-05-291-8/+8
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45824
* brcm2708: fix mkdosfs command line options orderFelix Fietkau2015-03-151-2/+2
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 44764