Commit Graph

37774 Commits

Author SHA1 Message Date
Viacheslav Volkov fa2a05545e FIX: [uboot] DUAL CAN termination GPIO numbers
BugzId: 54033
2019-05-24 07:40:26 +02:00
Viacheslav Volkov 2eaee7bf0c FIX: [uboot] uart0 pinctrl for GNSS CAN shield on NB800
BugzId: 54033
2019-05-23 14:22:41 +02:00
Viacheslav Volkov b29105b37c FIX: [uboot] make fdt get value endian-safe on NB800
BugzId: 54033
2019-05-23 14:22:40 +02:00
Viacheslav Volkov 953573d5dd CHG: [uboot] use different boot MMC device for v3.18 and v4.19 kernels on netbird.
BugzId: 56824
2019-05-23 14:22:40 +02:00
Moritz Rosenthal 2d30a14cb2 FIX: [uboot] Change netbird mmc block device from mmcblk0 to mmcblk1
Fix patch file

BugzId: 56050
2019-05-23 14:22:39 +02:00
Moritz Rosenthal 2ec05303ef CHG: [uboot] Change netbird mmc block device from mmcblk0 to mmcblk1
BugzId: 56050
2019-05-23 14:22:38 +02:00
Marcel Reichmuth c02a80a048 ADD: [uboot16] support for gnsscan shield
BugzID: 54934
2019-05-23 14:22:37 +02:00
Marcel Reichmuth 1c281a330d ADD: [netbird] virtual console device
BugzID: 54143
2019-05-23 14:22:37 +02:00
Marcel Reichmuth 23f8829780 FIX: [uboot16] provide correct usage of shield commands
BugzID:49214
2019-05-23 14:22:36 +02:00
Marcel Reichmuth 044eccc3cd CHG: [nrhw16] enable DIOs in dts from uboot
BugzID: 52260
2019-05-23 14:22:35 +02:00
Moritz Rosenthal afc38809b0 FIX: [uboot] Use ttyS0 as default console on devices with COMIO shield
CHG: [uboot] Cleaned up patch dependencies

BugzId: 48404

SVN commit 25535@trunk
2019-05-23 14:22:34 +02:00
Stefan Eichenberger 4f0e0da6e6 FIX: [uboot] comio shield fix rs232 mode
BugzId: 48404

SVN commit 25488@trunk
2019-05-23 14:22:33 +02:00
Stefan Eichenberger 97d92b3e5f FIX: [uboot] Fix SPL boot from UART
BugzId: 48405

SVN commit 25482@trunk
2019-05-23 14:22:33 +02:00
Stefan Eichenberger d8fd5953c0 FIX: [uboot] fix defaultconsole if comio shield is available
BugzId: 48404

SVN commit 25481@trunk
2019-05-23 14:22:32 +02:00
Stefan Eichenberger d6a24f1fe4 FIX: [uboot] fix error handling for nbhw16 shields
BugzId: 46700

SVN commit 25029@trunk
2019-05-23 14:22:32 +02:00
Stefan Eichenberger f702243ee9 FIX: [uboot] change findings from rs regarding shield
SVN commit 24938@trunk
2019-05-23 14:22:31 +02:00
Stefan Eichenberger 1e663e39f5 ADD: [uboot] add shield configuration command in u-boot
BugzID: 45968

SVN commit 24524@trunk
2019-05-23 14:22:30 +02:00
Stefan Eichenberger 796ec0e5c6 FIX: [uboot] correct reset button indication on nbhw16 (factory reset)
BugzId: 45121

SVN commit 23936@trunk
2019-05-23 14:22:29 +02:00
Stefan Eichenberger d2ddce7774 ADD: [uboot] enable pxe boot on nbhw16_v2
SVN commit 23847@trunk
2019-05-23 14:22:27 +02:00
Stefan Eichenberger c6da2089ea CHG: [kernel] use new devicetree/descriptor format on netbird only
SVN commit 23561@trunk
2019-05-23 14:22:27 +02:00
Stefan Eichenberger 5ee94ef1fe ADD: [uboot] add support for NBHW16_V2 (alias NB800)
SVN commit 23165@trunk
2019-05-23 14:22:26 +02:00
Stefan Eichenberger 4215c82104 FIX: [uboot] remove unwanted debug code
SVN commit 23164@trunk
2019-05-23 14:22:26 +02:00
Stefan Eichenberger 1854f8f9c1 FIX: [uboot] correct lineendings from dos to unix
SVN commit 23163@trunk
2019-05-23 14:22:25 +02:00
Stefan Eichenberger 2834c66d03 FIX: [uboot] configure unused sysboot pins
Requested from RS, unused sysboot pins should be configured with a pull down and the receiver should
be disabled. This guarantees that we don't have a negative effects.

