[oe] fso-console-image problems
Martin Jansa
martin.jansa at gmail.com
Sat Dec 3 16:52:13 UTC 2011
On Sat, Dec 03, 2011 at 04:37:34PM +0000, Mr Dash Four wrote:
>
> > Instead of trying to edit the file manually, try "make xconfig" in the
> > directory where the kernel is extracted(something like work/htcdream*/linux-
> > leviathan*/git/ ) and do it manually trough the GUI, then save back the
> > resulting defconfig, increase PR in the recipe and rebuild your console-image.
> >
> That as a very good advice, thank you! The versioning "magic" is
> something I didn't know about (I always used to delete all related files
> in the tmp/stamp directory in the futile hope that the process/steps
> will be repeated at the next run).
>
> OK, since I use rm_work, the git directory is no longer there, but I've
> had the git tar archive, so unpacked it, copied defconfig, renamed it to
> .config and ran "make ARCH=arm menuconfig" (I prefer ncurses myself),
then you will like:
bitbake -c menuconfig virtual/kernel
and to save defconfig you can use -c savedefconfig (not 100% sure it's
available in linux-leviathan in OE-classic).
> then switched the appropriate option on and saved the new file. I wasn't
> sure whether I should also switch the FRAMEBUFFER_CONSOLE_DETECT_PRIMARY
> option as I was not sure of its meaning and whether I actually need
> this, so left it as the default (empty/No). When I ran diff to see what
> has been changed the following has been altered:
>
> --- defconfig 2011-11-19 16:35:46.000000000 +0000
> +++ .config 2011-12-03 15:42:13.123656047 +0000
> @@ -1,7 +1,7 @@
> #
> # Automatically generated make config: don't edit
> # Linux kernel version: 2.6.32.9
> -# Fri Aug 27 19:32:05 2010
> +# Sat Dec 3 15:42:13 2011
> #
> CONFIG_ARM=y
> CONFIG_SYS_SUPPORTS_APM_EMULATION=y
> @@ -1199,7 +1199,12 @@
> #
> # CONFIG_VGA_CONSOLE is not set
> CONFIG_DUMMY_CONSOLE=y
> -# CONFIG_FRAMEBUFFER_CONSOLE is not set
> +CONFIG_FRAMEBUFFER_CONSOLE=y
> +# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
> +CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
> +# CONFIG_FONTS is not set
> +CONFIG_FONT_8x8=y
> +CONFIG_FONT_8x16=y
> # CONFIG_LOGO is not set
> CONFIG_SOUND=y
> CONFIG_SOUND_OSS_CORE=y
> @@ -1233,11 +1238,9 @@
> CONFIG_SND_SOC=y
>
> #
> -# MSM SoC Audio support
> +# SoC Audio support Qualcomm
> #
> CONFIG_SND_MSM_SOC=y
> -CONFIG_SND_MSM_DAI_SOC=y
> -CONFIG_SND_MSM_SOC_MSM7K=y
> CONFIG_SND_SOC_I2C_AND_SPI=y
> # CONFIG_SND_SOC_ALL_CODECS is not set
> # CONFIG_SOUND_PRIME is not set
>
>
> Interesting! In addition to a few extra options, the two SND_MSM_*
> options shown above are now gone - don't know why.
>
> Anyway, I copied this back to the appropriate directory and bumped the
> version number, then ran bitbake again. No problems and I've had my new
> image, kernel modules (recompiled) and a few other things. Installed it
> and fastbooted my phone. The screen appeared this time - rotated as well
> - and I've had my login prompt. Brilliant!
>
> Duly logged in, but there were a few further problems:
>
> 1. The keyboard I now have is completely unusable as the "alt" register
> (the blue row of keys) is completely unusable/inaccessible with the
> exception of the top row (where the numbers are). That means I cannot
> type/use vital keys like the pipe symbol ('|'), dash ('-') etc. There is
> also no "repeat" - i.e. when I press a key and keep pressing it, it
> doesn't continue typing the same key. is there any way I could fix this?
You need to add right keymap to keymaps recipe and check that it's in
/etc/keymap-2.6.map and then /etc/init.d/keymap.sh should load it for
you during boot.
> 2. My ssh login is also problematic - when I try to log in from the PC
> host (via usb) this time I get the following error on that (PC) end:
> "PTY allocation request failed on channel 0". Don't know why that is,
> any ideas?
This usually means that /dev/pts wasn't mounted during boot, I don't
remember if htcdream was doing something weird but for palmpre GarthPS
needed this:
http://git.openembedded.org/openembedded/commit/?id=fcb43100609fcb955cfac6ad6b92d3b5ddf08c20
and I'm not sure if somebody tested htcdream since then.. so check order
of mountdevsubfs.sh and udev init if htcdream is using udev (not
devtmpfs)
> I cannot properly scroll/see what is happening on the phone system and
> neither can I see any of the log files as the keyboard is all screwed
> up, so I can't post any of these file in order to further help resolve
> the above issues.
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20111203/d85cbf0b/attachment-0002.sig>
More information about the Openembedded-devel
mailing list