AnsweredAssumed Answered

U-boot variable substitution bug?

Question asked by juha panula-ontto on Oct 1, 2018
Latest reply on Oct 19, 2018 by Victor Linnik

Using uboot-2016.03 for iMX6ul I'm having very odd behaving..

When I use 

bootcmd=nand read ${loadaddr} 0x500000 0xA00000;nand read ${fdt_addr} 0xF00000 0x100000;bootz ${loadaddr} - ${fdt_addr}

Auto boot hung after starting kernel message.

If I stop auto boot and type boot or similar, kernel starts OK.

BUT when I set

setenv bootcmd 'nand read ${loadaddr} 0x500000 0xA00000;nand read ${fdt_addr} 0xF00000 0x100000;bootz 0x80800000 - 0x83000000'

Kernel start OK by automatic boot or after power up.

So just replacing last substitution with real values everything works.

Can it be hush shell bug inside u-boot or some more space needed somewhere (CONFIG?)

Anyone seen similar?

Outcomes