On 4/13/21 12:53 AM, Sean Anderson wrote:
This allows using dev#partlabel syntax.

Signed-off-by: Sean Anderson <sean.ander...@seco.com>

Since this patch was merged as commit 7194527b the command 'ls host'
leads to a segmentation violation:

=> host bind 0 ../sandbox.img
=> setenv bootdevice 0:1
=> ls host

Segmentation violation
pc = 0x55a5b66b7ec1, pc_reloc = 0x55a5a66b7ec1

Writing sandbox state

Before the patch:

=> host bind 0 ../sandbox.img
=> setenv bootdevice 0:1
=> ls host
      148   boot.scr
            Test/

1 file(s), 1 dir(s)

Please, provide a fix for your patch and a unit test using 'setenv
bootdevice' to avoid future mischief.

Best regards

Heinrich

Reply via email to