CONFIG_AUTOBOOT_KEYED_CTRLC default yes?

2019-12-31 Thread Zubair Lutfullah Kakakhel
Hi, I have a pi4 running u-boot 2019.01. When I use the following config options ``` CONFIG_AUTOBOOT=y # CONFIG_AUTOBOOT_KEYED is not set ``` CTRL-C would continue to interrupt autoboot. Was quite surprised to see that. Took a look at the code.

Re: [U-Boot] rpi: bcm2835_sdhost: occasional errors while writing

2019-03-05 Thread Zubair Lutfullah Kakakhel
On Mon, Feb 25, 2019 at 10:43 AM Zubair Lutfullah Kakakhel wrote: > > Hi, > > I've encountered occasional glitches while writing to the sd card > via u-boot(2018.07) on a Pi 3 B+. The goal is to write the bootcount > in the boot partition. As a test, this is the loop I use

[U-Boot] rpi: bcm2835_sdhost: occasional errors while writing

2019-02-25 Thread Zubair Lutfullah Kakakhel
Hi, I've encountered occasional glitches while writing to the sd card via u-boot(2018.07) on a Pi 3 B+. The goal is to write the bootcount in the boot partition. As a test, this is the loop I used to read, display contents, write to the same file over and over again. ``` mw 20 0 while itest

[U-Boot] [PATCH] hashtable: Fix length calculation in hexport_r

2018-07-17 Thread Zubair Lutfullah Kakakhel
oes that. size = totletn + 1; Doesn't make sense and isn't justified with any comment. Signed-off-by: Zubair Lutfullah Kakakhel --- lib/hashtable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/hashtable.c b/lib/hashtable.c index 52aab6d..64faa63 100644 --- a/

[U-Boot] [PATCH] MIPS: bootm: Fix broken boot_env_legacy codepath

2017-07-12 Thread Zubair Lutfullah Kakakhel
Lutfullah Kakakhel <zubair.kakak...@imgtec.com> --- Found this while working on SEAD3 u-boot patches (which are not upstream yet) --- arch/mips/lib/bootm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c index b

Re: [U-Boot] [RFC v2] bootm: fix passing argc to standalone apps

2016-09-23 Thread Zubair Lutfullah Kakakhel
Hi, comments at end On 09/19/2016 01:57 AM, Simon Glass wrote: On 9 September 2016 at 02:18, Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com> wrote: This bug appears in b6396403 which makes u-boot unable to pass arguments via bootm to a standalone application without this patch.

[U-Boot] [RFC v2] bootm: fix passing argc to standalone apps

2016-09-09 Thread Zubair Lutfullah Kakakhel
Without the patch, the go command at the entry point seems to work. boston # go 0x8020 123 321 Example expects ABI version 8 Actual U-Boot ABI version 8 Hello World argc = 3 argv[0] = "0x8020" argv[1] = "123" argv[2] = "321" argv[3] = "

Re: [U-Boot] [RFC] bootm: fix passing argc to standalone apps

2016-09-08 Thread Zubair Lutfullah Kakakhel
Hi, On 09/08/2016 09:23 AM, Zubair Lutfullah Kakakhel wrote: This bug appears in b6396403 which makes u-boot unable to pass arguments via bootm to a standalone application without this patch. Steps to reproduce. Compile a u-boot. Use mkimage to package the standalone hello_world.bin file

[U-Boot] [RFC] bootm: fix passing argc to standalone apps

2016-09-08 Thread Zubair Lutfullah Kakakhel
the entry point seems to work. boston # go 0x8020 123 321 Example expects ABI version 8 Actual U-Boot ABI version 8 Hello World argc = 3 argv[0] = "0x8020" argv[1] = "123" argv[2] = "321" argv[3] = "" Hit any key to exit ... Signed-off-b

[U-Boot] [PATCH_v2 2/2] mips: Add MIPSfpga platform support

2016-07-29 Thread Zubair Lutfullah Kakakhel
MIPSfpga is an FPGA based dev platform. In a nutshell, its a microAptiv cpu core with lots of Xilinx IP blocks The FPGA dev board used is the Nexys4DDR board by Digilent. For more information, check the Readme file in board/imgtec/xilfpga Signed-off-by: Zubair Lutfullah Kakakhel <zubair.ka

[U-Boot] [PATCH_v2 0/2] MIPS: Add MIPSfpga u-boot port

2016-07-29 Thread Zubair Lutfullah Kakakhel
s Zubair Lutfullah Kakakhel (2): mips: xilfpga: Add device tree files mips: Add MIPSfpga platform support arch/mips/Kconfig| 15 + arch/mips/dts/Makefile | 1 + arch/mips/dts/microAptiv.dtsi| 21 + arch/mips/dts/nexys4ddr.dts

[U-Boot] [PATCH_v2 1/2] mips: xilfpga: Add device tree files

