[U-Boot] [PATCH 0/5] Add device tree support for VxWorks

myan miao.yan at windriver.com
Tue Sep 17 04:14:35 CEST 2013


Hello Wolfgang,

> You intend to 1) just keep the existing 'bootvx' command for
> compatibility with older VxWorks versions, and 2) use plain 'bootm'
> for new versions, like we do for other OSes?


Yes, this is what I intended to implement, sorry for not being
more clear. The pesdo-code is like this:

   int do_bootm_vxworks(bootm_headers_t *images)
   {
       if (images->ft_addr)
          do_bootvx_fdt(images);
       else
          do_bootvx(NULL, 0, 0, NULL);
   }

So 'bootm' works with new versions of VxWorks if device tree blob
is provided, otherwise it falls back to 'bootvx'.

The original idea was to separate 'bootvx' from 'bootm' entirely,
but I am not sure how many users out there that depend on the old
  behavior, so I am inclined to keep it and not break anyone.

Could you help review the patches ? Thank you very much.

Miao



More information about the U-Boot mailing list