[Armadillo:02925] Re: Armadillo240のVGAにコンソール

ログ電子\(吉岡\) email@hidden
2008年 5月 28日 (水) 13:22:31 JST


お世話になります。
ご返事が遅くなりまして申し訳ありません。

nakaiさんの設定通りにしてイメージを作成しArmadillo-240に転送し再起動後
シリアルコンソールで「getty -L 115200 /dev/tty1 &」を実行で
VGAモニターに「a240-0 login:」プロンプトが表示

確認でシリアルコンソール側から「echo 1234567890 > /dev/tty1」で
VGAモニターに「1234567890」が表示されました。
有難うございました。



> nakaiです。
>
> 見落としていましたが、
>
> >     <*> Virtual Frame Buffer support (ONLY FOR TESTING!)
>
> このチェックも外してください。
> # コンパイルは通るかもしれませんが。。
>
> 私が示したのは、A240のデフォルトコンフィグレーションからの
> 変更点です。下記 6箇所について変更するようお願いします。
>
> >> Device Drivers  --->
> >> [*] Virtual terminal
> >> [*]   Support for console on virtual terminal
> >>
> >> Graphics support  --->
> >> Console display driver support  --->
> >> [ ] VGA text console
> >> <*> Framebuffer Console support
> >> [*] Select compiled-in fonts
> >> [*]   VGA 8x16 font
>
>
>
> ログ電子(吉岡) さんは書きました:
> > 御世話になります。
> >
> > カーネル:v2.6.12.3-a9-13
> > Atmark-dist:v20071214
> >
> > で以下の設定をしました。
> >
> > Device Drivers  --->
> >   Character devices  --->
> >     [*] Virtual terminal
> >     [*]   Support for console on virtual terminal
> >   Graphics support --->
> >     <*> Virtual Frame Buffer support (ONLY FOR TESTING!)
> >         Console display driver support  --->
> >         [*] VGA text console
> >         <*> Framebuffer Console support
> >         [*] Select compiled-in fonts
> >         [ ]   VGA 8x8 font
> >         [*]   VGA 8x16 font
> >
> > makeすると
> >
> >   CC      drivers/video/console/vgacon.o
> > drivers/video/console/vgacon.c: In function ‘vgacon_startup’:
> > drivers/video/console/vgacon.c:289: error: ‘PCIMEM_BASE’ undeclared
(first
> > use in this function)
> > drivers/video/console/vgacon.c:289: error: (Each undeclared identifier
is
> > reported only once
> > drivers/video/console/vgacon.c:289: error: for each function it appears
in.)
> > drivers/video/console/vgacon.c: In function ‘vgacon_do_font_op’:
> > drivers/video/console/vgacon.c:732: error: ‘PCIMEM_BASE’ undeclared
(first
> > use in this function)
> > make[4]: *** [drivers/video/console/vgacon.o] エラー 1
> > make[3]: *** [drivers/video/console] エラー 2
> > make[2]: *** [drivers/video] エラー 2
> > make[1]: *** [drivers] エラー 2
> > make[1]: ディレクトリ `/home/atmark/linux-2.6.12.3-a9-13' から出ます
> > make: *** [linux] エラー 1
> >
> > でコンパイルエラーとなり先に進まない状態です。
> >
> >>>> kernel: (たぶん)linux-2.6.12.3-a9-12
> >>>> userland: (たぶん)atmark-dist v1.14.0 (Armadillo-240.Recover)
> >
> > とかいてあったのでCDに入っていたカーネル(2.6.12.3-a9-12)で設定しました
が
> > 同じコンパイルエラーとなりました。
> >
> > http://armadillo.atmark-techno.com/faq/vt-enable-failed
> >
> > に「バーチャルターミナルを有効にすると、コンパイルに失敗します」
> > と同じ状態です。
> >
> > <*> Framebuffer Console support
> > だけマークするとコンパイルは通りますが
> > getty -L 115200 /dev/tty1 &
> > をしても何も表示されません。
> >
> >
> >
> >
> >> nakaiです。
> >>
> >> kernelのコンフィグレーションは、以下のようにしてください。
> >>
> >> Device Drivers  --->
> >> [*] Virtual terminal
> >> [*]   Support for console on virtual terminal
> >>
> >> Graphics support  --->
> >> Console display driver support  --->
> >> [ ] VGA text console
> >> <*> Framebuffer Console support
> >> [*] Select compiled-in fonts
> >> [*]   VGA 8x16 font
> >>
> >> userlandは、
> >>
> >
http://download.atmark-techno.com/armadillo-240/images/romfs-a240-base-1.06.img.gz
> >> のままです。
> >>
> >> 起動しログイン後、
> >> getty -L 38400 tty1 &
> >> を実行してください。
> >>
> >> イメージに反映させるには、
> >> [Armadillo:1208]:
> >> を参照してください。
> >>
> >>
> >>
> >> nakai さんは書きました:
> >>> nakaiです。
> >>>
> >>>
> >
http://download.atmark-techno.com/armadillo-240/images/linux-a240-1.07.bin.gz
> >
http://download.atmark-techno.com/armadillo-240/images/romfs-a240-base-1.06.img.gz
> >>> で試してみましたが、gettyを実行するだけではダメですね。
> >>> kernelのコンフィグレーションの変更箇所を後ほど連絡しますね。
> >>>
> >>>
> >>> nakai さんは書きました:
> >>>> nakaiです。
> >>>>
> >>>> ちょうどA240が手元にあったので試してみました。
> >>>>
> >>>> シリアルコンソールで
> >>>>
> >>>> getty -L 115200 /dev/tty1 &
> >>>>
> >>>> と打ったら出ませんか?
> >>>>
> >>>> ちなみに、試したイメージは、
> >>>> kernel: (たぶん)linux-2.6.12.3-a9-12
> >>>> userland: (たぶん)atmark-dist v1.14.0 (Armadillo-240.Recover)
> >>>> です。
> >>>> # どんな状態なものなのか把握していないので、カスタマイズされてるかも
し
> > れませんが。。
> >>>>
> >>>>
> >>>>
> >>>> ログ電子(吉岡) さんは書きました:
> >>>>> Armadillo240のVGAにコンソールにしたいのですが。
> >>>>> 過去にArmadillo:1204で質問されている方がいたので
> >>>>> それをもとにやってみたのですがうまくいきません。
> >>>>>
> >>>>> 過去のarmadillo240_defconfigはLinux kernel versionは2.6.12.3-a9-5で
> >>>>> 現在私が変更しているLinux kernel versionは2.6.12.3-a9-13です。
> >>>>>
> >>>>> 設定ファイルも更新されてて違うようなので
> >>>>> 過去の設定ではうまくいた無いのでしょうか?
> >>>>>
> >>>>> 宜しくお願いします。
> >




armadillo メーリングリストの案内