Re: [PATCH v2 2/2] RISC-V: sifive: enable SPI Flash and SD in config

2022-08-22 Thread Ahmad Fatoum
Hello Antony, On 22.08.22 13:32, Antony Pavlov wrote: > On Tue, 26 Apr 2022 08:46:04 +0200 > Ahmad Fatoum wrote: > > Hi Ahmad! > > I'm trying to run SiFive target with emulate.pl, e.g. > > barebox$ dd if=/dev/zero of=/tmp/1M count=1 bs=1M > barebox$ ./test/emulate.pl sifive_defconfig -- -driv

Re: [PATCH v2 2/2] RISC-V: sifive: enable SPI Flash and SD in config

2022-08-22 Thread Antony Pavlov
On Tue, 26 Apr 2022 08:46:04 +0200 Ahmad Fatoum wrote: Hi Ahmad! I'm trying to run SiFive target with emulate.pl, e.g. barebox$ dd if=/dev/zero of=/tmp/1M count=1 bs=1M barebox$ ./test/emulate.pl sifive_defconfig -- -drive file=/tmp/1M,if=sd ... qemu-system-riscv64: -drive file=/tmp/1M,if=sd:

Re: [PATCH v3] arm: rockchip: switch to mainline dts for bpi-r2-pro

2022-08-22 Thread Sascha Hauer
On Sun, Aug 21, 2022 at 12:06:40PM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich > > Use mainline DTS for Bananapi R2 Pro like the other rk356x devices. > > Xhci0 has to be set to host again, as board has no id-pin to switch between > otg and hostmode. > > Signed-off-by: Frank Wunderl

Re: [PATCH master] fs: ubootvarfs: fix double-free unlinking U-Boot variables

2022-08-22 Thread Sascha Hauer
On Fri, Aug 19, 2022 at 12:55:21PM +0200, Ahmad Fatoum wrote: > We free the struct ubootvarfs_inode::var as part of destroy_inode. In > case we have unlinked the U-Boot variable beforehand, we will end up > double-freeing. Set the member to NULL, so it's skipped in > destory_inode. We keep the free

Re: [PATCH] fixup! pbl: export pbl_barebox_verify

2022-08-22 Thread Sascha Hauer
On Sun, Aug 21, 2022 at 03:28:58PM +0200, Ahmad Fatoum wrote: > crypto: digest: always export functions for PBL > > We already build the digest functions for PBL, but the configuration may > lack CONFIG_DIGEST, which leads to compile errors due to clashes between > the static inline helpers and th