2016-07-29 Thread Zubair Lutfullah Kakakhel
Mostly the same as the Kernel upstream device tree file except for - alias for the serial console node - ethernet node as the ethernet stuff isn't upstream on kernel.org yet - uart clock-frequency passed directly in the node Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.

Re: [U-Boot] [PATCH 1/2] mips: Add MIPSfpga platform support

2016-07-29 Thread Zubair Lutfullah Kakakhel
Hi, On 27/07/16 13:13, Daniel Schwierzeck wrote: Am 27.07.2016 um 12:51 schrieb Zubair Lutfullah Kakakhel: MIPSfpga is an FPGA based dev platform. In a nutshell, its a microAptiv cpu core with lots of Xilinx IP blocks The FPGA dev board used is the Nexys4DDR board by Digilent. For more

Re: [U-Boot] [PATCH 2/2] mips: xilfpga: Add device tree files

2016-07-29 Thread Zubair Lutfullah Kakakhel
On 27/07/16 13:02, Daniel Schwierzeck wrote: Am 27.07.2016 um 12:51 schrieb Zubair Lutfullah Kakakhel: Mostly the same as the Kernel upstream device tree file except for - alias for the serial console node - ethernet node as the ethernet stuff isn't upstream on kernel.org yet - uart clock

[U-Boot] [PATCH 2/3] net: emaclite: use __raw_readl/writel instead of weird define

2016-07-27 Thread Zubair Lutfullah Kakakhel
out_be32 and in_be32 are actually #defined to little endian writel/readl in arch/microblaze. Just use __raw_writel/readl instead. That is also what is used in the Linux kernel driver for this IP block Tested on MIPSfpga. Can tftp a kernel. Signed-off-by: Zubair Lutfullah Kakakhel <zubair.ka

[U-Boot] [PATCH 3/3] net: emaclite: Enable driver for MIPS

2016-07-27 Thread Zubair Lutfullah Kakakhel
Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com> Reviewed-by: Paul Burton <paul.bur...@imgtec.com> --- drivers/net/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 88d8e83..4efb5d6 100644 -

[U-Boot] [PATCH 1/3] net: emaclite: Use ioremap_nocache

2016-07-27 Thread Zubair Lutfullah Kakakhel
Virtual to physical mapping isn't necessarily 1:1 for all architectures Using ioremap_nocache allows for the arch code to translate the physical address to a virtual address. Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.com> Reviewed-by: Paul Burton <paul.bur...@i

[U-Boot] [PATCH 0/2] MIPS: Add MIPSfpga u-boot port

2016-07-27 Thread Zubair Lutfullah Kakakhel
+ config files and very little C code. Based on v2016.09-rc1. Kindly accept these patches in this cycle. Regards, ZubairLK Zubair Lutfullah Kakakhel (2): mips: Add MIPSfpga platform support mips: xilfpga: Add device tree files arch/mips/Kconfig| 16 ++ arch/mips/dts

[U-Boot] [PATCH 0/3] net: emaclite: fixes and enable for MIPS

2016-07-27 Thread Zubair Lutfullah Kakakhel
Hi, This patch series changes the emaclite driver to be slightly more generic and then enables it for the MIPS arch. Regards, ZubairLK Zubair Lutfullah Kakakhel (3): net: emaclite: Use ioremap_nocache net: emaclite: use __raw_readl/writel instead of weird define net: emaclite: Enable

[U-Boot] [PATCH 2/2] mips: xilfpga: Add device tree files

2016-07-27 Thread Zubair Lutfullah Kakakhel
Mostly the same as the Kernel upstream device tree file except for - alias for the serial console node - ethernet node as the ethernet stuff isn't upstream on kernel.org yet - uart clock-frequency passed directly in the node Signed-off-by: Zubair Lutfullah Kakakhel <zubair.kakak...@imgtec.

[U-Boot] [PATCH 1/2] mips: Add MIPSfpga platform support

2016-07-27 Thread Zubair Lutfullah Kakakhel
MIPSfpga is an FPGA based dev platform. In a nutshell, its a microAptiv cpu core with lots of Xilinx IP blocks The FPGA dev board used is the Nexys4DDR board by Digilent. For more information, check the Readme file in board/imgtec/xilfpga Signed-off-by: Zubair Lutfullah Kakakhel <zubair.ka

Re: [U-Boot] [PATCH 1/3] MIPS: Move cache sizes to Kconfig

2016-05-31 Thread Zubair Lutfullah Kakakhel
Marek Vasut denx.de> writes: ... > > Off-topic: Is malta that mipsfpga or is that something else ? > Can I synthesise that mipsfpga into some altera FPGA ? If so, which one > is a good pick ? Hi Marek Malta is a generic MIPS evaluation platform. https://www.linux-mips.org/wiki/MIPS_Malta