aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/image
Commit message (Collapse)AuthorAgeFilesLines
* brcm2708: boot-part feature integrationChristian Lamparter2019-01-242-7/+2
| | | | | | | | | | | | | | This patch adds the boot-part feature which enables the brcm2708 target move from the custom boot partition size config option to the generic CONFIG_TARGET_KERNEL_PARTSIZE. Note: For people using custom images: Just like with CONFIG_TARGET_ROOTFS_PARTSIZE changing the value can cause sysupgrade to repartition the device! Make sure to have a backup in this case. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* brcm2708: add kernel 4.14 supportStijn Tintel2018-12-181-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch generation process: - rebase rpi/rpi-4.14.y on v4.14.89 from linux-stable - git format-patch v4.14.89 Patches skipped during rebase: - lan78xx: Read MAC address from DT if present - lan78xx: Enable LEDs and auto-negotiation - Revert "softirq: Let ksoftirqd do its job" - sc16is7xx: Fix for multi-channel stall - lan78xx: Ignore DT MAC address if already valid - lan78xx: Simple patch to prevent some crashes - tcp_write_queue_purge clears all the SKBs in the write queue - Revert "lan78xx: Simple patch to prevent some crashes" - lan78xx: Connect phy early - Arm: mm: ftrace: Only set text back to ro after kernel has been marked ro - Revert "Revert "softirq: Let ksoftirqd do its job"" - ASoC: cs4265: SOC_SINGLE register value error fix - Revert "ASoC: cs4265: SOC_SINGLE register value error fix" - Revert "net: pskb_trim_rcsum() and CHECKSUM_COMPLETE are friends" - Revert "Revert "net: pskb_trim_rcsum() and CHECKSUM_COMPLETE are friends"" Patches dropped after rebase: - net: Add non-mainline source for rtl8192cu wlan - net: Fix rtl8192cu build errors on other platforms - brcm: adds support for BCM43341 wifi - brcmfmac: Mute expected startup 'errors' - ARM64: Fix build break for RTL8187/RTL8192CU wifi - ARM64: Enable RTL8187/RTL8192CU wifi in build config - This is the driver for Sony CXD2880 DVB-T2/T tuner + demodulator - brcmfmac: add CLM download support - brcmfmac: request_firmware_direct is quieter - Sets the BCDC priority to constant 0 - brcmfmac: Disable ARP offloading when promiscuous - brcmfmac: Avoid possible out-of-bounds read - brcmfmac: Delete redundant length check - net: rtl8192cu: Normalize indentation - net: rtl8192cu: Fix implicit fallthrough warnings - Revert "Sets the BCDC priority to constant 0" - media: cxd2880: Bump to match 4.18.y version - media: cxd2880-spi: Bump to match 4.18.y version - Revert "mm: alloc_contig: re-allow CMA to compact FS pages" - Revert "Revert "mm: alloc_contig: re-allow CMA to compact FS pages"" - cxd2880: CXD2880_SPI_DRV should select DVB_CXD2880 with MEDIA_SUBDRV_AUTOSELECT - 950-0421-HID-hid-bigbenff-driver-for-BigBen-Interactive-PS3OF.patch - 950-0453-Add-hid-bigbenff-to-list-of-have_special_driver-for-.patch Make I2C built-in instead of modular as in upstream defconfig; also the easiest way to get MFD_ARIZONA enabled, which is required by kmod-sound-soc-rpi-cirrus. Add missing compatible strings from 4.9/960-add-rasbperrypi-compatible.patch, using upstream names for compute modules. Add extra patch to enable the LEDs on lan78xx. Compile-tested: bcm2708, bcm2709, bcm2710 (with CONFIG_ALL_KMODS=y) Runtime-tested: bcm2708, bcm2710 Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* brcm2708-gpu-fw: add fw required for camera moduleStijn Tintel2018-12-051-0/+2
| | | | | | | | To be able to use the camera module, start_x=1 has to be set in config.txt. This will cause the bootloader to load the GPU firmware that contain the extra video codecs. Install these firmware files. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* treewide: use wpad-basic for not small flash targetsMathias Kresin2018-10-161-3/+3
| | | | | | | | | | | | Add out of the box support for 802.11r and 802.11w to all targets not suffering from small flash. Signed-off-by: Mathias Kresin <dev@kresin.me> Mathias did all the heavy lifting on this, but I'm the one who should get shouted at for committing. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* 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