SVN commit 21613@trunk
2019-05-23 14:22:24 +02:00
Stefan Eichenberger 94f8a7e4af FIX: [uboot] Fix RAM timings, dynamic clk detection
Fix the RAM timings for 512MB, the old timings were for 256MB only, the new ones should work for
both sizes.
Detect the Oszillator clock based on the sysboot1 settings, this is necessary because old Prototypes
(series 1) have a 24 MHz clock and the new ones have a 25 MHz clock.

SVN commit 21612@trunk
2019-05-23 14:22:24 +02:00
Marcel Reichmuth eabfa4196e ADD: [uboot] added hwreset command for NBHW16
SVN commit 21549@trunk
2019-05-23 14:22:23 +02:00
Marcel Reichmuth fc4ddf1cc3 ADD: [nbhw16] added password check to uboot
SVN commit 21494@trunk
2019-05-23 14:22:23 +02:00
Marcel Reichmuth db569ab76c ADD: [nbhw16] print spl & u-boot versions during startup
SVN commit 21203@trunk
2019-05-23 14:22:22 +02:00
Marcel Reichmuth 82c6e10cd0 ADD: [swupdate] uboot update support for nbhw16
SVN commit 21191@trunk
2019-05-23 14:22:21 +02:00
Marcel Reichmuth a567de29a2 ADD: [uboot] failsafe update for nbhw16
SVN commit 21152@trunk
2019-05-23 14:22:21 +02:00
Marcel Reichmuth 2b008b656a ADD: [nbhw16] added uboot build support to openwrt
SVN commit 21053@trunk
2019-05-23 14:22:20 +02:00
Lokesh Vutla 8b528709c5 spl: fit: Fix load address of fit header
When loading fit header, it should be loaded to a previous address
aligned to ARCH_DMA_MINALIGN and not 8. Fixing the same.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
2016-06-01 07:12:38 -04:00
Tom Rini da6e2fab5d Merge branch 'master' of git://git.denx.de/u-boot-mips 2016-05-31 10:26:14 -04:00
Tom Rini 653bb0d92e Merge git://www.denx.de/git/u-boot-marvell 2016-05-31 10:26:02 -04:00
Andreas Fenkart 14070e69ad tools/env: allow to pass NULL for environment options
If users of the library are happy with the default, e.g. config file
name. They can pass NULL as the opts pointer. This simplifies the
transition of existing library users.
FIXES a compile error. since common_args has been removed by
a previous patch

Signed-off-by: Andreas Fenkart <andreas.fenkart@digitalstrom.com>
2016-05-31 10:23:10 -04:00
Masahiro Yamada 6f41751f46 Revert "image.h: Tighten up content using handy CONFIG_IS_ENABLED() macro."
This reverts commit 56adbb3872.

