Commit 10dd9188 authored by Alexander Potashev's avatar Alexander Potashev

RT75536. Workaround: "mem=16M" for ea-lpc1788 & stm3220g-eval

Pass "mem=16M" parameter to the Linux kernel on the boards
`ea-lpc1788` and `stm3220g-eval`.
parent f7f0368d
......@@ -353,13 +353,20 @@
*/
#define CONFIG_EXTRA_ENV_SETTINGS \
"loadaddr=0xA0000000\0" \
"addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:eth0:off\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" \
"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=lpc178x/uImage\0" \
"image=lpc178x/uImage\0" \
"netboot=tftp ${image};run addip;bootm\0"
/*
......
......@@ -299,8 +299,15 @@
*/
#define CONFIG_EXTRA_ENV_SETTINGS \
"loadaddr=0x64000000\0" \
"addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:eth0:off\0" \
"flashaddr=60020000\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" \
"flashaddr=60020000\0" \
"flashboot=run addip;bootm ${flashaddr}\0" \
"ethaddr=C0:B1:3C:88:88:88\0" \
"ipaddr=172.17.4.206\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