Fixes: 44a792c994 ("riscv: sifive: unmatched: migrate to text environment")
Signed-off-by: Andreas Schwab
---
board/sifive/unmatched/unmatched.env | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/sifive/unmatched/unmatched.env
b/board/sifive/unmatched/unm
apacity size information is read from
> EEPROM.
Does that acutally work? I see that read_eeprom fails in SPL.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
the kernel is the authority in
providing it.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
ble find any of them.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
On Mär 22 2023, yanhong wang wrote:
> On 2023/3/21 21:51, Andreas Schwab wrote:
>> On Mär 21 2023, yanhong wang wrote:
>>
>>> Except for CONFIG_DEFAULT_DEVICE_TREE and CONFIG_DEFAULT_FDT_FILE,
>>> 1.2a and 1.3b versions use the same config.
>>>
>>
rfive-visionfive-2-v1.2a.dtb"
>
> Is it necessary to separate the configs for 1.2a and 1.3b as separate
> defconfig files?
It makes a difference for when ethernet support is added.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
On Mär 16 2023, Yanhong Wang wrote:
> This is the initial basic config for StarFive VisionFive v2 board. It
> includes consol, Norflash, sdio, ddr etc.
Are you also planning to add a config for the 1.2a version?
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD
t; } else {
> *length = ce->size - offset;
> }
> + *length = min_t(u64, *length, orig_len);
>
> if (!multi_ret)
> goto out;
I can confirm that this fixes the issue.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fing
On Feb 13 2023, Qu Wenruo wrote:
> On 2023/2/13 00:20, Andreas Schwab wrote:
>> When I print ce->size in __btrfs_map_block, it is almost always
>> 1073741824, which looks bogus.
>>
> Can you provide the image of that filesystem?
How do I do that?
--
Andreas Schwab
When I print ce->size in __btrfs_map_block, it is almost always
1073741824, which looks bogus.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
: btrfs_map_block: cur_len=479928320; ret=0
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
131072 bytes read in 0 ms
> => md5sum 0 0x2
> md5 for ... 0001 ==> d48858312a922db7eb86377f638dbc9f
> ^^^ Above md5sum also matches.
>
> Reported-by: Sam Winchenbach
> Signed-off-by: Qu Wenruo
This breaks btrfs on the HiFive Unmatched.
=> pci enum
t, thus fails to load U-Boot proper.
U-Boot SPL 2023.01-00735-gc8fc99adce (Jan 24 2023 - 15:11:27 +0100)
DDR version: dc2e84f0.
Trying to boot from MMC2
spl: partition error
SPL: failed to boot from all boot devices
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1
name the kernel is using.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
On Okt 01 2022, Heinrich Schuchardt wrote:
> On 32bit RISC-V calls to __ashrdi3 and __lshrdi3 are generated.
> These functions are normally provided by glibc but U-Boot is freestanding
They are defined by libgcc, not glibc.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key finge
/lib/efi_loader/Kconfig
> @@ -323,7 +323,7 @@ config EFI_TCG2_PROTOCOL
> depends on TPM_V2
> select SHA1
> select SHA256
> - select SHA512_ALGO
> + select SHA512
> select SHA384
> select SHA512
> select HASH
Likewise.
Andreas.
--
Andreas S
ifdef CONFIG_SPL_BUILD
obj-$(CONFIG_SPL_YMODEM_SUPPORT) += crc16.o
obj-$(CONFIG_$(SPL_TPL_)HASH_SUPPORT) += crc16.o
+obj-$(CONFIG_MMC_SPI_CRC_ON) += crc16.o
obj-y += net_utils.o
endif
obj-$(CONFIG_ADDR_MAP) += addr_map.o
--
2.33.0
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key
side effect of adding crc16.o.
Signed-off-by: Andreas Schwab
---
configs/sifive_unleashed_defconfig | 1 -
configs/sifive_unmatched_defconfig | 1 -
lib/Makefile | 1 +
3 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/configs/sifive_unleashed_defconfig
b/configs
CLK_TLCLK] = {
> + .name = "tlclk",
> + .parent_name = "corepll",
> + .ops = &sifive_fu740_prci_tlclksel_clk_ops,
> + },
> + [PRCI_CLK_PCLK] = {
> + .name = "pclk",
> + .parent_name = "h
; So I guess we have to declare env as volatile in setjmp() in this
> version of the patch because it is changed between the setjmp and
> longjmp invocations?
Yes, I think so, or make it static.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 25
not arrive here */
> return foo;
This is undefined. When modifying a non-volatile auto variable between
setjmp and longjmp, there is no requirement that the value is preserved.
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF7
y time.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
ally is that RISC-V use -fpic for compiling. If I
change that to -fpie, there is no longer a GOT reference.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
On Apr 17 2020, Atish Patra wrote:
> Linux booting protocol mandates that register "a0" contains the hartid.
> However, U-boot can not pass the hartid via a0 during via standard UEFI
s/during via/during/
Andreas.
--
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint
ut it does not have ethernet DT node)
Are these notes now obsolete?
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
__
On Jul 30 2019, Sagar Kadam wrote:
> I do remember using "git mv" here.
git mv is identical to git rm + git add. A git repository has no
concept of file renames.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 8
On Mär 08 2019, Anup Patel wrote:
> The reset button works fine for me an Atish. I am sure it works fine for lot
> of
> other folks too.
There is no issue with the reset button, only with openSBI.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196
reasons to press the reset button. :-)
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
___
U-Boot mailing list
On Mär 06 2019, Anup Patel wrote:
> On Wed, Mar 6, 2019 at 5:17 PM Andreas Schwab wrote:
>>
>> On Mär 06 2019, Anup Patel wrote:
>>
>> >> -Original Message-
>> >> From: Andreas Schwab
>> >> Sent: Wednesday, March 6, 2019 4:2
On Mär 06 2019, Anup Patel wrote:
>> -Original Message-
>> From: Andreas Schwab
>> Sent: Wednesday, March 6, 2019 4:27 PM
>> To: Anup Patel
>> Cc: Auer, Lukas ; u-boot@lists.denx.de;
>> paul.walms...@sifive.com; ag...@suse.de; a...@brainfault.org;
&
Apparently sometimes u-boot tries to boot the kernel on heart 0 (the E51
core), which will then fail to start userspace, since that cannot cope
with the missing fpu.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
ard.
>
> Unfortunately, I was not able to find printed MAC address on Unleashed board.
It is derived from the serial number.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now f
On Feb 13 2019, Alexander Graf wrote:
> The DT is supplied via SD card
That's not true by default. It is part of the FSBL, I think.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now
ed mechanism to ensure a unique
> MAC address, instead it relies on software to program one to the
> hardware before bringing it up.
On the Hifive the MAC is part of the initial DT, so there is no need to
use a secondary store.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key
On Feb 12 2019, Bin Meng wrote:
> On Tue, Feb 12, 2019 at 4:34 PM Andreas Schwab wrote:
>>
>> On Feb 12 2019, Anup Patel wrote:
>>
>> > This is because we don't have place to put U-Boot environment
>> > variables as of now on Unleashed board. This
On Feb 12 2019, Anup Patel wrote:
> This is because we don't have place to put U-Boot environment
> variables as of now on Unleashed board. This will be solved once
> we have SPI driver and SPI_MMC driver for Unleased board.
Isn't the MAC part of the initial DT?
Andreas.
ing random MAC address - 0e:14:15:06:ae:e4
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
___
U-Boot mailing list
U-
On Feb 05 2019, Anup Patel wrote:
> Ahh, looks like it is not picking up "CC" set by Makefile. This might
> be because you have removed "-R" from MAKEFLAGS.
Nope. That fixed it.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8
ten/src/riscv/opensbi/build/platform/sifive/fu540/firmware/fw_payload.dep
|| rm -f
/net/hawking/daten/src/riscv/opensbi/build/platform/sifive/fu540/firmware/fw_payload.dep
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA
und
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On Feb 05 2019, Anup Patel wrote:
> The OpenSBI build is similar to Linux and U-Boot. We expect
> CROSS_COMPILE environment variable to be set.
Why? That doesn't make sense.
> Example, if you cross-compiler
I don't have a cross compiler.
Andreas.
--
Andreas Sch
On Feb 04 2019, Atish Patra wrote:
> Probably your cross compilation is not set. Can you try this ?
>
> export ARCH=riscv
> export CROSS_COMPILE=
There is no cross compile prefix.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4B
On Feb 03 2019, Anup Patel wrote:
> Can try with https://github.com/riscv/opensbi.git ?
AS-DEPplatform/sifive/fu540/firmware/fw_payload.dep
/bin/sh: -g: command not found
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 8
On Jan 24 2019, Alexander Graf wrote:
> On 24.01.19 14:38, Andreas Schwab wrote:
>> On Jan 24 2019, Alexander Graf wrote:
>>
>>> Board_init() is too late. This needs to go into early_board_init_f().
>>
>> I don't think we can modify the DT that early
On Jan 24 2019, Alexander Graf wrote:
> Board_init() is too late. This needs to go into early_board_init_f().
I don't think we can modify the DT that early.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
On Jan 23 2019, Atish Patra wrote:
> or you can try to edit the DT directly and update the FSBL if you are
> comfortable with it.
I think it would make sense to add the node in the board init function.
That way it would work whether or not the FSBL is updated.
Andreas.
--
Andreas
On Jan 21 2019, Anup Patel wrote:
> On Mon, Jan 21, 2019 at 10:40 PM Andreas Schwab wrote:
>>
>> On Jan 21 2019, Anup Patel wrote:
>>
>> > There is a fix required in BBL for real board. We have not send
>> > this fix to riscv-pk.
>>
>>
On Jan 21 2019, Anup Patel wrote:
> There is a fix required in BBL for real board. We have not send
> this fix to riscv-pk.
Where can I find the patch?
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"
On Jan 21 2019, Anup Patel wrote:
> On real board, we generally boot OpenSBI+U-Boot. We will
> try and share log of BBL+U-Boot on real board but the log will
> look exactly like above.
Nothing is seen on the real board.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.d
Mode as payload of BBL or OpenSBI.
What am I expected to see when started with BBL? All I see is the logo,
then nothing.
Andreas.
--
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something
50 matches
Mail list logo