ARM[] voiceblue update
Ladislav
Your patch is available for test from
git://linux-arm.org/u-boot-armdev.git#071212_voiceblue
Sorry for the delay.
Please confirm that it builds and runs on a voiceblue.
You have removed the voiceblue_smallflash_config board.
Can we be certain all such boards have disappeared?
Regards
Peter
Quoted 6 lines · Peter Pearse
Ladislav
Your patch is available for test fromgit://linux-arm.org/u-boot-armdev.git#071212_voiceblueSorry for the delay.
Please confirm that it builds and runs on a voiceblue.
Builds [1] and runs here...
Quoted 2 lines
You have removed the
voiceblue_smallflash_configboard. Can we be certain all such boards have disappeared?
These boards are still here. This configuration comes from times when we were unable to program flash using JTAG. So these boards come with 1MB flash which was programmed before soldering (yes, ungly) and u-boot running there (voiceblue_smallflash_config) was used to program "real" u-boot. Now, when we are using JTAG programmer, this configuration is no longer needed and thus removed. It was never intended be supported configuration. Newer boards comes without small flash.
Best regards,
ladis
[1] except that <asm/mpc8xxx_spi.h> is only available for ppc boards. Your patch from 24 Jan 2008 fixes that.
Quoted 11 lines
-----Original Message-----
From: Ladislav Michl [mailto:ladis at linux-mips.org] On Behalf Of Ladislav Michl
Sent: 28 January 2008 20:45
To: Peter Pearse
Cc: u-boot-users at lists.sourceforge.net
Subject: Re: ARM[] voiceblue updateOn Fri, Jan 25, 2008 at 05:24:54PM -0000, Peter Pearse wrote:
Quoted 9 lines
Quoted 6 lines
Ladislav
Your patch is available for test fromgit://linux-arm.org/u-boot-armdev.git#071212_voiceblueSorry for the delay.
Please confirm that it builds and runs on a voiceblue.Builds [1] and runs here...
Ladislav
I get one warning:-
cmd_jffs2.c:144:2: warning: #warning "MTDPARTS_DEFAULT not defined!"
Your patch removed
#define MTDPARTS_DEFAULT "mtdparts=omapflash.0:128k(uboot),64k(env),64k(r_env),16256k(data1),-(data2) "
from include/configs/voiceblue.h.
Should I replace that line, or delete the
#define CONFIG_CMD_JFFS2
line?
Regards
Peter
Quoted 9 lines · Peter Pearse
I get one warning:-
cmd_jffs2.c:144:2: warning: #warning "
MTDPARTS_DEFAULTnot defined!"Your patch removed
#define
MTDPARTS_DEFAULT"mtdparts=omapflash.0:128k(uboot),64k(env),64k(r_env),16256k(data1),-(data2) "
Hmm, it certainly wasn't my patch which removed MTDPARTS_DEFAULT. See this hunk:
@@ -221,19 +191,15 @@
*/
#define CONFIG_JFFS2_CMDLINE
#define MTDIDS_DEFAULT "nor0=omapflash.0"
-#define MTDPARTS_DEFAULT "mtdparts=omapflash.0:128k(uboot),64k(env),64k(r_env),16256k(data1),-(data2)"
-
-#endif /* VOICEBLUE_SMALL_FLASH */
+#define MTDPARTS_DEFAULT "mtdparts=omapflash.0:256k(u-boot),64k(env),64k(r_env),16192k(data0),-(data1)"
And diffing my vs. your version of voiceblue.h also brings interesting result.
configs/voiceblue.h renamed from voiceblue.h +1 -3
@@ -137,7 +137,6 @@#define CONFIG_CMD_PING #define CONFIG_CMD_RUN -/* * BOOTP options */
@@ -162,7 +161,7 @@"setpart=" \"if test -n $swapos; then " \"setenv swapos; saveenv; " \ -"if test $ospart -eq 0; then setenv ospart 1; else setenv ospart 0; fi; " \ +"if test $ospart -eq 0; then setenv ospart 1; else setenv ospart 0; +fi; " \"fi\0" \"setup=setenv bootargs console=ttyS0,$baudrate " \"mtdparts=$mtdparts\0" \
@@ -191,7 +190,6 @@*/ #define CONFIG_JFFS2_CMDLINE #define MTDIDS_DEFAULT "nor0=omapflash.0" -#define MTDPARTS_DEFAULT "mtdparts=omapflash.0:256k(u-boot),64k(env),64k(r_env),16192k(data0),-(data1)"/*
Indeed, I didn't notice, because partitioning was already saved in environment. Could you please revert your changes except removing that blank line (@@ -137,7 +137,6 @@)?
Best regards,
ladis
Quoted 12 lines
-----Original Message-----
From: Ladislav Michl [mailto:ladis at linux-mips.org]
Sent: 30 January 2008 21:24
To: Peter Pearse
Cc: u-boot-users at lists.sourceforge.net
Subject: Re: ARM[] voiceblue updateQuoted 2 lines · Peter Pearse
I get one warning:-
......snip
Quoted 10 lines
And diffing my vs. your version of
voiceblue.halso brings interesting result.Could you please revert your changes
except removing that blank line (@@ -137,7 +137,6 @@)?Best regards,
ladis
Aplogies - trying to keep to Coding Style line length.
I've applied
include/configs/voiceblue.h +0 -2
@@ -145,7 +145,6 @@#define CONFIG_BOOTP_HOSTNAME #define CONFIG_BOOTP_BOOTPATH -#define CONFIG_LOOPW #define CONFIG_BOOTDELAY 3
@@ -161,7 +160,8 @@"setpart=" \"if test -n $swapos; then " \"setenv swapos; saveenv; " \ - "if test $ospart -eq 0; then setenv ospart 1; else setenv
ospart 0; +fi; "\
+ "if test $ospart -eq 0; then setenv ospart 1; " \
+ "else setenv ospart 0; fi; " \
"fi\0" \
"setup=setenv bootargs console=ttyS0,$baudrate " \
"mtdparts=$mtdparts\0" \@@ -190,7 +190,8 @@
*/
#define CONFIG_JFFS2_CMDLINE
#define MTDIDS_DEFAULT "nor0=omapflash.0"
-
+#define MTDPARTS_DEFAULT
"mtdparts=omapflash.0:256k(u-boot),64k(env)," \
+ "64k(r_env),16192k(data0),-(data1)"
/*
* Miscellaneous configurable options
Please retry.
git://linux-arm.org/u-boot-armdev.git#071212_voiceblue
Regards
Peter