aboutsummaryrefslogtreecommitdiff
path: root/board/k+p
AgeCommit message (Collapse)AuthorFilesLines
2019-04-25boot.src: Provide dsa_core.blacklist bootarg when booting via NFSLukasz Majewski1-0/+7
This setup is a bit special as Linux kernel (4.19) is not supporting in-kernel NFS rootfs mount and Distributed Switch Architecture (DSA) operation. For that reason it was necessary to provide a bootarg to allow userspace enable it afterwards if needed. Signed-off-by: Lukasz Majewski <lukma@denx.de>
2019-04-25ARM: Remove EHCI specific code from HSC|DDC board fileLukasz Majewski1-10/+0
As EHCI on i.MX5 has been converted to driver model, the board specific code, necessary for VBUS USB power supply setup is not needed anymore. Signed-off-by: Lukasz Majewski <lukma@denx.de>
2019-04-25ARM: Remove non DM/DTS esdhc3 code from HSC|DDC board related filesLukasz Majewski1-46/+0
After switching to DM/DTS support of esdhc3 - the code in this patch can be removed. Signed-off-by: Lukasz Majewski <lukma@denx.de>
2019-04-25ARM: Remove HSC|DDC ETH PHY reset code after switching to DM/DTSLukasz Majewski1-14/+0
After commit efd0b791069a ("eth: dm: fec: Add gpio phy reset binding") the in-board file definition of ETH PHY reset can be removed. Signed-off-by: Lukasz Majewski <lukma@denx.de>
2018-09-14ARM: bootscript: For nfsargs only use rootpath (and remove not needed serverip)Lukasz Majewski1-1/+1
The serverip part is provided from DHCP server with 'option root-path "192.168.3.1:/srv/tftp/rootfs";' parameter in dhcpd.conf Signed-off-by: Lukasz Majewski <lukma@denx.de>
2018-09-14ARM: bootscript: Fix the nfsargs and addip in K+P's tpcboot.cmdLukasz Majewski1-6/+3
The quotes around ${bootargs} were missing as we elaborate those variables twice - once when we "setenv" the command and secondly when we "run" it. Without quotes we have just empty string in the second call. Moreover there is an issue with line breaks - as the original commands got truncated. Signed-off-by: Lukasz Majewski <lukma@denx.de>
2018-09-14ARM: bootscript: Replace tftpboot with dhcp when downloading kernelLukasz Majewski1-1/+1
The 'dhcp' command is more versatile as it allows working with the DHCP server to obtain serverip, ipaddress and other network parameters. The configuration necessary to obtain the serverip (dhcpd.conf): option option-150 code 150 = ip-address; and in the subnet definition: option option-150 192.168.X.Y; Signed-off-by: Lukasz Majewski <lukma@denx.de>
2018-09-14ARM: bootscript: Remove hard-coded rootpath from K+P's tpcboot.cmdLukasz Majewski1-1/+0
The 'rootpath' can be provided by DHCP server. Removing this line prevents from overwriting it. To do that on the DHCP server side (isc-dhcp-server) modify dhcpd.conf and add 'option root-path "192.168.X.Y:/srv/tftp/rootfs";' Signed-off-by: Lukasz Majewski <lukma@denx.de>
2018-06-18board: Remove not needed function for the K+P's imx53 boardLukasz Majewski1-12/+0
The get_board_rev() is not needed anymore as a generic function for the imx53 SoC has been used instead. Signed-off-by: Lukasz Majewski <lukma@denx.de>
2018-06-18board: Add support for KEY1 status detection on K+P's HSC|DDC boardsLukasz Majewski1-0/+14
This code provides information if the K+P's imx53 boards had KEY1 pressed. Signed-off-by: Lukasz Majewski <lukma@denx.de>
2018-06-18board: Adjust K+P script to run misc (per board) adjustmentsLukasz Majewski1-0/+6
This change gives the opportunity to adjust Linux command line for the imx53 device with some legacy data. Signed-off-by: Lukasz Majewski <lukma@denx.de>
2018-06-18board: imx53: Always disable display before starting kernelLukasz Majewski1-0/+8
This patch prevents from the situation where we may end up with garbage displayed on the LCD panel. Such situation occurs when one performs "reboot -f" in Linux and then stop in U-boot (or observe the garbage on the screen during boot up). To prevent from such situation - the PWM pin is configured as GPIO and set to LOW. Signed-off-by: Lukasz Majewski <lukma@denx.de>
2018-05-18Fixup various SPDX tags from the latest mergeTom Rini3-6/+3
Signed-off-by: Tom Rini <trini@konsulko.com>
2018-05-18arm: imx53: Add support for imx53 boards from K+PLukasz Majewski6-0/+390
This commit adds support for DDC and HSC boards from K+P in u-boot. Console output: U-Boot 2018.05-rc2-00090-g752b7ed6f9 (Apr 26 2018 - 14:24:24 +0200) CPU: Freescale i.MX53 rev2.1 at 800 MHz Reset cause: WDOG Model: K+P iMX53 DRAM: 512 MiB MMC: FSL_SDHC: 0 Loading Environment from MMC... OK In: serial Out: serial Err: serial Module EEPROM: ID: TQMa53-CB.0401 SN: 63152762 MAC: 00:0b:64:03:14:2a BBoard:40x0 Rev:10 Net: eth0: ethernet@63fec000 Hit any key to stop autoboot: 0 Signed-off-by: Lukasz Majewski <lukma@denx.de>
2018-05-07SPDX: Convert all of our single license tags to Linux Kernel styleTom Rini4-10/+4
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by: Tom Rini <trini@konsulko.com>
2018-04-15boot: script: The boot.scr file for K+P's boardsLukasz Majewski1-0/+96
By using this file one can avoid cluttering <board>.h file with u-boot HUSH commands necessary for booting target device. With such approach the commands are stored only in one place and can be reused if needed. Signed-off-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Stefano Babic <sbabic@denx.de>
2018-04-15imx: board: Add support for the K+P's kp_imx6q_tpc boardLukasz Majewski5-0/+669
This commit provides support for Kieback & Peter GmbH IMX6Q based TPC board. U-boot console output: U-Boot SPL 2018.05-rc1-00005-g631e2d01fd (Apr 04 2018 - 21:16:24 +0200) Trying to boot from MMC1 U-Boot 2018.05-rc1-00005-g631e2d01fd (Apr 04 2018 - 21:16:24 +0200) CPU: Freescale i.MX6Q rev1.5 996 MHz (running at 792 MHz) CPU: Extended Commercial temperature grade (-20C to 105C) at 37C Reset cause: POR Board: K+P KP_IMX6Q_TPC i.MX6Q Watchdog enabled I2C: ready DRAM: 2 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 Loading Environment from MMC... OK In: serial Out: serial Err: serial Net: FEC [PRIME] Autoboot in 3 seconds