From: =?gb18030?B?eGl1emhp?= <1450335857@qq.com>
To: =?gb18030?B?RWRkaWUgSmFtZXM=?= <eajames@linux.vnet.ibm.com>,
=?gb18030?B?QWxleGFuZGVyIEEuIEZpbGlwcG92?= <a.filippov@yadro.com>,
=?gb18030?B?b3BlbmJtYw==?= <openbmc@lists.ozlabs.org>
Subject: =?gb18030?B?u9i4tKO6ILvYuLSjuiBLVk0gU3VwcG9ydD8=?=
Date: Wed, 1 Aug 2018 14:58:48 +0800 [thread overview]
Message-ID: <tencent_BB8BB82E707F37E6359235EEA9FA2B9DCD0A@qq.com> (raw)
In-Reply-To: <5dababc2-4245-46fd-3989-c8a97d064e24@linux.vnet.ibm.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb18030", Size: 3821 bytes --]
Hi Eddie,
My bmc is AST2400, I modified the aspeed-g4.dtsi(adding gfx: display@1e6e6000 and video: video@1e700000)
and the aspeed-bmc-opp-xxx.dts (adding &video &vhub) .
An error occured when I executed the following instructions:
root@zhaoxinc:~# create_usbhid.sh
root@zhaoxinc:~# obmc-ikvm -v /dev/video0 -i /dev/hidg0
[ 125.586061] aspeed-video 1e700000.video: timed out on 1st mode detect
[ 125.602732] aspeed-video 1e700000.video: Failed to start video engine
failed to open /dev/video0: 62 Timer expired
Need I modify drivers/media/platform/aspeed-video.c or any other files?
Thanks ,
Xiuzhi
On 07/31/2018 01:52 AM, xiuzhi wrote:
> 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?
Hi,
You need to make sure the video device is enabled in your device-tree
for the machine you use... My kernel patch enabled it for our AST2500
witherspoon system. If you're using AST2500 as well, then you just need
something like:
&video {
status = "okay";
memory-region = <&gfx_memory>;
};
And the virtual USB hub:
&vhub {
status = "okay";
};
If you're not using AST2500, you'll need more changes to device-tree.
Then on the BMC command line:
create_usbhid.sh
obmc-ikvm -v /dev/video0 -i /dev/hidg0
And connect with any VNC client to port 0 of your BMC IP.
Thanks,
Eddie
> 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
[-- Attachment #2: Type: text/html, Size: 4932 bytes --]
next prev parent reply other threads:[~2018-08-01 7:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-25 7:48 KVM Support? xiuzhi
2018-07-25 8:56 ` Alexander A. Filippov
2018-07-25 9:12 ` xiuzhi
2018-07-31 6:52 ` =?gb18030?B?u9i4tKO6IEtWTSBTdXBwb3J0Pw==?= =?gb18030?B?eGl1emhp?=
2018-07-31 14:35 ` 回复: KVM Support? Eddie James
2018-08-01 6:58 ` =?gb18030?B?eGl1emhp?= [this message]
2018-08-01 8:47 =?gb18030?B?u9i4tKO6ILvYuLSjuiBLVk0gU3VwcG9ydD8=?= =?gb18030?B?eGl1emhp?=
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tencent_BB8BB82E707F37E6359235EEA9FA2B9DCD0A@qq.com \
--to=1450335857@qq.com \
--cc=a.filippov@yadro.com \
--cc=eajames@linux.vnet.ibm.com \
--cc=openbmc@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.