Commit Graph

14078 Commits

Author SHA1 Message Date
Suguru Saito ee2e2c677f sharp: fix PW-A7400 support 2024-01-26 16:53:56 +09:00
Suguru Saito d33c448ce9 sharp: unify 2nd generation devices 2022-11-15 00:14:00 +09:00
Takumi Sueda 90c6d9064b sharp: quiet test command
to suppress the error when eMMC has stock partition
2022-11-08 04:43:21 +09:00
Takumi Sueda a54822739b sharp: boot from eMMC and SD / import env too 2022-11-07 05:53:27 +09:00
Takumi Sueda cb2563c143 pwh1: enable logo
Please put tools/logos/pwh1.bmp at {root directory of the sd vfat}/splash.bmp
2022-02-20 23:23:54 +09:00
Takumi Sueda 17d74bd295 pwh1: enable video 2022-02-20 23:23:50 +09:00
Suguru Saito c6fab5a020 pwh1: support PW-H1 for 2021.07+fslc 2022-01-23 06:19:22 +09:00
Takumi Sueda 36a2008828 sharp: update for 2021.04 / use common header for efficiency 2022-01-21 21:47:58 +09:00
Takumi Sueda d29911d793 Ready for PW-x1 (#17)
* pwh1: add board

* pwh1: add eMMC

* pwh1: fix fdt file name

* pwh1: fix defconfig

Co-authored-by: Suguru Saito <sg.sgch07@gmail.com>
Co-authored-by: pepepper <hollyholly2014@outlook.jp>
2022-01-21 21:47:58 +09:00
Suguru Saito c91fd643f6 sharp: add pwa7200 2022-01-21 21:47:58 +09:00
Suguru Saito 1a7661b0b3 sharp: add pwg4200 2022-01-21 21:47:58 +09:00
Suguru Saito 67d332308f pwg5300: change pclk 2022-01-21 21:47:58 +09:00
Suguru Saito 48c576e62b pwg5300: WIP LCD support 2022-01-21 21:47:58 +09:00
Takumi Sueda 2812ea7c45 sharp: specify 6x11
this argument will be exported to external env in the future
2022-01-21 21:47:58 +09:00
Takumi Sueda 7600fe9810 sharp: add pwsh7 2022-01-21 21:47:58 +09:00
Suguru Saito 0571bd62a8 pwg5300: remove video support 2022-01-21 21:47:58 +09:00
Suguru Saito 6f0bc9d13b sharp: add pwg5300 2022-01-21 21:47:58 +09:00
Takumi Sueda 2cc80b0b9d sharp: update dtb file name 2022-01-21 21:47:58 +09:00
Takumi Sueda 6610955275 sharp: fix wrong header define 2022-01-21 21:47:58 +09:00
Takumi Sueda d3f4ffe116 sharp: add pwsh6 2022-01-21 21:47:58 +09:00
Takumi Sueda 4032053066 sharp: add pwsh5 2022-01-21 21:47:58 +09:00
Takumi Sueda 3082d44005 sharp: add pwsh4 2022-01-21 21:47:58 +09:00
Takumi Sueda 32f5767e60 sharp: add pwsh3 2022-01-21 21:47:58 +09:00
Takumi Sueda 5eacb6eac5 sharp: add pwsh2 2022-01-21 21:47:58 +09:00
Takumi Sueda 07d8932527 pwsh1: add BMP logo 2022-01-21 21:47:58 +09:00
Takumi Sueda a3f03b81eb video: add 6x11 font copied from Linux 2022-01-21 21:47:58 +09:00
Takumi Sueda 548304317c pwsh1: show console on the LCD 2022-01-21 21:47:58 +09:00
Takumi Sueda 0b23ec198c pwsh1: define missing VIDEO_MXS 2022-01-21 21:47:58 +09:00
Takumi Sueda 61671339a9 pwsh1: get rid of unused lines 2022-01-21 21:47:58 +09:00
Takumi Sueda 107a5a5b9b pwsh1: add board 2022-01-21 21:47:47 +09:00
Fabio Estevam 56c9f0de88 mx6cuboxi: Fix the mmc device for the rootfs
After the conversion to DM_MMC, the rootfs becomes mmc 1, so
adjust it accordingly.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
(cherry picked from commit 22e9e0dc17e263d456aba5d4943b7eac88d2a014)
2021-08-23 09:49:48 -03:00
Andrey Zhizhikin 73fb2c32f7 Prepare v2021.07-rc5
-----BEGIN PGP SIGNATURE-----
 
 iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmDaJXgACgkQFHw5/5Y0
 tyySmwwAkW7GVAv+bXSd+8u1IsScl0QrSCoBdfHpdMcAME3gZmXqxClxskfbYJR/
 3IByQFlsn7j8HruR/49+etk0i0Pc4HNfynTLuAy+77/lh+h3Pnru/VPBhQqR7KW0
 NN5STn91QWLl74vRmx5wmEfSMhg7LTE1US8Rh6UXAd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eMl
 dT/OQ5tbaLbr+6knkSoInQ0rYsTDcuj+RHz7sTth91t+vTbyOY0zq4zarhV18i6p
 /8f3jospJraK1ZDGAN4KniHvE/QsKJKJNv2yrkqS9tTQYjEKInM=
 =Vcvn
 -----END PGP SIGNATURE-----

Merge tag 'v2021.07-rc5' into 2021.07+fslc

Prepare v2021.07-rc5

Conflicts (manual resolve):
- configs/imx8mm_evk_defconfig:
- configs/imx8mn_ddr4_evk_defconfig:
- configs/imx8mn_evk_defconfig:
- configs/imx8mp_evk_defconfig:
Drop our local change, which are incuded in the commit 2bba78076b
("configs: Resync with savedefconfig") from upstream.

- configs/mx6sabresd_defconfig:
Merge changes from commit 2f7d3890b6 ("mx6sabre_common: Dynamically
change the video output") with upstream commit 2bba78076b ("configs:
Resync with savedefconfig").

Link: https://lore.kernel.org/u-boot/20210628194137.GU9516@bill-the-cat/
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-06-29 14:03:31 +00:00
Tom Rini 640e2cd6d4 socfpga64: Do not define CONFIG_SYS_MEM_RESERVE_SECURE to 0
Based on the comment in socfpga_soc64_common.h, the intention is for
CONFIG_SYS_MEM_RESERVE_SECURE to be unused.  However, in the code we do:
...

and that will evaluate to true.  This leads to unwanted code being
compiled.  Further, as CONFIG_SYS_MEM_RESERVE_SECURE has not been
migrated to Kconfig, this leads to a mismatch in the size of gd
depending on if we have or have not also had <configs/BOARD.h> also
included yet.

Remove the define as it's not needed.

Cc: Siew Chin Lim <elly.siew.chin.lim@intel.com>
Cc: Chee Hong Ang <chee.hong.ang@intel.com>
Cc: Dalon Westergreen <dalon.westergreen@intel.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
2021-06-23 08:45:03 -04:00
Tom Rini a298d4fbcd Merge https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq
- fsl-qoriq: Bug fixes related pfe, eth, thermal node, vid.c, cpu release,
  mmc, usb, env, etc for Layerscape boards
- powerpc: Update Maintainers for some boards.
2021-06-17 08:44:56 -04:00
Camelia Groza 4e21a555c1 board: freescale: t208xrdb: add Linux fdt fix-ups for rev D
The T2080RDB boards revisions D and up have updated 10G Aquantia PHYs
connected to MAC1 and MAC2. The second Aquantia PHY is located at a
different address on the MDIO bus compared to rev C (0x8 instead of 0x1).

Fix-up the Linux device tree to update the PHY address for the second
Aquantia PHY on boards revisions D and up. Also rename the PHY node to
reflect the changes.

Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
[Rebased]
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
2021-06-17 11:46:11 +05:30
Aleksandar Gerasimovski 11eeeef7b0 pg-wcom-ls102xa: fix sys counter frequency
A system clock of 66MHz was chosen for the pg-wcom-ls102xa.
Compared to the Evalboard, this corresponds to a reduction of 1/3.
The system counter clock should have been reduced accordingly,
but that was not the case, so we had a system time that was
1/3 behind the real time.

This patch corrects the system counter clock to
8.333MHz = 66.667MHz / 8.

Signed-off-by: Rainer Boschung <rainer.boschung@hitachi-powergrids.com>
Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachi-powergrids.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
2021-06-17 11:46:11 +05:30
Aleksandar Gerasimovski ccbd2ced73 km: ls102x: update device disable configuration acc hw design desc
In order to improve power consumption ls102x allows to disable peripherals
that are not in use.
This patch follows SELI8 HW design description and disables peripherals
that are not in use in our designs, the same configuration is applicable
and for EXPU1.

This patch uses available hwconfig option for updating ls102x device
disable configuration.

Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachi-powergrids.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
2021-06-17 11:46:11 +05:30
Aleksandar Gerasimovski fd49502d0f km: ls102x: set ethrotate envvar to no
The default behavior in the latest u-boot revisions is to rotate the
active net device to the next available if the requested link is not
established.

For our ls102x based devices this would mean that if active debug net
device is not available, u-boot will rotate and set the next net device
that is one of the estar adapters.
To return from this situation manual action to set correct ethact
adapter will be needed and this can be annoying when working in
debug mode.

Setting ethrotate=no will disable net adapter rotation and will make sure
that the primary adapter is always used.

Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachi-powergrids.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
2021-06-17 11:46:11 +05:30
Aleksandar Gerasimovski a09806498c km: ls102xa: add missing define for PRAM regions
In our designs we reserve PRAM area at the end of the RAM, and in order
this area to be visible and taken into account by the u-boot memory mgmt
CONFIG_PRAM has to be defined.

Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachi-powergrids.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
2021-06-17 11:46:11 +05:30
Aleksandar Gerasimovski 3aea3ddf21 km/ls102xa: add support for u-boot POST memory test
From production view this is standard test executed during production on
all linux based foxmc cards.
On CENT2 HW defined memory region is zero means that some DDR accesses are
done by memory_post_dataline and memory_post_addrline but pattern tests
are skipped that's why mem_regions is fast there.

On ls102x for the complete DDR region of 1GiB memory_regions_post_test
takes approx. 4min and this is too much for production, so this patch
defines only 1MiB region as compromise.

Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachi-powergrids.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
2021-06-17 11:46:11 +05:30
Aleksandar Gerasimovski a7fd6fa1c2 board/km: add support for expu1 design based on nxp
The EXPU1 design is a new 40G capable ethernet service unit card for
Hitachi-Powergrids wired-com product lines.

The base SoC is same as for already added SELI8 card, consequently the
already added u-boot support for SELI8 is reused.

Signed-off-by: Rainer Boschung <rainer.boschung@hitachi-powergrids.com>
Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachi-powergrids.com>
[Fixed new line error at EOF]
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
2021-06-17 11:46:11 +05:30
Yangbo Lu 34f39ce882 armv8: layerscape: drop CONFIG_SYS_FSL_MMC_HAS_CAPBLT_VS33
Drop CONFIG_SYS_FSL_MMC_HAS_CAPBLT_VS33. CONFIG_FSL_ESDHC_VS33_NOT_SUPPORT
is used instead.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Acked-by: Michael Walle <michael@walle.cc> [for kontron-sl28]
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
2021-06-17 11:46:11 +05:30
Matt Merhar 6bc2419cc2 board: freescale: p2041rdb: use correct EEPROM address length
These boards, according to the schematic and per the board I own, use an
M24256-BWDW6TP I2C EEPROM which requires two address bytes.

This fixes the 'mac' command which is used to program, among other
things, the MAC addresses for the ethernet interfaces on the board.

Signed-off-by: Matt Merhar <mattmerhar@protonmail.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
2021-06-17 11:46:11 +05:30
Tom Rini b2c4b7f665 u-boot-imx-20210616
-------------------
 
 - imxrt : fixes, USB, imxrt1020-evk
 - imx8m:
 	fix for verdin-imx8mm
 	Add conga-QMX8 board
 - imx6 :
 	documentation for pico-imx6:
 	Add SeeedStudio NPI-IMX6ULL Support
 	ventana: DM PCI
 - imx7d:
 	added SMEGW01 board
 
 CI : https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/7765
 -----BEGIN PGP SIGNATURE-----
 
 iG0EABECAC0WIQS2TmnA27QKhpKSZe309WXkmmjvpgUCYMoTAg8cc2JhYmljQGRl
 bnguZGUACgkQ9PVl5Jpo76aaXgCfa0IWXD0nOT0xQ50aKZGD3fspahsAn3rfnviv
 HnrT4j7bdBRksuYJ15PR
 =NEGm
 -----END PGP SIGNATURE-----

Merge tag 'u-boot-imx-20210616' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx

u-boot-imx-20210616
-------------------

- imxrt : fixes, USB, imxrt1020-evk
- imx8m:
	fix for verdin-imx8mm
	Add conga-QMX8 board
- imx6 :
	documentation for pico-imx6:
	Add SeeedStudio NPI-IMX6ULL Support
	ventana: DM PCI
- imx7d:
	added SMEGW01 board

CI : https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/7765
2021-06-16 11:18:11 -04:00
Mian Yousaf Kaukab 864c3dbc0a ls1012a: net: pfe: remove pfe stop from bootcmd
When using bootefi to boot a EFI binary, u-boot is supposed to
provide networking service for EFI application. Currently, 'pfe stop'
command is called from bootcmd before running bootefi. As a result
network stops working for EFI applications and console is flooded with
"Rx pkt not on expected port" messages.

Implement board_quiesce_devices() for ls1012a boards and call
pfe_command_stop() from it instead of calling 'pfe stop' from
*_bootcmd and bootcmd.

Tested-by: Anji Jagarlmudi <anji.jagarlmudi@nxp.com>
Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
[Fixed checkpatch space error]
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
2021-06-16 18:14:08 +05:30
Andrey Zhizhikin c10bedd96f Prepare v2021.07-rc4
-----BEGIN PGP SIGNATURE-----
 
 iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmC+K5YACgkQFHw5/5Y0
 tyzRzwwApJt1odkpxfLPYtb8fCl7a4kTPyNswdToOMB+orxA36e7eREd1GFSH2fp
 5sZLkpn2TuXVVeUpReJnWoLcxKyR0RCXzr52VCfWJNWTkiYo4xMUaG/VutC5jdZJ
 Sn+crqGWZs1Cf9Ok1/5wSFEHDq/4H2t99UsGb6PyQvuqS6ub+7nk4/GkaVzoPhPW
 GunlRmTujutXAx0clTJHV3FPn5jpvjjbrgSAaE8ERp6uFB5tiOsxa9Zl8stRD487
 EHXRzwYPPdr6Q/OMHZc/gUfqD9Uw9nG6q6DtQwwi96jdUJMBsNwTQk08OkQ18ra2
 P6/+U+a7J7Xls/PnvepE/uPpu1jnkHWWazAS8npZqemq2twOKfV0/u/ENcy07GHl
 a+shSDPZ+XNoLoXJpZsSY9GvxQPyL2CJ4IiFktUYsk6Y2KV+b6HLDPjn7NbQ8czy
 DVNOEKnOufpBApwWRQvr8q+Y3+8DofS/S/82g6SLKyqiiHdUkWpXe0lKbxsSdqab
 YTYL5TyJ
 =/PGO
 -----END PGP SIGNATURE-----

Merge tag 'v2021.07-rc4' into 2021.07+fslc

Prepare v2021.07-rc4

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-06-10 07:59:20 +00:00
Heinrich Schuchardt c64e2bd558 arm64: mvebu: correct Armada 8K addresses
0x04000000- 0x06000000 is reserved memory. We cannot load to anything here.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Stefan Roese <sr@denx.de>
2021-06-10 07:18:06 +02:00
Marek Behún 8805647ed0 arm: mvebu: configs: turris_mox: add fdtfile default env variable
Add default fdtfile environment variable with value
marvell/armada-3720-turris-mox.dtb.

This can be useful for some boot scenarios.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
2021-06-10 07:18:06 +02:00
Marek Behún ec3784d626 arm: mvebu: turris_mox: add support for board rescue mode
Add necessary config options and board code to support board factory
reset / rescue mode on Turris MOX.

In order to also support invoking rescue mode from U-Boot console,
without having to press the factory reset button, put the rescue command
into `bootcmd_rescue` default environment variable. When factory reset
button is pressed, invoke rescue mode via distroboot by setting
`boot_targets` to `rescue`.

Rescue boot from console can be invoked by running
  run bootcmd_rescue

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
2021-06-10 07:18:06 +02:00
Fabio Estevam 40496ac3b7 mx7d: Add Storopack's SMEGW01 board
Add support for Storopack's SMEGW01 board, which is an
IoT gateway based on the i.MX7D SoC.

Based on the original U-Boot work done by Phytec.

Signed-off-by: Fabio Estevam <festevam@denx.de>
2021-06-09 13:34:38 +02:00