Commit 352d0d93 authored by Alessandro Rubini's avatar Alessandro Rubini

barebox environment: install with mem=32M

With mem=64M we have some sdram corruption, with "bad page state".
This is unexplained, and the sam-ba code is so difficult to fix, that
we'd better just install with 32M of sdram.  At runtime we use a fixed
at91boot, so 64M work properly.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <>
parent 4253cfd2
......@@ -14,7 +14,8 @@ memcmp -s /dev/mem -d /env/magicstr 0x717FFFF8 0x0 8
if [ $? -eq 0 ]; then
echo "Booting kernel for NAND flashing procedure"
dhcp 5
bootargs="console=ttyS0,115200 panic=10 mem=64M"
# It looks like our sam-ba setup, for installing, fails at mem=64M
bootargs="console=ttyS0,115200 panic=10 mem=32M"
bootargs="$bootargs initrd=0x71800000,4M"
bootargs="$bootargs root=/dev/ram0"
bootargs="$bootargs SERVERIP=$eth0.serverip WRS_INSTALLING=y"
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