summaryrefslogtreecommitdiff
path: root/recipes-bsp
AgeCommit message (Collapse)Author
2016-05-27barebox-ipl: am335x: Update to v2015.09.0-phy51.8.1-phy8Stefan Müller-Klieser
Changes since v2015.09.0-phy4: mtd: nand: omap_gpmc: Fix bitflips in empty page mtd: nand: omap_gpmc: Remove BCH4 support mtd: nand: Add erased page bitflip check helper functions Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2016-05-12barebox: am335x: Update to v2015.09.0-phy51.8.1-phy7Stefan Müller-Klieser
Changes since v2015.09.0-phy4: mtd: nand: omap_gpmc: Fix bitflips in empty page mtd: nand: omap_gpmc: Remove BCH4 support mtd: nand: Add erased page bitflip check helper functions Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2016-03-31barebox: imx6: Update to v2015.11.0-phy4Christian Hemp
Changes since v2015.11.0-phy3: ARM: dts: pfla02: use long enough reset for ethernet phy ARM: imx_v7_defconfig: enable NANDTEST command ARM: imx6: physom: fix phyflex workaround on Dual and Solo ARM: i.MX6: add function cpu_is_mx6s() Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2016-03-31barebox: Enable the 7" display by default.Christian Hemp
Enable the 7" display with kap touch by default for phyCARD-i.MX6 and phyFLEX-i.MX6. Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2016-03-31barebox: Add imx6qdl-phytec-lcd-res for phyCARD-i.MX6Christian Hemp
We need two different imx6qdl-phytec-lcd-res files for phyCARD-i.MX6 and phyFLEX-i.MX6. Because the STMPE811 has different node names on the boards. Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2016-03-31barebox: env: Add possibility to enable touchChristian Hemp
Add possibility to enable the capacitive or resistive touch. Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2016-03-11barebox: imx: enable nandtest in config1.8.1-phy5Stefan Christ
Last minute barebox config change for hardware tests. Enable nandtest command in barebox. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2016-03-11barebox: imx6: Update to v2015.11.0-phy3Stefan Christ
Changes since v2015.11.0-phy2: ARM: phytec-som-imx6: update RAM calibration for phycore-imx6dl ARM: phytec-som-imx6: add NOR for phycore-imx6 emmc Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2016-03-11barebox: env: use 'data=journal' for ext4 filesystem for reliabilityStefan Christ
Change ext4 data mode from 'ordered' to 'journal', because we observe that newly written files are empty, after a powercut happens. This change improves the filesystem reliability in case of a power cut. There are three modes for ext4 filesystem: see https://www.kernel.org/doc/Documentation/filesystems/ext4.txt * writeback mode (journal is not used) (fastest) * ordered mode (only metadata is committed to journal) * journal mode (data+metadata are committed to journal) (slowest) The first observation of reliability issue were empty ssh host keys in /etc/ssh. These are generated on the first ssh login via ssh-keygen. If a powercut happens right after the keys are created, the files are empty on the next boot. That leads to ssh login failures, because keys are invalid and ssh-keygen doesn't regenerated key files that already exist. This option has be set via rootflags in the kernel commandline, because it must be present at the initial mount of the filesystem. It cannot be set in the fstab, because changing this mode via remounting in service systemd-remount-fs.service fails. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2016-03-10barebox: imx6: env: disable cameras by defaultStefan Christ
Disable the PHYTEC cameras in the barebox environment by default. Since we have currently the discrepancy whether the machines 'phyflex-imx6-*' are especially for the phyFLEX Kit-Hardware or a basis for phyFLEX-i.MX6 based basis boards, it's safer to disable the extra stuff like cameras and LCD displays. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2016-03-10barebox: imx6: env: add different display sizesStefan Christ
Add device tree commands in config-expansion to select different display sizes for LCD-018 and LCD-025. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2016-03-02barebox: imx6: Update to v2015.11.0-phy2Christian Hemp
Changes since v2015.11.0-phy1: ARM: phytec-som-imx6: adapt main update handler for eMMC ARM: phytec-som-imx6: rename environment folder ARM: phytec-som-imx6: update RAM calibration for phycore-imx6dl ARM: i.MX: bbu-internal: detect device before writing to it ARM: imx_v7_defconfig: Enabel of_camera_selection commands: Add of_camera_selection of: base: Add of_graph_get_remote_port_from Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2016-03-02barebox: env-2015.11.0: Enable default camChristian Hemp
Enable the default cam on the boards: - phyFLEX -> VM-011-COL, 0x48 phyCAM-P - MIRA -> VM-010-BW, 0x48 phyCAM-S+ - SUBRA -> VM-010-BW, 0x48 phyCAM-S+ - phyCARD -> VM-010-BW, 0x48 phyCAM-S+ Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2016-02-26barebox: env: force filesystem repair by fsckStefan Christ
Using the kernel parameter fsck.repair=yes enables the strongest fixing mode of fsck. Documentation of fsck.repair: "yes" will answer yes to all questions by fsck (https://www.freedesktop.org/software/systemd/man/systemd-fsck@.service.html) In fact the kernel parameter advices the systemd-fsck program to pass the parameter '-y' to fsck.ext4. This fixes filesystem errors more aggressively than the default '-p' (Automatically repair ("preen") the file system). This option should make the system more powercut and failure resistant. Since for embedded devices there is no system administrator who can handle a broken filesystem, the system should just try as hard as it can to boot and start the main application. The main application can fail, because of the broken filesystem, too, but it's better to start it than giving up before. So it has a chance to detect errors and show an appropriate message to the end user. The question, what to do if the ext4 filesystem is corrupted, is open for debate and maybe depends on the end user application, e.g. consumer, automotive or safety critical applications. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2016-02-26machine: imx6: add phyboard-mira-imx6-7Stefan Christ
Add phyBOARD-MIRA-i.MX6 with phyCORE-i.MX6 DualLite, 1GiB RAM and 4GB eMMC. Additional Wifi support with PEB-WLBT-01 via config-expansion. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2016-02-26machine: imx6: add phyboard-mira-imx6-5Stefan Christ
Add phyBOARD-MIRA-i.MX6 with phyCORE-i.MX6 Quad, 2GiB RAM and 8GiB eMMC. Additional Wifi support with PEB-WLBT-01 via config-expansion. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2016-02-26barebox: imx6: env: add PEB-WLBT-01 (wifi) supportStefan Christ
Add support for expansion board PEB-WLBT-01 for phyBOARD-MIRA-i.MX6 to barebox environment Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2016-02-24barebox: imx6: env: add imx6qdl-phytec-lcdStefan Christ
Add display LCD-025 in config-expansion for phyBOARD-ALCOR-i.MX6 and phyBOARD-SUBRA-i.MX6 and add display LCD-018 in config-expansion for phyFLEX-i.MX6 and phyCARD-i.MX6. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2016-02-24machine: imx6: add machine phyboard-subra-imx6-2Stefan Christ
Add machine for phyBOARD-SUBRA-i.MX6 with phyFLEX-i.MX6 Quad 1G RAM and additional Wifi support. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2016-02-24barebox: imx6: remove not needed config fragmentStefan Christ
The config fragment 'md5sum.cfg' was only a adhoc fix. The issue is fixed in the barebox version 2015.11. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2016-02-23barebox: imx6: Update to v2015.11.0-phy1Christian Hemp
Changes since v2015.11.0 ARM: dts: imx6: phyboards: reduce clock speed for usdhc3 mci: imx-esdhc: implement reset quirks for i.MX6 DualLite/Solo of: base: Add for_each_compatible_node_from() imx_v7_defconfig: add command mmc_extcsd ARM: phytec-som-imx6: add phyCORE-i.MX6 DualLite ARM: phytec-som-imx6: add phyCORE-i.MX6 Quad 2GiB RAM ARM: phytec-som-imx6: fix bootsource for phyCORE-i.MX6 ARM: phytec-som-imx6: add boot device emmc and automount ARM: phytec-som-imx6: add barebox partitions for MMC imx6qdl-phytec-pfla02.dtsi: add i2c eeprom ARM: imx_v7: disable IMX_IPUV3 wdog: imx-wd: Fix imx soc reset update defconfig enable of display timings commands: Add of_enable_node ARM: imx6q: add support for phyBOARD-SUBRA-i.MX6 Quad ARM: enable of_enable_node by default ARM: imx_v7: Enable OCOTP_WRITE by default wdog: imx-wd: watchdog cannot be disabled again net: fec: fix indentation and whitspaces net: fec: implement dtb property phy-reset-duration net: fec: set phy reset time to 1ms ARM: imx6dl: Add support for Phytec phyCORE-i.MX6 SOM ARM: imx6q: Add support for Phytec phyCORE-i.MX6 SOM ARM: imx6q: pfla02: add phyFLEX-i.MX6 DualLite 1GiB on one bank ARM: imx6dl: pfla02: Add support for 128MB and 256MB RAM ARM: imx6q: pfla02: Add support for 512MiB RAM on one bank ARM: pfla02: append suffix 1bank ARM: phytec-som-imx6: update environment ARM: phytec-som-imx6: set loadaddr to start of DDR memory. boards: Add phytec-som-imx6 ARM: imx6: phycard: use numeric suffix in device tree Signed-off-by: Christian Hemp <c.hemp@phytec.de>
2016-02-12barebox: env: use nv variable 'rootfs' and set to 'ro'Stefan Christ
Use a global nv variable for the generic root filesystem kernel parameters. Some of them are common for all boot devices. Switch "rw" to "ro". Now the kernel mounts the root filesystem readonly. The init system will remount it rewrite based on the settings in fstab if needed. It's important that the filesystem is readonly first because fsck (e.g. for the ext4 filesystem) in the boot process can only run if the filesystem is mounted readonly beforehand. The option 'rootwait' is now used for all boot devices and not only for "mmc". This option should not harm the other boot options since it only delays the boot process if the rootfs cannot be found immediately. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2016-01-18barebox: cleanup environment in prepare_envJan Remmet
Start with clean environment directory and install "far" only if debug-tweaks are set. Signed-off-by: Jan Remmet <j.remmet@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-12-14machine: Add support for phyBOARD-REGOR-AM335xTeresa Remmet
Add support for new phyboard-regor-am335x-1. Features: - AM3354 1GHz - 512MB RAM - 512MB NAND - i2c EEPROM - SPI NOR 8MB - CAN - UART0 / UART2 - RS485 - USB device - i2c RTC - SD - ethernet0 RMII - ethernet1 MII - Digital I/Os Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-12-14barebox: imx6: add boards in config-expansions for miraStefan Christ
Add missing expansion boards in file config-expansions in the barebox environment for the phyBOARD-MIRA i.MX6. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-12-14barebox: imx6: refactor search pathsStefan Christ
Refactor the search paths of the config fragments in the i.MX6 barebox recipe. Now the AM335x and i.MX6 recipes uses the same scheme and paths. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-12-14wl12xx-calibrator: use '=' instead of STAGING_INCDIRStefan Christ
The compiler replaces the character '=' by the sysroot path. It's cleaner than using a bitbake variable STAGING_INCDIR. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-26barebox: am335x: Update to v2015.09.0-phy4Teresa Remmet
Added some fixes. Changes since v2015.09.0-phy3 ARM: dts: am335x-phytec: eeprom name bootm: get file type before bootm_open_os_uimage bootm: cleanup bootm_open_oftree state: make type check error verbose net: eth: Remove ethaddr_param Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-13barebox: cml1 is already inherited by bbclass kconfigStefan Christ
Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-13barebox: imx6: Update to v2015.07.0-phy2Stefan Christ
Added two bug fixes. Changes since v2015.07.0-phy1: ARM: imx6q: fix ethphy in phyCORE-i.MX6 EMMC dts:imx6:pfla02: rename spi flash to 'flash@0' commands: Add dhrystone ARM: dts: Include strip file to Phytec am335x MLOs ARM: dts: Add include to strip am33xx clocks ARM: dts: beaglebone: Strip MLO device tree Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-13barebox: env-2015.09.0-phy3: ti33x: Enable watchdog on bootTeresa Remmet
Adding the nv timeout for the watchdog. This enables the watchdog in the boot command. The watchdog is then again disabled in the kernel omap_wdt driver (default behavior). Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-13barebox: am335x: Update to v2015.09.0-phy3Teresa Remmet
Added watchdog support to barebox, fixup errors will only show warnings. Changes since v2015.09.0-phy2: of_fix_tree: do not fail when fixup fails of_fix_tree: Print error message ARM: am335x_defconfig: Enable watchdog support driver: watchdog: Add support for omap_wdt boot command: Allow to enable watchdog Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-13layer: Refactor LOCALVERSION handlingStefan Müller-Klieser
The LOCALVERSION variable will now be handled by the kconfig class. Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-13kconfig.bbclass: Merge kconfig-savedefconfig classStefan Müller-Klieser
Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-13kconfig.bbclass: Merge kconfig-prepare-configure classStefan Müller-Klieser
do_intree_defconfig() is no longer required as a recipe specific function. It is now possible to do makecalls from within the configure task which simplifies things. Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-13barebox: Separate build directory from sourceStefan Müller-Klieser
The new KBUILD handling triggers bugs in the barebox if we use S = B. Anyway we are better of separting both. We might want to have a shared source for the barebox in future. Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-13layer: Refactor DEFCONFIG variable handlingStefan Müller-Klieser
DEFAULT_DEFCONFIG variables are now called INTREE_DEFCONFIG and are handled by the kconfig class. Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-13kconfig.bbclass: Add classStefan Müller-Klieser
This class is responsible for handling projects build around kconfig. With this small start we can already get rid of the kconfig-frontends dependency. We will merge all related code in this class. Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-13barebox.inc: .config file is in ${B}Stefan Müller-Klieser
Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-10recipes-bsp: barebox: Add expansions to config expansionTeresa Remmet
Add wifi and mmc expansion support to different machines. Leave wifi disabled as the expansion boards are not always connected. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-10machines: Add phyboard-maia-am335x-3Daniel Schultz
The phyboard-maia-am335x-3 machine is assembled with a rs485 controller on UART2. Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-10machines: Add phyboard-maia-am335x-2Daniel Schultz
Low Budget version of the phyBOARD-MAIA. Features: - 256MB RAM - 128MB NAND - No SPI - No EEPROM - No RTC - No JTAG Connector Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-09sgx: Use tune_features_check classStefan Müller-Klieser
This affects all recipes dealing with the sgx binary blobs. Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-06omap3-sgx-modules: Use MACHINE_SOCARCHStefan Müller-Klieser
Sgx Kernelmodules need to be compiled only once per SOC. Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-06classes: refactor task savedefconfig to bbclassStefan Christ
Move the task do_savedefconfig to his own separate bbclass, so it can be used by multiple recipes. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-06barebox: add nostamp flag for task savedefconfigStefan Christ
The same flag is used in kernel.bbclass for it's savedefconfig task. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-06barebox: rewrite savedefconfig task in pythonStefan Christ
Using a python implementation gives the same workflow as for the task 'diffconfig'. The user can simply copy&paste the path and move the generated defconfig into his/her layer. The patch adds a new python function py_oe_runmake for convenience. It's a straightforward reimplementation of the bash function oe_runmake. Since it's to hard to directly call make with an argument list (You would have to parse ${EXTRA_OEMAKE} into an argument list), the function just concats everything into a long string and passes it to the shell for execution. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-06barebox: refactor task do_prepare_configureStefan Christ
Since the task do_prepare_configure is a bash script now, it can be integrated into the real do_configure task. Furthermore the task dependency to 'kconfig-frontends-native' can be an normal DEPENDS, because all DEPENDS are resolved before do_configure by default. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-06common: recipes-bsp: barebox: rewrite task in bashStefan Christ
Rewrite the python do_prepare_configure task in shell script. The advantage is that you can call the tasks 'do_default_defconfig' and 'do_savedefconfig' directly without the function bb.build.exec_func. This way the locking mechanism in function bb.build.exec_func is avoided. The bitbake designers have implemented a lock around each bb function call (It's only activated if requested): def exec_func(func, d, dirs = None): """Execute a BB 'function'""" [...] with bb.utils.fileslocked(lockfiles): if ispython: exec_func_python(func, d, runfile, cwd=adir) else: exec_func_shell(func, d, runfile, cwd=adir) So calling bb.build.exec_func from a bb function maybe lead to a deadlock. This patch removes the new need for your own externalsrc implementation. Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2015-11-06barebox: am335x: Update to v2015.09.0-phy2Stefan Müller-Klieser
Added some bug fixes for the next release. Changes since v2015.09.0-phy1: ubiformat: remove dead code ARM: am335x_defconfig: Enable SMSC phy driver dts: phyFLEX-AM335x: Disable second ethernet interface crypto: fix selecting of digests ARM: am33xx: Enable ethernet node on NET boot ARM: dts: am335x-phytec-phycore-som: Disable mac node. net: dhcp: Fix CONFIG variable name dts:imx6:pfla02: rename spi flash to 'flash@0' Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>