Commit Graph

635 Commits

Author SHA1 Message Date
Max Krummenacher
564974fac0 linux-toradex: vf: update to a latest 4.4 based kernel
* fix build with gcc 8 by cherry-picking 9f73bd8bb445e0cbe4bcef6d4cfc788f1e184007
* update to latest, this merges 4.4.139 and adds/cherry-picks the following commits:
    c2be367662f7 ubi: fastmap: Erase outdated anchor PEBs during attach
    b6074ace6351 ubi: Fix Fastmap's update_vol()
    7b5613f1ea2e ubi: Fix races around ubi_refill_pools()
    faf18b12b485 ubi: Be more paranoid while seaching for the most recent Fastmap
    19b27f227d05 ubi: Rework Fastmap attach base code
    bca6f2fc260c ubi: Introduce vol_ignored()
    604ba595d6a5 ARM: dts: vf-colibri-aster: add maxtouch reset gpio
    91d763c2100f ARM: dts: vf-colibri: change pins to capacitive touch adapter
    97d218ad5b0a ARM: dts: vf-colibri: don't pinmux touch gpios directly to output
    c6f9bbccf346 input: atmel_mxt_ts: support reset gpio line
    52657351d56e tty: serial: fsl_lpuart: flush receive FIFO after overruns
    183cfed9e76b tty: serial: fsl_lpuart: fix framing error handling when using DMA
    a126a5e5dc2f usb: gadget: configfs: use hexadecimal values and new line
    46a09b1b606a usb: gadget: configfs: make qw_sign attribute symmetric
    a2deb5da4425 colibri_vf_defconfig: enable user debug
    309d4a8e2e26 tty: serial: fsl_lpuart: report wakeup event
    823c0b0593f5 ARM: dts: vf610: colibri-dual-eth: Fix pinmux
    e0f2806138a4 colibri_vf_defconfig: resync with meta-toradex-nxp
* remove the now superseeded linux-toradex-4.1 kernel

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2018-07-18 13:16:30 -03:00
Max Krummenacher
1a26fcfbfc linux-toradex: imx: update to a 4.9-1.0.x based kernel
This updates the kernel used for Toradex modules to a version based
on the fslc 4.9-1.0.x kernel @ 5b5a040 and removes the recipe for
the now superseeded linux-toradex_4.1-2.0 kernel.

* Is buildable with GCC 8.
* Adds/modifies device trees / defconfigs for
    Apalis / Colibri iMX6 QDL
    Colibri iMX6ULL
    Colibri iMX7D/S, Colibri iMX7D 1GB.
    Colibri VF

