On 07/06/15 12:59, John Hughes wrote:
Maybe not completely my fault? The instructions say: setenv bootargs_console console=ttyS0,115200 setenv bootcmd_mmc 'ext2load mmc 0:1 0x00800000 /uImage; ext2load mmc 0:1 0x01100000 /uInitrd' setenv bootcmd 'setenv bootargs $(bootargs_console); run bootcmd_mmc; bootm 0x00800000 0x01100000' saveenv But when I try doing it like that I get: It looks like the interpolation is not working. My system boots ok with:U-Boot 2014.10+dfsg1-5 (Apr 07 2015 - 21:57:04) Marvell-Sheevaplug SoC: Kirkwood 88F6281_A0 DRAM: 512 MiB WARNING: Caches not enabled NAND: 512 MiB MMC: MVEBU_MMC: 0 In: serial Out: serial Err: serial Net: egiga0 88E1116 Initialized on egiga0 Warning: Your board does not use generic board. Please read doc/README.generic-board and take action. Boards not upgraded by the late 2014 may break or be removed. Hit any key to stop autoboot: 0 Marvell>> setenv teststring abcdef Marvell>> setenv testcmd 'setenv testvar $(teststring)' Marvell>> run testcmd Marvell>> printenv testvar testvar=$(teststring) But I get no console output with :bootcmd=setenv bootargs console=ttyS0,115200n8; run bootcmd_mmc; bootm 0x00800000 0x01100000 bootcmd=setenv bootargs $(bootargs_console); run bootcmd_mmc; bootm 0x00800000 0x01100000 |