[U-Boot] qemu_mips - CONFIG_SYS_MONITOR_LEN is too small

2017-04-10 Thread Kyle Edwards
Hi all, I recently tried to use u-boot on the qemu_mips platform, and running the saveenv command causes u-boot to not boot after a reset. I followed these steps: $ git clone git://git.denx.de/u-boot.git $ cd u-boot $ git checkout v2017.05-rc1 $ export CROSS_COMPILE=mips-linux-gnu- $ make qem

[U-Boot] [PATCH 1/2] mips: qemu-mips: Remove obsolete CONFIG_SYS_MONITOR_LEN from config

2017-04-11 Thread Kyle Edwards
. Because CONFIG_SYS_MONITOR_LEN is no longer used on MIPS, this patch removes it and places the environment at the end of the pseudoboard's 4MB flash. Signed-off-by: Kyle Edwards Cc: Daniel Schwierzeck --- include/configs/qemu-mips.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

[U-Boot] [PATCH 0/2] Fix several bugs in qemu-mips configuration

2017-04-11 Thread Kyle Edwards
I recently played around with the qemu-mips configuration, and encountered several issues. Saving the environment to flash overwrites the U-Boot code, and the malloc pool isn't big enough for initr_malloc_bootparams(). This patchset fixes these issues. Kyle Edwards (2): mips: qemu-mips: R

[U-Boot] [PATCH 2/2] mips: qemu-mips: Expand malloc pool to fit CONFIG_SYS_BOOTPARAMS_LEN

2017-04-11 Thread Kyle Edwards
-by: Kyle Edwards Cc: Daniel Schwierzeck --- include/configs/qemu-mips.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/qemu-mips.h b/include/configs/qemu-mips.h index b67d413..59a793b 100644 --- a/include/configs/qemu-mips.h +++ b/include/configs/qemu-mips.h

[U-Boot] [PATCH-v2 2/2] mips: qemu-mips/64: Expand malloc pool for CONFIG_SYS_BOOTPARAMS_LEN

2017-04-12 Thread Kyle Edwards
-by: Kyle Edwards Cc: Daniel Schwierzeck --- include/configs/qemu-mips.h | 2 +- include/configs/qemu-mips64.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/qemu-mips.h b/include/configs/qemu-mips.h index b67d413..59a793b 100644 --- a/include/configs/qemu

[U-Boot] [PATCH-v2 0/2] Fix several bugs in qemu-mips/64 configurations

2017-04-12 Thread Kyle Edwards
I recently played around with the qemu-mips/64 configurations, and encountered several issues. Saving the environment to flash overwrites the U-Boot code, and the malloc pool isn't big enough for initr_malloc_bootparams(). This patchset fixes these issues. Kyle Edwards (2): mips: qemu-mi

[U-Boot] [PATCH-v2 1/2] mips: qemu-mips/64: Remove obsolete CONFIG_SYS_MONITOR_LEN from config

2017-04-12 Thread Kyle Edwards
. Because CONFIG_SYS_MONITOR_LEN is no longer used on MIPS, this patch removes it and places the environment at the end of the pseudoboard's 4MB flash. Signed-off-by: Kyle Edwards Cc: Daniel Schwierzeck --- include/configs/qemu-mips.h | 3 +-- include/configs/qemu-mips64.h | 3 +-- 2