Add instructions to build U-Boot for the Milk-V Mars board
Signed-off-by: Heinrich Schuchardt
---
v3:
no change
v2:
describe how to preset fdtfile
---
doc/board/starfive/index.rst | 1 +
doc/board/starfive/milk-v_mars.rst | 111 +
2 files
The usage of common.h is deprecated. Remove it from board files.
Signed-off-by: Heinrich Schuchardt
Reviewed-by: Leo Yu-Chi Liang
---
v3:
no change
v2:
no change
---
board/starfive/visionfive2/spl.c| 1 -
board/starfive/visionfive2/starfive_visionfive2.c |
The differences between the Milk-V Mars board and the VisionFive 2 board
are small enough that we can support both using the same U-Boot build.
* The model and compatible property are taken from proposed Linux patches.
* The EEPROM is atmel,24c02 according to the vendor U-Boot.
* The second
Set environment variable fdtfile to the correct value for the Milk-V Mars
board.
Signed-off-by: Heinrich Schuchardt
Reviewed-by: Leo Yu-Chi Liang
---
v3:
no change
v2:
rebase patch
---
.../visionfive2/starfive_visionfive2.c| 43 +--
1 file changed, 30
Export a function get_product_id_from_eeprom() to read the product ID.
This value can be used for fixing up the device-tree on JH7110 based
products.
Signed-off-by: Heinrich Schuchardt
Reviewed-by: Leo Yu-Chi Liang
---
v3:
no change
v2:
no change
---
Currently in set_fdtfile() we set the value of environment variable fdtfile
unconditionally. The implies that a value in the environment will be
ignored.
With the patch environment variable fdtfile will only be set if it does not
yet exist. This requires that CONFIG_DEFAULT_FDT_FILE is not set.
The Milk-V Mars board is technically very close to the StarFive
VisionFive 2 board.
With this patch series the VisionFive 2 U-Boot SPL will detect that it
is running on a Milk-V board and patch the device-tree accordingly.
This is the same approach that has been taken to handle the differences
Missing line-feeds in error messages lead to output like:
phy_startup() failed: -110FAILED: -110=>
Output like the following is much easier to read:
phy_startup() failed: -110
FAILED: -110
=>
Signed-off-by: Heinrich Schuchardt
---
drivers/net/dwc_eth_qos.c | 108
On 28/03/2024 18:59, Caleb Connolly wrote:
The USB VBUS supply for the type-A port is enabled via a GPIO regulator.
This is incorrectly modelled in Linux where only the PCIe dependency is
expressed. The correct way to handle this will be through a
usb-connector node, but for now we'll just mark
On 28/03/2024 18:59, Caleb Connolly wrote:
Make sure we power on any boot-on or always-on regulators. These are
used for peripherals like USB on some platforms.
Signed-off-by: Caleb Connolly
---
arch/arm/mach-snapdragon/board.c | 2 ++
1 file changed, 2 insertions(+)
diff --git
On 28/03/2024 18:59, Caleb Connolly wrote:
We don't support the RPM(h)PD power domains in U-Boot, and we don't need
to - the necessary resources are on, and we aren't going to enter any
low power modes.
We could try using a no-op device, but this requires adding a compatible
for every platform,
On 28/03/2024 18:59, Caleb Connolly wrote:
We don't support USB super-speed in U-Boot yet, we lack the SS PHY
drivers, however from my testing even with a PHY driver there seem to be
other issues when talking to super-speed peripherals.
In pursuit of maintaining upstream DT compatibility, and
On Thu Mar 28, 2024 at 4:09 PM CET, Tom Rini wrote:
> On Mon, Jan 01, 2024 at 10:07:47PM +0100, Marek Vasut wrote:
>
> > Configure LEDs on BCM54210E so they would blink on activity
> > and indicate link speed. Without this the LEDs are always on
> > if cable is plugged in.
> >
> > Signed-off-by:
Hi,
On Fri, 29 Mar 2024 18:51:47 +0100, Neil Armstrong wrote:
> Enable OF_UPSTREAM to use upstream DT and add amlogic/ prefix to the
> DEFAULT_DEVICE_TREE. And thereby directly build DTB from dts/upstream/src/
> including *-u-boot.dtsi files from arch/$(ARCH)/dts/ directory and
> drop redundant
Hi,
On Tue, 19 Mar 2024 15:42:59 +0100, Neil Armstrong wrote:
> Enable OF_UPSTREAM to use upstream DT and add amlogic/ prefix to the
> DEFAULT_DEVICE_TREE. And thereby directly build DTB from dts/upstream/src/
> including *-u-boot.dtsi files from arch/$(ARCH)/dts/ directory and
> drop redundant
Hi Caleb,
Thank you for the patch.
On jeu., mars 28, 2024 at 17:59, Caleb Connolly
wrote:
> The patch introducing support for dynamic sector sizes changed the types
> used in some divisions, resulting in the compiler attempting to use
> libgcc helpers (__aeabi_ldivmod). Replace these
Hi Neil,
Thank you for the series.
On ven., mars 29, 2024 at 18:51, "Neil Armstrong"
wrote:
> Enable OF_UPSTREAM to use upstream DT and add amlogic/ prefix to the
> DEFAULT_DEVICE_TREE. And thereby directly build DTB from dts/upstream/src/
> including *-u-boot.dtsi files from
101 - 117 of 117 matches
Mail list logo