On 30.10.2018 13:06, Hannes Schmelzer wrote:
On 10/30/2018 09:13 AM, Bin Meng wrote:
On Thu, Oct 25, 2018 at 10:25 PM Hannes Schmelzer
wrote:
This commit ports the existing (non-DM) function for writing the MAC-
address into the shadow ram (and flash) for DM.
Signed-off-by: Hannes
On 11/22/18 9:50 PM, Simon Glass wrote:
> Hi Heinrich,
>
> On Mon, 19 Nov 2018 at 12:41, Heinrich Schuchardt wrote:
>>
>> On 11/15/18 12:11 AM, Simon Glass wrote:
>>> This function can be used from do_bootefi_exec() so that we use mostly the
>>> same code for a normal EFI application and an EFI
From: Yegor Yefremov
Also get rid of CONFIG_SYS_NAND_SPL_KERNEL_OFFS as SPL_OS_BOOT
feature won't be used.
Signed-off-by: Yegor Yefremov
---
configs/am335x_baltos_defconfig | 2 ++
include/configs/baltos.h| 9 +
2 files changed, 3 insertions(+), 8 deletions(-)
diff --git
From: Yegor Yefremov
Use DM for both MMC and USB subsystems and use dedicated DTS
for U-Boot configuration.
Disable SPL support for GPIO and remove EVMSK leftover for
DDR power control via GPIO.
Signed-off-by: Yegor Yefremov
---
Changes v1 -> v2:
- remove GPIO7 pinmux too
From: Yegor Yefremov
Remove CONFIG_PHY_ATHEROS and CONFIG_PHY_SMSC from defconfig
and select them in Kconfig.
Signed-off-by: Yegor Yefremov
---
configs/am335x_baltos_defconfig | 2 ++
include/configs/baltos.h| 4
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git
On Mon, 19 Nov 2018 21:59:47 +0100
Boris Brezillon wrote:
> If we don't do that, partitions might still be exposed while the
> underlying device is gone.
>
> Fixes: 2a74930da57f ("mtd: mtdpart: implement proper partition handling")
> Signed-off-by: Boris Brezillon
> ---
> Changes in v3:
> -
On 21.11.18 08:59, Baruch Siach wrote:
Commit 2b4d964718c0 ("arm64: mvebu: a8k: autodetect RAM size") added an
ATF query to get the detected RAM size on Armada 8K platforms. To be
usable we must have 2 DRAM banks. Set Armada 8K configurations to 2
banks.
Cc: Konstantin Porotchkin
On Thu, 22 Nov 2018 12:40:57 +0530
Jagan Teki wrote:
> On Tue, Nov 20, 2018 at 2:33 AM Boris Brezillon
> wrote:
> >
> > SPI flash based MTD devs can be registered/unregistered at any time
> > through the sf probe command or the spi_flash_free() function.
> >
> > This commit does not try to fix
From: Jerome Brunet
MESON_FDTFILE_SETTING is used to define the default name of the fdt
file in u-boot environment. We can easily derive it from
CONFIG_DEFAULT_DEVICE_TREE instead. This will help factorize the code
a bit
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
Hi Rick,
On Thu, 2018-11-22 at 16:38 +0800, Rick Chen wrote:
> Auer, Lukas 於 2018年11月21日 週三
> 下午9:09寫道:
> >
> > Hi Rick,
> >
> > On Wed, 2018-11-21 at 17:37 +0800, Rick Chen wrote:
> > > Hi Lukas
> > >
> > > > >
> > > > > Hi Rick,
> > > > >
> > > > > Thanks for pulling my changes! I have
From: Jerome Brunet
Now we have moved all the Amlogic board support to common generic board code,
we can move the identical board_init() and ft_board_setup() functions to
weak functions into the board-common mach-meson file.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
The S400 board is the Amlogic AXG SoC reference board including :
- Amlogic A113DX ARM Cortex-A53 quad-core SoC @ 1.2GHz
- 1GB DDR4 SDRAM
- 10/100 Ethernet
- 2 x USB 2.0 Host
- eMMC
- Infrared receiver
- SDIO WiFi Module
- MIPI DSI Connector
- Audio HAT Connector
- PCI-E M.2 Connectors
The RISC-V arch incorrectly uses 32-bit instead of 64-bit variables in
several places. Fix this.
In addition, BITS_PER_LONG is set to 64 on RV64I systems.
Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
---
Changes in v4: None
Changes in v3: None
Changes in v2:
- Remove 0-padding in the format
CONFIG_PHYS_64BIT should be enabled on RV64I systems. Select it.
Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
Reviewed-by: Rick Chen
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/riscv/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/riscv/Kconfig
Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
Reviewed-by: Rick Chen
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
dts/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dts/Makefile b/dts/Makefile
index 9a9a3d5c98..cd6e9a968e 100644
---
Use the new Kconfig entries to construct the ISA string for the -march
compiler flag. The -mabi compiler flag is selected based on the base
integer instruction set.
With this change, the C (compressed instructions) ISA extension is now
enabled for all boards with CONFIG_RISCV_ISA_C set. Buildman
On 21/11/18 4:21 PM, Jean-Jacques Hiblot wrote:
DM_USB is now supported in the SPL. Do not undef it
Signed-off-by: Jean-Jacques Hiblot
---
With this, I guess we can merge am335x_evm_usbspl_defconfig into
am335x_evm_defconfig? or am I missing something?
Thanks and regards,
Lokesh
On Wed, Nov 21, 2018 at 08:05:33PM +0200, Priit Laes wrote:
> From: Priit Laes
>
> The lime2 features a too large capacitor on the LDO3 output, which
> causes the PMIC to shutdown when enabling power. To be able to still
> boot up however, we must gradually enable power on LDO3 for this board.
>
On Wed, Nov 21, 2018 at 08:05:26PM +0200, Priit Laes wrote:
> From: Olliver Schinagl
>
> When we clear a pmic_bus bit, we do a read-modify-write operation.
> We waste some time however, by writing back the exact samea value
> that was already set in the chip. Let us thus only do the write
> in
On Wed, Nov 21, 2018 at 08:05:32PM +0200, Priit Laes wrote:
> From: Olliver Schinagl
>
> The lime2 features a too large capacitor on the LDO3 output, which
> causes the PMIC to shutdown when enabling power. To be able to still
> boot up however, we must gradually enable power on LDO3 for this
On Wed, Nov 21, 2018 at 08:05:31PM +0200, Priit Laes wrote:
> From: Olliver Schinagl
>
> Some boards feature a capacitance on LDO3's output that is too large,
> causing inrush currents which as a result, shut down the AXP209. This
> has been reported before, without knowing the actual cause.
>
Hi Yinbo,
> -Original Message-
> From: Yinbo Zhu
> Sent: Thursday, November 22, 2018 4:17 PM
> To: york...@freescale.com; Y.B. LU ;
> u-boot@lists.denx.de
> Cc: Yinbo Zhu ; Xiaobo Xie ;
> Chuanhua Han
> Subject: [PATCH v1] LS2080ardb: MMC: disable esdhc for dspi
>
> esdhc and dspi have
From: Jerome Brunet
Even if multiple board are selected through Kconfig, u-boot will only
compile one. This makes sense since compiling these targets will export
global symbols, such as board_init()
The change rework amlogic Kconfig so only one board may be selected at
a time
Signed-off-by:
This patchset will refactor the Amlogic Meson SoC support in order to
easily add support for the Amlogic AXg SoC family, and later the G12x SoCs.
In order :
- Cleanup the mach-meson configs
- Move board support to reference design common boards
- Move board Kconfig into mach-meson
- Add AXG
From: Jerome Brunet
This adds support for the Amlogic AXG SoC pinctrl and GPIO controller
using a specific set of pinctrl functions which differs from the GX SoCs.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
drivers/pinctrl/meson/Kconfig | 8 +
From: Jerome Brunet
Rework the board SYS_BOARD, SYS_VENDOR and SYS_CONFIG_NAME setup by moving
the board Kconfig into the mach-meson Kconfig to make it easier to add
new boards for a SoC architecture and add a custom config header or custom
board handler for a platform.
This drops the board
From: Jerome Brunet
We are about to add support for the Amlogic AXG SoC. While very close to
the Gx SoC family, we will need to handle a few thing which are different
in this SoC. Rework the meson arch directory to prepare for this.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
Ignore tools/prelink-riscv.
Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
Reviewed-by: Rick Chen
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
tools/.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/.gitignore b/tools/.gitignore
index
Enable the -fdata-sections compiler option for RISC-V. Buildman reports
the binary size decrease from this as 8365.3 bytes.
Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
Reviewed-by: Rick Chen
---
Changes in v4:
- Rebase on u-boot/master
Changes in v3: None
Changes in v2: None
QEMU provides a device tree, which is passed to U-Boot using register
a1. We are now able to directly select the device tree with the
configuration CONFIG_OF_PRIOR_STAGE. Replace the hard-coded address in
qemu-riscv with it.
Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
Reviewed-by: Rick Chen
Support booting Linux (as payload of BBL) from FIT images. For this, the
default CONFIG_SYS_BOOTM_LEN is increased to 16 MB, and the environment
variables fdt_high and initrd_high are set to mark the device tree and
initrd as in-place.
Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
---
Undefined exception codes currently lead to an out-of-bounds array
access. Prevent this by treating undefined exception codes as
"reserved".
Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
Reviewed-by: Rick Chen
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
Hang on unhandled exceptions to prevent execution in a faulty state.
Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
Reviewed-by: Rick Chen
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/riscv/lib/interrupts.c | 2 ++
1 file changed, 2 insertions(+)
diff --git
On 21.11.18 12:12, Baruch Siach wrote:
Describe the 1Gb network interface with on-board 88E1512 PHY.
Signed-off-by: Baruch Siach
---
arch/arm/dts/armada-8040-mcbin.dts | 16
1 file changed, 16 insertions(+)
diff --git a/arch/arm/dts/armada-8040-mcbin.dts
The Amlogic Meson SoCs embeds a Flash oriented SPI Controller name SPIFC.
This driver, ported from the Linux meson-spi-spifc driver, add support
for this controller on the Amlogic Meson GX SoCs in U-Boot.
Reviewed-by: Jagan Teki
Signed-off-by: Neil Armstrong
---
drivers/spi/Kconfig | 8
The Amlogic Meson SoCs embeds a Flash oriented SPI Controller name SPIFC.
This patchset add the driver ported from linux, but also import the regmap
regmap_read_poll_timeout() to implify the register polling in the driver.
Neil Armstrong (3):
regmap: add regmap_read_poll_timeout() helper
Add the regmap_read_poll_timeout() macro based on the Linux implementation
to simplify register polling with configurable timeout and sleep.
Acked-by: Jagan Teki
Signed-off-by: Neil Armstrong
---
include/regmap.h | 38 ++
1 file changed, 38 insertions(+)
RISC-V defines the base integer instruction sets as RV32I and RV64I.
Rename CPU_RISCV_32 and CPU_RISCV_64 to ARCH_RV32I and ARCH_RV64I to
match this convention.
Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
Reviewed-by: Rick Chen
---
Changes in v4: None
Changes in v3: None
Changes in v2:
The labels nmi_vector, trap_vector and handle_reset in start.S are not
used for RISC-V. Remove them.
Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
---
Changes in v4: None
Changes in v3: None
Changes in v2:
- Drop removal of code that stores the contents of a2; this broke the
board
Implement the functions invalidate_icache_range() and
invalidate_icache_all().
RISC-V does not have instructions for explicit cache-control. The
functions in this patch are implemented with the memory ordering
instruction for synchronizing the instruction and data streams. This may
be implemented
On 22/11/2018 07:40, Jagan Teki wrote:
> On Wed, Nov 14, 2018 at 3:55 PM Neil Armstrong
> wrote:
>>
>> The Amlogic Meson SoCs embeds a Flash oriented SPI Controller name SPIFC.
>>
>> This patchset add the driver ported from linux, but also import the regmap
>> regmap_read_poll_timeout() to
esdhc and dspi have Multiplexed pins, if dspi is enabled
and esdhc need to be disabled, This patch is to disable
esdhc when rcw config dspi enabled.
Signed-off-by: Yinbo Zhu
---
include/configs/ls2080ardb.h |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git
On Wed, Nov 21, 2018 at 08:05:30PM +0200, Priit Laes wrote:
> From: Olliver Schinagl
>
> The AXP209 LDO3 regulator supports voltage rate control, or can set a
> slew rate.
>
> This allows for the power to gradually rise up to the desired voltage,
> instead of spiking up as fast as possible.
Auer, Lukas 於 2018年11月21日 週三 下午9:09寫道:
>
> Hi Rick,
>
> On Wed, 2018-11-21 at 17:37 +0800, Rick Chen wrote:
> > Hi Lukas
> >
> > > >
> > > > Hi Rick,
> > > >
> > > > Thanks for pulling my changes! I have some notes and questions on
> > > > it.
> > > >
> > > > I can't find all of your patches on
On 21.11.18 12:05, Baruch Siach wrote:
Current mdio base lookup code relies on a 'reg' property at the upper CP
node. There is no 'reg' property there in current DT files of Armada
CP110. Use ofnode_get_addr() instead since it provides proper DT address
translation.
Cc: Ken Ma
Cc: Stefan
On 21.11.18 12:05, Baruch Siach wrote:
Current code forces all ports on a given Ethernet device to use the same
mdio device. In practice different ports might be wired to separate mdio
devices. Move the mdio device from the container struct mvpp2 to the per
port struct mvpp2_port.
Cc: Ken Ma
From: Jerome Brunet
The Khadas vim and the libretech aml-s905x-cc (aka Potato) derive
from amlogic s905x reference design (P212).
All the code in these board is a copy/paste from the p212, which is
tedious to maintain. This change use p212 u-boot board for all these
boards, while keeping a
This patch adds a minimal clock driver for the Amlogic AXG SoC to handle
the basic gates and PLLs.
Signed-off-by: Neil Armstrong
---
arch/arm/include/asm/arch-meson/clock-axg.h | 104 +++
drivers/clk/Makefile| 2 +-
drivers/clk/clk_meson_axg.c | 316
This patch adds support for the Amlogic AXG SoC, which is very close from
the Amlogic GXL SoCs with :
- Same 4xCortex-A53 CPUs but clocked at 1.2GHZ max
- DDR Interface limited to DDR4 16bit
- The whole physical register address space has been moved to 0xfxxx
- The pinctrl setup has changed
-
Add Kconfig entries for the C (compressed instructions) and A (atomic
instructions) ISA extensions. Only the C ISA extension is selectable.
This matches the configuration in Linux.
The Kconfig entries are not used yet. A follow-up patch will select the
appropriate compiler flags based on the
QEMU specifies the location of Linux (supplied with the -kernel
argument) in the device tree using the riscv,kernel-start and
riscv,kernel-end properties. We currently rely on the SBI implementation
of BBL to run Linux and therefore embed Linux as payload in BBL. This
causes an issue, because BBL
Replace the barrier functions in arch/riscv/include/asm/io.h with those
defined in barrier.h, which is imported from Linux. This version is
modified to remove the include statement of asm-generic/barrier.h, which
is not available in U-Boot or required.
Signed-off-by: Lukas Auer
Reviewed-by: Bin
Store the hart ID and device tree passed by the prior boot stage (in a0
and a1) in registers s0 and s1. Replace one use of s1 in start.S to
avoid overwriting it.
The device tree is also stored in memory to make it available to U-Boot
with the configuration CONFIG_OF_PRIOR_STAGE.
Signed-off-by:
On Thu, Nov 22, 2018 at 1:21 PM Quentin Schulz
wrote:
>
> Hi Jagan,
>
> On Thu, Nov 22, 2018 at 12:03:47PM +0530, Jagan Teki wrote:
> > pl022 spi driver support both OF_CONTROL and PLATDATA, this
> > patch is trying to simplify the code that differentiating
> > platdata vs of_control.
> > - Move
On 21.11.18 10:22, Chris Packham wrote:
Enable CONFIG_DM_SPI=y and CONFIG_DM_SPI_FLASH=y in the defconfig.
Signed-off-by: Chris Packham
---
configs/ds109_defconfig | 2 ++
include/configs/ds109.h | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/configs/ds109_defconfig
On 21.11.18 10:22, Chris Packham wrote:
Enable CONFIG_DM_SPI=y and CONFIG_DM_SPI_FLASH=y in the defconfig.
Signed-off-by: Chris Packham
---
configs/SBx81LIFKW_defconfig | 2 ++
configs/SBx81LIFXCAT_defconfig | 2 ++
2 files changed, 4 insertions(+)
diff --git
The Khadas vim2 derive from amlogic s912 reference design (Q200).
This patch moves the khadas-vim2 board support to a generic Q200 board,
while keeping a dedicated defconfig to customize the names and device tree.
Signed-off-by: Neil Armstrong
---
arch/arm/mach-meson/Kconfig
From: Jerome Brunet
The nanopi-k2 and the odroid-c2 are similar enough to be supported
by the same u-boot board. This change use odroid-c2 u-boot board
for the nanopi-k2 as well. Dedicated defconfig are kept to customize
the names and device tree.
Signed-off-by: Jerome Brunet
Signed-off-by:
From: Jerome Brunet
The original chosen addresses conflict with the BL2 initialisation.
So far there was no issue with them but if we preload binaries in
RAM (ROMUSB boot) before running the BL2 they get corrupted by the
execution of BL2 init.
If we load them around 0x0800, there is no such
Synchronize the Amlogic AXG Device Tree files and bindings include from
the recent Linux 4.20-rc1, because it includes patches fixing support for
U-boot.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
arch/arm/dts/Makefile |3 +-
The Amlogic Meson SoCs ROM supports a boot over USB with a custom protocol.
When no other boot medium are available (or by forcing the USB mode), the
ROM sets the primary USB port as device mode and waits for a Host to
enumerate.
When enumerated, a custom protocol described at [1] permits
From: Jerome Brunet
Meson pinctrl needs generic pinctrl, rather than depending on it
select it
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
drivers/pinctrl/meson/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/meson/Kconfig
Add test to regmap_read_poll_timeout() helper to check the timeout works
properly but cannot test proper condition matching since read/write calls
are not executed in sandbox.
Acked-by: Jagan Teki
Signed-off-by: Neil Armstrong
---
test/dm/regmap.c | 26 ++
1 file
Hi Rick,
On Thu, 2018-11-22 at 17:42 +0800, Rick Chen wrote:
> Auer, Lukas 於 2018年11月22日 週四
> 下午5:18寫道:
> >
> > Hi Rick,
> >
> > On Thu, 2018-11-22 at 16:38 +0800, Rick Chen wrote:
> > > Auer, Lukas 於 2018年11月21日 週三
> > > 下午9:09寫道:
> > > >
> > > > Hi Rick,
> > > >
> > > > On Wed, 2018-11-21
RISC-V U-Boot reimplements the generic io functions from
asm-generic/io.h. Remove the redundant implementation and include the
generic io.h instead.
Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
Reviewed-by: Rick Chen
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
From: Bin Meng
This is now deprecated and no board is using it. Drop it.
Signed-off-by: Bin Meng
Signed-off-by: Lukas Auer
---
Changes in v4: None
Changes in v3: None
Changes in v2:
- New patch to replace patch "riscv: remove CONFIG_INIT_CRITICAL"
arch/nds32/cpu/n1213/start.S | 51
QEMU embeds the location of the kernel image in the device tree. Store
this address in the environment as variable kernel_start. It is used in
the board-local distro boot command QEMU to boot the kernel with the
U-Boot device tree. The QEMU boot command is added as the first boot
target device.
The machine trap-vector base address (mtvec) must be aligned on a 4-byte
boundary. Add the necessary align directive to trap_entry.
This patch also removes the global directive for trap_entry, which is
not required.
Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
---
Changes in v4: None
The bootm implementation of RISC-V diverges from that of other
architectures. Update it to match the implementation of other
architectures. The ARM implementation is used as a reference.
This adds the following features and changes to RISC-V.
* Add support for the BOOTM_STATE_OS_FAKE_GO command
*
Add a boot command to distro boot to support disks connected over the
VirtIO bus. The boot command uses the shared block environment.
Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
Reviewed-by: Alexander Graf
---
Changes in v4: None
Changes in v3:
- New patch to add VirtIO distro boot
Hi Jagan,
On Thu, Nov 22, 2018 at 01:31:25PM +0530, Jagan Teki wrote:
> On Thu, Nov 22, 2018 at 1:21 PM Quentin Schulz
> wrote:
> >
> > Hi Jagan,
> >
> > On Thu, Nov 22, 2018 at 12:03:47PM +0530, Jagan Teki wrote:
> > > pl022 spi driver support both OF_CONTROL and PLATDATA, this
> > > patch is
From: Yegor Yefremov
OnRISC Baltos series uses SoM with tps65910 PMIC, so remove
"power/tps65217.h" header inclusion.
Signed-off-by: Yegor Yefremov
---
board/vscom/baltos/board.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/board/vscom/baltos/board.c b/board/vscom/baltos/board.c
index
On 21.11.18 10:22, Chris Packham wrote:
Enable CONFIG_DM_SPI=y and CONFIG_DM_SPI_FLASH=y in the defconfig.
Signed-off-by: Chris Packham
---
configs/dreamplug_defconfig | 2 ++
include/configs/dreamplug.h | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git
CONFIG_FSL_ESDHC_PIN_MUX should be enabled for ls2080ardb
whose eSDHC has pin mux with DSPI. This config makes sure
esdhc dts node would be fixed with disabled status if
DSPI is used, in case of any mmc issue in linux. Also,
esdhc should be added in default hwconfig since eSDHC is
used in default.
From: Jerome Brunet
This debug print was not designed to be active in non-debug mode.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
drivers/clk/clk_meson.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/clk_meson.c b/drivers/clk/clk_meson.c
The meson_gates table should be set static in the clk_meson driver.
Signed-off-by: Neil Armstrong
---
drivers/clk/clk_meson.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/clk_meson.c b/drivers/clk/clk_meson.c
index c44858822d..a096a3582c 100644
---
From: Jerome Brunet
In preparation of supporting the new Amlogix AGX SoCs, we need to move
the Amlogic GX pinmux functions out of the common code to be able to
add a different set of SoC specific pinmux functions for AXG.
Signed-off-by: Jerome Brunet
Signed-off-by: Neil Armstrong
---
Auer, Lukas 於 2018年11月22日 週四 下午5:18寫道:
>
> Hi Rick,
>
> On Thu, 2018-11-22 at 16:38 +0800, Rick Chen wrote:
> > Auer, Lukas 於 2018年11月21日 週三
> > 下午9:09寫道:
> > >
> > > Hi Rick,
> > >
> > > On Wed, 2018-11-21 at 17:37 +0800, Rick Chen wrote:
> > > > Hi Lukas
> > > >
> > > > > >
> > > > > > Hi
start.S uses both tabs and spaces after instructions. Fix this by only
using tabs after instructions.
Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
Reviewed-by: Rick Chen
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/riscv/cpu/start.S | 322
Only the first four exception codes are defined. Add the missing
exception codes from the definition in RISC-V Privileged Architecture
Version 1.10.
Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
Reviewed-by: Rick Chen
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
Reviewed-by: Simon Glass
---
Changes in v4: None
Changes in v3: None
Changes in v2:
- Move prototype location to match the location of the function in
ofnode.c
include/dm/ofnode.h | 10 ++
1 file changed, 10 insertions(+)
diff --git
Enable distro boot on the qemu-riscv32/64 boards. Supported boot target
devices are VirtIO and DHCP.
Signed-off-by: Lukas Auer
Reviewed-by: Bin Meng
Reviewed-by: Alexander Graf
---
Changes in v4: None
Changes in v3:
- New patch to enable distro boot on qemu-riscv32/64
Changes in v2: None
The mstatus CSR includes WPRI (writes preserve values, reads ignore
values) fields and must therefore not be set to zero without preserving
these fields. It is not apparent why mstatus is set to zero here since
it is not required for U-Boot to run. Remove it.
This instruction and others encode
Show information about board read from DT by default to know what board
U-Boot is running at.
Signed-off-by: Michal Simek
---
configs/microblaze-generic_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/microblaze-generic_defconfig
b/configs/microblaze-generic_defconfig
Hi all,
I've tried the first time booting a self compiled u-boot on
armada_38x:CUSTOMER_BOARD_0.
Here is the Boot messages:
Board: A38x-Customer-Board-0
SoC: MV88F6820 Rev B0
running 2 CPUs
CPU: ARM Cortex A9 MPCore (Rev 1) LE
CPU 0
CPU@ 1600 [MHz]
L2 @
On Thu, 2018-11-22 at 11:51 +0530, Jagan Teki wrote:
> On Wed, Nov 21, 2018 at 5:16 PM Guochun Mao wrote:
> >
> > Hi Jagan,
> >
> > On Wed, 2018-11-21 at 15:08 +0530, Jagan Teki wrote:
> >
> > > > > > +static int mtk_qspi_tx_rx(struct mtk_qspi_priv *priv)
> > > > > > +{
> > > > > > + int
For USB ports that use the Driver Model, turn on the clocks during the
late init stage.
Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Tom Rini
---
Changes in v8: None
Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v8: None
Changes in v7:
- Fix build issue "multiple definition of `usb_gadget_handle_interrupts'"
Changes in v6:
- DRA7 configs: enable DM_USB and DM_USB_DEV. Use DWC3_GENERIC in place of
DWC3_OF_SIMPLE. disable non DM USB options
Changes in
Enable DM_USB and DM_USB_DEV for AM57xx based boards.
Signed-off-by: Vignesh R
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v8: None
Changes in v7:
- Fixed build issue "multiple definition of `usb_gadget_handle_interrupts'"
Changes in v6:
- AM57 configs: enable DM_USB and DM_USB_DEV.
Signed-off-by: Jean-Jacques Hiblot
---
Changes in v8:
- Fix edison build
Changes in v7: None
Changes in v6:
- Supports DM USB for peripherals
- Removed DTS changes that disabled USB1 on DRA7 because DM_USB_DEV is
now supported
Changes in v5: None
Changes in v4: None
Changes in v3: None
On Wed, Nov 21, 2018 at 11:51:18AM +0100, Jean-Jacques Hiblot wrote:
> Enable DM_USB and DM_USB_GADGET for this platform. Also enable RNDIS boot
> support (SPL load u-boot over USB RNDIS)
>
> Signed-off-by: Jean-Jacques Hiblot
> ---
>
> configs/am335x_boneblack_vboot_defconfig | 8
>
On Wed, Nov 21, 2018 at 11:51:05AM +0100, Jean-Jacques Hiblot wrote:
> Some drivers might need to access common USB functions such as
> usb_get_maximum_speed() or usb_get_dr_mode().
>
> Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Tom Rini
--
Tom
signature.asc
Description: PGP
This series applies on top of the series "[PATCH v3 0/7] Improvements for
the dwc3_generic driver"
The branch is also available on github:
https://github.com/jjhiblot/u-boot/tree/dm_usb_dra7_v8
Moving to DM_USB and DM_USB_DEV brings some benefits:
- it is required to support DM_ETH and USB
On Wed, Nov 21, 2018 at 11:51:06AM +0100, Jean-Jacques Hiblot wrote:
> If DM_USB_GADGET is used, the usb ethernet gadget driver must be bound to a
> controller before the image can be downloaded over the network.
> In u-boot this can be done with the bind command. In SPL it must be done
>
On Wed, Nov 21, 2018 at 08:32:01PM +0100, Marcin Niestroj wrote:
> Add that node path in u-boot overlay dtsi file for now to keep
> am335x-chiliboard.dts in sync with Linux.
>
> Signed-off-by: Marcin Niestroj
Reviewed-by: Tom Rini
--
Tom
signature.asc
Description: PGP signature
On 22/11/18 6:59 PM, Tom Rini wrote:
On Wed, Nov 21, 2018 at 11:51:18AM +0100, Jean-Jacques Hiblot wrote:
Enable DM_USB and DM_USB_GADGET for this platform. Also enable RNDIS boot
support (SPL load u-boot over USB RNDIS)
Signed-off-by: Jean-Jacques Hiblot
---
On Wed, Nov 21, 2018 at 11:51:13AM +0100, Jean-Jacques Hiblot wrote:
> The AM43xx SOCs have the ability to download the SPl through USB (RNDIS).
> Adding support for RNDIS in SPL allows to also download u-boot through USB.
>
> Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Tom Rini
--
Tom
EFI memory allocation code return values that are not mapped by U-Boot
MMU. This causes a crash when tftp calls efi_set_bootdev(). Fix this
similarly to commit 0797f7f0b7e1 ("ARM: tegra: reserve unmapped RAM so
EFI doesn't use it").
Signed-off-by: Baruch Siach
---
v2: Fix the
Hi all,
I've tried the first time booting a self compiled u-boot on
armada_38x:CUSTOMER_BOARD_0.
Here is the Boot messages:
Board: A38x-Customer-Board-0
SoC: MV88F6820 Rev B0
running 2 CPUs
CPU: ARM Cortex A9 MPCore (Rev 1) LE
CPU 0
CPU@ 1600 [MHz]
L2 @
On Wed, 21 Nov 2018 14:06:00 PST (-0800), lukas.a...@aisec.fraunhofer.de wrote:
Hi Palmer,
On Wed, 2018-11-21 at 08:28 -0800, Palmer Dabbelt wrote:
On Tue, 20 Nov 2018 19:41:10 PST (-0800), a...@brainfault.org wrote:
> This patch adds kconfig option RISCV_SMODE to run u-boot in
> S-mode. When
1 - 100 of 239 matches
Mail list logo