When debugging partitions detected by barebox, knowing the partuuid
can be useful. Include it in the dev_dbg output.
Signed-off-by: Ahmad Fatoum
---
common/partitions.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/partitions.c b/common/partitions.c
index
partuuids are represented as hexadecimal strings, where case doesn't
matter. barebox formats them as lower case internally, forcing the
partuuid device tree property to be lower case too. Use strcasecmp to
be case-insensitive.
Signed-off-by: Ahmad Fatoum
---
fs/devfs-core.c | 2 +-
1 file
Signed-off-by: Robert Karszniewicz
---
arch/sandbox/os/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/sandbox/os/common.c b/arch/sandbox/os/common.c
index 86118822a..1b2daa396 100644
--- a/arch/sandbox/os/common.c
+++ b/arch/sandbox/os/common.c
@@ -264,7 +264,7
/dev/random can block long after boot time. It seems there's a consensus
that /dev/urandom is safe to use except for very early boot, which isn't
when barebox sandbox is usually run. To make the HWRNG more useful,
always use /dev/urandom.
Signed-off-by: Ahmad Fatoum
---
It will be done in main_entry() any way.
Signed-off-by: Oleksij Rempel
---
arch/mips/lib/reloc.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/arch/mips/lib/reloc.c b/arch/mips/lib/reloc.c
index 9a9e404f7e..798a68680d 100644
--- a/arch/mips/lib/reloc.c
+++
We need it to make flush_cache_all() work properly.
Signed-off-by: Oleksij Rempel
---
arch/mips/lib/reloc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/mips/lib/reloc.c b/arch/mips/lib/reloc.c
index 798a68680d..df9760e38c 100644
--- a/arch/mips/lib/reloc.c
+++
Signed-off-by: Oleksij Rempel
---
arch/mips/boot/main_entry.c | 6 --
arch/mips/include/asm/cache.h | 1 +
arch/mips/lib/cpu-probe.c | 5 +
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/mips/boot/main_entry.c b/arch/mips/boot/main_entry.c
index
Despite assigning efi_sys_table->{con_in,con_out} to priv->{in,out},
some functions still use the global efi_sys_table->{con_in,con_out}.
Let's restrict globals access to the probe function and have the priv
struct completely describe input and output used in the callbacks.
No functional change.
EFI implementations differ in how simple_text_input_protocol treats
ctrl+alpha combinations. OVMF (used with QEMU) returns a Unicode control
character, the UEFI on the Dell Latitude 7490 on the other hand ignores
the ctrl completely and returns just the letter rendering utilities
like barebox edit
Hi Renaud,
On Fri, Oct 18, 2019 at 03:09:00PM +, Barbier, Renaud wrote:
> Looking at the Linux nand_ecc, there is something specific for512 bytes size
> ecc:
>
> if (eccsize_mult == 2 && (i & 0x4) == 0)
> rp16 ^= tmppar;
>
> code[2] =
> +
On Fri, Oct 18, 2019 at 07:15:27PM +0200, Robert Karszniewicz wrote:
> In all this haste, I forgot my question.
>
> What error codes should be used? For each goto its own code, in sequence,
> starting from -1?
Please propagate the error code returned from the call that failed. i.e.
something
11 matches
Mail list logo