Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sami Nurmenniemi
u-boot-stm32
Commits
f7f0368d
Commit
f7f0368d
authored
Dec 02, 2011
by
Sergei Poselenov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RT #73025, #72064 LPC and STM: Set "bootcmd" to "run flashboot".
parent
89a82c1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
include/configs/ea-lpc1788.h
include/configs/ea-lpc1788.h
+5
-3
include/configs/stm3220g-eval.h
include/configs/stm3220g-eval.h
+3
-1
No files found.
include/configs/ea-lpc1788.h
View file @
f7f0368d
...
...
@@ -29,7 +29,7 @@
/*
* Disable debug messages
*/
//
#undef DEBUG
#undef DEBUG
/*
* This is an ARM Cortex-M3 CPU core
...
...
@@ -341,7 +341,7 @@
#define CONFIG_HOSTNAME ea-lpc1788
#define CONFIG_BOOTARGS "lpc178x_platform=ea-lpc1788 "\
"console=ttyS0,115200 panic=10"
#define CONFIG_BOOTCOMMAND "run
net
boot"
#define CONFIG_BOOTCOMMAND "run
flash
boot"
/*
* This ensures that the board-specific misc_init_r() gets invoked.
...
...
@@ -354,10 +354,12 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"loadaddr=0xA0000000\0" \
"addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:eth0:off\0" \
"flashaddr=80020000\0" \
"flashboot=run addip;bootm ${flashaddr}\0" \
"ethaddr=C0:B1:3C:88:88:88\0" \
"ipaddr=172.17.4.206\0" \
"serverip=172.17.0.1\0" \
"image=lpc17
x
x/uImage\0" \
"image=lpc17
8
x/uImage\0" \
"netboot=tftp ${image};run addip;bootm\0"
/*
...
...
include/configs/stm3220g-eval.h
View file @
f7f0368d
...
...
@@ -290,7 +290,7 @@
#define CONFIG_HOSTNAME stm3220g-eval
#define CONFIG_BOOTARGS "stm32_platform=stm3220g-eval "\
"console=ttyS2,115200 panic=10"
#define CONFIG_BOOTCOMMAND "run
net
boot"
#define CONFIG_BOOTCOMMAND "run
flash
boot"
#define CONFIG_SYS_CONSOLE_IS_IN_ENV
...
...
@@ -300,6 +300,8 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"loadaddr=0x64000000\0" \
"addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:eth0:off\0" \
"flashaddr=60020000\0" \
"flashboot=run addip;bootm ${flashaddr}\0" \
"ethaddr=C0:B1:3C:88:88:88\0" \
"ipaddr=172.17.4.206\0" \
"serverip=172.17.0.1\0" \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment