Reply
Thread Tools
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#11
I'll make a kernel-framebuffer package and maintain it in the repos soon, should be useful for everyone who wants to boot another OS (which kicks into a console with no X), as well as debugging purposes on maemo (well, not full debugging, but if the device fails to boot you should know why)
 

The Following 3 Users Say Thank You to MohammadAG For This Useful Post:
Posts: 355 | Thanked: 566 times | Joined on Nov 2009 @ Redstone Canyon, Colorado
#12
Originally Posted by SimonGie View Post
Would you mind updating your wiki for the new FW and kernels?
I tried this this evening but came unstuck.
Sorry, I've stopped working on Maemo/Meego.
 
Posts: 486 | Thanked: 251 times | Joined on Oct 2009
#13
Originally Posted by jebba View Post
Sorry, I've stopped working on Maemo/Meego.
I'm sorry to hear that and very grateful for all that you did when you were. Thank you very much!
__________________
The Mini-USB plug is an improvement over both the Type B plug and the Micro-B plug.
 
Posts: 52 | Thanked: 17 times | Joined on Jun 2010 @ United Kingdom....for now.
#14
Originally Posted by MohammadAG View Post
I'll make a kernel-framebuffer package and maintain it in the repos soon, should be useful for everyone who wants to boot another OS (which kicks into a console with no X), as well as debugging purposes on maemo (well, not full debugging, but if the device fails to boot you should know why)
Any updates on this?
 
Posts: 52 | Thanked: 17 times | Joined on Jun 2010 @ United Kingdom....for now.
#15
I managed to get everything installed ok. And I can chroot in, but I cannot get it to boot from the SD card.

My I have an entry called fedora.ext.item in the bootmenu.d folder that looks like this.
Code:
ITEM_NAME="Fedora 12 (external SD, partition 4)"
ITEM_ID="fedora"
ITEM_DEVICE="mmcblk1p4"     #I have tried {EXT_CARD}p4
ITEM_MODULES="mbcache jbd ext3"
ITEM_FSTYPE="ext3"
ITEM_FSOPTIONS="noatime,rw"
When I try to boot, it gets as far as saying "mounting /dev/mmcblk1p4 /mnt/new_root" but then kicks out saying no such file or directory.

My memory card is a 4 gig, partitioned as such.
p1 100Mb Vfat
p2 512Mb swap
p3 1000Mb ext3
p4 rest of space for fedora

I see somewhere that you should run a refresh_bootmenu.d after adding items in bootmenu.d directory, but I it doesn't do anything as I dont have this file to run....so I'm thinking this may be outdated.

All I have done so far is copy over the rootfs, modules and firmware...I just cant get past the booting.

Any ideas?
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#16
http://mohammadag.xceleo.org/public/...s/framebuffer/ for kernels.

When dual booting the nodes are swapped, mmcblk1 is the internal eMMC, you should use mmcblk0p4.
 

The Following User Says Thank You to MohammadAG For This Useful Post:
Posts: 52 | Thanked: 17 times | Joined on Jun 2010 @ United Kingdom....for now.
#17
Bow to the master, thanks man!
 
Posts: 52 | Thanked: 17 times | Joined on Jun 2010 @ United Kingdom....for now.
#18
I've been using your kernel, but couldnt get the dualboot going. Changing to mmcblk0p4 worked a treat.
 
Posts: 52 | Thanked: 17 times | Joined on Jun 2010 @ United Kingdom....for now.
#19
I cant seem to get x up and running. Do I need to have XFCE installed? Or can I just start up the basic X terminal?

Also, I am running this on a 1Gb memory card as my 4gb is giving I/O errors. So basically I have it installed on 1 partition with no swap partition. Here is my X log, sorry for the long post.

Code:
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/fedora-arm:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X.Org X Server 1.7.1
Release Date: 2009-10-23
X Protocol Version 11, Revision 0
Build Operating System:  2.6.32-rc3-00337-gbd38193-dirty 
Current Operating System: Linux fedora-arm 2.6.28-omap1 #1 PREEMPT Sat Jul 3 20:18:20 EDT 2010 armv7l
Kernel command line: init=/sbin/preinit ubi.mtd=rootfs root=ubi0:rootfs rootfstype=ubifs rootflags=bulk_read,no_chk_data_crc rw console=ttyMTD,log console=tty0 snd-soc-rx51.hp_lim=42 snd-soc-tlv320aic3x.hp_dac_lim=6
Build Date: 06 November 2009  01:56:56PM
Build ID: xorg-x11-server 1.7.1-7.fc12 
Current version of pixman: 0.16.2
	Before reporting problems, check http://bodhi.fedoraproject.org/
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 31 19:05:13 1969
(II) Loader magic: 0x1a4018
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 6.0
	X.Org XInput driver : 7.0
	X.Org Server Extension : 2.0
(--) using VT number 7

Primary device is not PCI
(==) Using default built-in configuration (12 lines)
(==) --- Start of built-in configuration ---
	Section "Device"
		Identifier	"Builtin Default fbdev Device 0"
		Driver	"fbdev"
	EndSection
	Section "Screen"
		Identifier	"Builtin Default fbdev Screen 0"
		Device	"Builtin Default fbdev Device 0"
	EndSection
	Section "ServerLayout"
		Identifier	"Builtin Default Layout"
		Screen	"Builtin Default fbdev Screen 0"
	EndSection
(==) --- End of built-in configuration ---
(==) ServerLayout "Builtin Default Layout"
(**) |-->Screen "Builtin Default fbdev Screen 0" (0)
(**) |   |-->Monitor "<default monitor>"
(**) |   |-->Device "Builtin Default fbdev Device 0"
(==) No monitor specified for screen "Builtin Default fbdev Screen 0".
	Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(==) FontPath set to:
	catalogue:/etc/X11/fontpath.d,
	built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
	If no devices become available, reconfigure HAL or disable AllowEmptyInput.
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.7.1, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.7.1, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
	compiled for 1.7.1, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
	compiled for 1.7.1, module version = 1.13.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.7.1, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
	compiled for 1.7.1, module version = 1.1.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "fbdev"
