Hi Alexander ,Eddie,
  I merged the source from https://gerrit.openbmc-project.xyz/#/c/openbmc/openbmc/+/11500/,and kernel branch video-dev.
How to test the video kvm feature by phosphor-webui or command line?
Best,
xiuzhi


------------------ 原始邮件 ------------------
发件人: "Alexander A. Filippov"<a.filippov@yadro.com>;
发送时间: 2018年7月25日(星期三) 下午4:56
收件人: "openbmc"<openbmc@lists.ozlabs.org>;"xiuzhi"<1450335857@qq.com>;
主题: Re: KVM Support?

Hello everybody,

Could you check the size of `build/tmp/deploy/image/<platformname>/fitImage-openbmc-phosphor-initramfs-*.bin`?
If it exceeds 4456448 (0x440000) bytes, this is the problem described at https://github.com/openbmc/openbmc/issues/3314


In this case you should modify flash partitions layout or trying to decrease kernel size.

--
Alexander

On Wed, Jul 25, 2018 at 03:48:04PM +0800, xiuzhi wrote:
> Hi Eddie,
>
>
>   I read your KVM Support email on mailinglist.
>
>
> I am going to port the BMC kvm to ast2400 . The u-boot can not load kernel ,the error message read:
>
>
> ""U-Boot 2016.07 (Jul 23 2018 - 11:11:50 +0000)
>
>
> DRAM:  240 MiB
> WARNING: Caches not enabled
> Flash: 32 MiB
> *** Warning - bad CRC, using default environment
>
>
> In:    serial
> Out:   serial
> Err:   serial
> Net:   aspeednic#0
> Error: aspeednic#0 address not set.
>
>
> Hit any key to stop autoboot:  0
> ## Loading kernel from FIT Image at 20080000 ...
> Bad FIT kernel image format!
> ERROR: can't get kernel image!
> ast#
>
>
> I added  config options to defconfig of ast2400 as follows:
>
>
> CONFIG_MEDIA_SUPPORT=y
> CONFIG_MEDIA_CAMERA_SUPPORT=y
> CONFIG_MEDIA_SUPPORT=y
> CONFIG_MEDIA_CAMERA_SUPPORT=y
> # CONFIG_MEDIA_ANALOG_TV_SUPPORT is not set
> # CONFIG_MEDIA_DIGITAL_TV_SUPPORT is not set
> # CONFIG_MEDIA_RADIO_SUPPORT is not set
> # CONFIG_MEDIA_SDR_SUPPORT is not set
> # CONFIG_MEDIA_CEC_SUPPORT is not set
> # CONFIG_MEDIA_CONTROLLER is not set
> CONFIG_RATIONAL=y
> CONFIG_VIDEO_DEV=y
> CONFIG_VIDEO_V4L2=y
> CONFIG_V4L_PLATFORM_DRIVERS=y
> CONFIG_VIDEO_ASPEED=y
> CONFIG_MEDIA_SUBDRV_AUTOSELECT=y
>
>
> Need I modify the aspeed-bmc-opp-palmetto.dts and aspeed-g4.dtsi?
>
>
> Can you give me the file list need to modify?
>
>
> Thanks,
>
>
> xiuzhi