* The following commits on top of fslc (minus dtb/defconfig):
    fdd4e344c877 mmc: fix idx assigning for not aliased sdhci host controllers
    aa4dca9db8f0 Input: atmel_mxt_ts - add support for reset line
    a3c591558f0c Input: atmel_mxt_ts - use more managed resources
    af2e6a68197b drivers/firmware: Expose psci_get_version through psci_ops structure
    956e8b9bb3e8 arm: Invalidate BTB on prefetch abort outside of user mapping on Cortex A8, A9, A12 and A17
    8b43c976ba0d arm: Add BTB invalidation on switch_mm for Cortex-A9, A12 and A17
    dce4304a4962 ARM: dts: imx6qdl: Fix SPDIF regression
    e8dffa419566 arm: imx: gpc: do not poweroff M/F mix in suspend
    e51cf8fbda64 Revert "PCI: Do not allocate more buses than available in parent"
    ae78c40a1250 serial: imx: add RS-485 device tree properties
    3562e8d2b673 rpmsg: imx: Disable character echoing by default
    90abbc46f25c pci-imx6.c: address compiler warning
    b2a7f2f2fd3e mmc: sdhci: Always allow tuning to fall back to fixed sampling
    72928ca0214c Revert "MLK-14498-2 ARM: imx7d: clk: select uart clock parent and rate"
    c6c1c2923ca1 Revert "MLK-15120 ARM: imx7d: clk: select uart3 clock parent and set rate"
    8d3c9c26670e video: fbdev: mxsfb: allow setting display timings via kernel command line
    4e49c0cd0adb ARM: imx: mach-imx7d: configure clock source per FEC instance
    bd29bc5e29e6 ARM: imx: mach-imx7d: put external ethernet clock in error case
    19c7ea83e9a5 ARM: dts: imx7: add alias for Ethernet controllers
    7c6eb98e8297 ARM: dts: imx7: add SNVS subnodes
    1482b7be25ec imx_thermal.c: unregister all ressources in error path
    b407d00f8f4f ARM: imx7d: clk: make sure OCOTP clock is always on
    d38c0bfd4d79 ARM: dts: imx7s: add operating points
    09ca9a960cb7 cpufreq: imx7s: add i.MX 7Solo
    ea6d509784da usb: gadget: configfs: use hexadecimal values and new line
    a7aa3220bf9f usb: gadget: configfs: make qw_sign attribute symmetric
    9282ed58a8d8 ARM: dts: imx6ull: fix pwm clock
    bc68fdefd5e8 arm: dts: apalis/colibri qdl: add 3rd pwm parameter to specify pos. neg. logic
    8ef8ae51ec6c ARM: dts: imx6ull: improve clock accuracy for SD High Speed
    49efff5ebbc7 pci-imx6: fix reboot bug
    e8c6444ac436 PCI: imx6: fix PCIe EP device self-initialisation
    0bfa192241b6 pcie-imx6: improve reset function for reseting EP
    e123320ed759 pcie-imx6: add reset function for reseting downstream EP
    8ac8baa42b00 ARM: imx: gpc: Fix undefined references when using GPCv2
    22adfeb5967d rpmsg: imx: return ENOTTY if no tty connected
    884a956954bf imx6ull.dtsi: include all needed definitions
    50882da87845 ARM: imx: clk: enable OCOTP clock by default
    52e97a051acf mtd: gpmi: fsl,legacy-bch-geometry independent of nand-on-flash-bbt
    f954e5a644e2 imx: Fix 'Expose SoC unique ID' for newer i.MX6
    415b94e56b77 regulator: pfuze100: Apalis iMX6: Fix poweroff does not release POWER_ENABLE_MOCI
    5da0c036e9b7 Documentation: fix imx7d pinctrl dse config bits
    655d0831a28d busfreq-imx: only use existing global variables
    364fb5a55fb0 mxc_ipuv3_fb: Use the mode_string from command line as is
    27f204455ea4 ov5640_mipi: Revert the hack
    4cbb74dcbf64 tty: serial: imx: Add support for enabling RS485 via device tree
    af155c0c056d ARM: imx: spare the first 16KiB of OCRAM_S for Cortex-M4
    6bc25e8a6ff1 sgtl5000: improve switch on vag power for line_in -> output
    c1a2057ba5c4 net: can: flexcan: Fix wakeup on CAN from suspend issue
    7d9a3340afa8 iio: adc: remove event advertisment
    eae4f0271151 iio: adc: support IIO_CHAN_INFO_SCALE
    fb772326e612 ASoC: sgtl5000: Allow LRCLK pad drive strength to be changed
    ee1c27d7d124 apalis-imx6: use stopmode for poweroff
    23de9e55818a pm-imx6.c: fix power off by stop mode
    681221bb098b colibri-imx6: use stopmode for poweroff
    22494287e5cb sgtl5000: switch on vag power for line_in -> output
    2eb79784a65c iio: adc: fix remove
    f659df991e80 ARM: imx: mu: let Cortex-M4 know about A7 state
    231af51906f5 ARM: imx: clk: do not force clock frequency of M4
    c9ba45bf40ea ARM: imx: busfreq: do not force high frequency during suspend
    144d67fec5e5 ARM: imx: busfreq: initialize M4 frequency depending boot state
    a29d55dfece1 mmc: sdhci-esdhc-imx: make sure runtime PM is suspended in system suspend
    c8b33eee3c36 mtd: gpmi: make sure runtime PM is suspended in system suspend
    8af298605e5d video: fbdev: mxsfb: make sure runtime PM is suspended in system suspend
    ad71948278a4 net: fec: make sure runtime PM is suspended in system suspend
    50f955925a96 imx: Expose SoC unique ID
    b4032aa0f648 drivers: soc: Add new sysfs attribute to expose SoC unique ID
    05ca7b256125 arm: dts: imx7: specify keypad port clock
    891fd68f0ae5 ARM: imx7d: clk: add root clock for keypad port
    1c99ed9c2b52 rpmsg: imx: do not push data when no reader is available
    1a5fbf6a6fac ARM: imx: define buffer count per VirtIO queue
    dad793183c8b gpio: mxc: clear interrupt mask/status optionally
    b3b18d7be775 video: mxc: ldb: Add support for LVDS configuration via kernel boot arguments
    72c709d9839d media: Add support for ADV7280 decoder driver
    74d6a6664415 mxc_v4l2_capture: Change error message to print on debug
    f90e7494f4a9 mxc_v4l2_capture: Allow clock setting for de-interlaced video input
    c721183f506c tty: serial: imx: disable DCD and RI interrupts
    32b2746345fe PCI: Apalis GEN1 forcing quirk
    679683bf2fc9 process.c: if power off fails, do at least a halt
    d4e8e84c02d2 mxc_v4l2_capture.c: make error messages unique
    0c2deaeb01c0 max9526.c: move pinctrl after i2c detect
    d5cefaebc76f adv7180.c: convert debug output to dev_dbg
    108fe9052da4 mxc_v4l2_capture: match ipu/csi/mipi instead of only ipu/csi
    23adec8b589e max9526: add initial MXC camera sensor code
    72616307d2e1 adv7180.c: initial working adv7180 settings
    ef4fcb21a85b mxc_v4l2_capture: let the camera driver set mipi/parallel
    a81bb57eff3d mxc_hdmi.c: fix boot hang
    fea4c76390b9 mxc_lcdif.c: fix comment
    2aeb5f6fd1c7 MXC_CSI_CAMERA: select VIDEOBUF2_DMA_CONTIG
    17e167e9a376 clk-imx6q.c: set eth phy clock dependent on RMII/RGMII
    11d65dc74ae7 mach-imx6q.c: handle RESET_MOCI when PCIe is disabled
    ee4c0dec087d mxc_hdmi: fix detect disconnect case
    014b0edb5e05 OmniVision ov5640 MIPI-CSI2 camera support
    98c1fae87f28 arm: dts: imx7: specify Cortex-M4 clock
    407d9bdea6df mxc_vdacif.c: add second parallel output used for VDAC
    84bfc29c3bde mxc_lcdif.c: add additonal LCD timings
    0496cce66c78 mxc_lcdif.c: EDT-WVGA: fix pixelclk polarity
    15fe815e3c34 mxc_hdmi: skip unnecessary mxc_hdmi_setup calls
    645dd6a53eed sync.h: synchronization framework needs this header
    6d6e8ac718d7 stmpe-adc: remove platform data support
    97fd3924525e mfd: stmpe: move block variable to struct stmpe
    a6d2d2c1ed39 iio:stmpe-adc.c: Switch to new event config interface
    67f5b72be73c stmpe-adc: add temperature channel
    56ca491137bb stmpe-adc: add device tree bindings
    48db21d00ec9 iio: adc: add STMPE ADC driver using IIO framework
    d53597f8dd40 mfd: stmpe: add ADC block resources
    76d6f6f71f04 mach-types: add the apalis-imx6 machine
    362a86526db7 lcd: Add WVGA timings for the EDT 7.0" panel
    d343a14a7f36 mxc_spdif.c: set the validity bit to 'valid'
    dcb6827902a3 eMMC: Don't initialize partitions on RPMB flagged areas.
    118c9d3efbd3 tc358743_h2c: add devicetree support
    836d12e27f4a TC358743 Kconfig dependency update
    d827b38abf48 tc358743_h2c: fill in sample edid data from Asus monitor
    49da693ff9d3 tc358743_h2c: fix compiler warnings
    2d7929d08867 tc358743_h2c: cleanup spacing
    010b7c8c6c31 add tc358743_h2c driver
    b9c7f2fd2c05 mxc_v4l2_capture: add mxc_camera_common_lock/unlock, fix device name
    c3c613e958b4 sdhci: print opcode/retries on timeout error
    b9d0e040eaa4 ARM: dts: imx7: move peripherals into spba
    79015763dc01 ov5640_mipi: software reset does not affect i2c address
    e4591cedcce1 ipu_common: ipu_free_irq, do nothing if not owner
    d986108ee75d ipu_csi_enc: improve error message
    37fe411f93b4 ipu_prp_enc: improve error message
    cd093bb2d393 ov5642: fix csi/ipu check for imx6dl
    de79190880ba ov5640_mipi: fix csi/ipu check for imx6dl
    6fd9881b383f ov5642: add i2c address change feature
    58c60c5bdb46 ov5640_mipi: add i2c address change feature
    c30bcd15b712 mxc_mipi_csi2: add ipu/csi info to probed output
    de7a10923b53 ov5640_mipi: change registered name from ov5640 to ov5640_mipi to reduce confusion
    7c3792756406 i.MX6: v4lout: none of our displays support color-space conversion
    bd9aeac5bd52 dma-mapping: increase DEFAULT_DMA_COHERENT_POOL_SIZE ifdef CONFIG_VIDEO_TW68
    a84a31331dd1 PCI: Add quirk for setting valid class for TW6869 frame grabber
    435c1a65b7e4 mxc_hdmi: Add only_cea parameter to mxc_hdmi module
    6db9a8f8d259 rfkill-regulator: add dt support
    6bbaa40b35c2 ov5640_mipi: simplify mipi clock wait loop
    548c276c7cfd mxc_hdmi: enable overflow interrupt after initialization complete
    5d90a458f49e mxc_hdmi: default to keep-alive (don't detect disconnect)
    9588e83c7b11 Add support for DVI monitors
    ad22a18d9d8a ov5640_mipi: print message on gpio request failure
    8a2f9d8a8fda mxc_v4l2_capture: add ipu_id to sensor_data
    d9f0d37e7efa ov5640_mipi: add remove *2 and add error checking to OV5640_get_sysclk
    668f87b27d75 ov5640_mipi: add imx6 mipi/parallel selection
    9ddc4fa32be3 ov5640: add pwm option for mclk
    3a66f511bf71 ov5642: add imx6 mipi/parallel selection
    c919453df348 fix camera power down
    831f1a8f473f add ar1021 touchscreen
    b820d1c68cbc mxc_v4l2_capture: fix VIDIOC_ENUMSTD, return -EINVAL if index > 0
    3fba3b192c30 mxc_ipuv3_fb: unblank displays at init
    071a5b6b9261 arm: dts: imx7: sepecify vring location
    2d6b217807ab ARM: imx7d: clk: add 240MHz sys main clock to init_on
    241a15ed4b8e usb: chipidea: use of extcon framework to work for non OTG case
    9d986882ce4c extcon: usb-gpio: increase debounce time
    843574212ebf ARM: dts: imx7: use 3 PWM cells
    bd497c7e4068 pwm: imx: Add polarity inversion support to i.MX's PWMv2
    a4b9b821c12d pwm: imx: Remove redundant i.MX PWMv2 code
    9d8b56fb90ba pwm: imx: Provide atomic PWM support for i.MX PWMv2
    8b4fda2561a6 pwm: imx: Move PWMv2 wait for fifo slot code to a separate function
    1ca0850121ab pwm: imx: Move PWMv2 software reset code to a separate function
    fabe4ffb2072 pwm: imx: Rewrite v1 code to facilitate switch to atomic PWM
    284a2e926a9d pwm: imx: Add separate set of PWM ops for v1 and v2
    116d366e9a44 pwm: imx: Remove ipg clock and enable per clock when required
    e5d58a3ce115 pwm: constify pwm_ops structures
    0e7229d1fb65 pwm: Remove .can_sleep from struct pwm_chip
    0385a44d9f0e video: fbdev: mxsfb: honor native-mode
    3d96b0e07642 video: mxsfb: simplify parsing
    6592ec0a736c touchscreen: fusion_F0710A: Reset controller if clear interrupt operation fails
    8b4d25b5c4b6 input: touchscreen: fusion: implement multitouch with slot handling
    85317f182265 input: touchscreen: fusion: use level triggered interrupt
    9dc3d3742114 input: touchscreen: fusion: add device tree integration
    595b42378ac1 input: touchscreen: fusion: platform independent GPIO description
    1c2076de13e3 input: touchscreen: fusion: fix error handling
    77718e16be5a input: touchscreen: fusion: use new I2C PM functions
    c1c7e995dede input: touchscreen: added platform data for Fusion touchscreen
    1bbaba028b68 input: touchscreen: fix race condition in Fusion driver
    735142b4362f input: touchscreen: add ABS_X/ABS_Y axis for Fusion touchscreen
    1c0bfef75958 input: touchscreen: add Fusion 7 and 10 multi-touch driver
    a55ea74a97ec fbcon: logo: allow easy integration of a custom Linux boot logo
    04855006c132 rtc: ds1307: support m41t0 variant
    02f8efbe12b5 spi: spidev: invent a new hw device to work around spidev warning
    f764986d38a6 ARM: imx: fix clock for i.MX 7 when Cortex-M4 is running
    b66e57551f4e ARM: dts: imx7d: move nodes to i.MX 7Solo device tree
    5113a863eedd Revert "MLK-9810 dma: mxs-dma: add power management support"
    8e415aff9ffd Revert "MLK-11019-2: mxs-sdma: add im7d dma-apbh clock"
    970ea218d349 Revert "MLK-11325 dma: mxs-dma: fix dma_io clock enable count mismatch issue"
    a773c41a0475 Revert "MLK-11326 dma: mxs-dma: remove the runtime pm dummy code"
    96e6518c6340 Revert "MLK-13548 ARM: dts: imx: Add 1.2GHz setpoint for imx7d"
    0c9e76fe640e dmaengine: Kconfig: Extend the dependency for MXS_DMA
    1e6580d1714b ENGR00305648-1 ASoC: imx-sgtl5000: Support non-ssi cpu-dai
    834c3fdf7ae8 video: fbdev: mxsfb: fix pixelclock polarity
    c378f5b5e8db mach-imx7d.c: use enet_out clk to decide on PHY clock
    a3e275c490da ARM: imx: enet1: output reference clock
    23ed0c25201c clk: imx7d: create clocks behind rawnand clock gate
    1a4aa043b4c1 ARM: dts: imx7: add GPMI NAND and APBH DMA
    312cd39f794d video: mxsfb: add compile dependencies
    97e0b71209ca chipidea: make usb charger optional

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2018-07-18 13:16:30 -03:00
Max Krummenacher
e345432a34 u-boot-toradex: update to latest git
This updates to latest git which among others adds the new configurations
for Colibri iMX6ULL and moves to use a zImage kernel.

Change machine config to use zImage.

Also use 'older' 1.4.5 DTC which does not conflict with the fdt headers
used in U-boot.

The following commits since b121c6ab (minux non NXP related stuff):
eb660075db colibri-imx6ull: set module variant depending on config block
24db10ece3 tdx-cfg-block: simplify i.MX 6 module detection
bfe8950834 tdx-cfg-block: add support for new Colibri iMX6ULL SKUs
017ec39780 colibri_imx7_emmc: add fatwrite support
b5cc69a7e8 colibri-vf: use leveling evaluated by DDR validation tools
e2d5257acd colibri-vf: adjust timing according to data sheet
63d856627d ARM: vf610: ddrmc: do not write CR79 by default
743e081f34 ARM: vf610: ddrmc: fix CR138 preprocessor define
2881fc12d9 ARM: vf610: fix initialization completion detection
3ad050d4e4 arm: vf610: add UART2 pinmux/clock support
cd3e271cc5 colibri-imx6: added nreset gpio on reboot
addb87df8d cmd: ubi: print load size after establishing volume size
d507d86f8f cmd: set filesize variable in ubi read
9b02ad9e5d colibri-imx6ull: fix card detect GPIO of SD card
8890602daf colibri-imx6ull: Set the DDR RAM ASR bit
4c96a4f64d tdx-cfg-block: fix off by one issue
087e95a2dc colibri_t20: fix passing mac address via dt
a1c2045034 colibri_t20: integrate mtd partitions via dt
0940b3480a tools/env: allow equal sign as key value separation
0a9da66891 apalis/colibri_imx6: remove white space after string end
8a98158f8b script: Make the get_default_envs.sh script working with newest u-boot
d58b8057a7 colibri_vf_defconfig: enable MTD partitions via dt
04c6b570f7 arm: dts: imx7: add UART2/UART3
2fbebc49b5 apalis/colibri: switch to zimage
189e6ea804 tdx-cfg-block: add new SKUs
f05c11cd42 imx: initialize and use generic timer on i.MX 6UL/ULL
88b1209ca9 imx: introduce CONFIG_GPT_TIMER
e7a9e5a76b imx: move CONFIG_SYSCOUNTER_TIMER to Kconfig
393811db8e colibri-imx6ull: add MTD fixup compatible for mainline kernels
307a465108 colibri_imx7: do not mux SODIMM 169 as NAND chip select
30a1208727 apalis/colibri: disable undefined instruction events in user debug
980e216a8a colibri_imx6ull: add sensible default DFU configuration
af4cb91695 apalis/colibri: enable user debug by default
52259cf22a apalis: unify configs
48efc7c6be toradex apalis/colibri: set version variable for all modules
abec6c5697 colibri_imx6ull: add dtb for wifi variant
5e54aedd1c colibri_imx6ull.c: remove dead code
284ac523dd imx: imx6ull: correct get_cpu_speed_grade_hz
8d3bb7ea49 MLK-14839-2 imx: clean up print info for thermal and reset cause
1d4ece729e MLK-14839-1 mx6: Fix wrong CPU frequency
e2215315d9 envtools: make sure version/timestamp header file are available
19177c390e tools: env: allow to print U-Boot version

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2018-07-18 13:16:29 -03:00
Otavio Salvador
6d79ae9eda imx6ul-pico: Rework machine configuration
This reworks the machine configuration so:

 - it uses a generic name, as it works with multiple baseboards;
 - make use of extlinux configuration support

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-11 14:16:12 -03:00
Otavio Salvador
2f04b01bed imx7d-pico: Update settings to use U-Boot SPL
This updates the machine settings so it makes use of the SPL support
and also adds the extra machine U-Boot config, so it allows for a
direct booting in pico-pi baseboard if needed.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-11 14:16:12 -03:00
Otavio Salvador
cc89a9b637 imx7d-pico: Enable the UBOOT_EXTLINUX support
The U-Boot environment has been reworked to use the common distro
configuration, provided by UBOOT_EXTLINUX support.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-11 14:16:12 -03:00
Gary Bisson
33cb0b1255 nitrogen8m: add machine configuration
Platform details:
https://boundarydevices.com/product/nitrogen8m-imx8/

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2018-07-11 14:16:07 -03:00
Gary Bisson
983da16f73 u-boot-boundary: add temporary v2017.03 version for imx8m
Hopefully i.MX8M support will soon be properly integrated into mainline
U-Boot so that we can use the same branch for all platforms.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2018-07-11 14:16:02 -03:00
Gary Bisson
39c3dcd8de linux-boundary: switch to 4.9.x_2.0.0_ga and add mx8 support
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
2018-07-11 14:16:00 -03:00
Gary Bisson
434acb4b4a linux-boundary: bump revision to 46f9b57b
Changelog is too long but as a summary:
- Merged stable release up to 4.9.88
- Improved capture driver to work with v4l2src
- Add yet another LDB clock parent
- Improved MIPI DSI support for i.MX6

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-10 13:52:14 -03:00
Gary Bisson
6146c7020a nitrogen*.conf: fix u-boot preferred provider
And switch to defconfig as now supported in v2017.07 release.

The missing virtual/bootloader variable was generating the following
error:
 $ bitbake u-boot-boundary
...
ERROR: Nothing PROVIDES 'u-boot-boundary'
u-boot-boundary was skipped: PREFERRED_PROVIDER_virtual/bootloader set to u-boot-fslc, not u-boot-boundary
u-boot-boundary was skipped: incompatible with machine nitrogen6x (not in COMPATIBLE_MACHINE)

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-10 13:51:59 -03:00
Gary Bisson
b63043d4e0 nitrogen*.conf: switch to standard boot.scr script
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-10 13:51:43 -03:00
Gary Bisson
d49f0f20a4 u-boot-boundary: bump version to v2017.07
Brings many updates/fixes, most important one being the use of standard
bootdistro commands/variables.

Therefore the legacy 6x_bootscript/upgrade scripts have been removed in
favor of boot.scr and upgrade.scr.

Also, the HOSTCC patch isn't needed anymore since included in mainline
U-Boot.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-10 13:51:20 -03:00
Fabio Berton
7ac85ccf27 imx7s-warp: Migrate to use mainline BSP
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2018-07-06 15:11:40 -03:00
Fabio Berton
b94827fe0a linux-wandboard: Remove recipe
Now wandboard is using linux-fslc mainline kernel as default.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-06 10:55:27 -03:00
Fabio Berton
5025245fbc wandboard: Add use-mainline-bsp to MACHINEOVERRIDES
Use mainline bsp support as default.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-06 10:55:23 -03:00
Otavio Salvador
ba286d4226 cfa10xxx: Drop unbuildable machines
Those machines are unbuildable as we removed the barebox (which was
not building for ages) so it seems nobody care about those boards.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-03 18:47:13 -03:00
Fabio Berton
6e28a43907 README: Update to use info only for sumo branch
Also add link to Commit Patch Message Guidelines.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-26 14:07:14 -03:00
Otavio Salvador
9ff6e19962 wandboard: Add UBOOT_EXTLINUX_CONSOLE to pass ${baudrate} to bootparam
We are passing ${baudrate} for the bootparam so the bootargs are
handled properly.

Change-Id: I8084ff18a8d8ec63709554540687a79511b1162a
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-11 16:36:29 -03:00
Otavio Salvador
38f1a0f91c imx7d-pico: Update Linux kernel device tree name
The 4.17 kernel includes the split of imx7d-pico (the SoM) and
imx7d-pico-pi (the SoM + baseboard) split, thus we need to update it
here as well.

Change-Id: Ie9e6aed357af055d906073284d1faba02f84d8e5
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-11 16:36:29 -03:00
Ken Lin
314291fb10 linux-advantech: Bump kernel version to 4.9.x
Add support for DMS-BA16 board

Signed-off-by: Ken Lin <yungching0725@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-08 10:40:52 -03:00
texierp
9d674c4556 imx7s-warp: update u-boot configuration
The 'secure_defconfig' was removed, see [1].

[1] 8273209bd9

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-06 10:52:54 -03:00
Alex de Cabo
fa55a2527c linux-congatec: 4.1.15 -> 4.9.11
Bump from cgt_imx6_4.1.15_2.0.0 to cgt_imx_4.9.11_1.0.0

Signed-off-by: Alex de Cabo <alejandro.de-cabo-garcia@congatec.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-05-24 09:56:05 -03:00
Otavio Salvador
44ce402484 conf/layer.conf: Add LAYERSERIES_COMPAT info
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-04-16 16:21:04 -03:00
texierp
7f56432ff8 linux-warp7: enable CONFIG_FHANDLE
Added missing kernel configuration for systemd.

Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-03-29 19:01:12 -03:00
Fabio Berton
d5b9e9570d imx7s-warp: Remove imx-base.inc duplicate code
IMAGE_FSTYPES = "wic.gz" and WKS_FILE = "imx-uboot-bootpart.wks" are
already set in imx-base.inc

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-02-28 13:36:30 -03:00
Fabio Berton
d60cb77eb8 imx7d-pico: Remove imx-base.inc duplicate code
IMAGE_FSTYPES = "wic.gz" is already set in imx-base.inc

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-02-28 13:36:25 -03:00
Fabio Berton
30cb947080 colibri-vf: Remove imx-base.inc duplicate code
IMAGE_FSTYPES = "wic.gz" is already set in imx-base.inc

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-02-28 13:36:20 -03:00
Fabio Berton
1bcdad9a33 colibri-imx7: Remove imx-base.inc duplicate code
IMAGE_FSTYPES = "wic.gz" is already set in imx-base.inc

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-02-28 13:36:16 -03:00
Fabio Berton
f52ddb7e91 colibri-imx6: Remove imx-base.inc duplicate code
IMAGE_FSTYPES = "wic.gz" is already set in imx-base.inc

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-02-28 13:36:11 -03:00
Fabio Berton
3094682971 apalis-imx6: Remove imx-base.inc duplicate code
IMAGE_FSTYPES = "wic.gz" is already set in imx-base.inc

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-02-28 13:36:04 -03:00
Fabio Berton
6cdec74938 Remove --no-fstab-update option from WIC_CREATE_EXTRA_ARG for all machines
WIC_CREATE_EXTRA_ARGS ?= "--no-fstab-update" was add to imx-base.inc
and we can remove from all machines that includes imx-base.inc file.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-02-28 13:36:01 -03:00
Otavio Salvador
c2fcaeadf5
Merge pull request #6 from prof7bit/colibri-fix-serial-console
colibri-vf: use strong assignment of SERIAL_CONSOLE, fixes #5
2018-02-21 15:20:26 -03:00
Bernd Kreuss
4cc42f5105 colibri-vf: use strong assignment of SERIAL_CONSOLE, fixes #5
SERIAL_CONSOLE would otherwise stay at the default setting as defined in imx-base.inc but this setting would make it try to spawn a getty on a non-existing device on the colibri-vf and login on the UART console would not work.

Signed-off-by: Bernd Kreuss <prof7bit@gmail.com>
2018-02-21 18:54:25 +01:00
Ricardo Salveti
5efd7d7de1 broadcom-nvram-config: use nonarch_base_libdir instead of /lib
Hardcoded /lib is not compatible with usrmerge.

Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-02-21 08:58:37 -03:00
texierp
1883357f1d imx7s-warp: Add option to not modify fstab
Add "--no-fstab-update" to WIC_CREATE_EXTRA_ARGS avoid wic change fstab
in final image.

Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-01-25 16:56:29 -02:00
Gary Bisson
4dacf11ab6 linux-boundary: Bump kernel version to 4.9.x_1.0.0
Kernel based on NXP imx_4.9.x_1.0.0_ga kernel release.
Also includes stable release (4.9.74 as of this patch).

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-01-25 16:56:26 -02:00
Stefan Agner
fcc529237f apalis-imx6.conf: remove Apalis iMX6 V1.0 module support
Remove Apalis iMX6 V1.0 device trees. Newer kernel versions will
no longer provide device trees for those early sample devices.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-12-19 14:31:12 -02:00
Gary Bisson
37c79046d1 linux-boundary: fix defconfig after bump
Our in-kernel defconfig is named boundary_defconfig FYI.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-22 09:49:04 -02:00
Fabio Berton
1cc145abd2 u-boot-boundary-fw-utils: Reuse the same override HOSTCC patch as u-boot-mkimage
(From OE-Core rev: 2815f819c1a620949213fa952557c03f7d594ed6)

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-21 17:43:52 -02:00
Fabio Berton
7dd7e63b6b u-boot-boundary: Bump revision to 0dbffd30b6
This includes the following changes:

    - 0dbffd30b6 cnt: 1066mhz_4x256mx16.cfg: update calibration for new spin of board
    - 15e746b5ea cmd/fdt.c: align scratch data on dword boundary to avoid unaligned access
    - 7c311ea9bf nitrogen6x: add script linking via next variable/prog_fuses
    - dc31ebc7c1 fuse: make fuse read set an environment variable
    - 9aa7904a39 boundary: add fuse config needed for boards
    - 8054d91315 include/configs/boundary.h: good default for BD_CONSOLE
    - e6c78d3431 nitrogen6_vm: add nitrogen6_vm-pt1g_defconfig

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-21 17:43:32 -02:00
Fabio Berton
e89bf2540b u-boot-boundary-fw-utils: Add recipe for version 2016.03
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-21 16:40:04 -02:00
Fabio Berton
537776b488 u-boot-boundary: Update COMPATIBLE_MACHINE list
Remove old imx6qsabrelite machine as it is now provided by nitrogen6x,
and add nitrogen6x-lite that was missing.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-21 16:39:48 -02:00
Fabio Berton
8c2d5034dd linux-boundary: Bump revision to 719fb24c9923
This commit sync defconfig with Boundary source code and apply the
following changes:

    - 719fb24c9923 imx6qdl-cob2.dtsi: initial commit
    - 3ddcc3bf7b31 sgtl5000: add AVC Attack/Decay, AVC threshold low is -96.00 db
    - 2403224a895e sgtl5000: fix Bass Filter Feq start bit, add bass HPF
    - 28193fdd0c38 sgtl5000: and DAP module processing
    - 0ec88cec6d57 fix mxc_v4l2_capture: add vflip and mirror to sensor_data
    - 12ac2d3e92b2 ARM: dts: imx6qdl-cid_tab: fix camera orientation
    - 5cfa3fdba84b ov5640_mipi: allow to override vflip and mirror values
    - 1b4fa6d2d4e3 ov5640: allow to override vflip and mirror values
    - ba49388f06a7 mxc_v4l2_capture: add vflip and mirror to sensor_data
    - f7714e963069 video: mxc: mipi_rm68200: remove start delays
    - ee4b77691dd1 video: mxc: mipi_dsi: reduce status delays
    - 646c810af677 ARM: dts: imx6qdl-cid_tab: expose RGB LEDs individually
    - 1f47a2c2407c ARM: dts: imx6qdl-cid: expose RGB LEDs individually
    - cfd5205144ae ARM: dts: imx6qdl-cid_tab: bump charging current for HV_MAINS/WC to 2.1A
    - a9e134ebe037 ARM: dts: imx6qdl-cid: bump charging current for HV_MAINS to 2.1A
    - 688c9c3f4d77 ARM: dts: imx6qdl-cid_tab: set battery capacity
    - ae6702137456 ARM: dts: imx6qdl-cid: set battery capacity
    - 8d5cf1dd8c85 max77823: fuelgauge: allow to override battery capacity
    - 05dddb49125a max77823: fuelgauge: reset battery values after POR
    - b5e15ebd57ab max77823: fuelgauge: fix reset function
    - c7ad0abcc008 max77823: fuelgauge: fix dynamic scale computation
    - 6d37635eb22b tty: serial: imx: wait until a character is about to be transmitted before enabling the RS485 transmitter
    - 2f9ee08acbc6 tty: serial: imx: use scatterlist for rx dma
    - 5c1fab375c77 tty: serial: imx: change tsk_dma_tx to plain work_struct
    - f1e9beffb7e8 serial: imx-serial - update RX error counters when DMA is used
    - 4aca91d47fb6 tty: serial: imx: remove dma_rx_work
    - 00adde7698b2 arch/arm/boot/dts/imx6qdl-ap.dtsi: initial addition
    - 1c2224ae1e2d boundary_defconfig: make hdmi audio a modules, CONFIG_SND_SOC_IMX_HDMI=m
    - 444102a656dd imx6qdl-h4.dtsi: KEY_COL0 must be UART4_TX_DATA
    - be7be3a4e56c sgtl5000: add bass controls
    - f7cc79eff5f3 imx6qdl-hp.dtsi: always have otg_vbus on, it does not leave this board
    - 9eba3d40a0fc tty: serial: imx: switch from ageing timer to idle to avoid UART sdma script bug
    - 4f35eb7cca03 net: fec: remove QUIRK_HAS_RACC from i.mx27
    - 52d2469b55eb net: fec: remove QUIRK_HAS_RACC from i.mx25
    - 8f3b77ea38bd MLK-14333 firmware: imx: sdma: fix SSI dual fifo swap
    - 74f04ec66272 ARM: imx6q: support ptp and rmii clock from pad
    - da999c39acec ARM: dts: imx6qdl-cid_tab: swap goodix touch axes
    - 9d2a20394fa3 Input: goodix - remove single touch reports
    - 90eff99d70b8 Input: goodix - use "inverted_[xy]" flags instead of "rotated_screen"
    - 4771b34caae1 Input: goodix - add axis swapping and axis inversion support
    - d8d55b7d8752 ARM: dts: imx6qdl-cid: force USB H1 device id
    - d8f1e3f53cff usb: chipidea: allow to override id from device tree
    - 6067115920fd net: fec: Call swap_buffer() prior to IP header alignment
    - b924590deced net: fec: align IP header in hardware
    - 4030d318f8d6 boundary_defconfig: add CONFIG_BRIDGE, needed for bluetooth PAN
    - a5bdde5ddd05 sec_battery: make AC online depend on both battery health and charger health
    - b16b65a5b97f goodix: adding gt928 to i2c_device_id table lets modprobe be automatic
    - 1f39203ce15b Revert "max77823_charger: favor chgin over wcin"
    - 1c1f08bd0e1f imx6qdl-cid_tab: use pwm3 instead of pwm1 to control lvds backlight
    - 8ffe053250f4 max77823_charger: favor chgin over wcin
    - e0f21b50a959 pwm_bl: allow an array of enable pins
    - 13fb24caf547 nitrogen6_vm_pt_defconfig: initial addition
    - 3ac8e32d322b nitrogen51_vm_defconfig: use Andrew's settings, the only user of this defconfig
    - 237892e1726d input: touchscreen: ft5x06: select REGMAP_I2C in Kconfig
    - c24bab70914f imx6sx-ys.dts: pullup RESET_DSP_N
    - f4a6076e1143 ARM: dts: imx6q-cid_tab: initial addition
    - ea4201a38c70 imx6qdl-nitrogen6x.dtsi: s/ov5640_int/ovti,ov5640/
    - 46d3bbf75727 ov5640: add ov5640_int to ov5640_id table
    - 4b5f16e4857d ov5642: improve error message
    - 7c5c37544ae7 max77823_charger: update otg_vbus_enabled in the regulator notifier callback
    - 83059e5e06dc ov5640_mipi: remove ov5640_reg file on rmmod
    - aedfdbb024a2 max77823_charger: don't call max77823_set_online directly, have battery do it
    - adfb14277c18 sec_battery: avoid 'Undefine Battery Status' when not charging
    - c647c9e98f5b tools include: Add a __fallthrough statement
    - ef46e9519ce8 max77823_fuelgauge: fix current_now/current_avg when negative
    - ce1bc18798ae sec_battery: call chargers POWER_SUPPLY_PROP_STATUS, when battery's status changes
    - 8d5aabcc73a5 imx6qdl-ash2.dtsi: initial addition
    - 1d5286fd2181 imx6qdl-ash.dtsi: map ttymxc3 to UART3 to match ash2
    - e03025b9cc77 imx6q-neol-tst.dts: use EIM_DA7 for GP_5V_DLP_EN
    - dee9694b8283 imx6qdl-neol.dtsi: use EIM_DA7 for GP_5V_DLP_EN
    - f67ef4b07eb2 imx6qdl-ash.dtsi: gpio_3 is poweroff only
    - 18b43433c84b max77823_charger: maker as undervoltage if we supply otg vbus power
    - 8869166a01d7 imx6qdl-cid.dtsi: no need to poll for charger health
    - 341bae211c71 max77823_charger: sep

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-21 15:33:32 -02:00
Fabio Berton
94611c67c3 u-boot-boundary: Create u-boot-boundary-common include file
- Use a common file to make easier update, maintain and create
    others U-Boot recipes like U-Boot fw-utils.
  - Rename recipes to use U-Boot version as recipe PN.
  - Fix U-Boot spelling on description.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-21 15:32:55 -02:00
Fabio Berton
0f0ff55565 u-boot-boundary: Do not override PROVIDES variable
Append u-boot to PROVIDES variable to get virtual/bootloader
to final value.

  PROVIDES = u-boot-boundary virtual/bootloader u-boot

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-16 13:43:46 -02:00
Fabio Berton
1a3fb4e0c7 mqxboot: Remove recipe for version 2.0.1
This recipe is not being used by anyone. grep shows the only
machine that use mqxboot is colibri-vf and is set to use version
1.%.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-10 14:01:11 -02:00
Max Krummenacher
3fc4458fd8 colibri-vf.conf: add a wic image in favour of sdcard image
The wic image can be used to boot kernel/dtb/rootfs from an SD card.
U-Boot gets booted from the on module NAND, the image from the prepared
SD card.

zcat XXX.rootfs.wic.gz | dd of=/dev/sdX bs=1M

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-08 14:16:02 -02:00
Max Krummenacher
26bec0011d colibri-vf.conf: add a device tree for the aster carrier board
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-08 14:16:02 -02:00
Max Krummenacher
c44904d9c8 colibri-imx7.conf: add a wic image in favour of sdcard image
The wic image can be used to boot kernel/dtb/rootfs from an SD card.
U-Boot gets booted from the on module NAND, the image from the prepared
SD card can be started with 'run sdboot'.

zcat XXX.rootfs.wic.gz | dd of=/dev/sdX bs=1M

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-08 14:16:02 -02:00