[U-Boot] setenv with semicolon inside

Hi!
Perhaps it was discussed somewhere, but...
I'm trying to update U-Boot on Intel Edison from stock to latest one, i.e. v2016.11-rc3.
There is a default U-Boot environment which has, in particular, the following for DFU to make it automatically work:
do_dfu_alt_info_mmc=setenv dfu_alt_info "ifwi${hardware_id} mmc 0 8192 mmcpart 1;ifwib${hardware_id} mmc 0 8192 mmcpart 2;u-boot0 part 0 1;u-boot-env0 part 0 2;u-boot1 part 0 3;u-boot-env1 part 0 4;boot part 0 7;rootfs part 0 8;update part 0 9;home part 0 10;vmlinuz fat 0 7;initrd fat 0 7"
${hardware_id} is set by U-Boot itself (it's a value hardcoded somewhere in firmware).
When I try to
run do_dfu_alt_info_mmc
I have got
Initial value for argc=8 Final value for argc=8 Unknown command 'ifwib00' - try 'help' Unknown command 'u-boot0' - try 'help' Unknown command 'u-boot-env0' - try 'help' Unknown command 'u-boot1' - try 'help' Unknown command 'u-boot-env1' - try 'help' boot - boot default, i.e., run 'bootcmd'
Usage: boot Unknown command 'rootfs' - try 'help' Unknown command 'update' - try 'help' Unknown command 'home' - try 'help' Unknown command 'vmlinuz' - try 'help' Unknown command 'initrd' - try 'help' Initial value for argc=3 Final value for argc=3 Saving Environment to MMC... Writing to MMC(0)... done dfu_config_entities: dfu_alt_num=1 dfu_fill_entity: "ifwi00 mmc 0 8192 mmcpart 1 interface: mmc dev: 0
Which obviously show that double quote is ignored. Was it previous behaviour that has been altered by custom patches? Or this is a regression/feature of newer U-Boot?
In any case what are the recommendation to fix it?

On Tue, Nov 15, 2016 at 11:53 AM, Andy Shevchenko andy.shevchenko@gmail.com wrote:
Perhaps it was discussed somewhere, but...
Which obviously show that double quote is ignored. Was it previous behaviour that has been altered by custom patches? Or this is a regression/feature of newer U-Boot?
In any case what are the recommendation to fix it?
Okay, CONFIG_HUSH_PARSER=y solves the problem.
participants (1)
-
Andy Shevchenko