(II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
(II) Module fbdev: vendor="X.Org Foundation"
	compiled for 1.7.0, module version = 0.4.1
	ABI class: X.Org Video Driver, version 6.0
(II) FBDEV: driver for framebuffer: fbdev
(WW) Falling back to old probe method for fbdev
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/lib/xorg/modules/linux/libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
	compiled for 1.7.1, module version = 0.0.2
	ABI class: X.Org Video Driver, version 6.0
(II) FBDEV(0): using default device
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(II) Running in FRAMEBUFFER Mode
(II) FBDEV(0): Creating default Display subsection in Screen section
	"Builtin Default fbdev Screen 0" for depth/fbbpp 16/16
(==) FBDEV(0): Depth 16, (==) framebuffer bpp 16
(==) FBDEV(0): RGB weight 565
(==) FBDEV(0): Default visual is TrueColor
(==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
(II) FBDEV(0): hardware: omapfb (video memory: 848kB)
(II) FBDEV(0): checking modes against framebuffer device...
(II) FBDEV(0): checking modes against monitor...
(--) FBDEV(0): Virtual size is 800x480 (pitch 800)
(**) FBDEV(0):  Built-in mode "current": 24.0 MHz, 28.0 kHz, 57.2 Hz
(II) FBDEV(0): Modeline "current"x0.0   24.00  800 824 828 856  480 484 487 490 -hsync -vsync -csync (28.0 kHz)
(==) FBDEV(0): DPI set to (96, 96)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
	compiled for 1.7.1, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(**) FBDEV(0): using shadow framebuffer
(II) Loading sub module "shadow"
(II) LoadModule: "shadow"
(II) Loading /usr/lib/xorg/modules/libshadow.so
(II) Module shadow: vendor="X.Org Foundation"
	compiled for 1.7.1, module version = 1.1.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(==) FBDEV(0): Backing store disabled
(==) FBDEV(0): DPMS enabled
(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
SELinux: Disabled on system, not enabling in X server
record: RECORD extension enabled at configure time.
record: This extension is known to be broken, disabling extension now..
record: http://bugs.freedesktop.org/show_bug.cgi?id=20500
(II) AIGLX: Screen 0 is not DRI2 capable
(II) AIGLX: Screen 0 is not DRI capable
(II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(II) config/hal: Adding input device omap_twl4030keypad
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
	compiled for 1.7.0, module version = 2.3.0
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 7.0
(**) omap_twl4030keypad: always reports core events
(**) omap_twl4030keypad: Device: "/dev/input/event1"
(II) omap_twl4030keypad: Found keys
(II) omap_twl4030keypad: Configuring as keyboard
(II) XINPUT: Adding extended input device "omap_twl4030keypad" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(**) Option "xkb_options" "terminate:ctrl_alt_bksp"
(II) config/hal: Adding input device triton2-pwrbutton
(**) triton2-pwrbutton: always reports core events
(**) triton2-pwrbutton: Device: "/dev/input/event0"
(II) triton2-pwrbutton: Found keys
(II) triton2-pwrbutton: Configuring as keyboard
(II) XINPUT: Adding extended input device "triton2-pwrbutton" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) omap_twl4030keypad: Close
(II) UnloadModule: "evdev"
(II) triton2-pwrbutton: Close
(II) UnloadModule: "evdev"

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x2c) [0x65454]
1: /usr/bin/X (0x8000+0x59334) [0x61334]
2: /lib/libc.so.6 (__default_rt_sa_restorer_v2+0x0) [0x40462140]
3: /usr/bin/X (DamageUnregister+0x6c) [0xd1ba4]
4: /usr/lib/xorg/modules/libshadow.so (shadowRemove+0x3c) [0x4086ff9c]
5: /usr/lib/xorg/modules/libshadow.so (0x4086f000+0x13d4) [0x408703d4]
6: /usr/bin/X (0x8000+0x6ce2c) [0x74e2c]
7: /usr/bin/X (0x8000+0x13aa8c) [0x142a8c]
8: /usr/bin/X (0x8000+0x4d0d4) [0x550d4]
9: /usr/bin/X (0x8000+0x1669a4) [0x16e9a4]
10: /usr/bin/X (0x8000+0x10e438) [0x116438]
11: /usr/bin/X (0x8000+0x627a8) [0x6a7a8]
12: /usr/lib/xorg/modules/drivers/fbdev_drv.so (0x40833000+0x2660) [0x40835660]
13: /usr/bin/X (0x8000+0xb7700) [0xbf700]
14: /usr/bin/X (0x8000+0x1062e4) [0x10e2e4]
15: /usr/bin/X (0x8000+0x10fe0c) [0x117e0c]
16: /usr/bin/X (0x8000+0xa6bd4) [0xaebd4]
17: /usr/bin/X (0x8000+0xc3780) [0xcb780]
18: /usr/bin/X (0x8000+0xa3130) [0xab130]
19: /usr/lib/xorg/modules/extensions/libglx.so (0x407aa000+0x38780) [0x407e2780]
20: /usr/bin/X (0x8000+0x1bae0) [0x23ae0]
21: /lib/libc.so.6 (__libc_start_main+0x118) [0x4044a4e0]
Segmentation fault at address 0x48

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting


Please consult the The X.Org Foundation support 
	 at http://bodhi.fedoraproject.org/
 for help. 
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

_

Last edited by SimonGie; 2010-07-21 at 22:54.
 
Posts: 52 | Thanked: 17 times | Joined on Jun 2010 @ United Kingdom....for now.
#20
Ok, I have it all up and running X works beautifully, I can't believe how well it actually runs.

Thanks Mohammad, your kernel works perfectly!
 
Reply


 
Forum Jump


All times are GMT. The time now is 03:41.