On Tue, 14 Aug 2018 at 12:18, ljh_dev <ljh_dev@126.com> wrote:
I have an important question neet to clarify.
For exampe when I manunl boot kernel by uboot, once board startup  and into uboot interactive environment, I manual input follow command as:
 setenv image  zImage_mx....
 setenv nfsroot  /rootfs/rootfs001....
 ... 
if I whan to dispatcher to boot the board kernel, I need write job definition,Is it written like this?:

Not in the test job, no. Those instructions need to be part of the device-type Jinja2 configuration because the actual values will need to be replaced with the temporary filepaths.

 
 boot:
   # list of boot methods which this device supports.
   methods:
     - u-boot:
         parameters:
         ...
         oe:
           commands:
           - setenv image  zImage_mx....
           - setenv nfsroot  /rootfs/rootfs001....


 

_______________________________________________
Lava-users mailing list
Lava-users@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lava-users


--

Neil Williams
=============
neil.williams@linaro.org
http://www.linux.codehelp.co.uk/