U-boot variable substitution bug?

cancel
Showing results for 
Search instead for 
Did you mean: 

U-boot variable substitution bug?

364 Views
juhapanula-ontt
Contributor I

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?

Labels (3)
0 Kudos
1 Reply

182 Views
b36401
NXP TechSupport
NXP TechSupport

Please make sure that there are no special characters among the command.
I mean if you copy the lines from text editor there may be some non-ascii characters.

Have a great day,
Victor

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos