Показаны сообщения с ярлыком FreeBSD-ARM. Показать все сообщения
Показаны сообщения с ярлыком FreeBSD-ARM. Показать все сообщения

2013-01-13

Hope you like it :-)

XOrg on Efika MX Smartbook.


Xpdf with huge i.MX51 development manual (22MB)

I hope you already run FreeBSD on your Efika MX Smartbook :) (read here) 

So, you have FreeBSD on Smartbook and want to run Xorg.
You need two not standard items:
1. Patched Xorg port. Extract it over original /usr/ports/x11-servers/xorg-server.
2. Port of new xf86-video-scfb driver. Extract it into /usr/ports/x11-drivers/

Then build/install both.
cd /usr/ports/..../
make install clean

It will take some time, maybe next morning you will find that some port from dependency list asking you some question and it was happen right after you went to sleep last night :))))
To not have such situation, better to read man ports first about BATCH and INTERACTIVE modes. It's good idea to build xinit port also, since project branch still not ready to test ARM EABI and with old ARM ABI I found problems with build gobject-introspection which makes impossible to build many parts of Gnome (maybe not only Gnome apps). IIRC, same happen with KDE/Qt parts. So, don't be so fast, and try xinit with xterm and xclock :)
And xpdf :) (See image in header).

What next?! Ahh! Yeah, /etc/X11/xorg.conf, I make small Xorg.conf, because Xorg fail to autodetect things (maybe it's already fixed by some my fix, but I've not checked it again yet).

Section "Files"
EndSection

Section "Module"
    Load        "dbe"
    Disable    "dri"
    Disable    "dri2"
    Disable    "glx"
    SubSection  "extmod"
        Option  "omit xfree86-dga"
    EndSubSection
EndSection

Section "ServerFlags"
    Option    "AIGLX"        "false"
    Option    "NoAccel"    "True"
    Option    "NoDRI"        "True"
    Option    "DRI"        "False"
    Option    "DRI2"        "False"
EndSection

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option      "Protocol"      "auto"
    Option      "Device"        "/dev/sysmouse"
EndSection

Section "Monitor"
    Identifier  "Monitor"
    Mode "1024x600"
        DotClock        25.175
        HTimings        1024 1048 1148 1200
        VTimings        600 610 620 700
    EndMode
EndSection

Section "Device"
    Identifier  "Generic FB"
    Driver      "scfb"
    Option    "NoAccel"    "True"
EndSection

Section "Screen"
    Identifier  "Screen"
    Device      "Generic FB"
    Monitor     "Monitor"
    DefaultDepth 16
    SubSection "Display"
        Depth           16
        Modes           "1024x600"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "layout"
    Screen      0 "Screen" 0 0
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Now just do:
startx

Done!

It will be very nice if you will get everything working after first attempt :)
Anyway, glad to hear any opinions! (ray@... )

Thank you very much!


2012-11-22

Setup FreeBSD to Efika MX (draft)

It's just my vision. So anyone who have better idea, please notify me about it and we will correct that document. Then I will reuse it to make "official" guide.

1. Invert all 4 swiches
smarttop - 4x DIP switch inside small window on bottom side (for debug board)
smartbook - 4x DIP switch under keyboard (remove/install keyboard with care)
2. Insert SD card (will prepare image for card when make sdhci works)
3. Power on device
it will do:
1. 1st uboot init mmc/SD subsystem
2. Find boot script on 1st FAT partition
3. Run script
4. Script load/run 2nd uboot
5. 2nd uboot init USB, SD, PATA
6. load/run ubldr
7. ubldr find UFS and load/run kernel
4. There must be customized bsdinstall, which must help to:
1. make FAT/EXTFS partition on PATA SSD
2. Install bootscript/uboot(second)/ubldr
3. Make his regular job to install distribution to UFS partition

(huh, enough for first time)

Поиск по этому блогу

Readers