Since commit 56adbb3872 ("image.h: Tighten up content using handy
CONFIG_IS_ENABLED() macro."), I found my boards fail to boot Linux
because the commit changed the logic of macros it touched.  Now,
IMAGE_ENABLE_RAMDISK_HIGH and IMAGE_BOOT_GET_CMDLINE are 0 for all
the boards.

As you can see in include/linux/kconfig.h, CONFIG_IS_ENABLE() (and
IS_ENABLED() as well) can only take a macro that is either defined
as 1 or undefined.  This is met for boolean options defined in
Kconfig.  On the other hand, CONFIG_SYS_BOOT_RAMDISK_HIGH and
CONFIG_SYS_BOOT_GET_CMDLINE are defined without any value in
arch/*/include/asm/config.h .  This kind of clean-up is welcome,
but the options should be moved to Kconfig beforehand.

Moreover, CONFIG_IS_ENABLED(SPL_CRC32_SUPPORT) looks weird.
It should be either CONFIG_IS_ENABLED(CRC32_SUPPORT) or
IS_ENABLED(CONFIG_SPL_CRC32_SUPPORT).  But, I see no define for
CONFIG_SPL_CRC32_SUPPORT anywhere.  Likewise for the other three.

The logic of IMAGE_OF_BOARD_SETUP and IMAGE_OF_SYSTEM_SETUP were
also changed for SPL.  This can be a problem for boards defining
CONFIG_SPL_OF_LIBFDT.  I guess it should have been changed to
IS_ENABLED(CONFIG_OF_BOARD_SETUP).

In the first place, if we replace the references in C code,
the macros IMAGE_* will go away.

  if (IS_ENABLED(CONFIG_OF_BOARD_SETUP) {
          ...
  }

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2016-05-31 10:20:14 -04:00
Wills Wang f1b65c98b0 mips: ath79: ap143: Reset ethernet on boot
This patch reset the ethernet controller for ap143 board

Signed-off-by: Wills Wang <wills.wang@live.com>
2016-05-31 10:17:54 +02:00
Wills Wang ca09e66b04 mips: ath79: Use AR933X_PLL_SWITCH_CLOCK_CONTROL_REG macro define
Add AR933X_PLL_SWITCH_CLOCK_CONTROL_REG define for ar933x chip.

Signed-off-by: Wills Wang <wills.wang@live.com>
2016-05-31 10:17:54 +02:00
Wills Wang cdeb68e292 mips: ath79: Add support for ungating USB and ethernet on qca953x
Add code to ungate USB and ethernet controller on qca953x

Signed-off-by: Wills Wang <wills.wang@live.com>
2016-05-31 10:17:54 +02:00
Wills Wang ad5b48abfe mips: ath79: Use 8MB flash profile for mtd partition by default
Change bootm flash address and mtd partition table for 8MB flash profile.

Signed-off-by: Wills Wang <wills.wang@live.com>
2016-05-31 10:17:54 +02:00
Wills Wang 04583c686e mips: ath79: ap121: Enable ethernet
This patch enable network function for ap121 board.

Signed-off-by: Wills Wang <wills.wang@live.com>
Acked-by: Marek Vasut <marex@denx.de>
2016-05-31 10:17:54 +02:00
Wills Wang 375239174c mips: ath79: Rename get_bootstrap into ath79_get_bootstrap
Add a platform prefix for function name in order to make more readable,
and move it into ath79.h

Signed-off-by: Wills Wang <wills.wang@live.com>
Acked-by: Marek Vasut <marex@denx.de>
2016-05-31 10:17:54 +02:00
Daniel Schwierzeck d58de3157e MIPS: malta: add defconfigs for MIPS64
Add defconfigs for recently introduced MIPS64 support on
Malta boards to get more build coverage for MIPS64.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
2016-05-31 09:49:08 +02:00
Paul Burton fb64cda579 MIPS: Abstract cache op loops with a macro
The various cache maintenance routines perform a number of loops over
cache lines. Rather than duplicate the code for performing such loops,
abstract it out into a new cache_loop macro which performs an arbitrary
number of cache ops on a range of addresses. This reduces duplication in
the existing L1 cache maintenance code & will allow for not adding
further duplication when introducing L2 cache support.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
2016-05-31 09:44:24 +02:00
Paul Burton 372286217f MIPS: Split I & D cache line size config
Allow L1 Icache & L1 Dcache line size to be specified separately, since
there's no architectural mandate that they be the same. The
[id]cache_line_size functions are tidied up to take advantage of the
fact that the Kconfig entries are always present to simply check them
for zero rather than needing to #ifdef on their presence.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
[removed CONFIG_SYS_CACHELINE_SIZE in include/configs/pic32mzdask.h]
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
2016-05-31 09:44:24 +02:00
Paul Burton ace3be4f15 MIPS: Move cache sizes to Kconfig
Move details of the L1 cache line sizes & total sizes into Kconfig,
defaulting to 0. A new CONFIG_SYS_CACHE_SIZE_AUTO Kconfig entry is
introduced to allow platforms to select auto-detection of cache sizes,
and it defaults to being enabled if none of the cache sizes are set by
the configuration (ie. sizes are all the default 0), and code is
adjusted to #ifdef on that rather than on the definition of the sizes
(which will always be defined even if 0).

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
2016-05-31 09:44:24 +02:00
Daniel Schwierzeck 83b0face8c MIPS: remove dead code from asm/u-boot-mips.h
Those wrappers for linker symbols were once used in the MIPS
specific board.c implementation. Since the migration to generic
board.c, those wrappers are dead code and can be removed.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
2016-05-31 09:38:11 +02:00
Marek Vasut e40095f63b net: Add ag7xxx driver for Atheros MIPS
Add ethernet driver for the AR933x and AR934x Atheros MIPS machines.
The driver could be easily extended to other WiSoCs.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Wills Wang <wills.wang@live.com>
[fixed Kconfig dependency]
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
2016-05-31 09:38:11 +02:00
Daniel Schwierzeck 5f9cc363ed MIPS: add tune for MIPS 34kc
Add tune Kconfig option for MIPS 34kc.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
2016-05-31 09:38:11 +02:00
Daniel Schwierzeck 07f5b966aa MIPS: provide a default u-boot-spl.lds
Provide a default linker script for SPL binaries. Start address
and size of text section and BSS section are configurable. All
sections are arranged in a way that only relevant sections are
kept in the code section for maximum size reduction. All other
sections are kept but moved outside the code section to help
with debugging.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Acked-by: Marek Vasut <marex@denx.de>
2016-05-31 09:38:11 +02:00