Commit 869efa44 authored by Sergei Poselenov's avatar Sergei Poselenov

RT75536. Redo the patch. Moved "mem=16M" from "addip" to "bootargs".

WheN left in "addip", this results in the boards hangup, see #76050.
parent 12fdfd84
......@@ -345,7 +345,7 @@
#define CONFIG_ZERO_BOOTDELAY_CHECK
#define CONFIG_HOSTNAME ea-lpc1788
#define CONFIG_BOOTARGS "lpc178x_platform=ea-lpc1788 "\
"console=ttyS0,115200 panic=10"
"console=ttyS0,115200 panic=10 mem=16M"
#define CONFIG_BOOTCOMMAND "run flashboot"
/*
......@@ -358,14 +358,7 @@
*/
#define CONFIG_EXTRA_ENV_SETTINGS \
"loadaddr=0xA0000000\0" \
"addip=setenv bootargs ${bootargs} " \
"ip=${ipaddr}:${serverip}:${gatewayip}:" \
"${netmask}:${hostname}:eth0:off " \
/* Loadable kernel modules do not work generally in */ \
/* configurations where there is more than 16 MBytes */ \
/* of RAM available. The following is the workaround */ \
/* for this defect. */ \
"mem=16M\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" \
......
......@@ -289,7 +289,7 @@
#define CONFIG_ZERO_BOOTDELAY_CHECK
#define CONFIG_HOSTNAME stm3220g-eval
#define CONFIG_BOOTARGS "stm32_platform=stm3220g-eval "\
"console=ttyS2,115200 panic=10"
"console=ttyS2,115200 panic=10 mem=16M"
#define CONFIG_BOOTCOMMAND "run flashboot"
#define CONFIG_SYS_CONSOLE_IS_IN_ENV
......@@ -299,14 +299,7 @@
*/
#define CONFIG_EXTRA_ENV_SETTINGS \
"loadaddr=0x64000000\0" \
"addip=setenv bootargs ${bootargs} " \
"ip=${ipaddr}:${serverip}:${gatewayip}:" \
"${netmask}:${hostname}:eth0:off " \
/* Loadable kernel modules do not work generally in */ \
/* configurations where there is more than 16 MBytes */ \
/* of RAM available. The following is the workaround */ \
/* for this defect. */ \
"mem=16M\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" \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment