* [U-Boot] [PATCH] arm: socfpga: Add missing CONFIG_BUILD_TARGET
@ 2016-02-11 13:02 Marek Vasut
2016-02-11 13:54 ` Bakhvalov, Denis
0 siblings, 1 reply; 4+ messages in thread
From: Marek Vasut @ 2016-02-11 13:02 UTC (permalink / raw)
To: u-boot
Add the missing CONFIG_BUILD_TARGET to get u-boot-with-spl.sfp built
automatically upon running make in the source tree.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Chin Liang See <clsee@altera.com>
Cc: Denis Bakhvalov <denis.bakhvalov@nokia.com>
---
include/configs/socfpga_common.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index 8de0ab9..0501bd1 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -30,6 +30,9 @@
#define CONFIG_TIMESTAMP /* Print image info with timestamp */
+/* add target to build it automatically upon "make" */
+#define CONFIG_BUILD_TARGET "u-boot-with-spl.sfp"
+
/*
* Memory configurations
*/
--
2.1.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] arm: socfpga: Add missing CONFIG_BUILD_TARGET
2016-02-11 13:02 [U-Boot] [PATCH] arm: socfpga: Add missing CONFIG_BUILD_TARGET Marek Vasut
@ 2016-02-11 13:54 ` Bakhvalov, Denis
2016-02-11 13:59 ` Marek Vasut
0 siblings, 1 reply; 4+ messages in thread
From: Bakhvalov, Denis @ 2016-02-11 13:54 UTC (permalink / raw)
To: u-boot
$ quartus_hps -c 1 -o PV -a 0x0 u-boot-with-spl.sfp.bin
// here ".bin" because current programmer requires so. I think it shouldn't be a problem.
From manual:
"HPS Flash Programmer
The utility accepts a Binary File with a required ".bin" extension.
The HPS flash programmer command-line syntax is:
quartus_hps <options> <file.bin>"
Info: Version 13.1.0 Build 162 10/23/2013 SJ Full Version
After that I power off/on the unit and nothing happened.
I also compared md5 while copying - everything should be ok.
I tried it 2 times with no success:
Looks like unit is no booting.
No output in the console is visible.
If I change the images back (that is currently in official release) - at least bootloader pass and u-boot is also launching.
Does it mean that there is something wrong with SPL configuration?
Or maybe I need some patches from altera in order to make them working?
Because I can see some traces of applied patches in the svn history.
Best regards,
Denis Bakhvalov
MBB Radio Platforms, RFSW
-----Original Message-----
From: EXT Marek Vasut [mailto:marex at denx.de]
Sent: Thursday, February 11, 2016 14:02
To: u-boot at lists.denx.de
Cc: Marek Vasut <marex@denx.de>; Dinh Nguyen <dinguyen@opensource.altera.com>; Chin Liang See <clsee@altera.com>; Bakhvalov, Denis (Nokia - PL/Wroclaw) <denis.bakhvalov@nokia.com>
Subject: [PATCH] arm: socfpga: Add missing CONFIG_BUILD_TARGET
Add the missing CONFIG_BUILD_TARGET to get u-boot-with-spl.sfp built
automatically upon running make in the source tree.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Chin Liang See <clsee@altera.com>
Cc: Denis Bakhvalov <denis.bakhvalov@nokia.com>
---
include/configs/socfpga_common.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index 8de0ab9..0501bd1 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -30,6 +30,9 @@
#define CONFIG_TIMESTAMP /* Print image info with timestamp */
+/* add target to build it automatically upon "make" */
+#define CONFIG_BUILD_TARGET "u-boot-with-spl.sfp"
+
/*
* Memory configurations
*/
--
2.1.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] arm: socfpga: Add missing CONFIG_BUILD_TARGET
2016-02-11 13:54 ` Bakhvalov, Denis
@ 2016-02-11 13:59 ` Marek Vasut
2016-02-11 14:01 ` Bakhvalov, Denis
0 siblings, 1 reply; 4+ messages in thread
From: Marek Vasut @ 2016-02-11 13:59 UTC (permalink / raw)
To: u-boot
On 02/11/2016 02:54 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote:
> $ quartus_hps -c 1 -o PV -a 0x0 u-boot-with-spl.sfp.bin
> // here ".bin" because current programmer requires so. I think it shouldn't be a problem.
Please, avoid top-posting.
Also, please keep one discussion in one thread, don't post random stuff
in unrelated threads. Please repost this in the original thread, so we
can continue.
> From manual:
> "HPS Flash Programmer
> The utility accepts a Binary File with a required ".bin" extension.
> The HPS flash programmer command-line syntax is:
> quartus_hps <options> <file.bin>"
>
> Info: Version 13.1.0 Build 162 10/23/2013 SJ Full Version
>
> After that I power off/on the unit and nothing happened.
> I also compared md5 while copying - everything should be ok.
>
> I tried it 2 times with no success:
> Looks like unit is no booting.
> No output in the console is visible.
>
> If I change the images back (that is currently in official release) - at least bootloader pass and u-boot is also launching.
>
> Does it mean that there is something wrong with SPL configuration?
> Or maybe I need some patches from altera in order to make them working?
> Because I can see some traces of applied patches in the svn history.
>
> Best regards,
> Denis Bakhvalov
>
> MBB Radio Platforms, RFSW
>
> -----Original Message-----
> From: EXT Marek Vasut [mailto:marex at denx.de]
> Sent: Thursday, February 11, 2016 14:02
> To: u-boot at lists.denx.de
> Cc: Marek Vasut <marex@denx.de>; Dinh Nguyen <dinguyen@opensource.altera.com>; Chin Liang See <clsee@altera.com>; Bakhvalov, Denis (Nokia - PL/Wroclaw) <denis.bakhvalov@nokia.com>
> Subject: [PATCH] arm: socfpga: Add missing CONFIG_BUILD_TARGET
>
> Add the missing CONFIG_BUILD_TARGET to get u-boot-with-spl.sfp built
> automatically upon running make in the source tree.
>
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
> Cc: Chin Liang See <clsee@altera.com>
> Cc: Denis Bakhvalov <denis.bakhvalov@nokia.com>
> ---
> include/configs/socfpga_common.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
> index 8de0ab9..0501bd1 100644
> --- a/include/configs/socfpga_common.h
> +++ b/include/configs/socfpga_common.h
> @@ -30,6 +30,9 @@
>
> #define CONFIG_TIMESTAMP /* Print image info with timestamp */
>
> +/* add target to build it automatically upon "make" */
> +#define CONFIG_BUILD_TARGET "u-boot-with-spl.sfp"
> +
> /*
> * Memory configurations
> */
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] arm: socfpga: Add missing CONFIG_BUILD_TARGET
2016-02-11 13:59 ` Marek Vasut
@ 2016-02-11 14:01 ` Bakhvalov, Denis
0 siblings, 0 replies; 4+ messages in thread
From: Bakhvalov, Denis @ 2016-02-11 14:01 UTC (permalink / raw)
To: u-boot
Sorry.
My bad.
Best regards,
Denis Bakhvalov
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-02-11 14:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-11 13:02 [U-Boot] [PATCH] arm: socfpga: Add missing CONFIG_BUILD_TARGET Marek Vasut
2016-02-11 13:54 ` Bakhvalov, Denis
2016-02-11 13:59 ` Marek Vasut
2016-02-11 14:01 ` Bakhvalov, Denis
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.